Greasy Fork is available in English.

iciba划词翻译

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

2021-01-01 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

// ==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.4
// @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={3704:(e,t)=>{!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),o=0;o<e.length;o++)n[e.charCodeAt(o)]=o;(function(t){var n,o=new Uint8Array(t),r=o.length,a="";for(n=0;n<r;n+=3)a+=e[o[n]>>2],a+=e[(3&o[n])<<4|o[n+1]>>4],a+=e[(15&o[n+1])<<2|o[n+2]>>6],a+=e[63&o[n+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a}),t.J=function(e){var t,o,r,a,i,s=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(t=0;t<l;t+=4)o=n[e.charCodeAt(t)],r=n[e.charCodeAt(t+1)],a=n[e.charCodeAt(t+2)],i=n[e.charCodeAt(t+3)],d[c++]=o<<2|r>>4,d[c++]=(15&r)<<4|a>>2,d[c++]=(3&a)<<6|63&i;return u}}()},6948:(e,t,n)=>{n(2065),n(6986);var o=n(5703);e.exports=o("Array").flatMap},2999:(e,t,n)=>{n(1876);var o=n(5703);e.exports=o("Array").reduce},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}},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}},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}},7699:(e,t,n)=>{n(6274),n(8387);var o=n(4058);e.exports=o.Object.fromEntries},2956:(e,t,n)=>{n(7627),n(5967),n(8881),n(4560),n(7206),n(4349),n(7971),n(7634);var o=n(4058);e.exports=o.Promise},3348:(e,t,n)=>{n(7398);var o=n(5703);e.exports=o("String").trim},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}},1692:(e,t,n)=>{var o=n(4529),r=n(3057),a=n(9413),i=function(e){return function(t,n,i){var s,l=o(t),c=r(l.length),u=a(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},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,s={},l=function(e){throw e};e.exports=function(e,t){if(a(s,e))return s[e];t||(t={});var n=[][e],c=!!a(t,"ACCESSORS")&&t.ACCESSORS,u=a(t,0)?t[0]:l,d=a(t,1)?t[1]:void 0;return s[e]=!!n&&!r((function(){if(c&&!o)return!0;var e={length:-1};c?i(e,1,{enumerable:!0,get:l}):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),s=function(e){return function(t,n,s,l){o(n);var c=r(t),u=a(c),d=i(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=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&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!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)}},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}},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),s=n(2077),l=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),s[c]=l,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),s=n(904),l=n(2029),c=n(9754),u=n(9813),d=n(2529),p=n(2077),f=n(5143),g=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=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 O,k,S,T=function(e){if(e===f&&I)return I;if(!m&&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)}},C=t+" Iterator",E=!1,L=e.prototype,A=L[v]||L["@@iterator"]||f&&L[f],I=!m&&A||T(f),M="Array"==t&&L.entries||A;if(M&&(O=a(M.call(new e)),g!==Object.prototype&&O.next&&(d||a(O)===g||(i?i(O,g):"function"!=typeof O[v]&&l(O,v,x)),s(O,C,!0,!0),d&&(p[C]=x))),f==b&&A&&A.name!==b&&(E=!0,I=function(){return A.call(this)}),d&&!_||L[v]===I||l(L,v,I),p[t]=I,f)if(k={values:T(b),keys:w?I:T(h),entries:T(y)},_)for(S in k)(m||E||!(S in L))&&c(L,S,k[S]);else o({target:t,proto:!0,forced:m||E},k);return k}},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)},6049:(e,t,n)=>{var o=n(2532),r=n(1899);e.exports="process"==o(r.process)},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),s=a.process,l=s&&s.versions,c=l&&l.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),s=n(6843),l=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,g,m,v,h,b=e.target,y=e.global,x=e.stat,w=e.proto,_=y?o:x?o[b]:(o[b]||{}).prototype,O=y?i:i[b]||(i[b]={}),k=O.prototype;for(p in t)n=!a(y?p:b+(x?".":"#")+p,e.forced)&&_&&c(_,p),g=O[p],n&&(m=e.noTargetGet?(h=r(_,p))&&h.value:_[p]),f=n&&m?m:t[p],n&&typeof g==typeof f||(v=e.bind&&n?s(f,o):e.wrap&&n?u(f):w&&"function"==typeof f?s(Function.call,f):f,(e.sham||f&&f.sham||g&&g.sham)&&l(v,"sham",!0),O[p]=v,w&&(c(i,d=b+"Prototype")||l(i,d,{}),i[d][p]=f,e.real&&k&&!k[p]&&l(k,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,s,l,c,u,d){for(var p,f=l,g=0,m=!!u&&a(u,d,3);g<s;){if(g in n){if(p=m?m(n[g],g,t):n[g],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++}g++}return f};e.exports=i},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}()||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},5402:(e,t,n)=>{var o,r,a,i=n(8019),s=n(1899),l=n(941),c=n(2029),u=n(7457),d=n(3030),p=n(4262),f=n(7748),g=s.WeakMap;if(i){var m=d.state||(d.state=new g),v=m.get,h=m.has,b=m.set;o=function(e,t){return t.facade=e,b.call(m,e,t),t},r=function(e){return v.call(m,e)||{}},a=function(e){return h.call(m,e)}}else{var y=p("state");f[y]=!0,o=function(e,t){return t.facade=e,c(e,y,t),t},r=function(e){return u(e,y)?e[y]:{}},a=function(e){return u(e,y)}}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(!l(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=s[i(e)];return n==c||n!=l&&("function"==typeof t?o(t):!!t)},i=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},s=a.data={},l=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},3091:(e,t,n)=>{var o=n(6059),r=n(6782),a=n(3057),i=n(6843),s=n(2902),l=n(7609),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,p,f,g,m,v,h=n&&n.that,b=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=i(t,h,1+b+x),_=function(e){return u&&l(u),new c(!0,e)},O=function(e){return b?(o(e),x?w(e[0],e[1],_):w(e[0],e[1])):x?w(e,_):w(e)};if(y)u=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(r(d)){for(p=0,f=a(e.length);f>p;p++)if((g=O(e[p]))&&g instanceof c)return g;return new c(!1)}u=d.call(e)}for(m=u.next;!(v=m.call(u)).done;){try{g=O(v.value)}catch(e){throw l(u),e}if("object"==typeof g&&g&&g instanceof c)return g}return new c(!1)}},7609:(e,t,n)=>{var o=n(6059);e.exports=function(e){var t=e.return;if(void 0!==t)return o(t.call(e)).value}},5143:(e,t,n)=>{"use strict";var o,r,a,i=n(249),s=n(2029),l=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||l(o,d)||s(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,s,l,c,u,d=n(1899),p=n(9677).f,f=n(2941).set,g=n(2749),m=n(6049),v=d.MutationObserver||d.WebKitMutationObserver,h=d.document,b=d.process,y=d.Promise,x=p(d,"queueMicrotask"),w=x&&x.value;w||(o=function(){var e,t;for(m&&(e=b.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()},!g&&!m&&v&&h?(s=!0,l=h.createTextNode(""),new v(o).observe(l,{characterData:!0}),i=function(){l.data=s=!s}):y&&y.resolve?(c=y.resolve(void 0),u=c.then,i=function(){u.call(c,o)}):i=m?function(){b.nextTick(o)}:function(){f.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)}},9290:(e,t,n)=>{var o,r=n(6059),a=n(9938),i=n(6759),s=n(7748),l=n(5463),c=n(1333),u=n(4262),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"</"+"script>"},g=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;g=o?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=c("iframe")).style.display="none",l.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 g.prototype[i[n]];return g()};s[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=g(),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),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},5988:(e,t,n)=>{var o=n(5746),r=n(2840),a=n(6059),i=n(6935),s=Object.defineProperty;t.f=o?s:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return s(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),s=n(6935),l=n(7457),c=n(2840),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return a(!r.f.call(e,t),e[t])}},249:(e,t,n)=>{var o=n(7457),r=n(9678),a=n(4262),i=n(4160),s=a("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=r(e),o(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l: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,s=r(e),l=0,c=[];for(n in s)!o(i,n)&&o(s,n)&&c.push(n);for(;t.length>l;)o(s,n=t[l++])&&(~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)},5623:(e,t,n)=>{"use strict";var o=n(2885),r=n(9697);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},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),s=a("species");e.exports=function(e){var t=o(e),n=r.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},904:(e,t,n)=>{var o=n(2885),r=n(5988).f,a=n(2029),i=n(7457),s=n(5623),l=n(9813)("toStringTag");e.exports=function(e,t,n,c){if(e){var u=n?e:e.prototype;i(u,l)||r(u,l,{configurable:!0,value:t}),c&&!o&&a(u,"toString",s)}}},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.8.1",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,s=String(r(t)),l=o(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},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+"*$"),s=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:s(1),end:s(2),trim:s(3)}},2941:(e,t,n)=>{var o,r,a,i=n(1899),s=n(5981),l=n(6843),c=n(5463),u=n(1333),d=n(2749),p=n(6049),f=i.location,g=i.setImmediate,m=i.clearImmediate,v=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()}},O=function(e){return function(){_(e)}},k=function(e){_(e.data)},S=function(e){i.postMessage(e+"",f.protocol+"//"+f.host)};g&&m||(g=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},m=function(e){delete x[e]},p?o=function(e){v.nextTick(O(e))}:b&&b.now?o=function(e){b.now(O(e))}:h&&!d?(a=(r=new h).port2,r.port1.onmessage=k,o=l(a.postMessage,a,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&f&&"file:"!==f.protocol&&!s(S)?(o=S,i.addEventListener("message",k,!1)):o=w in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:g,clear:m}},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},9813:(e,t,n)=>{var o=n(1899),r=n(8726),a=n(7457),i=n(9418),s=n(2497),l=n(2302),c=r("wks"),u=o.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return a(c,e)||(s&&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"},7627:(e,t,n)=>{"use strict";var o=n(6887),r=n(249),a=n(8929),i=n(9290),s=n(2029),l=n(1887),c=n(3091),u=function(e,t){var n=this;if(!(n instanceof u))return new u(e,t);a&&(n=a(new Error(void 0),r(n))),void 0!==t&&s(n,"message",String(t));var o=[];return c(e,o.push,{that:o}),s(n,"errors",o),n};u.prototype=i(Error.prototype,{constructor:l(5,u),message:l(5,""),name:l(5,"AggregateError")}),o({global:!0},{AggregateError:u})},2065:(e,t,n)=>{"use strict";var o=n(6887),r=n(3092),a=n(9678),i=n(3057),s=n(3916),l=n(4692);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),o=i(n.length);return s(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},6274:(e,t,n)=>{"use strict";var o=n(4529),r=n(8479),a=n(2077),i=n(5402),s=n(7771),l="Array Iterator",c=i.set,u=i.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,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")},1876:(e,t,n)=>{"use strict";var o=n(6887),r=n(6499).left,a=n(4194),i=n(5486),s=n(3385),l=n(6049),c=a("reduce"),u=i("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!u||!l&&s>79&&s<83},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},6986:(e,t,n)=>{n(8479)("flatMap")},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)}),{AS_ENTRIES:!0}),t}})},5967:()=>{},4560:(e,t,n)=>{"use strict";var o=n(6887),r=n(3916),a=n(9520),i=n(2),s=n(3091);o({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),o=n.resolve,l=n.reject,c=i((function(){var n=r(t.resolve),a=[],i=0,l=1;s(e,(function(e){var r=i++,s=!1;a.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,a[r]={status:"fulfilled",value:e},--l||o(a))}),(function(e){s||(s=!0,a[r]={status:"rejected",reason:e},--l||o(a))}))})),--l||o(a)}));return c.error&&l(c.value),n.promise}})},7206:(e,t,n)=>{"use strict";var o=n(6887),r=n(3916),a=n(626),i=n(9520),s=n(2),l=n(3091),c="No one promise resolved";o({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),o=n.resolve,u=n.reject,d=s((function(){var n=r(t.resolve),i=[],s=0,d=1,p=!1;l(e,(function(e){var r=s++,l=!1;i.push(void 0),d++,n.call(t,e).then((function(e){l||p||(p=!0,o(e))}),(function(e){l||p||(l=!0,i[r]=e,--d||u(new(a("AggregateError"))(i,c)))}))})),--d||u(new(a("AggregateError"))(i,c))}));return d.error&&u(d.value),n.promise}})},4349:(e,t,n)=>{"use strict";var o=n(6887),r=n(2529),a=n(9297),i=n(5981),s=n(626),l=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=l(this,s("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",s("Promise").prototype.finally)},8881:(e,t,n)=>{"use strict";var o,r,a,i,s=n(6887),l=n(2529),c=n(1899),u=n(626),d=n(9297),p=n(9754),f=n(7524),g=n(904),m=n(4431),v=n(941),h=n(3916),b=n(5743),y=n(1302),x=n(3091),w=n(1385),_=n(487),O=n(2941).set,k=n(6132),S=n(6584),T=n(4845),C=n(9520),E=n(2),L=n(5402),A=n(7252),I=n(9813),M=n(6049),P=n(3385),j=I("species"),D="Promise",R=L.get,z=L.set,U=L.getterFor(D),N=d,G=c.TypeError,V=c.document,B=c.process,H=u("fetch"),F=C.f,$=F,Y=!!(V&&V.createEvent&&c.dispatchEvent),q="function"==typeof PromiseRejectionEvent,W="unhandledrejection",K=A(D,(function(){if(!(y(N)!==String(N))){if(66===P)return!0;if(!M&&!q)return!0}if(l&&!N.prototype.finally)return!0;if(P>=51&&/native code/.test(N))return!1;var e=N.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[j]=t,!(e.then((function(){}))instanceof t)})),X=K||!w((function(e){N.all(e).catch((function(){}))})),J=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){for(var o=e.value,r=1==e.state,a=0;n.length>a;){var i,s,l,c=n[a++],u=r?c.ok:c.fail,d=c.resolve,p=c.reject,f=c.domain;try{u?(r||(2===e.rejection&&ne(e),e.rejection=1),!0===u?i=o:(f&&f.enter(),i=u(o),f&&(f.exit(),l=!0)),i===c.promise?p(G("Promise-chain cycle")):(s=J(i))?s.call(i,d,p):d(i)):p(o)}catch(e){f&&!l&&f.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ee(e)}))}},Q=function(e,t,n){var o,r;Y?((o=V.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),c.dispatchEvent(o)):o={promise:t,reason:n},!q&&(r=c["on"+e])?r(o):e===W&&T("Unhandled promise rejection",n)},ee=function(e){O.call(c,(function(){var t,n=e.facade,o=e.value;if(te(e)&&(t=E((function(){M?B.emit("unhandledRejection",o,n):Q(W,n,o)})),e.rejection=M||te(e)?2:1,t.error))throw t.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e){O.call(c,(function(){var t=e.facade;M?B.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},oe=function(e,t,n){return function(o){e(t,o,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},ae=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw G("Promise can't be resolved itself");var o=J(t);o?k((function(){var n={done:!1};try{o.call(t,oe(ae,n,e),oe(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(t){re({done:!1},t,e)}}};K&&(N=function(e){b(this,N,D),h(e),o.call(this);var t=R(this);try{e(oe(ae,t),oe(re,t))}catch(e){re(t,e)}},(o=function(e){z(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(N.prototype,{then:function(e,t){var n=U(this),o=F(_(this,N));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=M?B.domain:void 0,n.parent=!0,n.reactions.push(o),0!=n.state&&Z(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new o,t=R(e);this.promise=e,this.resolve=oe(ae,t),this.reject=oe(re,t)},C.f=F=function(e){return e===N||e===a?new r(e):$(e)},l||"function"!=typeof d||(i=d.prototype.then,p(d.prototype,"then",(function(e,t){var n=this;return new N((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(N,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:N}),g(N,D,!1,!0),m(D),a=u(D),s({target:D,stat:!0,forced:K},{reject:function(e){var t=F(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:l||K},{resolve:function(e){return S(l&&this===a?N:this,e)}}),s({target:D,stat:!0,forced:X},{all:function(e){var t=this,n=F(t),o=n.resolve,r=n.reject,a=E((function(){var n=h(t.resolve),a=[],i=0,s=1;x(e,(function(e){var l=i++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||o(a))}),r)})),--s||o(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=F(t),o=n.reject,r=E((function(){var r=h(t.resolve);x(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},7971:(e,t,n)=>{"use strict";var o=n(4620).charAt,r=n(5402),a=n(7771),i="String Iterator",s=r.set,l=r.getterFor(i);a(String,"String",(function(e){s(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(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})}))},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)}})},7634:(e,t,n)=>{n(6274);var o=n(3281),r=n(1899),a=n(9697),i=n(2029),s=n(2077),l=n(9813)("toStringTag");for(var c in o){var u=r[c],d=u&&u.prototype;d&&a(d)!==l&&i(d,l,c),s[c]=s.Array}},9020:(e,t,n)=>{var o=n(1968);e.exports=o},2527:(e,t,n)=>{var o=n(8025);e.exports=o},6361:(e,t,n)=>{var o=n(2774);e.exports=o},3402:(e,t,n)=>{var o=n(7699);e.exports=o},7460:(e,t,n)=>{var o=n(2956);e.exports=o},715:(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},9103:(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}.group:hover .group-hover\\:bg-grey-300{background-color:#e0e0e0}.hover\\:bg-grey-100:hover{background-color:#f5f5f5}.hover\\:bg-bg-2:hover,.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:ui-monospace,SFMono-Regular,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}.my-px{margin-top:1px;margin-bottom:1px}.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-px{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-px{padding-top:1px;padding-bottom:1px}.py-5px{padding-top:5px;padding-bottom:5px}.px-6px{padding-left:6px;padding-right:6px}.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}*{--tw-shadow:0 0 transparent}.shadow-2{--tw-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)}.shadow-2,.shadow-8{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-8{--tw-shadow:0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)}.shadow-16{--tw-shadow:0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(33,150,243,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.text-center{text-align:center}.text-right{text-align:right}.text-white{color:#fff}.text-gray-800{color:#1f2937}.text-red-400{color:#ef5350}.text-red-500{color:#f44336}.text-green-600{color:#43a047}.text-blue-500{color:#2196f3}.text-orange-400{color:#ffa726}.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}.hover\\:text-primary:hover{color:#409eff}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.italic{font-style:italic}.no-underline{text-decoration:none}.hover\\:underline:hover{text-decoration:underline}.select-none{user-select:none}.visible{visibility:visible}.break-words{overflow-wrap:break-word}.w-0{width:0}.w-6{width:24px}.w-full{width:100%}.z-20{z-index:20}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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},8921:(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},8646:(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},9069:(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},3849:(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},8874:(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},5562:(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},5423:(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},9895:(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},2141:(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},9345:(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},74:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-a68d60d2]{max-height:250px}.language-select-box .title-box .cancel-button[data-v-a68d60d2]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-a68d60d2]:hover{background:#e0e0e0}.language-select-box .language-item[data-v-a68d60d2]{cursor:pointer;flex:0 0 33.3333%}.language-select-box .language-item.active[data-v-a68d60d2]{background:#e8e8e8}.language-select-box .language-item[data-v-a68d60d2]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-a68d60d2]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-a68d60d2]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-a68d60d2]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-a68d60d2]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-a68d60d2]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-a68d60d2]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-a68d60d2]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-a68d60d2]:hover{color:#409eff}",""]),e.exports=o},1377:(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},5161:(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},1712:(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},3977:(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},699:(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},1199:(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},5169:(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},3130:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".thesaurus-syn-ant .type-synonyms[data-v-2759b815]{color:#78b07b}.thesaurus-syn-ant .type-antonyms[data-v-2759b815]{color:#ce8383}.thesaurus-syn-ant .show-more-or-less[data-v-2759b815]{opacity:.7}",""]),e.exports=o},8276:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-7c5d2e89]{max-height:250px}.language-select-box .language-item[data-v-7c5d2e89]{flex:0 0 33.3333%;padding:1px 0}.language-select-box .language-item.active[data-v-7c5d2e89]{background:#e8e8e8}.language-select-box .language-item[data-v-7c5d2e89]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-7c5d2e89]{opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-7c5d2e89]{opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-7c5d2e89]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-7c5d2e89]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-7c5d2e89]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},5953:(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},7045:(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},5379:(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},7305:(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},4052:(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},1342:(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},7396:(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},1038:(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},7677:(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},7956:(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},9999:(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},6447:(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},3439:(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},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 s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},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 s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,d,p,f,g=e[c].replace(i,"%20"),m=g.indexOf(o);m>=0?(u=g.substr(0,m),d=g.substr(m+1)):(u=g,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},1079:(e,t,n)=>{var o=n(715);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("d40f235e",o,!0)},1645:(e,t,n)=>{var o=n(9103);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("c1fd2234",o,!0)},9120:(e,t,n)=>{var o=n(8921);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("1db7dcde",o,!0)},8088:(e,t,n)=>{var o=n(8646);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("43001fd4",o,!0)},5820:(e,t,n)=>{var o=n(9069);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("01dcd346",o,!0)},657:(e,t,n)=>{var o=n(3849);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("279c810d",o,!0)},6723:(e,t,n)=>{var o=n(8874);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("757001ec",o,!0)},9061:(e,t,n)=>{var o=n(5562);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("f0765a5e",o,!0)},1032:(e,t,n)=>{var o=n(5423);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("64b8b0ad",o,!0)},5321:(e,t,n)=>{var o=n(9895);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("1a883f00",o,!0)},8086:(e,t,n)=>{var o=n(2141);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("0d91e21a",o,!0)},2326:(e,t,n)=>{var o=n(9345);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("708394d6",o,!0)},352:(e,t,n)=>{var o=n(74);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("26d8109a",o,!0)},5377:(e,t,n)=>{var o=n(1377);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("10b51982",o,!0)},7157:(e,t,n)=>{var o=n(5161);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("8199612e",o,!0)},7156:(e,t,n)=>{var o=n(1712);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("7c08f0a2",o,!0)},3393:(e,t,n)=>{var o=n(3977);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("1834092d",o,!0)},8554:(e,t,n)=>{var o=n(699);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("2427e3ed",o,!0)},7908:(e,t,n)=>{var o=n(1199);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("22c3c8b1",o,!0)},8223:(e,t,n)=>{var o=n(5169);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("45517d26",o,!0)},2904:(e,t,n)=>{var o=n(3130);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("d2f77864",o,!0)},8127:(e,t,n)=>{var o=n(8276);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("eea980fc",o,!0)},3023:(e,t,n)=>{var o=n(5953);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("d5846e58",o,!0)},3725:(e,t,n)=>{var o=n(7045);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("e5ded12a",o,!0)},815:(e,t,n)=>{var o=n(5379);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("40f7108e",o,!0)},9325:(e,t,n)=>{var o=n(7305);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("f05a44e8",o,!0)},3437:(e,t,n)=>{var o=n(4052);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("7eefb8ee",o,!0)},2823:(e,t,n)=>{var o=n(1342);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("74e07284",o,!0)},480:(e,t,n)=>{var o=n(7396);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("0fb7ef7b",o,!0)},1243:(e,t,n)=>{var o=n(1038);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("41901fc1",o,!0)},9540:(e,t,n)=>{var o=n(7677);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("49c5f472",o,!0)},6818:(e,t,n)=>{var o=n(7956);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("6d57b077",o,!0)},1575:(e,t,n)=>{var o=n(9999);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("f594a144",o,!0)},5077:(e,t,n)=>{var o=n(6447);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("4bb2aae2",o,!0)},3016:(e,t,n)=>{var o=n(3439);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("7f3a5e4f",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],s={id:e+":"+r,css:a[1],media:a[2],sourceMap:a[3]};o[i]?o[i].parts.push(s):n.push(o[i]={id:i,parts:[s]})}return n}n.d(t,{Z:()=>g});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,s=null,l=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 g(e,t,n,r){c=n,d=r||{};var i=o(e,t);return m(i),function(t){for(var n=[],r=0;r<i.length;r++){var s=i[r];(l=a[s.id]).refs--,n.push(l)}t?m(i=o(e,t)):i=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}}function m(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 v(){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=l++;o=s||(s=v()),t=x.bind(null,o,r,!1),n=x.bind(null,o,r,!0)}else o=v(),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",s=o(i);function l(e){if(S(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=l(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(S(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,g,2):String(e),g=(e,t)=>T(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:C(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||S(t)||D(t)?t:String(t),m={},v=[],h=()=>{},b=()=>!1,y=/^on[^a-z]/,x=e=>y.test(e),w=e=>e.startsWith("onUpdate:"),_=Object.assign,O=Object.prototype.hasOwnProperty,k=(e,t)=>O.call(e,t),S=Array.isArray,T=e=>"[object Map]"===j(e),C=e=>"[object Set]"===j(e),E=e=>"function"==typeof e,L=e=>"string"==typeof e,A=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,M=e=>I(e)&&E(e.then)&&E(e.catch),P=Object.prototype.toString,j=e=>P.call(e),D=e=>"[object Object]"===j(e),R=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,z=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,G=U((e=>e.replace(N,((e,t)=>t?t.toUpperCase():"")))),V=/\B([A-Z])/g,B=U((e=>e.replace(V,"-$1").toLowerCase())),H=U((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=U((e=>e?`on${H(e)}`:"")),$=(e,t)=>e!==t&&(e==e||t==t),Y=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},q=(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 J;const Z=Symbol(""),Q=Symbol("");function ee(e,t=m){(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),J=n,e()}finally{X.pop(),se(),J=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 se(){const e=ae.pop();re=void 0===e||e}function le(e,t,n){if(!re||void 0===J)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(J)||(r.add(J),J.deps.push(r))}function ce(e,t,n,o,r,a){const i=K.get(e);if(!i)return;const s=new Set,l=e=>{e&&e.forEach((e=>{(e!==J||e.allowRecurse)&&s.add(e)}))};if("clear"===t)i.forEach(l);else if("length"===n&&S(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&l(e)}));else switch(void 0!==n&&l(i.get(n)),t){case"add":S(e)?R(n)&&l(i.get("length")):(l(i.get(Z)),T(e)&&l(i.get(Q)));break;case"delete":S(e)||(l(i.get(Z)),T(e)&&l(i.get(Q)));break;case"set":T(e)&&l(i.get(Z))}s.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const ue=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(A)),de=ve(),pe=ve(!1,!0),fe=ve(!0),ge=ve(!0,!0),me={};function ve(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=S(n);if(!e&&a&&k(me,o))return Reflect.get(me,o,r);const i=Reflect.get(n,o,r);if(A(o)?ue.has(o):"__proto__"===o||"__v_isRef"===o)return i;if(e||le(n,0,o),t)return i;if(Qe(i)){return!a||!R(o)?i.value:i}return I(i)?e?Ye(i):$e(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];me[e]=function(...e){const n=Je(this);for(let e=0,t=this.length;e<t;e++)le(n,0,e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(Je)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];me[e]=function(...e){ie();const n=t.apply(this,e);return se(),n}}));function he(e=!1){return function(t,n,o,r){const a=t[n];if(!e&&(o=Je(o),!S(t)&&Qe(a)&&!Qe(o)))return a.value=o,!0;const i=S(t)&&R(n)?Number(n)<t.length:k(t,n),s=Reflect.set(t,n,o,r);return t===Je(r)&&(i?$(o,a)&&ce(t,"set",n,o):ce(t,"add",n,o)),s}}const be={get:de,set:he(),deleteProperty:function(e,t){const n=k(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 A(t)&&ue.has(t)||le(e,0,t),n},ownKeys:function(e){return le(e,0,S(e)?"length":Z),Reflect.ownKeys(e)}},ye={get:fe,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},xe=_({},be,{get:pe,set:he(!0)}),we=(_({},ye,{get:ge}),e=>I(e)?$e(e):e),_e=e=>I(e)?Ye(e):e,Oe=e=>e,ke=e=>Reflect.getPrototypeOf(e);function Se(e,t,n=!1,o=!1){const r=Je(e=e.__v_raw),a=Je(t);t!==a&&!n&&le(r,0,t),!n&&le(r,0,a);const{has:i}=ke(r),s=n?_e:o?Oe:we;return i.call(r,t)?s(e.get(t)):i.call(r,a)?s(e.get(a)):void 0}function Te(e,t=!1){const n=this.__v_raw,o=Je(n),r=Je(e);return e!==r&&!t&&le(o,0,e),!t&&le(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ce(e,t=!1){return e=e.__v_raw,!t&&le(Je(e),0,Z),Reflect.get(e,"size",e)}function Ee(e){e=Je(e);const t=Je(this),n=ke(t).has.call(t,e);return t.add(e),n||ce(t,"add",e,e),this}function Le(e,t){t=Je(t);const n=Je(this),{has:o,get:r}=ke(n);let a=o.call(n,e);a||(e=Je(e),a=o.call(n,e));const i=r.call(n,e);return n.set(e,t),a?$(t,i)&&ce(n,"set",e,t):ce(n,"add",e,t),this}function Ae(e){const t=Je(this),{has:n,get:o}=ke(t);let r=n.call(t,e);r||(e=Je(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=Je(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=Je(a),s=e?_e:t?Oe:we;return!e&&le(i,0,Z),a.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,a=Je(r),i=T(a),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=r[e](...o),u=t?_e:n?Oe:we;return!t&&le(a,0,l?Q:Z),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function je(e){return function(...t){return"delete"!==e&&this}}const De={get(e){return Se(this,e)},get size(){return Ce(this)},has:Te,add:Ee,set:Le,delete:Ae,clear:Ie,forEach:Me(!1,!1)},Re={get(e){return Se(this,e,!1,!0)},get size(){return Ce(this)},has:Te,add:Ee,set:Le,delete:Ae,clear:Ie,forEach:Me(!1,!0)},ze={get(e){return Se(this,e,!0)},get size(){return Ce(this,!0)},has(e){return Te.call(this,e,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:Me(!0,!1)};function Ue(e,t){const n=t?Re:e?ze:De;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(k(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{De[e]=Pe(e,!1,!1),ze[e]=Pe(e,!0,!1),Re[e]=Pe(e,!1,!0)}));const Ne={get:Ue(!1,!1)},Ge={get:Ue(!1,!0)},Ve={get:Ue(!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=>j(e).slice(8,-1))(e))}function $e(e){return e&&e.__v_isReadonly?e:qe(e,!1,be,Ne)}function Ye(e){return qe(e,!0,ye,Ve)}function qe(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 s=new Proxy(e,2===i?o:n);return r.set(e,s),s}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 Je(e){return e&&Je(e.__v_raw)||e}const Ze=e=>I(e)?$e(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:Ze(e)}get value(){return le(Je(this),0,"value"),this._value}set value(e){$(Je(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:Ze(e),ce(Je(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)}};function rt(e){return We(e)?e:new Proxy(e,ot)}class at{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(Je(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),le(Je(this),0,"value"),this._value}set value(e){this._setter(e)}}function it(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){lt(e,t,n)}return r}function st(e,t,n,o){if(E(e)){const r=it(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(st(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 it(i,null,10,[e,r,a])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let ct=!1,ut=!1;const dt=[];let pt=0;const ft=[];let gt=null,mt=0;const vt=[];let ht=null,bt=0;const yt=Promise.resolve();let xt=null,wt=null;function _t(e){const t=xt||yt;return e?t.then(this?e.bind(this):e):t}function Ot(e){dt.length&&dt.includes(e,ct&&e.allowRecurse?pt+1:pt)||e===wt||(dt.push(e),kt())}function kt(){ct||ut||(ut=!0,xt=yt.then(At))}function St(e,t,n,o){S(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),kt()}function Tt(e){St(e,ht,vt,bt)}function Ct(e,t=null){if(ft.length){for(wt=t,gt=[...new Set(ft)],ft.length=0,mt=0;mt<gt.length;mt++)gt[mt]();gt=null,mt=0,wt=null,Ct(e,t)}}function Et(e){if(vt.length){const e=[...new Set(vt)];if(vt.length=0,ht)return void ht.push(...e);for(ht=e,ht.sort(((e,t)=>Lt(e)-Lt(t))),bt=0;bt<ht.length;bt++)ht[bt]();ht=null,bt=0}}const Lt=e=>null==e.id?1/0:e.id;function At(e){ut=!1,ct=!0,Ct(e),dt.sort(((e,t)=>Lt(e)-Lt(t)));try{for(pt=0;pt<dt.length;pt++){const e=dt[pt];e&&it(e,null,14)}}finally{pt=0,dt.length=0,Et(),ct=!1,xt=null,(dt.length||vt.length)&&At(e)}}new Set;new Map;function It(e,t,...n){const o=e.vnode.props||m;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]||m;a?r=n.map((e=>e.trim())):t&&(r=n.map(W))}let s=F(G(t)),l=o[s];!l&&a&&(s=F(B(t)),l=o[s]),l&&st(l,e,6,r);const c=o[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else(e.emitted={})[s]=!0;st(c,e,6,r)}}function Mt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={};return o?(S(o)?o.forEach((e=>r[e]=null)):_(r,o),e.__emits=r):e.__emits=null}function Pt(e,t){return!(!e||!x(t))&&(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,B(t))||k(e,t))}let jt=null;function Dt(e){jt=e}function Rt(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:g}=e;let m;jt=e;try{let e;if(4&n.shapeFlag){const t=r||o;m=ko(u.call(t,t,d,a,f,p,g)),e=l}else{const n=t;0,m=ko(n.length>1?n(a,{attrs:l,slots:s,emit:c}):n(a,null)),e=t.props?l:Ut(l)}let v=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=v;t.length&&(1&n||6&n)&&(i&&t.some(w)&&(e=Nt(e,i)),v=xo(v,e))}n.dirs&&(v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),m=v}catch(t){lt(t,e,1),m=bo(ro)}return jt=null,m}function zt(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!fo(o))return;if(o.type!==ro||"v-if"===o.children){if(t)return;t=o}}return t}const Ut=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},Nt=(e,t)=>{const n={};for(const o in e)w(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Gt(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]&&!Pt(n,a))return!0}return!1}function Vt({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}function Bt(e){if(E(e)&&(e=e()),S(e)){0,e=zt(e)}return ko(e)}function Ht(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):Tt(e)}let Ft=0;const $t=e=>Ft+=e;function Yt(e,t,n={},o){let r=e[t];Ft++,lo();const a=r&&qt(r(n)),i=po(no,{key:n.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return Ft--,i}function qt(e){return e.some((e=>!fo(e)||e.type!==ro&&!(e.type===no&&!qt(e.children))))?e:null}function Wt(e,t=jt){if(!t)return e;const n=(...n)=>{Ft||lo(!0);const o=jt;Dt(t);const r=e(...n);return Dt(o),Ft||co(),r};return n._c=!0,n}let Kt=null;const Xt=[];function Jt(e){Xt.push(Kt=e)}function Zt(){Xt.pop(),Kt=Xt[Xt.length-1]||null}function Qt(e){return t=>Wt((function(){Jt(e);const n=t.apply(this,arguments);return Zt(),n}))}function en(e,t,n,o=!1){const r={},a={};q(a,mo,1),tn(e,t,r,a),n?e.props=o?r:qe(r,!1,xe,Ge):e.type.props?e.props=r:e.props=a,e.attrs=a}function tn(e,t,n,o){const[r,a]=e.propsOptions;if(t)for(const a in t){const i=t[a];if(z(a))continue;let s;r&&k(r,s=G(a))?n[s]=i:Pt(e.emitsOptions,a)||(o[a]=i)}if(a){const t=Je(n);for(let o=0;o<a.length;o++){const i=a[o];n[i]=nn(r,t,i,t[i],e)}}}function nn(e,t,n,o,r){const a=e[n];if(null!=a){const e=k(a,"default");if(e&&void 0===o){const e=a.default;a.type!==Function&&E(e)?(Uo(r),o=e(t),Uo(null)):o=e}a[0]&&(k(t,n)||e?!a[1]||""!==o&&o!==B(n)||(o=!0):o=!1)}return o}function on(e,t,n=!1){if(!t.deopt&&e.__props)return e.__props;const o=e.props,r={},a=[];if(!o)return e.__props=v;if(S(o))for(let e=0;e<o.length;e++){0;const t=G(o[e]);rn(t)&&(r[t]=m)}else if(o){0;for(const e in o){const t=G(e);if(rn(t)){const n=o[e],i=r[t]=S(n)||E(n)?{type:n}:n;if(i){const e=ln(Boolean,i.type),n=ln(String,i.type);i[0]=e>-1,i[1]=n<0||e<n,(e>-1||k(i,"default"))&&a.push(t)}}}}return e.__props=[r,a]}function rn(e){return"$"!==e[0]}function an(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function sn(e,t){return an(e)===an(t)}function ln(e,t){if(S(t)){for(let n=0,o=t.length;n<o;n++)if(sn(t[n],e))return n}else if(E(t))return sn(t,e)?0:-1;return-1}function cn(e,t,n=Ro,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=st(t,n,e,o);return Uo(null),se(),r});return o?r.unshift(a):r.push(a),a}}const un=e=>(t,n=Ro)=>!Go&&cn(e,t,n),dn=(un("bm"),un("m")),pn=(un("bu"),un("u")),fn=un("bum"),gn=un("um");un("rtg"),un("rtc");const mn={};function vn(e,t,n){return hn(e,t,n)}function hn(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=m,s=Ro){let l,c,u=!1;if(Qe(e)?(l=()=>e.value,u=!!e._shallow):We(e)?(l=()=>e,o=!0):l=S(e)?()=>e.map((e=>Qe(e)?e.value:We(e)?bn(e):E(e)?it(e,s,2):void 0)):E(e)?t?()=>it(e,s,2):()=>{if(!s||!s.isUnmounted)return c&&c(),it(e,s,3,[d])}:h,t&&o){const e=l;l=()=>bn(e())}const d=e=>{c=v.options.onStop=()=>{it(e,s,4)}};let p=S(e)?[]:mn;const f=()=>{if(v.active)if(t){const e=v();(o||u||$(e,p))&&(c&&c(),st(t,s,3,[e,p===mn?void 0:p,d]),p=e)}else v()};let g;f.allowRecurse=!!t,g="sync"===r?f:"post"===r?()=>Fn(f,s&&s.suspense):()=>{!s||s.isMounted?function(e){St(e,gt,ft,mt)}(f):f()};const v=ee(l,{lazy:!0,onTrack:a,onTrigger:i,scheduler:g});return Fo(v,s),t?n?f():p=v():"post"===r?Fn(v,s&&s.suspense):v(),()=>{te(v),s&&((e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)})(s.effects,v)}}function bn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),Qe(e))bn(e.value,t);else if(S(e))for(let n=0;n<e.length;n++)bn(e[n],t);else if(C(e)||T(e))e.forEach((e=>{bn(e,t)}));else for(const n in e)bn(e[n],t);return e}function yn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dn((()=>{e.isMounted=!0})),fn((()=>{e.isUnmounting=!0})),e}const xn=[Function,Array],wn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xn,onEnter:xn,onAfterEnter:xn,onEnterCancelled:xn,onBeforeLeave:xn,onLeave:xn,onAfterLeave:xn,onLeaveCancelled:xn,onBeforeAppear:xn,onAppear:xn,onAfterAppear:xn,onAppearCancelled:xn},setup(e,{slots:t}){const n=zo(),o=yn();let r;return()=>{const a=t.default&&Cn(t.default(),!0);if(!a||!a.length)return;const i=Je(e),{mode:s}=i;const l=a[0];if(o.isLeaving)return kn(l);const c=Sn(l);if(!c)return kn(l);const u=On(c,i,o,n);Tn(c,u);const d=n.subTree,p=d&&Sn(d);let f=!1;const{getTransitionKey:g}=c.type;if(g){const e=g();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==ro&&(!go(c,p)||f)){const e=On(p,i,o,n);if(Tn(p,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},kn(l);"in-out"===s&&(e.delayLeave=(e,t,n)=>{_n(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}};function _n(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 On(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:h,onAppearCancelled:b}=t,y=String(e.key),x=_n(n,e),w=(e,t)=>{e&&st(e,o,9,t)},_={mode:a,persisted:i,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t._leaveCb&&t._leaveCb(!0);const a=x[y];a&&go(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(o,[t])},enter(e){let t=l,o=c,a=u;if(!n.isMounted){if(!r)return;t=v||l,o=h||c,a=b||u}let i=!1;const s=e._enterCb=t=>{i||(i=!0,w(t?a:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},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?g: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=>On(e,t,n,o)};return _}function kn(e){if(En(e))return(e=xo(e)).children=null,e}function Sn(e){return En(e)?e.children?e.children[0]:void 0:e}function Tn(e,t){6&e.shapeFlag&&e.component?Tn(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 Cn(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const a=e[r];a.type===no?(128&a.patchFlag&&o++,n=n.concat(Cn(a.children,t))):(t||a.type!==ro)&&n.push(a)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}const En=e=>e.type.__isKeepAlive;RegExp,RegExp;function Ln(e,t){return S(e)?e.some((e=>Ln(e,t))):L(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function An(e){let t=e.shapeFlag;256&t&&256,512&t&&512,e.shapeFlag=t}function In(e){return 128&e.shapeFlag?e.ssContent:e}const Mn=e=>"_"===e[0]||"$stable"===e,Pn=e=>S(e)?e.map(ko):[ko(e)],jn=(e,t,n)=>Wt((e=>Pn(t(e))),n),Dn=(e,t)=>{const n=e._ctx;for(const o in e){if(Mn(o))continue;const r=e[o];if(E(r))t[o]=jn(0,r,n);else if(null!=r){0;const e=Pn(r);t[o]=()=>e}}},Rn=(e,t)=>{const n=Pn(t);e.slots.default=()=>n};function zn(e,t){if(null===jt)return e;const n=jt.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,a,i,s=m]=t[e];E(r)&&(r={mounted:r,updated:r}),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:i,modifiers:s})}return e}function Un(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let i=0;i<r.length;i++){const s=r[i];a&&(s.oldValue=a[i].value);const l=s.dir[o];l&&st(l,n,8,[e.el,s,e,t])}}function Nn(){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 Gn=0;function Vn(e,t){return function(n,o=null){null==o||I(o)||(o=null);const r=Nn(),a=new Set;let i=!1;const s=r.app={_uid:Gn++,_component:n,_props:o,_container:null,_context:r,version:Xo,get config(){return r.config},set config(e){0},use:(e,...t)=>(a.has(e)||(e&&E(e.install)?(a.add(e),e.install(s,...t)):E(e)&&(a.add(e),e(s,...t))),s),mixin:e=>s,component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(a,l){if(!i){const c=bo(n,o);return c.appContext=r,l&&t?t(c,a):e(c,a),i=!0,s._container=a,a.__vue_app__=s,c.component.proxy}},unmount(){i&&e(null,s._container)},provide:(e,t)=>(r.provides[e]=t,s)};return s}}function Bn(e){return E(e)?{setup:e,name:e.name}:e}const Hn={scheduler:Ot,allowRecurse:!0};const Fn=Ht,$n=(e,t,n,o)=>{if(S(e))return void e.forEach(((e,r)=>$n(e,t&&(S(t)?t[r]:t),n,o)));let r;r=!o||(e=>!!e.type.__asyncLoader)(o)?null:4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el;const{i:a,r:i}=e;const s=t&&t.r,l=a.refs===m?a.refs={}:a.refs,c=a.setupState;if(null!=s&&s!==i&&(L(s)?(l[s]=null,k(c,s)&&(c[s]=null)):Qe(s)&&(s.value=null)),L(i)){const e=()=>{l[i]=r,k(c,i)&&(c[i]=r)};r?(e.id=-1,Fn(e,n)):e()}else if(Qe(i)){const e=()=>{i.value=r};r?(e.id=-1,Fn(e,n)):e()}else E(i)&&it(i,a,12,[r,l])};function Yn(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=h,cloneNode:g,insertStaticContent:b}=e,y=(e,t,n,o=null,r=null,a=null,i=!1,s=!1)=>{e&&!go(e,t)&&(o=ne(e),K(e,r,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:l,ref:c,shapeFlag:u}=t;switch(l){case oo:x(e,t,n,o);break;case ro:w(e,t,n,o);break;case ao:null==e&&O(t,n,o,i);break;case no:j(e,t,n,o,r,a,i,s);break;default:1&u?T(e,t,n,o,r,a,i,s):6&u?D(e,t,n,o,r,a,i,s):(64&u||128&u)&&l.process(e,t,n,o,r,a,i,s,re)}null!=c&&r&&$n(c,e&&e.ref,a,t)},x=(e,t,o,r)=>{if(null==e)n(t.el=s(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=l(t.children||""),o,r):t.el=e.el},O=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},T=(e,t,n,o,r,a,i,s)=>{i=i||"svg"===t.type,null==e?C(t,n,o,r,a,i,s):A(e,t,r,a,i,s)},C=(e,t,o,a,s,l,c)=>{let d,p;const{type:f,props:m,shapeFlag:v,transition:h,scopeId:b,patchFlag:y,dirs:x}=e;if(e.el&&void 0!==g&&-1===y)d=e.el=g(e.el);else{if(d=e.el=i(e.type,l,m&&m.is),8&v?u(d,e.children):16&v&&L(e.children,d,null,a,s,l&&"foreignObject"!==f,c||!!e.dynamicChildren),x&&Un(e,null,a,"created"),m){for(const t in m)z(t)||r(d,t,null,m[t],l,e.children,a,s,Q);(p=m.onVnodeBeforeMount)&&qn(p,a,e)}E(d,b,e,a)}x&&Un(e,null,a,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&h&&!h.persisted;w&&h.beforeEnter(d),n(d,t,o),((p=m&&m.onVnodeMounted)||w||x)&&Fn((()=>{p&&qn(p,a,e),w&&h.enter(d),x&&Un(e,null,a,"mounted")}),s)},E=(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&&E(e,o.vnode.scopeId,o.vnode,o.parent)}},L=(e,t,n,o,r,a,i,s=0)=>{for(let l=s;l<e.length;l++){const s=e[l]=i?So(e[l]):ko(e[l]);y(null,s,t,n,o,r,a,i)}},A=(e,t,n,o,i,s)=>{const l=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&qn(v,n,t,e),p&&Un(t,e,n,"beforeUpdate"),c>0){if(16&c)P(l,t,f,g,n,o,i);else if(2&c&&f.class!==g.class&&r(l,"class",null,g.class,i),4&c&&r(l,"style",f.style,g.style,i),8&c){const s=t.dynamicProps;for(let t=0;t<s.length;t++){const c=s[t],u=f[c],d=g[c];(d!==u||a&&a(l,c))&&r(l,c,u,d,i,e.children,n,o,Q)}}1&c&&e.children!==t.children&&u(l,t.children)}else s||null!=d||P(l,t,f,g,n,o,i);const h=i&&"foreignObject"!==t.type;d?I(e.dynamicChildren,d,l,n,o,h):s||H(e,t,l,null,n,o,h),((v=g.onVnodeUpdated)||p)&&Fn((()=>{v&&qn(v,n,t,e),p&&Un(t,e,n,"updated")}),o)},I=(e,t,n,o,r,a)=>{for(let i=0;i<t.length;i++){const s=e[i],l=t[i],c=s.type===no||!go(s,l)||6&s.shapeFlag||64&s.shapeFlag?d(s.el):n;y(s,l,c,null,o,r,a,!0)}},P=(e,t,n,o,i,s,l)=>{if(n!==o){for(const c in o){if(z(c))continue;const u=o[c],d=n[c];(u!==d||a&&a(e,c))&&r(e,c,d,u,l,t.children,i,s,Q)}if(n!==m)for(const a in n)z(a)||a in o||r(e,a,n[a],null,l,t.children,i,s,Q)}},j=(e,t,o,r,a,i,l,c)=>{const u=t.el=e?e.el:s(""),d=t.anchor=e?e.anchor:s("");let{patchFlag:p,dynamicChildren:f}=t;p>0&&(c=!0),null==e?(n(u,o,r),n(d,o,r),L(t.children,o,d,a,i,l,c)):p>0&&64&p&&f&&e.dynamicChildren?(I(e.dynamicChildren,f,o,a,i,l),(null!=t.key||a&&t===a.subTree)&&Wn(e,t,!0)):H(e,t,o,d,a,i,l,c)},D=(e,t,n,o,r,a,i,s)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,s):R(t,n,o,r,a,i,s):U(e,t,s)},R=(e,t,n,o,r,a,i)=>{const s=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||jo,a={uid:Do++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:on(o,r),emitsOptions:Mt(o,r),emit:null,emitted:null,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=It.bind(null,a),!1;return a}(e,o,r);if(En(e)&&(s.ctx.renderer=re),function(e,t=!1){Go=t;const{props:n,children:o,shapeFlag:r}=e.vnode,a=4&r;en(e,n,a,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,q(t,"_",n)):Dn(t,e.slots={})}else e.slots={},t&&Rn(e,t);q(e.slots,mo,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,Mo),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?Ho(e):null;Ro=e,ie();const r=it(o,e,0,[e.props,n]);if(se(),Ro=null,M(r)){if(t)return r.then((t=>{Vo(e,t)}));e.asyncDep=r}else Vo(e,r)}else Bo(e)}(e,t):void 0;Go=!1}(s),s.asyncDep){if(r&&r.registerDep(s,N),!e.el){const e=s.subTree=bo(ro);w(null,e,t,n)}}else N(s,e,t,n,r,a,i)},U=(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:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==i&&(o?!i||Gt(o,i,c):!!i);if(1024&l)return!0;if(16&l)return o?Gt(o,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!Pt(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=dt.indexOf(e);t>-1&&dt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},N=(e,t,n,o,r,a,i)=>{e.update=ee((function(){if(e.isMounted){let t,{next:n,bu:o,u:s,parent:l,vnode:c}=e,u=n;0,n?(n.el=c.el,V(e,n,i)):n=c,o&&Y(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&qn(t,l,n,c);const p=Rt(e);0;const f=e.subTree;e.subTree=p,y(f,p,d(f.el),ne(f),e,r,a),n.el=p.el,null===u&&Vt(e,p.el),s&&Fn(s,r),(t=n.props&&n.props.onVnodeUpdated)&&Fn((()=>{qn(t,l,n,c)}),r)}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e;c&&Y(c),(i=l&&l.onVnodeBeforeMount)&&qn(i,d,t);const p=e.subTree=Rt(e);if(s&&le?le(t.el,p,e,r):(y(null,p,n,o,e,r,a),t.el=p.el),u&&Fn(u,r),i=l&&l.onVnodeMounted){const e=t;Fn((()=>{qn(i,d,e)}),r)}const{a:f}=e;f&&256&t.shapeFlag&&Fn(f,r),e.isMounted=!0,t=n=o=null}}),Hn)},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,s=Je(r),[l]=e.propsOptions;if(!(o||i>0)||16&i){let o;tn(e,t,r,a);for(const a in s)t&&(k(t,a)||(o=B(a))!==a&&k(t,o))||(l?!n||void 0===n[a]&&void 0===n[o]||(r[a]=nn(l,t||m,a,void 0,e)):delete r[a]);if(a!==s)for(const e in a)t&&k(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(l)if(k(a,i))a[i]=c;else{const t=G(i);r[t]=nn(l,s,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=m;if(32&n.shapeFlag){const e=t._;e?1===e?r=!1:_(o,t):(r=!t.$stable,Dn(t,o)),a=t}else t&&(Rn(e,t),a={default:1});if(r)for(const e in o)Mn(e)||e in a||delete o[e]})(e,t.children),Ct(void 0,e.update)},H=(e,t,n,o,r,a,i,s=!1)=>{const l=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void $(l,d,n,o,r,a,i,s);if(256&p)return void F(l,d,n,o,r,a,i,s)}8&f?(16&c&&Q(l,r,a),d!==l&&u(n,d)):16&c?16&f?$(l,d,n,o,r,a,i,s):Q(l,r,a,!0):(8&c&&u(n,""),16&f&&L(d,n,o,r,a,i,s))},F=(e,t,n,o,r,a,i,s)=>{t=t||v;const l=(e=e||v).length,c=t.length,u=Math.min(l,c);let d;for(d=0;d<u;d++){const o=t[d]=s?So(t[d]):ko(t[d]);y(e[d],o,n,null,r,a,i,s)}l>c?Q(e,r,a,!0,!1,u):L(t,n,o,r,a,i,s,u)},$=(e,t,n,o,r,a,i,s)=>{let l=0;const c=t.length;let u=e.length-1,d=c-1;for(;l<=u&&l<=d;){const o=e[l],c=t[l]=s?So(t[l]):ko(t[l]);if(!go(o,c))break;y(o,c,n,null,r,a,i,s),l++}for(;l<=u&&l<=d;){const o=e[u],l=t[d]=s?So(t[d]):ko(t[d]);if(!go(o,l))break;y(o,l,n,null,r,a,i,s),u--,d--}if(l>u){if(l<=d){const e=d+1,u=e<c?t[e].el:o;for(;l<=d;)y(null,t[l]=s?So(t[l]):ko(t[l]),n,u,r,a,i),l++}}else if(l>d)for(;l<=u;)K(e[l],r,a,!0),l++;else{const p=l,f=l,g=new Map;for(l=f;l<=d;l++){const e=t[l]=s?So(t[l]):ko(t[l]);null!=e.key&&g.set(e.key,l)}let m,h=0;const b=d-f+1;let x=!1,w=0;const _=new Array(b);for(l=0;l<b;l++)_[l]=0;for(l=p;l<=u;l++){const o=e[l];if(h>=b){K(o,r,a,!0);continue}let c;if(null!=o.key)c=g.get(o.key);else for(m=f;m<=d;m++)if(0===_[m-f]&&go(o,t[m])){c=m;break}void 0===c?K(o,r,a,!0):(_[c-f]=l+1,c>=w?w=c:x=!0,y(o,t[c],n,null,r,a,i,s),h++)}const O=x?function(e){const t=e.slice(),n=[0];let o,r,a,i,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(a=0,i=n.length-1;a<i;)s=(a+i)/2|0,e[n[s]]<l?a=s+1:i=s;l<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}(_):v;for(m=O.length-1,l=b-1;l>=0;l--){const e=f+l,s=t[e],u=e+1<c?t[e+1].el:o;0===_[l]?y(null,s,n,u,r,a,i):x&&(m<0||l!==O[m]?W(s,n,u,2):m--)}}},W=(e,t,o,r,a=null)=>{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,re);if(s===no){n(i,t,o);for(let e=0;e<c.length;e++)W(c[e],t,o,r);return void n(e.anchor,t,o)}if(s===ao)return void(({el:e,anchor:t},o,r)=>{let a;for(;e&&e!==t;)a=p(e),n(e,o,r),e=a;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(i),n(i,t,o),Fn((()=>l.enter(i)),a);else{const{leave:e,delayLeave:r,afterLeave:a}=l,s=()=>n(i,t,o),c=()=>{e(i,(()=>{s(),a&&a()}))};r?r(i,s,c):c()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:a,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&$n(s,null,n,null),256&u)return void t.ctx.deactivate(e);const f=1&u&&p;let g;if((g=i&&i.onVnodeBeforeUnmount)&&qn(g,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Un(e,null,t,"beforeUnmount"),c&&(a!==no||d>0&&64&d)?Q(c,t,n,!1,!0):(a===no&&(128&d||256&d)||!r&&16&u)&&Q(l,t,n),64&u&&(o||!Kn(e.props))&&e.type.remove(e,re),o&&X(e)}((g=i&&i.onVnodeUnmounted)||f)&&Fn((()=>{g&&qn(g,t,e),f&&Un(e,null,t,"unmounted")}),n)},X=e=>{const{type:t,el:n,anchor:r,transition:a}=e;if(t===no)return void J(n,r);if(t===ao)return void S(e);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()},J=(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:s}=e;if(o&&Y(o),r)for(let e=0;e<r.length;e++)te(r[e]);a&&(te(a),K(i,e,t,n)),s&&Fn(s,t),Fn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,a=0)=>{for(let i=a;i<e.length;i++)K(e[i],t,n,o,r)},ne=e=>6&e.shapeFlag?ne(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),oe=(e,t)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):y(t._vnode||null,e,t),Et(),t._vnode=e},re={p:y,um:K,m:W,r:X,mt:R,mc:L,pc:H,pbc:I,n:ne,o:e};let ae,le;return t&&([ae,le]=t(re)),{render:oe,hydrate:ae,createApp:Vn(oe,ae)}}function qn(e,t,n,o=null){st(e,t,7,[n,o])}function Wn(e,t,n=!1){const o=e.children,r=t.children;if(S(o)&&S(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]=So(r[e]),a.el=t.el),n||Wn(t,a))}}const Kn=e=>e&&(e.disabled||""===e.disabled);const Xn="components";function Jn(e){return eo(Xn,e)||e}const Zn=Symbol();function Qn(e){return eo("directives",e)}function eo(e,t,n=!0){const o=jt||Ro;if(o){const n=o.type;if(e===Xn){if("_self"===t)return n;const e=$o(n);if(e&&(e===t||e===G(t)||e===H(G(t))))return n}return to(o[e]||n[e],t)||to(o.appContext[e],t)}}function to(e,t){return e&&(e[t]||e[G(t)]||e[H(G(t))])}const no=Symbol(void 0),oo=Symbol(void 0),ro=Symbol(void 0),ao=Symbol(void 0),io=[];let so=null;function lo(e=!1){io.push(so=e?null:[])}function co(){io.pop(),so=io[io.length-1]||null}let uo=1;function po(e,t,n,o,r){const a=bo(e,t,n,o,r,!0);return a.dynamicChildren=so||v,co(),uo>0&&so&&so.push(a),a}function fo(e){return!!e&&!0===e.__v_isVNode}function go(e,t){return e.type===t.type&&e.key===t.key}const mo="__vInternal",vo=({key:e})=>null!=e?e:null,ho=({ref:e})=>null!=e?L(e)||Qe(e)||E(e)?{i:jt,r:e}:e:null,bo=yo;function yo(e,t=null,n=null,o=0,r=null,a=!1){if(e&&e!==Zn||(e=ro),fo(e)){const o=xo(e,t,!0);return n&&To(o,n),o}if(Yo(e)&&(e=e.__vccOpts),t){(Xe(t)||mo in t)&&(t=_({},t));let{class:e,style:n}=t;e&&!L(e)&&(t.class=p(e)),I(n)&&(Xe(n)&&!S(n)&&(n=_({},n)),t.style=l(n))}const i=L(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:E(e)?2:0;const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vo(t),ref:t&&ho(t),scopeId:Kt,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(To(s,n),128&i){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=Bt(n.default),r=Bt(n.fallback)):(o=Bt(n),r=ko(null)),{content:o,fallback:r}}(s);s.ssContent=e,s.ssFallback=t}return uo>0&&!a&&so&&(o>0||6&i)&&32!==o&&so.push(s),s}function xo(e,t,n=!1){const{props:o,ref:r,patchFlag:a}=e,i=t?Co(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?S(r)?r.concat(ho(t)):[r,ho(t)]:ho(t):r,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==no?-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&&xo(e.ssContent),ssFallback:e.ssFallback&&xo(e.ssFallback),el:e.el,anchor:e.anchor}}function wo(e=" ",t=0){return bo(oo,null,e,t)}function _o(e,t){const n=bo(ao,null,e);return n.staticCount=t,n}function Oo(e="",t=!1){return t?(lo(),po(ro,null,e)):bo(ro,null,e)}function ko(e){return null==e||"boolean"==typeof e?bo(ro):S(e)?bo(no,null,e):"object"==typeof e?null===e.el?e:xo(e):bo(oo,null,String(e))}function So(e){return null===e.el?e:xo(e)}function To(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(S(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&$t(1),To(e,n()),n._c&&$t(-1)))}{n=32;const o=t._;o||mo in t?3===o&&jt&&(1024&jt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=jt}}else E(t)?(t={default:t,_ctx:jt},n=32):(t=String(t),64&o?(n=16,t=[wo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Co(...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=l([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 Eo(e,t){if(Ro){let n=Ro.provides;const o=Ro.parent&&Ro.parent.provides;o===n&&(n=Ro.provides=Object.create(o)),n[e]=t}else 0}function Lo(e,t,n=!1){const o=Ro||jt;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&&E(t)?t():t}else 0}const Ao=e=>e&&(e.proxy?e.proxy:Ao(e.parent)),Io=_(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=>Ao(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>()=>Ot(e.update),$nextTick:e=>_t.bind(e.proxy),$watch:e=>h}),Mo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:s,appContext:l}=e;if("__v_skip"===t)return!0;let c;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return a[t]}else{if(o!==m&&k(o,t))return i[t]=0,o[t];if(r!==m&&k(r,t))return i[t]=1,r[t];if((c=e.propsOptions[0])&&k(c,t))return i[t]=2,a[t];if(n!==m&&k(n,t))return i[t]=3,n[t];i[t]=4}}const u=Io[t];let d,p;return u?("$attrs"===t&&le(e,0,t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==m&&k(n,t)?(i[t]=3,n[t]):(p=l.config.globalProperties,k(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;if(r!==m&&k(r,t))r[t]=n;else if(o!==m&&k(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 s;return void 0!==n[i]||e!==m&&k(e,i)||t!==m&&k(t,i)||(s=a[0])&&k(s,i)||k(o,i)||k(Io,i)||k(r.config.globalProperties,i)}};const Po=_({},Mo,{get(e,t){if(t!==Symbol.unscopables)return Mo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!a(t)});const jo=Nn();let Do=0;let Ro=null;const zo=()=>Ro||jt,Uo=e=>{Ro=e};let No,Go=!1;function Vo(e,t,n){E(t)?e.render=t:I(t)&&(e.setupState=rt(t)),Bo(e)}function Bo(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,Po)))}function Ho(e){const t=t=>{e.exposed=rt(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fo(e,t=Ro){t&&(t.effects||(t.effects=[])).push(e)}function $o(e){return E(e)&&e.displayName||e.name}function Yo(e){return E(e)&&"__vccOpts"in e}function qo(e){const t=function(e){let t,n;return E(e)?(t=e,n=h):(t=e.get,n=e.set),new at(t,n,E(e)||!e.set)}(e);return Fo(t.effect),t}function Wo(e,t,n){const o=arguments.length;return 2===o?I(t)&&!S(t)?fo(t)?bo(e,null,[t]):bo(e,t):bo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&fo(n)&&(n=[n]),bo(e,t,n))}Symbol("");function Ko(e,t){let n;if(S(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 Xo="3.0.5",Jo="http://www.w3.org/2000/svg",Zo="undefined"!=typeof document?document:null;let Qo,er;const tr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Zo.createElementNS(Jo,e):Zo.createElement(e,n?{is:n}:void 0),createText:e=>Zo.createTextNode(e),createComment:e=>Zo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?er||(er=Zo.createElementNS(Jo,"svg")):Qo||(Qo=Zo.createElement("div"));r.innerHTML=e;const a=r.firstChild;let i=a,s=i;for(;i;)s=i,tr.insert(i,t,n),i=r.firstChild;return[a,s]}};const nr=/\s*!important$/;function or(e,t,n){if(S(n))n.forEach((n=>or(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ar[t];if(n)return n;let o=G(t);if("filter"!==o&&o in e)return ar[t]=o;o=H(o);for(let n=0;n<rr.length;n++){const r=rr[n]+o;if(r in e)return ar[t]=r}return t}(e,t);nr.test(n)?e.setProperty(B(o),n.replace(nr,""),"important"):e[o]=n}}const rr=["Webkit","Moz","ms"],ar={};const ir="http://www.w3.org/1999/xlink";let sr=Date.now;"undefined"!=typeof document&&sr()>document.createEvent("Event").timeStamp&&(sr=()=>performance.now());let lr=0;const cr=Promise.resolve(),ur=()=>{lr=0};function dr(e,t,n,o){e.addEventListener(t,n,o)}function pr(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[n,s]=function(e){let t;if(fr.test(e)){let n;for(t={};n=e.match(fr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){dr(e,n,a[t]=function(e,t){const n=e=>{(e.timeStamp||sr())>=n.attached-1&&st(function(e,t){if(S(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=(()=>lr||(cr.then(ur),lr=sr()))(),n}(o,r),s)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,s),a[t]=void 0)}}const fr=/(?:Once|Passive|Capture)$/;const gr=/^on[a-z]/;const mr="transition",vr="animation",hr=(e,{slots:t})=>Wo(wn,xr(e),t);hr.displayName="Transition";const br={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},yr=hr.props=_({},wn.props,br);function xr(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:a=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:s=`${t}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:p=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=e;const g={};for(const t in e)t in br||(g[t]=e[t]);if(!o)return g;const m=function(e){if(null==e)return null;if(I(e))return[wr(e.enter),wr(e.leave)];{const t=wr(e);return[t,t]}}(r),v=m&&m[0],h=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:w,onLeaveCancelled:O,onBeforeAppear:k=b,onAppear:S=y,onAppearCancelled:T=x}=g,C=(e,t,n)=>{Or(e,t?u:s),Or(e,t?c:i),n&&n()},E=(e,t)=>{Or(e,f),Or(e,p),t&&t()},L=e=>(t,o)=>{const r=e?S:y,i=()=>C(t,e,o);r&&r(t,i),kr((()=>{Or(t,e?l:a),_r(t,e?u:s),r&&r.length>1||Tr(t,n,v,i)}))};return _(g,{onBeforeEnter(e){b&&b(e),_r(e,a),_r(e,i)},onBeforeAppear(e){k&&k(e),_r(e,l),_r(e,c)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){const o=()=>E(e,t);_r(e,d),Ar(),_r(e,p),kr((()=>{Or(e,d),_r(e,f),w&&w.length>1||Tr(e,n,h,o)})),w&&w(e,o)},onEnterCancelled(e){C(e,!1),x&&x(e)},onAppearCancelled(e){C(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),O&&O(e)}})}function wr(e){return W(e)}function _r(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Or(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 kr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Sr=0;function Tr(e,t,n,o){const r=e._endId=++Sr,a=()=>{r===e._endId&&o()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=Cr(e,t);if(!i)return o();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),a()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function Cr(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),a=o("transitionDuration"),i=Er(r,a),s=o("animationDelay"),l=o("animationDuration"),c=Er(s,l);let u=null,d=0,p=0;t===mr?i>0&&(u=mr,d=i,p=a.length):t===vr?c>0&&(u=vr,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?mr:vr:null,p=u?u===mr?a.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===mr&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function Er(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Lr(t)+Lr(e[n]))))}function Lr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ar(){return document.body.offsetHeight}const Ir=new WeakMap,Mr=new WeakMap,Pr={name:"TransitionGroup",props:_({},yr,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zo(),o=yn();let r,a;return pn((()=>{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}=Cr(o);return r.removeChild(o),a}(r[0].el,n.vnode.el,t))return;r.forEach(jr),r.forEach(Dr);const o=r.filter(Rr);Ar(),o.forEach((e=>{const n=e.el,o=n.style;_r(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,Or(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=Je(e),s=xr(i),l=i.tag||no;r=a,a=t.default?Cn(t.default()):[];for(let e=0;e<a.length;e++){const t=a[e];null!=t.key&&Tn(t,On(t,s,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Tn(t,On(t,s,o,n)),Ir.set(t,t.el.getBoundingClientRect())}return bo(l,null,a)}}};function jr(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Dr(e){Mr.set(e,e.el.getBoundingClientRect())}function Rr(e){const t=Ir.get(e),n=Mr.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 zr=e=>{const t=e.props["onUpdate:modelValue"];return S(t)?e=>Y(t,e):t};function Ur(e){e.target.composing=!0}function Nr(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 Gr={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=zr(r);const a=o||"number"===e.type;dr(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&&dr(e,"change",(()=>{e.value=e.value.trim()})),t||(dr(e,"compositionstart",Ur),dr(e,"compositionend",Nr),dr(e,"change",Nr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=zr(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 Vr=["ctrl","shift","alt","meta"],Br={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)=>Vr.some((n=>e[`${n}Key`]&&!t.includes(n)))},Hr=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=Br[t[e]];if(o&&o(n,t))return}return e(n,...o)},Fr={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$r=(e,t)=>n=>{if(!("key"in n))return;const o=B(n.key);return t.some((e=>e===o||Fr[e]===o))?e(n):void 0},Yr={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):qr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){o&&t!==n?t?(o.beforeEnter(e),qr(e,!0),o.enter(e)):o.leave(e,(()=>{qr(e,!1)})):qr(e,t)},beforeUnmount(e,{value:t}){qr(e,t)}};function qr(e,t){e.style.display=t?e._vod:"none"}const Wr=_({patchProp:(e,t,n,o,r=!1,a,i,l,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)or(o,e,n[e]);if(t&&!L(t))for(const e in t)null==n[e]&&or(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:x(t)?w(t)||pr(e,t,0,o,i):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&gr.test(t)&&E(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(gr.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||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}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,l,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(ir,t.slice(6,t.length)):e.setAttributeNS(ir,t,n);else{const o=s(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))}},forcePatchProp:(e,t)=>"value"===t},tr);let Kr;function Xr(){return Kr||(Kr=Yn(Wr))}const Jr=(...e)=>{const t=Xr().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=Zr(e);if(!o)return;const r=t._component;E(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=n(o);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function Zr(e){if(L(e)){return document.querySelector(e)}return e}n(3770),n(1645);function Qr(e,t){e.style.transform=t,e.style.webkitTransform=t}function ea(e,t){e.style.opacity=t.toString()}function ta(e){return"TouchEvent"===e.constructor.name}var na=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.getBoundingClientRect(),r=ta(e)?e.touches[e.touches.length-1]:e,a=r.clientX-o.left,i=r.clientY-o.top,s=0,l=.3;t._ripple&&t._ripple.circle?(l=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt(Math.pow(a-s,2)+Math.pow(i-s,2))/4):s=Math.sqrt(Math.pow(t.clientWidth,2)+Math.pow(t.clientHeight,2))/2;var c=(t.clientWidth-2*s)/2+"px",u=(t.clientHeight-2*s)/2+"px",d=n.center?c:a-s+"px",p=n.center?u:i-s+"px";return{radius:s,scale:l,x:d,y:p,centerX:c,centerY:u}},oa=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=na(e,t,n),i=a.radius,s=a.scale,l=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"),Qr(r,"translate("+l+", "+c+") scale3d("+s+","+s+","+s+")"),ea(r,0),r.dataset.activated=String(performance.now()),setTimeout((function(){r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Qr(r,"translate("+u+", "+d+") scale3d(1,1,1)"),ea(r,.25)}),0)}},ra=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);setTimeout((function(){n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),ea(n,0),setTimeout((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 aa(e){return void 0===e||!!e}function ia(e){var t={},n=e.currentTarget;n&&n._ripple&&!n._ripple.touched&&(ta(e)&&(n._ripple.touched=!0),t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),oa(e,n,t))}function sa(e){var t=e.currentTarget;t&&(window.setTimeout((function(){t._ripple&&(t._ripple.touched=!1)})),ra(t))}function la(e,t,n){var o=aa(t.value);o||ra(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",ia,{passive:!0}),e.addEventListener("touchend",sa,{passive:!0}),e.addEventListener("touchcancel",sa),e.addEventListener("mousedown",ia),e.addEventListener("mouseup",sa),e.addEventListener("mouseleave",sa),e.addEventListener("dragstart",sa,{passive:!0})):!o&&n&&ca(e)}function ca(e){e.removeEventListener("mousedown",ia),e.removeEventListener("touchstart",sa),e.removeEventListener("touchend",sa),e.removeEventListener("touchcancel",sa),e.removeEventListener("mouseup",sa),e.removeEventListener("mouseleave",sa),e.removeEventListener("dragstart",sa)}const ua={mounted:function(e,t,n){la(e,t,!1),n.context&&n.context.$nextTick((function(){var t=window.getComputedStyle(e);if(t&&"inline"===t.display){var o=n.fnOptions?[n.fnOptions,n.context]:[n.componentInstance];console.warn(["v-ripple can only be used on block-level elements"].concat(o))}}))},unmounted:function(e){delete e._ripple,ca(e)},updated:function(e,t){t.value!==t.oldValue&&la(e,t,aa(t.oldValue))}},da=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())},pa={mounted(e){e.addEventListener("wheel",da)},unmounted(e){e.removeEventListener("wheel",da)}},fa=Qt("data-v-5a9d8295");Jt("data-v-5a9d8295");const ga=bo("div",{class:"ripple-trigger absolute"},null,-1),ma={class:"label text-grey-700"};Zt();const va=fa(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Qn("ripple");return lo(),po("div",{class:"checkbox flex items-center select-none cursor-pointer",onClick:t[1]||(t[1]=(...t)=>e.toggle&&e.toggle(...t))},[bo("div",{class:["icon relative",{checked:e.props.modelValue,"mr-2":!!e.label}]},[bo(i,{size:"100%",svg:e.props.modelValue?e.icon.checked:e.icon.unchecked},null,8,["svg"]),zn(bo("div",{class:["ripple absolute rounded-full",{checked:e.props.modelValue}]},[ga],2),[[s,{center:!0}]])],2),bo("div",ma,f(e.label),1)])})),ha=Bn({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(5820);ha.render=va,ha.__scopeId="data-v-5a9d8295";const ba=ha,ya=Bn({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 bo("div",{class:[!e.nomt&&"mt-6"]},[bo(Jn("i-checkbox"),Co({label:null!==(o=e.label)&&void 0!==o?o:"",modelValue:e.modelValue},{"onUpdate:modelValue":n}),null),bo("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||"")])])}}}),xa=Bn({props:{modelValue:null},setup:(e,t)=>(Eo("radio-group-handle-radio-click",(e=>{t.emit("update:modelValue",e)})),Eo("radio-group-value",qo((()=>e.modelValue))),()=>{var e,n;return bo("div",{class:"radio-group flex-col items-start"},[null===(e=(n=t.slots).default)||void 0===e?void 0:e.call(n)])})}),wa=Qt("data-v-9b99df3a");Jt("data-v-9b99df3a");const _a=bo("div",{class:"ripple-trigger absolute"},null,-1),Oa={class:"label text-grey-600"};Zt();const ka=wa(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Qn("ripple");return lo(),po("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&&e.handleClick(...t))},[bo("div",{class:["icon relative mr-2",{checked:e.checked}]},[bo(i,{size:"100%",svg:e.checked?e.icon.checked:e.icon.unchecked},null,8,["svg"]),zn(bo("div",{class:["ripple absolute rounded-full",{checked:e.checked}]},[_a],2),[[s,{center:!0}]])],2),bo("div",Oa,f(e.props.label),1)])})),Sa={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'},Ta=Bn({props:{modelValue:{type:null},value:{type:null,required:!0},label:{type:String,default:""}},setup:(e,t)=>{const n=Lo("radio-group-handle-radio-click"),o=Lo("radio-group-value",e.modelValue),r=qo((()=>o?o.value===e.value:e.value===e.modelValue));return{handleClick:()=>{t.emit("update:modelValue",e.value),n&&n(e.value)},icon:Sa,props:e,checked:r}}});n(9061);Ta.render=ka,Ta.__scopeId="data-v-9b99df3a";const Ca=Ta,Ea=Qt("data-v-629e59a4");Jt("data-v-629e59a4");const La={class:"slider select-none"},Aa={class:"text text-white text-12"};Zt();const Ia=Ea(((e,t,n,o,r,a)=>(lo(),po("div",La,[bo("div",{class:"track flex items-center relative",ref:e.refs.track,onClick:t[2]||(t[2]=(...t)=>e.handleTrackClick&&e.handleTrackClick(...t))},[bo("div",{class:"track-left bg-blue-700",style:{width:`${e.position}%`}},null,4),bo("div",{class:"track-right bg-grey-400",style:{width:100-e.position+"%"}},null,4),bo("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&&e.handleNotchMouseDown(...t))},null,38),bo("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}%`}},[bo("div",Aa,f(e.state.cachedValue),1)],6)],512)])))),Ma=Bn({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=$e({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,setTimeout((()=>{o.drag.afterDragging=!1})),t.emit("update:modelValue",o.cachedValue)},i=qo((()=>(o.cachedValue-e.min)/(e.max-e.min)*100));return vn((()=>e.modelValue),(()=>{o.cachedValue=e.modelValue}),{immediate:!0}),dn((()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",a),o.cachedValue=e.modelValue})),gn((()=>{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(1032);Ma.render=Ia,Ma.__scopeId="data-v-629e59a4";const Pa=Ma,ja=Qt("data-v-3651d216")(((e,t,n,o,r,a)=>(lo(),po("div",null,[bo("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]=Hr(((...t)=>e.handleKeyDown&&e.handleKeyDown(...t)),["prevent","stop"]))},null,40,["value"])])))),Da=e=>e>="a"&&e<="z"?e.toUpperCase():e,Ra=Bn({name:"HotkeyInput",props:{modelValue:{type:null,required:!0}},setup:(e,t)=>{var n;const o=$e({keys:null!==(n=e.modelValue)&&void 0!==n?n:[],setKeys:[]}),r=e=>{const t=Da(e.key),n=o.keys.indexOf(t);-1!==n&&o.keys.splice(n,1)},a=()=>{o.keys=[]},i=qo((()=>{const e=o.setKeys;return[e.includes("Control")&&"Control",e.includes("Alt")&&"Alt",e.includes("Shift")&&"Shift",...e.filter((e=>!["Control","Alt","Shift"].includes(e)))].filter(Boolean)})),s=qo((()=>i.value.length?i.value.map((e=>"Control"===e?"Ctrl":e)).join(" + "):"无"));return vn((()=>i.value),(()=>{t.emit("update:modelValue",i.value)})),vn((()=>e.modelValue),(()=>{e.modelValue&&(e.modelValue.every(((e,t)=>e===o.setKeys[t]))||(o.setKeys=[...e.modelValue]))}),{immediate:!0}),dn((()=>{window.addEventListener("keyup",r),window.addEventListener("blur",a),window.addEventListener("focus",a)})),gn((()=>{window.removeEventListener("keyup",r),window.removeEventListener("blur",a),window.removeEventListener("focus",a)})),{props:e,state:o,inputString:s,handleKeyDown:e=>{const t=Da(e.key);if(!e.repeat){if("Backspace"===t)return o.keys=[],void(o.setKeys=[]);o.keys.includes(t)||o.keys.push(t),o.setKeys=[...o.keys]}},handleKeyUp:r}}});n(657);Ra.render=ja,Ra.__scopeId="data-v-3651d216";const za=Ra;const Ua=Bn({props:{svg:{type:String,default:""},size:{type:null,default:16},color:{type:String,default:""}},setup:e=>{const t=qo((()=>{if(!e.size)return;const t=parseInt(`${e.size}`,10);return`${t}`==`${e.size}`?`${t}px`:e.size})),n=qo((()=>e.color?e.svg.replace(/(fill="#[a-fA-F0-9]{6}")/g,`fill="${e.color}"`):e.svg)),o=qo((()=>`data:image/svg+xml;base64,${window.btoa(n.value)}`));return{computedSize:t,svgContent:n,svgUrl:o}}});Ua.render=function(e,t,n,o,r,a){return lo(),po("div",{class:"i-icon flex flex-center",style:{height:e.computedSize,width:e.computedSize}},[bo("img",{class:"svg-img flex-1 w-0",src:e.svgUrl,alt:""},null,8,["src"])],4)};const Na=Ua,Ga=Qt("data-v-a11345ba");Jt("data-v-a11345ba");const Va={class:"the-app"};Zt();const Ba=Ga(((e,t,n,o,r,a)=>{const i=Jn("iciba-circle"),s=Jn("iciba-main"),l=Jn("setting-page"),c=Jn("google-dict-modal"),u=Jn("history-modal");return lo(),po("div",Va,[bo(i,{ref:e.refs.icibaCircle},null,512),bo(s,{"get-iciba-circle":()=>e.refs.icibaCircle.value},null,8,["get-iciba-circle"]),bo(l),bo(c),bo(u)])}));var Ha,Fa=n(6361),$a=n.n(Fa);class Ya{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]){const n=this.m[e].indexOf(t);-1!==n&&this.m[e].splice(n,1)}}emit(e,t){this.m[e]&&this.m[e].forEach((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"}(Ha||(Ha={}));const qa=new class{constructor(){this.bus=new Ya}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)}},Wa=Qt("data-v-b07dfcf8");Jt("data-v-b07dfcf8");const Ka={class:"input-box flex relative flex-none bg-white"},Xa={class:"provider-box flex border-b border-grey-350"},Ja=bo("div",{class:"split border-l border-grey-350"},null,-1),Za={class:"content-box relative"},Qa={key:1,class:"loading-tip content-item text-grey-900"},ei={key:2,class:"provider-error-message content-item text-grey-900"},ti={key:3,class:"show-up-tip content-item text-grey-500"},ni={key:0,class:"stick-box absolute border-l border-grey-350"};Zt();const oi=Wa(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("LoadingText");return lo(),po("div",null,[bo("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),bo(hr,{name:"m"},{default:Wa((()=>{return[zn(bo("div",{class:"iciba-main-wrap absolute overflow-visible ease-in-out duration-150 transition-opacity",ref:e.refs.icibaMainWrap},[bo("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},[bo("div",Ka,[bo("div",{class:["iciba-input-box flex relative flex-auto border-b border-grey-350",{focused:e.state.inputFocused}]},[zn(bo("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]=Hr((()=>{}),["stop"])),onKeypress:t[5]||(t[5]=$r(((...t)=>e.m.handleInputEnter&&e.m.handleInputEnter(...t)),["enter"]))},null,544),[[Gr,e.state.inputText]]),e.store.config.core.history?(lo(),po("div",{key:0,class:"input-button flex flex-center cursor-pointer",onClick:t[6]||(t[6]=(...t)=>e.m.handleOpenHistory&&e.m.handleOpenHistory(...t))},[bo(i,{size:21,svg:e.icon.historyIcon,color:"#aaa"},null,8,["svg"])])):Oo("",!0),bo("div",{class:"input-button flex flex-center cursor-pointer",onClick:t[7]||(t[7]=(...t)=>e.m.handleOpenSetting&&e.m.handleOpenSetting(...t))},[bo(i,{svg:e.icon.settingsIcon},null,8,["svg"])])],2),bo("div",Xa,[(lo(!0),po(no,null,Ko(e.showButtonProviders,(t=>(lo(),po(no,{key:t.id},[Ja,bo("button",{onKeydown:$r((n=>e.m.handleTranslateWithProvider(t.id)),["enter"]),onClick:n=>e.m.handleTranslateWithProvider(t.id),class:"provider-button flex flex-center relative flex-none"},[bo(i,{svg:e.m.getIcon(t)},null,8,["svg"])],40,["onKeydown","onClick"])],64)))),128))])]),bo("div",Za,[e.translateLoading||e.errorMessage||!e.activeProvider?Oo("",!0):(lo(),po((n=e.activeProvider.view,L(n)?eo(Xn,n,!1)||n:n||Zn),{class:"provider-container",key:e.activeProvider.id})),e.translateLoading?(lo(),po("div",Qa,[bo(s)])):Oo("",!0),!e.translateLoading&&e.errorMessage?(lo(),po("div",ei,f(e.errorMessage),1)):Oo("",!0),e.activeProvider||e.translateLoading||e.errorMessage?Oo("",!0):(lo(),po("div",ti," 等待输入查词 "))]),bo(hr,{name:"s"},{default:Wa((()=>[e.store.config.core.showPin?zn((lo(),po("div",ni,[bo("div",{class:"drag flex flex-center border-b border-grey-350",onMousedown:t[8]||(t[8]=(...t)=>e.m.pinDrag.handlePinDragStart&&e.m.pinDrag.handlePinDragStart(...t))},[bo(i,{svg:e.icon.dragIcon},null,8,["svg"])],32),bo("div",{class:["stick flex flex-center relative",{pinned:e.store.config.core.pinned}],onClick:t[9]||(t[9]=(...t)=>e.m.pinDrag.handleTogglePinned&&e.m.pinDrag.handleTogglePinned(...t))},[bo(i,{svg:e.icon.pinIcon},null,8,["svg"])],2)],512)),[[Yr,e.store.config.core.pinned||e.state.stickBoxVisible]]):Oo("",!0)])),_:1})],36)],512),[[Yr,e.visible]])];var n})),_:1})])}));function ri(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e,t,n,o,r,a,i,s,l,c,u,d,p,f,g,m,v,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 s(i(a(r(o(n(t(e)))))));case 9:return l(s(i(a(r(o(n(t(e))))))));case 10:return c(l(s(i(a(r(o(n(t(e)))))))));case 11:return u(c(l(s(i(a(r(o(n(t(e))))))))));case 12:return d(u(c(l(s(i(a(r(o(n(t(e)))))))))));case 13:return p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))));case 14:return f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))));case 15:return g(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))));case 16:return m(g(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))));case 17:return v(m(g(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))))));case 18:return h(v(m(g(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))))));case 19:return b(h(v(m(g(f(p(d(u(c(l(s(i(a(r(o(n(t(e))))))))))))))))));case 20:return y(b(h(v(m(g(f(p(d(u(c(l(s(i(a(r(o(n(t(e)))))))))))))))))))}}var si=function(e){return"Left"===e._tag},li=function(e){return"Right"===e._tag},ci=function(e){return{_tag:"Left",left:e}},ui=function(e){return{_tag:"Right",right:e}};var di=function(e,t){return ii(e,mi(t))},pi=function(e,t){return ii(e,fi(t))},fi=function(e){return function(t){return si(t)?ci(e(t.left)):t}},gi=function(e){return function(t){return si(t)?t:e(t.right)}},mi=gi;var vi=di,hi=pi;var bi,yi=(bi=function(e,t){return(bi=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}bi(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),xi=function(){return(xi=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)},wi=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 si(r)?r:t.validate(r.right,n)}),this.encode===_i&&t.encode===_i?_i: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}(),_i=function(e){return e},Oi=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},ki=ci,Si=function(e,t,n){return ki([{value:e,context:t,message:n}])},Ti=ui,Ci=function(e,t){for(var n=t.length,o=0;o<n;o++)e.push(t[o])},Ei=(new(function(e){function t(){var t=e.call(this,"null",(function(e){return null===e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="NullType",t}return yi(t,e),t}(wi)),new(function(e){function t(){var t=e.call(this,"undefined",(function(e){return void 0===e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="UndefinedType",t}return yi(t,e),t}(wi))),Li=(new(function(e){function t(){var t=e.call(this,"void",Ei.is,Ei.validate,_i)||this;return t._tag="VoidType",t}return yi(t,e),t}(wi)),new(function(e){function t(){var t=e.call(this,"unknown",(function(e){return!0}),Ti,_i)||this;return t._tag="UnknownType",t}return yi(t,e),t}(wi)),new(function(e){function t(){var t=e.call(this,"string",(function(e){return"string"==typeof e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="StringType",t}return yi(t,e),t}(wi))),Ai=new(function(e){function t(){var t=e.call(this,"number",(function(e){return"number"==typeof e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="NumberType",t}return yi(t,e),t}(wi)),Ii=(new(function(e){function t(){var t=e.call(this,"bigint",(function(e){return"bigint"==typeof e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="BigIntType",t}return yi(t,e),t}(wi)),new(function(e){function t(){var t=e.call(this,"boolean",(function(e){return"boolean"==typeof e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="BooleanType",t}return yi(t,e),t}(wi))),Mi=new(function(e){function t(){var t=e.call(this,"UnknownArray",Array.isArray,(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="AnyArrayType",t}return yi(t,e),t}(wi)),Pi=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)?Ti(e):Si(e,n)}),_i)||this;return t._tag="AnyDictionaryType",t}return yi(t,e),t}(wi)),ji=(new(function(e){function t(){var t=e.call(this,"Function",(function(e){return"function"==typeof e}),(function(e,n){return t.is(e)?Ti(e):Si(e,n)}),_i)||this;return t._tag="FunctionType",t}return yi(t,e),t}(wi)),function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r)||this;return s.type=a,s.predicate=i,s._tag="RefinementType",s}return yi(t,e),t}(wi)),Di=(Zi(Ai,(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}yi(t,e)}(wi),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 yi(t,e),t}(wi)),Ri=Object.prototype.hasOwnProperty,zi=function(e,t){void 0===t&&(t=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(" | "));var n=function(t){return Li.is(t)&&Ri.call(e,t)};return new Di(t,n,(function(e,t){return n(e)?Ti(e):Si(e,t)}),_i,e)},Ui=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 yi(t,e),t}(wi);Object.defineProperty(Ui.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var Ni=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 yi(t,e),t}(wi),Gi=function(e,t){return void 0===t&&(t="Array<"+e.name+">"),new Ni(t,(function(t){return Mi.is(t)&&t.every(e.is)}),(function(t,n){var o=Mi.validate(t,n);if(si(o))return o;for(var r=o.right,a=r.length,i=r,s=[],l=0;l<a;l++){var c=r[l],u=e.validate(c,Oi(n,String(l),e,c));if(si(u))Ci(s,u.left);else{var d=u.right;d!==c&&(i===r&&(i=r.slice()),i[l]=d)}}return s.length>0?ki(s):Ti(i)}),e.encode===_i?_i:function(t){return t.map(e.encode)},e)},Vi=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 yi(t,e),t}(wi),Bi=function(e){return Object.keys(e).map((function(t){return t+": "+e[t].name})).join(", ")},Hi=function(e){for(var t=0;t<e.length;t++)if(e[t].encode!==_i)return!1;return!0},Fi=function(e){return"{ "+Bi(e)+" }"},$i=function(e,t){void 0===t&&(t=Fi(e));var n=Object.keys(e),o=n.map((function(t){return e[t]})),r=n.length;return new Vi(t,(function(e){if(Pi.is(e)){for(var t=0;t<r;t++){var a=n[t],i=e[a];if(void 0===i&&!Ri.call(e,a)||!o[t].is(i))return!1}return!0}return!1}),(function(e,t){var a=Pi.validate(e,t);if(si(a))return a;for(var i=a.right,s=i,l=[],c=0;c<r;c++){var u=n[c],d=s[u],p=o[c],f=p.validate(d,Oi(t,u,p,d));if(si(f))Ci(l,f.left);else{var g=f.right;(g!==d||void 0===g&&!Ri.call(s,u))&&(s===i&&(s=xi({},i)),s[u]=g)}}return l.length>0?ki(l):Ti(s)}),Hi(o)?_i:function(e){for(var t=xi({},e),a=0;a<r;a++){var i=n[a],s=o[a].encode;s!==_i&&(t[i]=s(e[i]))}return t},e)},Yi=(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}yi(t,e)}(wi),function(e){return"Partial<"+e+">"});!function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r)||this;return s.domain=a,s.codomain=i,s._tag="DictionaryType",s}yi(t,e)}(wi);var qi=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 yi(t,e),t}(wi);!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}yi(t,e)}(wi);!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}yi(t,e)}(wi);(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}yi(t,e)})(wi),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}yi(t,e)}(wi),function(e){function t(t,n,o,r,a,i){var s=e.call(this,t,n,o,r,a)||this;return s.tag=i,s}yi(t,e)}(qi);var Wi=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 yi(t,e),t}(wi),Ki=function(e){switch(e._tag){case"RefinementType":case"ReadonlyType":return Ki(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return e.types.reduce((function(e,t){return Object.assign(e,Ki(t))}),{})}},Xi=function(e,t){for(var n=Object.getOwnPropertyNames(e),o=!1,r={},a=0;a<n.length;a++){var i=n[a];Ri.call(t,i)?r[i]=e[i]:o=!0}return o?r:e},Ji=function(e,t){void 0===t&&(t=function(e){return Qi(e)?"{| "+Bi(e.props)+" |}":function(e){return"PartialType"===e._tag}(e)?Yi("{| "+Bi(e.props)+" |}"):"Exact<"+e.name+">"}(e));var n=Ki(e);return new Wi(t,e.is,(function(t,o){var r=Pi.validate(t,o);if(si(r))return r;var a=e.validate(t,o);return si(a)?a:ui(Xi(a.right,n))}),(function(t){return e.encode(Xi(t,n))}),e)};new(function(e){function t(){var t=e.call(this,"never",(function(e){return!1}),(function(e,t){return Si(e,t)}),(function(){throw new Error("cannot encode never")}))||this;return t._tag="NeverType",t}return yi(t,e),t}(wi)),new(function(e){function t(){var t=e.call(this,"any",(function(e){return!0}),Ti,_i)||this;return t._tag="AnyType",t}return yi(t,e),t}(wi)),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)?Ti(e):Si(e,n)}),_i)||this;return t._tag="ObjectType",t}return yi(t,e),t}(wi));function Zi(e,t,n){return void 0===n&&(n="("+e.name+" | "+function(e){return e.displayName||e.name||"<function"+e.length+">"}(t)+")"),new ji(n,(function(n){return e.is(n)&&t(n)}),(function(n,o){var r=e.validate(n,o);if(si(r))return r;var a=r.right;return t(a)?Ti(a):Si(a,o)}),e.encode,e,t)}Zi(Ai,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}yi(t,e)}(wi);function Qi(e){return"InterfaceType"===e._tag}var es=n(7460),ts=n.n(es);function ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const os=(e,t)=>{var n;return null!==(n=GM)&&void 0!==n&&n.getValue?ts().resolve(GM.getValue(e,t)):GM_getValue?ts().resolve(GM_getValue(e,t)):ts().resolve(t)},rs=(e,t)=>{var n;return null!==(n=GM)&&void 0!==n&&n.setValue?ts().resolve(GM.setValue(e,t)):GM_setValue?(GM_setValue(e,t),ts().resolve()):ts().resolve()};Error;const as=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(ts())((t=>{const n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ns(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ns(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({timeout:1e4,ontimeout:e=>t(ci({type:"timeout",res:e})),onerror:e=>t(ci({type:"error",res:e})),onload:e=>{(e.status<200||e.status>=300)&&t(ci({type:"statuscode",res:e})),t(ui(e))}},e);o(n)}))},is=e=>"object"==typeof e?JSON.parse(JSON.stringify(e)):e,ss='<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',ls='<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 cs;!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"}(cs||(cs={}));const us={[cs.ICIBA]:"iciba",[cs.GOOGLE_DICT]:"google字典",[cs.GOOGLE_TRANSLATE]:"google翻译",[cs.BAIDU_TRANSLATE]:"百度翻译",[cs.SOUGOU_TRANSLATE]:"搜狗翻译",[cs.URBAN_DICTIONARY]:"urban dictionary",[cs.BING_TRANSLATE]:"bing 翻译",[cs.VOCABULARY]:"vocabulary"},ds=Object.entries(us).map((([e,t])=>({label:t,key:e}))),ps=ds.map((e=>e.key));var fs;!function(e){e.GOOGLE_COM="GOOGLE_COM",e.GOOGLE_CN="GOOGLE_CN"}(fs||(fs={}));const gs={[fs.GOOGLE_COM]:"translate.google.com",[fs.GOOGLE_CN]:"translate.google.cn"};var ms;!function(e){e.UNFOLD="0",e.FOLD_THESAURUS="1",e.FOLD_EXAMPLES="2",e.FOLD_SUBSENSE="3"}(ms||(ms={}));const vs={[ms.UNFOLD]:ms.FOLD_THESAURUS,[ms.FOLD_THESAURUS]:ms.FOLD_EXAMPLES,[ms.FOLD_EXAMPLES]:ms.FOLD_SUBSENSE,[ms.FOLD_SUBSENSE]:ms.FOLD_SUBSENSE},hs={[ms.UNFOLD]:ms.UNFOLD,[ms.FOLD_THESAURUS]:ms.UNFOLD,[ms.FOLD_EXAMPLES]:ms.FOLD_THESAURUS,[ms.FOLD_SUBSENSE]:ms.FOLD_EXAMPLES},bs={[ms.UNFOLD]:"展开",[ms.FOLD_SUBSENSE]:"折叠释义子项",[ms.FOLD_EXAMPLES]:"折叠子项和例句",[ms.FOLD_THESAURUS]:"折叠子项、例句和同反义词"};var ys;!function(e){e.DEFAULT="default",e.GOOGLE_TRANSLATE_SQUARE="gtsquare",e.GOOGLE_TRANSLATE_CIRCLE="gtcircle",e.GOOGLE_TRANSLATE_TEXT="gttext",e.MAG_ICON="icondic"}(ys||(ys={}));const xs={[ys.DEFAULT]:"",[ys.GOOGLE_TRANSLATE_SQUARE]:ss,[ys.GOOGLE_TRANSLATE_CIRCLE]:ls,[ys.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>',[ys.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>'},ws={[ys.DEFAULT]:"circle",[ys.GOOGLE_TRANSLATE_SQUARE]:"square",[ys.GOOGLE_TRANSLATE_CIRCLE]:"circle",[ys.GOOGLE_TRANSLATE_TEXT]:"square",[ys.MAG_ICON]:"square"};var _s;!function(e){e.STORE="iciba_store",e.SOUGOU_SECCODE="sougou_seccode",e.HISTORY="history"}(_s||(_s={}));class Os extends wi{constructor(e,t){super(null!=t?t:"enum",(e=>!!Object.values(this.enumObject).find((t=>t===e))&&"number"!=typeof this.enumObject[e]),((e,t)=>this.is(e)?Ti(e):Si(e,t)),_i),this._tag="EnumType",this.enumObject=e}}const ks=(e,t)=>new Os(e,t);var Ss=n(3402),Ts=n.n(Ss);class Cs extends wi{constructor(e,t){super(e.name,(e=>!0),((n,o)=>{const r=e.validate(n,o);return li(r)?r:Ti(t)}),e.encode),this.d=t}}const Es=(e,t)=>new Cs(e,"function"==typeof t?t():t),Ls=e=>Ts()(Object.entries(e.props).map((([e,t])=>[e,t.d]))),As=ks(cs,"PROVIDER"),Is=ks(ys,"ICIBA_CIRCLE_ICON"),Ms=new wi("provider-array",(e=>Mi.is(e)),((e,t)=>{if(!Mi.is(e))return Si(e,t);let n=e.filter((e=>ps.includes(e)));return n=n.filter(((e,t)=>n.indexOf(e)===t)),n=n.concat(ps.filter((e=>!n.includes(e)))),Ti(n)}),_i),Ps=$i({providerOrder:Es(Ms,(()=>[...ps])),defaultProvider:Es(As,cs.ICIBA),icibaCircleRightClick:Es(Ii,!0),icibaCircleRightClickProvider:Es(As,cs.GOOGLE_TRANSLATE),icibaCircleNoCJK:Es(Ii,!1),useIcibaCircle:Es(Ii,!0),icibaCircleIcon:Es(Is,ys.DEFAULT),pressCtrlToDrag:Es(Ii,!0),pressCtrlToShowCircle:Es(Ii,!1),mouseOverTranslate:Es(Ii,!1),icibaMainInputAutoFocus:Es(Ii,!1),history:Es(Ii,!1),showPin:Es(Ii,!1),pinned:Es(Ii,!1),selectionMaxLengthCut:Es(Ii,!1),selectionMaxLength:Es(Ai,150),icibaMainWidth:Es(Ai,300),icibaCircleSize:Es(Ai,22),icibaCircleOffsetX:Es(Ai,7),icibaCircleOffsetY:Es(Ai,7),providerHotkeyAutoFocus:Es(Ii,!1),useHotkeyShowUp:Es(Ii,!1),hotkeyIcibaMainInputAutoFocus:Es(Ii,!0),showUpHotkey:Es(Gi(Li),(()=>[]))}),js=Ls(Ps),Ds={[cs.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'},[cs.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'},[cs.GOOGLE_TRANSLATE]:{type_1_translate_281759:ss,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:ls},[cs.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'},[cs.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'},[cs.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'},[cs.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'},[cs.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 Rs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const zs=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rs(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{enableHotkey:Es(Ii,!1),hotkey:Es(Gi(Li),(()=>[]))});function Us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ns(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Us(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Us(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Gs=$i(Ns(Ns({},zs),{},{display:Es(Ii,!0),icon:Es(zi(Ds[cs.ICIBA]),"searchIcon")})),Vs=Ls(Gs);function Bs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Fs=ks(ms,"GOOGLE_DICT_FOLD_STATUS"),$s=$i(Hs(Hs({},zs),{},{display:Es(Ii,!0),icon:Es(zi(Ds[cs.GOOGLE_DICT]),"type_0_google"),foldStatus:Es(Fs,ms.UNFOLD)})),Ys=Ls($s);var qs;!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"}(qs||(qs={}));const Ws={[qs.de]:"德语",[qs.es]:"西班牙语",[qs.fr]:"法语",[qs.it]:"意大利语",[qs.ja]:"日语",[qs.ru]:"俄语",[qs.en]:"英语",[qs.zh]:"中文"},Ks=Object.entries(Ws).map((([e,t])=>({text:t,key:e})));function Xs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Js(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xs(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Zs=ks(fs,"GOOGLE_TRANSLATE_HOST"),Qs=ks(qs,"GOOGLE_LANGUAGES"),el=$i(Js(Js({},zs),{},{icon:Es(zi(Ds[cs.GOOGLE_TRANSLATE]),"type_1_translate_281759"),display:Es(Ii,!0),translateHost:Es(Zs,fs.GOOGLE_COM),targetLanguage:Es(Qs,qs.zh),secondTargetLanguage:Es(Qs,qs.en),xsrfToken:Es(Li,"")})),tl=Ls(el);var nl;!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"}(nl||(nl={}));const ol={[nl.de]:"德语",[nl.fra]:"法语",[nl.it]:"意大利语",[nl.jp]:"日语",[nl.ru]:"俄语",[nl.spa]:"西班牙语",[nl.zh]:"中文",[nl.en]:"英语"},rl=Object.entries(ol).map((([e,t])=>({text:t,key:e})));function al(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function il(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?al(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):al(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const sl=ks(nl,"BAIDU_LANGUAGES"),ll=$i(il(il({},zs),{},{display:Es(Ii,!0),icon:Es(zi(Ds[cs.BAIDU_TRANSLATE]),"baiduIcon"),targetLanguage:Es(sl,nl.zh),secondTargetLanguage:Es(sl,nl.en)})),cl=Ls(ll);var ul;!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"}(ul||(ul={}));const dl={[ul.de]:"德语",[ul.es]:"西班牙语",[ul.fr]:"法语",[ul.it]:"意大利语",[ul.ja]:"日语",[ul.ru]:"俄语",[ul.en]:"英语",[ul.zhs]:"中文"},pl=Object.entries(dl).map((([e,t])=>({text:t,key:e})));function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fl(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ml=ks(ul,"SOUGOU_LANGUAGES"),vl=$i(gl(gl({},zs),{},{display:Es(Ii,!1),icon:Es(zi(Ds[cs.SOUGOU_TRANSLATE]),"icon_with_circle"),targetLanguage:Es(ml,ul.zhs),secondTargetLanguage:Es(ml,ul.en)})),hl=Ls(vl);function bl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function yl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bl(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const xl=$i(yl(yl({},zs),{},{display:Es(Ii,!1),icon:Es(zi(Ds[cs.URBAN_DICTIONARY]),"urbanDictionary")})),wl=Ls(xl);var _l;!function(e){e.de="de",e.it="it",e.fr="fr",e.ru="ru",e.ja="ja",e.zh="zh-Hans",e.en="en"}(_l||(_l={}));const Ol={[_l.de]:"德语",[_l.it]:"意大利语",[_l.fr]:"法语",[_l.ru]:"俄语",[_l.ja]:"日语",[_l.zh]:"中文",[_l.en]:"英语"},kl={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"]},Sl=Object.entries(Ol).map((([e,t])=>({text:t,key:e})));function Tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const El=ks(_l,"BING_LANGUAGES"),Ll=$i(Cl(Cl({},zs),{},{display:Es(Ii,!1),icon:Es(zi(Ds[cs.BING_TRANSLATE]),"bingFlat"),targetLanguage:Es(El,_l.zh),secondTargetLanguage:Es(El,_l.en)})),Al=Ls(Ll);function Il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Il(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Il(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Pl=$i(Ml(Ml({},zs),{},{display:Es(Ii,!1),icon:Es(zi(Ds[cs.VOCABULARY]),"logo")})),jl=Ls(Pl),Dl=Ji($i({core:Ps,[cs.ICIBA]:Gs,[cs.GOOGLE_DICT]:$s,[cs.GOOGLE_TRANSLATE]:el,[cs.BAIDU_TRANSLATE]:ll,[cs.SOUGOU_TRANSLATE]:vl,[cs.URBAN_DICTIONARY]:xl,[cs.BING_TRANSLATE]:Ll,[cs.VOCABULARY]:Pl})),Rl={core:js,[cs.ICIBA]:Vs,[cs.GOOGLE_DICT]:Ys,[cs.GOOGLE_TRANSLATE]:tl,[cs.BAIDU_TRANSLATE]:cl,[cs.SOUGOU_TRANSLATE]:hl,[cs.URBAN_DICTIONARY]:wl,[cs.BING_TRANSLATE]:Al,[cs.VOCABULARY]:jl},zl=(e,t)=>{let n=t,o=Rl;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]=is(o[r])},Ul=(()=>{const e=()=>{const e=JSON.stringify(t.config);rs(_s.STORE,e)},t={config:null,loadConfig:async()=>{let n,o,r;try{n=await os(_s.STORE,"")}catch(e){n=""}try{o=JSON.parse(n)}catch(e){o={}}Array.isArray(o)&&(o={});for(let e=0;e<3;e+=1){if(r=Dl.decode(o),"Left"!==r._tag){o=r.right;break}r.left.forEach((e=>{const t=e.context.map((e=>e.key)).filter((e=>e));zl(t,o)}))}"Left"===r._tag&&(o=Rl),t.config=$e(o),vn((()=>t.config),(()=>{e()}),{deep:!0})}};return t})(),Nl=(e=0)=>{let t=e;return()=>(t+=1,t)};let Gl;const Vl=async(e,t=1)=>{Gl=Gl||new AudioContext,"suspended"===Gl.state&&await Gl.resume();const n=e.slice(0),o=await Gl.decodeAudioData(n),r=Gl.createBufferSource();r.buffer=o;const a=Gl.createGain();a.gain.value=t,r.connect(a),a.connect(Gl.destination),r.start()},Bl=new Map,Hl=(e,t,n)=>{const o=t instanceof ArrayBuffer?t:null,r="number"==typeof t?t:null!=n?n:1;if(o)return Bl.set(e,o),Vl(o,r),!0;const a=Bl.get(e);return!!a&&(Vl(a,r),!0)};var Fl;!function(e){e[e.PLAY_AUDIO=0]="PLAY_AUDIO"}(Fl||(Fl={}));const $l=new class{constructor(){this.bus=new Ya}on(e,t){this.bus.on(`${e}`,t)}off(e,t){this.bus.off(`${e}`,t)}emit(e){this.bus.emit(`${e.type}`,e)}},Yl=$e({data:null}),ql=Qt("data-v-bae3a914");Jt("data-v-bae3a914");const Wl={class:"r-container flex-col relative text-grey-900"},Kl={key:0,class:"symbols-box flex-col items-stretch"},Xl={class:"pronunciation-box flex-col flex-none items-stretch"},Jl={key:0,class:"part-item-part pr-6px text-grey-600 flex-none"},Zl={class:"part-item-meaning-box flex-auto"},Ql={key:1,class:"chinese-zi-box mt-1"},ec={key:2,class:"chinese-ci-box mt-1 leading-normal"},tc={class:"ciyi-box"},nc={class:"type-text text-grey-600 pr-1"},oc={key:0,class:"pr-1 text-grey-500"},rc={key:1,class:"translation-box flex-col items-stretch"},ac={class:"translate-content"},ic={class:"translate-tip mt-1 text-right text-12 text-grey-500"},sc=wo(" do you mean? "),lc={key:0,class:"suggest-box flex flex-wrap items-stretch"};Zt();const cc=ql(((e,t,n,o,r,a)=>{const i=Jn("iciba-pronunciation"),s=Jn("scrollable");return lo(),po("div",Wl,[bo(s,{class:"scroll-container"},{default:ql((({scrollBar:t})=>[e.result?(lo(),po("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)?(lo(),po(no,{key:0},[e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length?(lo(),po("div",Kl,[(lo(!0),po(no,null,Ko(e.result.baseInfo.symbols,((t,n)=>(lo(),po("div",{class:["symbol-item flex-col items-stretch w-full",{"mt-6px":0!==n}],key:n},[bo("div",Xl,[e.isSymbolCN(t)&&t.word_symbol?(lo(),po(i,{key:0,ipa:t.word_symbol,onPlay:n=>e.handlePlay(t.symbol_mp3)},null,8,["ipa","onPlay"])):Oo("",!0),e.isSymbolEN(t)?(lo(),po(no,{key:1},[t.ph_en_mp3?(lo(),po(i,{key:0,type:"英",ipa:`[${t.ph_en}]`,onPlay:n=>e.handlePlay(t.ph_en_mp3)},null,8,["ipa","onPlay"])):Oo("",!0),t.ph_am_mp3?(lo(),po(i,{key:1,type:"美",ipa:`[${t.ph_am}]`,onPlay:n=>e.handlePlay(t.ph_am_mp3)},null,8,["ipa","onPlay"])):Oo("",!0),!t.ph_tts_mp3||t.ph_en_mp3||t.ph_am_mp3?Oo("",!0):(lo(),po(i,{key:2,type:"TTS",ipa:`[${t.ph_other}]`,onPlay:n=>e.handlePlay(t.ph_tts_mp3)},null,8,["ipa","onPlay"]))],64)):Oo("",!0)]),t.parts&&t.parts.length?(lo(),po("div",{key:0,class:["part-box flex-col flex-none items-stretch",{"mt-1":t.symbol_mp3||t.word_symbol}]},[(lo(!0),po(no,null,Ko(t.parts,((e,t)=>(lo(),po("div",{class:["part-item flex",{"mt-3px":0!==t}],key:t},[e.part?(lo(),po("div",Jl,f(e.part),1)):Oo("",!0),bo("div",Zl,[(lo(!0),po(no,null,Ko(e.means,((t,n)=>(lo(),po("div",{class:["meaning-item inline",{"pr-3px":n!==e.means.length-1}],key:n},[n===e.means.length-1?(lo(),po(no,{key:0},[wo(f(t),1)],64)):(lo(),po(no,{key:1},[wo(f(t)+"; ",1)],64))],2)))),128))])],2)))),128))],2)):Oo("",!0)],2)))),128))])):Oo("",!0),e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length||!e.result.chinese||!e.result.chinese.zi?Oo("",!0):(lo(),po("div",Ql,[(lo(!0),po(no,null,Ko(e.result.chinese.zi,((e,t)=>(lo(),po("div",{class:"zi-item",key:t},f(e.hanzi)+" "+f(e.pinyin)+" "+f(e.jieshi),1)))),128))])),e.result.chinese&&e.result.chinese.ci&&e.result.chinese.ci.ciyi&&e.result.chinese.ci.ciyi.length?(lo(),po("div",ec,[bo("div",tc,[(lo(!0),po(no,null,Ko(e.normalizeCiyi(e.result.chinese.ci.ciyi),((t,n)=>(lo(),po("div",{class:"ciyi-item",key:n},[bo("span",nc,f(n+1)+". ",1),e.seperateChineseJieshi(t)[0]?(lo(),po("span",oc,"["+f(e.seperateChineseJieshi(t)[0])+"]",1)):Oo("",!0),bo("span",null,f(e.seperateChineseJieshi(t)[1]),1)])))),128))])])):Oo("",!0)],64)):Oo("",!0),e.isBaseInfoTranslate(e.result.baseInfo)&&2===e.result.baseInfo.translate_type&&e.result.baseInfo.translate_result?(lo(),po("div",rc,[bo("div",ac,f(e.result.baseInfo.translate_result),1),bo("div",ic,f(e.result.baseInfo.translate_msg.replace(/。$/,"")),1)])):Oo("",!0),e.isBaseInfoSuggestion(e.result.baseInfo)&&e.result.baseInfo.suggest.length?(lo(),po(no,{key:2},[sc,e.isBaseInfoSuggestion(e.result.baseInfo)?(lo(),po("div",lc,[(lo(!0),po(no,null,Ko(e.result.baseInfo.suggest,((t,n)=>(lo(),po("span",{class:"text-blue-500 mr-1 cursor-pointer",onClick:n=>e.handleSuggestionClick(t.key),key:n},f(t.key),9,["onClick"])))),128))])):Oo("",!0)],64)):Oo("",!0)],2)):Oo("",!0)])),_:1})])})),uc=Qt("data-v-5ec67402");Jt("data-v-5ec67402");const dc={class:"scrollable relative flex"},pc={class:"scroll-content flex-col flex-auto overflow-hidden"};Zt();const fc=uc(((e,t,n,o,r,a)=>{const i=Qn("no-overscroll");return lo(),po("div",dc,[bo("div",{class:["scroll-bar-track absolute right-0",{moving:e.state.drag.start,hidden:e.state.noScrollBar}]},[e.state.noScrollBar?Oo("",!0):(lo(),po("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]=Hr((()=>{}),["prevent"])),onMousedown:t[2]||(t[2]=(...t)=>e.handleScrollbarThumbClick&&e.handleScrollbarThumbClick(...t))},null,36))],2),bo("div",pc,[zn(bo("div",{class:"scroll-box flex flex-auto overflow-x-hidden overflow-y-scroll",style:e.scrollBoxStyle,onScroll:t[3]||(t[3]=(...t)=>e.calcScrollbar&&e.calcScrollbar(...t)),onMouseenter:t[4]||(t[4]=(...t)=>e.calcScrollbar&&e.calcScrollbar(...t)),ref:e.refs.container},[bo("div",{class:"w-full flex-col",ref:e.refs.scrollBox},[Yt(e.$slots,"default",{scrollBar:!e.state.noScrollBar})],512)],36),[[i]])])])}));var gc=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}()}(),mc="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,vc=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")(),hc="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(vc):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var bc=["top","right","bottom","left","width","height","size","weight"],yc="undefined"!=typeof MutationObserver,xc=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&&s()}function i(){hc(a)}function s(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,t);r=e}return s}(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(){mc&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),yc?(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(){mc&&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;bc.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}(),wc=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},_c=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||vc},Oc=Lc(0,0,0,0);function kc(e){return parseFloat(e)||0}function Sc(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+kc(e["border-"+n+"-width"])}),0)}function Tc(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Oc;var o=_c(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]=kc(a)}return t}(o),a=r.left+r.right,i=r.top+r.bottom,s=kc(o.width),l=kc(o.height);if("border-box"===o.boxSizing&&(Math.round(s+a)!==t&&(s-=Sc(o,"left","right")+a),Math.round(l+i)!==n&&(l-=Sc(o,"top","bottom")+i)),!function(e){return e===_c(e).document.documentElement}(e)){var c=Math.round(s+a)-t,u=Math.round(l+i)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return Lc(r.left,r.top,s,l)}var Cc="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof _c(e).SVGGraphicsElement}:function(e){return e instanceof _c(e).SVGElement&&"function"==typeof e.getBBox};function Ec(e){return mc?Cc(e)?function(e){var t=e.getBBox();return Lc(0,0,t.width,t.height)}(e):Tc(e):Oc}function Lc(e,t,n,o){return{x:e,y:t,width:n,height:o}}var Ac=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Lc(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Ec(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}(),Ic=function(e,t){var n,o,r,a,i,s,l,c=(o=(n=t).x,r=n.y,a=n.width,i=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),wc(l,{x:o,y:r,width:a,height:i,top:r,right:o+a,bottom:i+r,left:o}),l);wc(this,{target:e,contentRect:c})},Mc=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new gc,"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 _c(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Ac(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 _c(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 Ic(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}(),Pc="undefined"!=typeof WeakMap?new WeakMap:new gc,jc=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=xc.getInstance(),o=new Mc(t,n,this);Pc.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){jc.prototype[e]=function(){var t;return(t=Pc.get(this))[e].apply(t,arguments)}}));const Dc=void 0!==vc.ResizeObserver?vc.ResizeObserver:jc,Rc=$e({scrollBarWidth:0,devicePixelRatio:null}),zc=()=>{const e=window.devicePixelRatio;if(null!==e&&Rc.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})();Rc.scrollBarWidth=n},Uc=Rc,Nc=()=>{window.addEventListener("resize",zc),zc()},Gc=Bn({setup:e=>{const t={container:et(),scrollBox:et()},n=$e({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 s=n.drag.startScrollTop+i;s>a&&(s=a),s<0&&(s=0),t.container.value.scrollTop=s}},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 s=(100*a).toFixed(4),l=i.toFixed(4);n.scrollbar.track.top!==e&&(n.scrollbar.track.top=e),n.scrollbar.thumb.size!==s&&(n.scrollbar.thumb.size=s),n.scrollbar.thumb.position!==l&&(n.scrollbar.thumb.position=l)},i=qo((()=>({height:`${n.scrollbar.thumb.size}%`,top:`${n.scrollbar.thumb.position}%`}))),s=qo((()=>({"margin-right":-Uc.scrollBarWidth+"px"})));return dn((()=>{window.addEventListener("mousemove",o,!1),window.addEventListener("mouseup",r,!1);const e=new Dc(a);window.setTimeout((()=>{t.container.value&&e.observe(t.container.value),t.scrollBox.value&&e.observe(t.scrollBox.value)})),a(),gn((()=>{window.removeEventListener("mousemove",o,!1),window.removeEventListener("mouseup",r,!1),e.disconnect()}))})),pn((()=>{a()})),{state:n,refs:t,props:e,thumbStyle:i,scrollBoxStyle:s,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(8088);Gc.render=fc,Gc.__scopeId="data-v-5ec67402";const Vc=Gc,Bc='<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',Hc=Qt("data-v-267555b4");Jt("data-v-267555b4");const Fc={class:"pronunciation-item flex items-center"},$c={key:1,class:"ipa text-grey-700 text-12 mr-1"};Zt();const Yc=Hc(((e,t,n,o,r,a)=>{const i=Jn("i-icon");return lo(),po("div",Fc,[e.type?(lo(),po("div",{key:0,class:"ipa-type-name text-grey-600 mr-1 text-12",textContent:e.type},null,8,["textContent"])):Oo("",!0),"[]"!==e.ipa?(lo(),po("div",$c,f(e.ipa),1)):Oo("",!0),bo("div",{class:"play-sound flex flex-center",onClick:t[1]||(t[1]=(...t)=>e.handlePlay&&e.handlePlay(...t))},[bo(i,{svg:e.icon.play},null,8,["svg"])])])})),qc=Bn({name:"IcibaPronunciation",props:{ipa:{type:String,required:!0},type:{type:String}},components:{Scrollable:Vc},setup:(e,t)=>({props:e,handlePlay:()=>{t.emit("play")},icon:{play:Bc}})});n(3725);qc.render=Yc,qc.__scopeId="data-v-267555b4";const Wc=e=>!!e&&"translate_type"in e&&!("translate_result"in e),Kc=e=>!!e&&"translate_type"in e&&"translate_result"in e,Xc=e=>!!e&&"translate_type"in e&&"suggest"in e,Jc=e=>"string"==typeof e?[e]:e,Zc=e=>"word_symbol"in e,Qc=e=>!("word_symbol"in e),eu=Bn({name:"IcibaContainer",components:{IcibaPronunciation:qc,Scrollable:Vc},setup:()=>({icon:{play_speaker_filled_audio_tool_59284:Bc},isBaseInfoBaseInfoNormal:Wc,isBaseInfoTranslate:Kc,isBaseInfoSuggestion:Xc,isSymbolCN:Zc,isSymbolEN:Qc,handlePlay:e=>{e&&$l.emit({type:Fl.PLAY_AUDIO,id:cs.ICIBA,params:{url:e}})},handleSuggestionClick:e=>{qa.emit({type:Ha.TRANSLATE,word:e,param:{provider:cs.ICIBA}})},result:qo((()=>Yl.data)),seperateChineseJieshi:e=>{const t=/[((](.{1,3})[))](.+)/.exec(e);return t?[t[1],t[2]]:["",e]},normalizeCiyi:Jc})});n(3023);eu.render=cc,eu.__scopeId="data-v-bae3a914";const tu=eu;$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.ICIBA)return;const t=e.params.url;if(!t)return;if(Hl(t,.6))return;const n=await as({method:"GET",responseType:"arraybuffer",url:t});li(n)&&Hl(t,n.right.response,.6)}));const nu={id:cs.ICIBA,view:tu,translate:async e=>{const t=`http://www.iciba.com/word?w=${encodeURIComponent(e)}`,n=await as({method:"GET",url:t,timeout:5e3});if(si(n))throw new Error(n.left.type);const o=n.right.responseText,r=/<script id="__NEXT_DATA__" type="application\/json">(.+?)<\/script>/.exec(o);if(!r)return ci({message:"数据错误!"});const a=JSON.parse(r[1]).props.initialDvaState.word.wordInfo;return"baesInfo"in a&&(a.baseInfo=a.baesInfo,delete a.baesInfo),"bidce"in a&&(a.bidec=a.bidce,delete a.bidce),ui((()=>{Yl.data=is(a)}))}};var ou=n(7673);const ru=Qt("data-v-21539aa9");Jt("data-v-21539aa9");const au={class:"google-dict-box flex-col relative break-words text-grey-900"},iu={class:"google-content-box text-13"},su={key:0,class:"dictionary-data-box flex-col items-stretch"},lu={key:0,class:"entry-box flex-col items-stretch"};Zt();const cu=ru(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("simple-entry"),l=Jn("scrollable");return lo(),po("div",au,[bo(l,{class:"scroll-container"},{default:ru((n=>[bo("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?(lo(),po("div",{key:0,class:["expand-button flex flex-center absolute",{"with-scroll-bar":n.scrollBar}],title:"展开",onClick:t[1]||(t[1]=(...t)=>e.handleOpenModal&&e.handleOpenModal(...t))},[bo(i,{svg:e.icon.expand_128456},null,8,["svg"])],2)):Oo("",!0),bo("div",iu,[e.containerData.data&&e.containerData.data.length?(lo(),po("div",su,[(lo(!0),po(no,null,Ko(e.containerData.data,((e,t)=>(lo(),po("div",{class:"dictionary-data-item",key:t},[e.entries&&e.entries.length?(lo(),po("div",lu,[(lo(!0),po(no,null,Ko(e.entries,((e,t)=>(lo(),po(s,{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))])):Oo("",!0)])))),128))])):Oo("",!0)])],2)])),_:1})])})),uu=$e({data:null,word:""}),du=Qt("data-v-13c640e0");Jt("data-v-13c640e0");const pu={class:"entry-item flex-col items-stretch leading-snug"},fu={class:"headword flex flex-wrap leading-normal"},gu={class:"headword-word text-16"},mu={key:0,class:"headword-graph-index text-12 ml-2px"},vu={key:1,class:"sense-list mt-2px flex-col items-stretch"},hu={class:"sense-item-number text-right"},bu={class:"definition-box flex-auto"},yu={key:2,class:"sense-family-box flex-col items-stretch"},xu={key:2,class:"sense-list mt-2px flex-col items-stretch"},wu={class:"sense-item-number text-right pr-2 font-bold"},_u={class:"definition-box flex-auto"},Ou={key:3,class:"sub-entry-box"};Zt();const ku=du(((e,t,n,o,r,a)=>{const i=Jn("phonetics"),s=Jn("fragment"),l=Jn("g-simple-entry");return lo(),po("div",pu,[bo("div",fu,[bo("div",gu,f(e.props.entry.syllabifiedHeadword||e.props.entry.headword),1),e.props.entry.homographIndex?(lo(),po("div",mu,f(e.props.entry.homographIndex),1)):Oo("",!0)]),e.props.entry.phonetics?(lo(),po(i,{key:0,class:"phonetics-box mb-2px",phonetics:e.props.entry.phonetics},null,8,["phonetics"])):Oo("",!0),e.props.isSubentry&&e.props.entry.senseFamily&&e.props.entry.senseFamily.senses&&e.props.entry.senseFamily.senses.length?(lo(),po("div",vu,[(lo(!0),po(no,null,Ko(e.props.entry.senseFamily.senses,((e,t)=>zn((lo(),po("div",{class:"sense-item flex",key:t},[bo("div",hu,f(t+1)+".",1),bo("div",bu,[bo(s,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[Yr,t<2]]))),128))])):Oo("",!0),!e.props.isSubentry&&e.props.entry.senseFamilies&&e.props.entry.senseFamilies.length?(lo(),po("div",yu,[(lo(!0),po(no,null,Ko(e.props.entry.senseFamilies,((e,t)=>(lo(),po("div",{class:["sense-family-item flex-col items-stretch",{"mt-6px":0!==t}],key:t},[e.partsOfSpeechs?(lo(!0),po(no,{key:0},Ko(e.partsOfSpeechs,((e,t)=>(lo(),po("div",{title:e.qualifier,class:"poss italic flex flex-wrap text-grey-600",key:t},f(e.value),9,["title"])))),128)):Oo("",!0),e.phonetics?(lo(),po(i,{key:1,class:"phonetics-box mb-2px",phonetics:e.phonetics},null,8,["phonetics"])):Oo("",!0),e.senses&&e.senses.length?(lo(),po("div",xu,[(lo(!0),po(no,null,Ko(e.senses,((e,t)=>zn((lo(),po("div",{class:"sense-item flex",key:t},[bo("div",wu,f(t+1)+". ",1),bo("div",_u,[bo(s,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[Yr,t<2]]))),128))])):Oo("",!0)],2)))),128))])):Oo("",!0),e.props.entry.subentries&&e.props.entry.subentries.length?(lo(),po("div",Ou,[(lo(!0),po(no,null,Ko(e.props.entry.subentries,((e,t)=>(lo(),po(l,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"])))),128))])):Oo("",!0)])})),Su=Qt("data-v-80abc988");Jt("data-v-80abc988");const Tu={key:0,class:"phonetics-box flex items-center text-grey-700"},Cu={class:"phonetics flex"};Zt();const Eu=Su(((e,t,n,o,r,a)=>{const i=Jn("i-icon");return e.props.phonetics&&e.props.phonetics.length?(lo(),po("div",Tu,[bo("div",Cu,f(`${e.props.phonetics.map((e=>`/${e.text}/`)).join(" ")}`),1),(lo(!0),po(no,null,Ko(e.props.phonetics.filter((e=>e.oxfordAudio)),(t=>(lo(),po("div",{class:"pl-1 play-button flex flex-center",key:t.oxfordAudio,onClick:n=>e.handlePlay(t.oxfordAudio)},[bo(i,{svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])],8,["onClick"])))),128))])):Oo("",!0)})),Lu=Bn({name:"GPhonetics",props:{phonetics:null},setup:e=>({icon:{play_speaker_filled_audio_tool_59284:Bc},props:e,handlePlay:e=>{$l.emit({type:Fl.PLAY_AUDIO,id:cs.GOOGLE_DICT,params:{url:e}})}})});n(7156);Lu.render=Eu,Lu.__scopeId="data-v-80abc988";const Au=Lu,Iu={key:0,class:"fragment-box inline"};const Mu=Bn({name:"GFragment",props:{fragment:{type:null,required:!0}},setup:e=>({props:e,handleEntryLinkClick:(e,t)=>{qa.emit({type:Ha.TRANSLATE,word:t,mouseEvent:e,param:{provider:cs.GOOGLE_DICT}})}})});Mu.render=function(e,t,n,o,r,a){return e.props.fragment&&e.props.fragment.length?(lo(),po("div",Iu,[(lo(!0),po(no,null,Ko(e.props.fragment,((t,n)=>(lo(),po("div",{class:"inline fragment-item",key:n},[t.isEntryLink?(lo(),po("a",{key:0,class:"text-link cursor-pointer",onClick:n=>e.handleEntryLinkClick(n,t.text),innerHTML:t.text},null,8,["onClick","innerHTML"])):(lo(),po("div",{key:1,class:"inline",innerHTML:t.text},null,8,["innerHTML"]))])))),128))])):Oo("",!0)};const Pu=Mu,ju=Bn({name:"GSimpleEntry",components:{phonetics:Au,fragment:Pu},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,default:!1}},setup:e=>({props:e})});n(3393);ju.render=ku,ju.__scopeId="data-v-13c640e0";const Du=Bn({name:"GoogleDictContainer",components:{simpleEntry:ju,Scrollable:Vc},setup:()=>({containerData:uu,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:()=>{qa.emit({type:Ha.OPEN_GOOGLE_DICT_MODAL,googleDictData:uu.data})}})});n(5377);Du.render=cu,Du.__scopeId="data-v-21539aa9";const Ru=Du;function zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zu(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Nu={};$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.GOOGLE_DICT)return;const t=`https:${e.params.url}`;if(Hl(t,.7))return;const n=await as({method:"GET",headers:{"upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:t,timeout:5e3});li(n)&&Hl(t,n.right.response,.7)}));const Gu={id:cs.GOOGLE_DICT,view:Ru,translate:async e=>{if(Nu[e])return ci({redirect:cs.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}});let t;try{t=await(async(e,t="uk")=>{const n=Uu(Uu({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,ou.stringify)(n)}`,r=await as({method:"GET",headers:{"x-origin":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja","x-referer":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja"},url:o,timeout:1e4});if(si(r)){const e=r.left.res.responseText;if(e){var a;const t=JSON.parse(e);if(null!=t&&null!==(a=t.error)&&void 0!==a&&a.message)throw new Error(t.error.message)}throw new Error(`遇到错误: ${r.left.type} ${r.left.res.status}`)}const i=JSON.parse(r.right.responseText);if(0===Object.getOwnPropertyNames(i).length)throw new Error("无查询结果!");return i})(e,"uk")}catch(t){return"Backend Error"===t.message?(Nu[e]=!0,ci({redirect:cs.GOOGLE_TRANSLATE})):ci({message:t.message})}return 200!==t.status?ci({redirect:cs.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}}):ui((()=>{uu.data=t.dictionaryData,uu.word=e}))}};var Vu=n(3704);const Bu=Qt("data-v-7c5d2e89");Jt("data-v-7c5d2e89");const Hu={key:0,class:"google-translate-box flex-col relative text-grey-900"},Fu={class:"language-select-box w-full select-none"},$u={class:"flex justify-between"},Yu={class:"items-box flex flex-wrap mt-1"},qu={class:"translate-content mb-2px"},Wu={key:0,class:"google-dict-tip mt-2px mb-3px text-12 text-right text-grey-400"},Ku={class:"bottom-info-box flex justify-between"},Xu={class:"tts-box flex select-none"},Ju=wo(" 源 "),Zu=wo(" 译 "),Qu={class:"flex select-none text-grey-400"},ed=bo("div",{class:"px-1"}," -> ",-1);Zt();const td=Bu(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("Scrollable");return e.data?(lo(),po("div",Hu,[bo(s,{class:"scroll-container"},{default:Bu((({scrollBar:n})=>[bo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[zn(bo("div",Fu,[bo("div",$u,[zn(bo("div",null,"源语言",512),[[Yr,"source"===e.state.type]]),zn(bo("div",null,"翻译到",512),[[Yr,"target"===e.state.type]]),bo("div",{class:"text-center text-grey-600 py-px px-6px cursor-pointer hover:bg-bg-2",onClick:t[1]||(t[1]=t=>e.state.visible=!1)}," 取消 ")]),zn(bo("div",Yu,[(lo(!0),po(no,null,Ko(e.languages,(t=>(lo(),po("div",{class:{"language-item text-center text-grey-600 cursor-pointer":!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?(lo(),po("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)):Oo("",!0)],512),[[Yr,e.state.visible]])],512),[[Yr,e.state.visible]]),zn(bo("div",qu,[(lo(!0),po(no,null,Ko(e.data.translate.split("\n"),((e,t)=>(lo(),po(no,null,[e?(lo(),po("span",{key:t},f(e),1)):Oo("",!0),e?Oo("",!0):(lo(),po("br",{key:t}))],64)))),256))],512),[[Yr,!e.state.visible]]),e.data.fromDict?(lo(),po("div",Wu," google字典无结果,以上内容来自谷歌翻译 ")):Oo("",!0),zn(bo("div",Ku,[bo("div",Xu,[bo("div",{class:"play-sound flex flex-center cursor-pointer",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Ju,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),bo("div",{class:"play-sound flex flex-center ml-2 cursor-pointer",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Zu,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),bo("div",Qu,[bo("div",{class:"cursor-pointer hover:text-primary",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage(e.data.detectedLanguage))+" "+f("auto"===e.data.sourceLanguage?"(自动检测)":""),1),ed,bo("div",{class:"cursor-pointer hover:text-primary",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.data.targetLanguage)),1)])],512),[[Yr,!e.state.visible]])],2)])),_:1})])):Oo("",!0)})),nd=$e({data:null,inputText:""}),od=Object.entries(Ws).map((([e,t])=>({id:e,name:t}))),rd={play_speaker_filled_audio_tool_59284:Bc},ad=Bn({name:"GoogleTranslateContainer",components:{Scrollable:Vc},setup:()=>{const e=$e({visible:!1,type:"source"});return{state:e,data:qo((()=>nd.data)),languages:od,icon:rd,getLanguage:e=>Ws[e]||e,handleLanguageSelect:t=>{qa.emit({type:Ha.TRANSLATE,word:nd.inputText,param:{provider:cs.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:nd.data.sourceLanguage,tl:"target"===e.type?t:nd.data.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{$l.emit({type:Fl.PLAY_AUDIO,id:cs.GOOGLE_TRANSLATE,params:"source"===e?{word:nd.inputText,tl:nd.data.detectedLanguage}:{word:nd.data.translate,tl:nd.data.targetLanguage}})}}}});n(8127);ad.render=td,ad.__scopeId="data-v-7c5d2e89";const id=ad;function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sd(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const cd=()=>gs[Ul.config[cs.GOOGLE_TRANSLATE].translateHost],ud=async(e,t)=>{var n,o;const r=null!==(n=null==t?void 0:t.sl)&&void 0!==n?n:"auto",a=null!==(o=null==t?void 0:t.tl)&&void 0!==o?o:Ul.config[cs.GOOGLE_TRANSLATE].targetLanguage,i=JSON.stringify([[["MkEWBc",JSON.stringify([[e,r,a,!0],[null]]),null,"generic"]]]),s=async(e=!1)=>{var t;const n=await as({url:`https://${cd()}/_/TranslateWebserverUi/data/batchexecute`,method:"POST",headers:{Referer:`https://${cd()}/`,"Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},data:(0,ou.stringify)(ld({"f.req":i},e?{}:{at:Ul.config[cs.GOOGLE_TRANSLATE].xsrfToken})),timeout:5e3});if(si(n)){const e=JSON.parse(n.left.res.responseText.substring(4)).find((e=>e&&"er"===e[0]))[4];if(e&&"xsrf"===e[0]){const t=e[1];return Ul.config[cs.GOOGLE_TRANSLATE].xsrfToken=t,ci({type:"xsrf",res:n.left.res})}return ci({type:n.left.type,res:n.left.res})}const o=JSON.parse(n.right.responseText.substring(4));return"MkEWBc"===(null===(t=o[0])||void 0===t?void 0:t[1])?ui(JSON.parse(o[0][2])):ci({type:"unknown",res:n.right})};let l=await s();if(si(l)&&400===l.left.res.status&&(await s(!0),l=await s()),si(l))throw new Error(l.left.type);const c=l.right;return{sourceLanguage:r,targetLanguage:a,detectedLanguage:c[0][2]||r,phon:c[0][0],translate:c[1][0][0][5][0][0],translatePhone:c[1][0][0][1],translateVariations:c[1][0][0][5][0][1],fromDict:!(null==t||!t.fromDict)}};$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.GOOGLE_TRANSLATE)return;const t=JSON.stringify([[["jQ1olc",JSON.stringify([e.params.word,e.params.tl,null,"null"]),null,"generic"]]]),n=async(e=!1)=>{var n;const o=await as({url:`https://${cd()}/_/TranslateWebserverUi/data/batchexecute`,method:"POST",headers:{Referer:`https://${cd()}/`,"Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},data:(0,ou.stringify)(ld({"f.req":t},e?{}:{at:Ul.config[cs.GOOGLE_TRANSLATE].xsrfToken})),timeout:5e3});if(si(o)){const e=JSON.parse(o.left.res.responseText.substring(4)).find((e=>e&&"er"===e[0]))[4];if(e&&"xsrf"===e[0]){const t=e[1];return Ul.config[cs.GOOGLE_TRANSLATE].xsrfToken=t,ci({type:"xsrf",res:o.left.res})}return ci({type:o.left.type,res:o.left.res})}const r=JSON.parse(o.right.responseText.substring(4));return"jQ1olc"===(null===(n=r[0])||void 0===n?void 0:n[1])?ui(JSON.parse(r[0][2])):ci({type:"unknown",res:o.right})};let o=await n();if(si(o)&&400===o.left.res.status&&(await n(!0),o=await n()),li(o)){const t=o.right[0],n=(0,Vu.J)(t);Hl(`googletranslatetts-${e.params.word}-${e.params.tl}`,n,.8)}}));const dd={id:cs.GOOGLE_TRANSLATE,view:id,translate:async(e,t)=>{try{let n=await ud(e,t);return t||n.detectedLanguage!==Ul.config[cs.GOOGLE_TRANSLATE].targetLanguage||(n=await ud(e,{tl:Ul.config[cs.GOOGLE_TRANSLATE].secondTargetLanguage})),ui((()=>{nd.data=n,nd.inputText=e}))}catch(e){return ci({message:e.message})}}};var pd="0",fd=null;function gd(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function md(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 vd=(e,t)=>{pd=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,gd(o[r].split(""))),r!==a-1&&i.push(t[r]);var s=i.length;s>30&&(e=i.slice(0,10).join("")+i.slice(Math.floor(s/2)-5,Math.floor(s/2)+5).join("")+i.slice(-10).join(""))}String.fromCharCode(103),String.fromCharCode(116),String.fromCharCode(107);for(var l=(null!==fd?fd:(fd=pd||"")||"").split("."),c=Number(l[0])||0,u=Number(l[1])||0,d=[],p=0,f=0;f<e.length;f++){var g=e.charCodeAt(f);128>g?d[p++]=g:(2048>g?d[p++]=g>>6|192:(55296==(64512&g)&&f+1<e.length&&56320==(64512&e.charCodeAt(f+1))?(g=65536+((1023&g)<<10)+(1023&e.charCodeAt(++f)),d[p++]=g>>18|240,d[p++]=g>>12&63|128):d[p++]=g>>12|224,d[p++]=g>>6&63|128),d[p++]=63&g|128)}for(var m=c,v=""+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++)m=md(m+=d[b],v);return m=md(m,h),0>(m^=u)&&(m=2147483648+(2147483647&m)),(m%=1e6).toString()+"."+(m^c)}(e)};let hd="0",bd="";const yd=async(e,t)=>{await(async e=>{if(!e&&bd)return;const t=await as({method:"GET",url:"https://fanyi.baidu.com/",timeout:5e3});if(si(t))throw new Error(t.left.type);const n=t.right.responseText,o=/window\.gtk = '(.*?)'/.exec(n),r=/token: '(.*?)',/.exec(n);if(!o)throw new Error("failed to get gtk");if(!r)throw new Error("failed to get common token");const a=o[1],i=r[1];void 0!==a&&(bd=a),void 0!==i&&(hd=i)})(t);return{sign:vd(e,bd),token:hd}},xd=Qt("data-v-44ca479e");Jt("data-v-44ca479e");const wd={class:"baidu-translate-box flex-col relative text-grey-900"},_d={class:"language-select-box select-none w-full"},Od={class:"title-box flex justify-between"},kd={class:"items-box flex flex-wrap mt-1"},Sd={class:"content mb-2px flex-col"},Td={class:"bottom-info-box flex justify-between"},Cd={class:"tts-box flex"},Ed=wo(" 源 "),Ld=wo(" 译 "),Ad={class:"language-info-box flex"},Id=bo("div",{class:"px-1"}," -> ",-1);Zt();const Md=xd(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("scrollable");return lo(),po("div",wd,[bo(s,{class:"scroll-container"},{default:xd((({scrollBar:n})=>[bo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[zn(bo("div",_d,[bo("div",Od,[zn(bo("div",null,"源语言",512),[[Yr,"source"===e.state.type]]),zn(bo("div",null,"翻译到",512),[[Yr,"target"===e.state.type]]),bo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),zn(bo("div",kd,[(lo(!0),po(no,null,Ko(e.languages,(t=>(lo(),po("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?(lo(),po("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)):Oo("",!0)],512),[[Yr,e.state.visible]])],512),[[Yr,e.state.visible]]),zn(bo("div",Sd,[(lo(!0),po(no,null,Ko(e.containerData.data,(e=>(lo(),po("div",{class:"row",key:e},f(e),1)))),128))],512),[[Yr,!e.state.visible]]),zn(bo("div",Td,[bo("div",Cd,[bo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Ed,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),bo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Ld,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),bo("div",Ad,[bo("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage(e.containerData.sourceLanguage))+" "+f(e.containerData.autoMode?"(自动检测)":""),1),Id,bo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[Yr,!e.state.visible]])],2)])),_:1})])})),Pd=$e({data:[],inputText:"",autoMode:!1,sourceLanguage:"",targetLanguage:""}),jd=Object.entries(ol).map((([e,t])=>({id:e,name:t}))),Dd={play_speaker_filled_audio_tool_59284:Bc},Rd=Bn({name:"BaiduTranslateContainer",components:{Scrollable:Vc},setup:()=>{const e=$e({visible:!1,type:"source"});return{state:e,languages:jd,icon:Dd,containerData:Pd,getLanguage:e=>ol[e]||e,handleLanguageSelect:t=>{let n="source"===e.type?t:Pd.sourceLanguage,o="target"===e.type?t:Pd.targetLanguage;("source"===e.type&&t===Pd.targetLanguage||"target"===e.type&&t===Pd.sourceLanguage)&&(n=Pd.targetLanguage,o=Pd.sourceLanguage),qa.emit({type:Ha.TRANSLATE,word:Pd.inputText,param:{provider:cs.BAIDU_TRANSLATE,param:{sl:n,tl:o}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{$l.emit({type:Fl.PLAY_AUDIO,id:cs.BAIDU_TRANSLATE,params:"source"===e?{word:Pd.inputText,tl:Pd.sourceLanguage}:{word:Pd.data.join(),tl:Pd.targetLanguage}})}}}});n(2326);Rd.render=Md,Rd.__scopeId="data-v-44ca479e";const zd=Rd;$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.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,ou.stringify)(n)}`;if(Hl(o,.7))return;const r=await as({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});li(r)&&Hl(o,r.right.response,.7)}));const Ud={id:cs.BAIDU_TRANSLATE,view:zd,translate:async(e,t)=>{try{const n=!t||"auto"===t.sl,o=!t||n?await(async e=>{const t={query:Array.from(e).splice(0,50).join("")},n=await as({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,ou.stringify)(t),timeout:5e3});if(li(n)){const e=JSON.parse(n.right.responseText);if(0===e.error)return e.lan}throw new Error("检测翻译文本语言失败!")})(e):t.sl,r=t?t.tl:Ul.config[cs.BAIDU_TRANSLATE].targetLanguage!==o?Ul.config[cs.BAIDU_TRANSLATE].targetLanguage:Ul.config[cs.BAIDU_TRANSLATE].secondTargetLanguage,a=await(async({word:e,sl:t,tl:n})=>{let o;try{o=await yd(e)}catch(t){o=await yd(e,!0)}const r={from:t,to:n,query:e,transtype:"translang",simple_means_flag:3,sign:o.sign,token:o.token},a=await as({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,ou.stringify)(r),timeout:5e3});if(li(a)){const e=JSON.parse(a.right.responseText).trans_result;if(e&&2===e.type&&0===e.status)return e.data.map((e=>e.dst))}throw new Error("翻译出错!")})({word:e,sl:o,tl:r});return ui((()=>{Pd.data=a,Pd.inputText=e,Pd.autoMode=n,Pd.sourceLanguage=o,Pd.targetLanguage=r}))}catch(e){return ci({message:e.message})}}};var Nd,Gd=new Uint8Array(16);function Vd(){if(!Nd&&!(Nd="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nd(Gd)}const Bd=/^(?:[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 Hd=function(e){return"string"==typeof e&&Bd.test(e)};for(var Fd=[],$d=0;$d<256;++$d)Fd.push(($d+256).toString(16).substr(1));const Yd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Fd[e[t+0]]+Fd[e[t+1]]+Fd[e[t+2]]+Fd[e[t+3]]+"-"+Fd[e[t+4]]+Fd[e[t+5]]+"-"+Fd[e[t+6]]+Fd[e[t+7]]+"-"+Fd[e[t+8]]+Fd[e[t+9]]+"-"+Fd[e[t+10]]+Fd[e[t+11]]+Fd[e[t+12]]+Fd[e[t+13]]+Fd[e[t+14]]+Fd[e[t+15]]).toLowerCase();if(!Hd(n))throw TypeError("Stringified UUID is invalid");return n};const qd=function(e,t,n){var o=(e=e||{}).random||(e.rng||Vd)();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 Yd(o)},Wd=Qt("data-v-694555b0");Jt("data-v-694555b0");const Kd={class:"sougou-translate-box flex-col relative break-words text-grey-900"},Xd={class:"language-select-box w-full"},Jd={class:"title-box flex justify-between"},Zd={class:"items-box flex flex-wrap mt-1"},Qd={class:"translate-content mb-2px flex-col"},ep={class:"bottom-info-box flex justify-between"},tp={class:"tts-box flex"},np=wo(" 源 "),op=wo(" 译 "),rp={class:"language-info-box flex"},ap=bo("div",{class:"px-1"}," -> ",-1);Zt();const ip=Wd(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("scrollable");return lo(),po("div",Kd,[bo(s,{class:"scroll-container"},{default:Wd((({scrollBar:n})=>[bo("div",{class:["content-box flex-col flex-auto text-14",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[zn(bo("div",Xd,[bo("div",Jd,[zn(bo("div",null,"源语言",512),[[Yr,"source"===e.state.type]]),zn(bo("div",null,"翻译到",512),[[Yr,"target"===e.state.type]]),bo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)}," 取消 ")]),zn(bo("div",Zd,[(lo(!0),po(no,null,Ko(e.languages,(t=>(lo(),po("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?(lo(),po("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)):Oo("",!0)],512),[[Yr,e.state.visible]])],512),[[Yr,e.state.visible]]),zn(bo("div",Qd,[(lo(!0),po(no,null,Ko(e.data.data,((e,t)=>(lo(),po("div",{class:"row",key:t},f(e),1)))),128))],512),[[Yr,!e.state.visible]]),zn(bo("div",ep,[bo("div",tp,[bo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[np,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),bo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[op,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),bo("div",rp,[bo("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),ap,bo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.data.targetLanguage)),1)])],512),[[Yr,!e.state.visible]])],2)])),_:1})])})),sp=$e({data:[],inputText:"",sourceLanguage:"",detectedLanguage:"",targetLanguage:""}),lp=Object.entries(dl).map((([e,t])=>({id:e,name:t}))),cp={play_speaker_filled_audio_tool_59284:Bc},up=Bn({name:"SougouTranslateContainer",components:{Scrollable:Vc},setup:()=>{const e={visible:!1,type:"source"};return{state:e,data:sp,languages:lp,icon:cp,getLanguage:e=>dl[e]||e,handleLanguageSelect:t=>{qa.emit({type:Ha.TRANSLATE,word:sp.inputText,param:{provider:cs.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:sp.sourceLanguage,tl:"target"===e.type?t:sp.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{$l.emit({type:Fl.PLAY_AUDIO,id:cs.SOUGOU_TRANSLATE,params:"source"===e?{word:sp.inputText,tl:sp.detectedLanguage}:{word:sp.data.join(),tl:sp.targetLanguage}})}}}});n(815);up.render=ip,up.__scopeId="data-v-694555b0";const dp=up;var pp=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(parseInt(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((e.indexOf(t.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|e.indexOf(t.charAt(o))>>>6-2*r);return n}};return t}(),fp={utf8:{stringToBytes:function(e){return gp.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(gp.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("")}}},gp=fp,mp=function(e){return null!=e&&(gp(e)||r(e)||!!e._isBuffer)},vp=function(){var e=pp,t=fp.utf8,n=mp,o=fp.bin,r=function(a,i){a.constructor==String?a=i&&"binary"===i.encoding?o.stringToBytes(a):t.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):Array.isArray(a)||(a=a.toString());for(var s=e.bytesToWords(a),l=8*a.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var g=r._ff,m=r._gg,v=r._hh,h=r._ii;for(f=0;f<s.length;f+=16){var b=c,y=u,x=d,w=p;c=g(c,u,d,p,s[f+0],7,-680876936),p=g(p,c,u,d,s[f+1],12,-389564586),d=g(d,p,c,u,s[f+2],17,606105819),u=g(u,d,p,c,s[f+3],22,-1044525330),c=g(c,u,d,p,s[f+4],7,-176418897),p=g(p,c,u,d,s[f+5],12,1200080426),d=g(d,p,c,u,s[f+6],17,-1473231341),u=g(u,d,p,c,s[f+7],22,-45705983),c=g(c,u,d,p,s[f+8],7,1770035416),p=g(p,c,u,d,s[f+9],12,-1958414417),d=g(d,p,c,u,s[f+10],17,-42063),u=g(u,d,p,c,s[f+11],22,-1990404162),c=g(c,u,d,p,s[f+12],7,1804603682),p=g(p,c,u,d,s[f+13],12,-40341101),d=g(d,p,c,u,s[f+14],17,-1502002290),c=m(c,u=g(u,d,p,c,s[f+15],22,1236535329),d,p,s[f+1],5,-165796510),p=m(p,c,u,d,s[f+6],9,-1069501632),d=m(d,p,c,u,s[f+11],14,643717713),u=m(u,d,p,c,s[f+0],20,-373897302),c=m(c,u,d,p,s[f+5],5,-701558691),p=m(p,c,u,d,s[f+10],9,38016083),d=m(d,p,c,u,s[f+15],14,-660478335),u=m(u,d,p,c,s[f+4],20,-405537848),c=m(c,u,d,p,s[f+9],5,568446438),p=m(p,c,u,d,s[f+14],9,-1019803690),d=m(d,p,c,u,s[f+3],14,-187363961),u=m(u,d,p,c,s[f+8],20,1163531501),c=m(c,u,d,p,s[f+13],5,-1444681467),p=m(p,c,u,d,s[f+2],9,-51403784),d=m(d,p,c,u,s[f+7],14,1735328473),c=v(c,u=m(u,d,p,c,s[f+12],20,-1926607734),d,p,s[f+5],4,-378558),p=v(p,c,u,d,s[f+8],11,-2022574463),d=v(d,p,c,u,s[f+11],16,1839030562),u=v(u,d,p,c,s[f+14],23,-35309556),c=v(c,u,d,p,s[f+1],4,-1530992060),p=v(p,c,u,d,s[f+4],11,1272893353),d=v(d,p,c,u,s[f+7],16,-155497632),u=v(u,d,p,c,s[f+10],23,-1094730640),c=v(c,u,d,p,s[f+13],4,681279174),p=v(p,c,u,d,s[f+0],11,-358537222),d=v(d,p,c,u,s[f+3],16,-722521979),u=v(u,d,p,c,s[f+6],23,76029189),c=v(c,u,d,p,s[f+9],4,-640364487),p=v(p,c,u,d,s[f+12],11,-421815835),d=v(d,p,c,u,s[f+15],16,530742520),c=h(c,u=v(u,d,p,c,s[f+2],23,-995338651),d,p,s[f+0],6,-198630844),p=h(p,c,u,d,s[f+7],10,1126891415),d=h(d,p,c,u,s[f+14],15,-1416354905),u=h(u,d,p,c,s[f+5],21,-57434055),c=h(c,u,d,p,s[f+12],6,1700485571),p=h(p,c,u,d,s[f+3],10,-1894986606),d=h(d,p,c,u,s[f+10],15,-1051523),u=h(u,d,p,c,s[f+1],21,-2054922799),c=h(c,u,d,p,s[f+8],6,1873313359),p=h(p,c,u,d,s[f+15],10,-30611744),d=h(d,p,c,u,s[f+6],15,-1560198380),u=h(u,d,p,c,s[f+13],21,1309151649),c=h(c,u,d,p,s[f+4],6,-145523070),p=h(p,c,u,d,s[f+11],10,-1120210379),d=h(d,p,c,u,s[f+2],15,718787259),u=h(u,d,p,c,s[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 s=e+(t&n|~t&o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._gg=function(e,t,n,o,r,a,i){var s=e+(t&o|n&~o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._hh=function(e,t,n,o,r,a,i){var s=e+(t^n^o)+(r>>>0)+i;return(s<<a|s>>>32-a)+t},r._ii=function(e,t,n,o,r,a,i){var s=e+(n^(t|~o))+(r>>>0)+i;return(s<<a|s>>>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 hp=(e,t,n,o)=>vp(""+n+o+e+t),bp=async()=>{var e;const t=await os(_s.SOUGOU_SECCODE,"");if(!t)return"";let n=null;try{n=JSON.parse(t)}catch(e){return""}return null!==(e=n)&&void 0!==e&&e.seccode&&Date.now()-n.time<36e5?n.seccode.toString():""};"https://fanyi.sogou.com"===unsafeWindow.location.origin&&unsafeWindow.addEventListener("load",(()=>{try{const e=unsafeWindow.__INITIAL_STATE__.CONFIG.secretCode;rs(_s.SOUGOU_SECCODE,JSON.stringify({seccode:e,time:Date.now()}))}catch(e){}}));const yp=async()=>{const e=await bp();return e||(()=>{const e=document.createElement("iframe");return e.src="https://fanyi.sogou.com/",e.style.display="none",document.body.append(e),new(ts())((e=>{const t=window.setInterval((async()=>{const n=await bp();n&&(e(n.toString()),window.clearInterval(t))}),200)}))})()};let xp="";const wp=async(e,t)=>{try{const n=t?t.sl:"auto",o=t?t.tl:Ul.config[cs.SOUGOU_TRANSLATE].targetLanguage;xp||(xp=await yp());const r=hp(e,xp,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:qd(),needQc:"1",s:r},i=await as({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,ou.stringify)(a).replace(/%20/g,"+")});if(si(i))throw new Error(i.left.type);const s=i.right.response;if(!(s&&s.data&&s.data.translate&&s.data.translate.dit))return ci({message:"翻译出错"});const l=s.data.detect.detect;if(l===o&&l===Ul.config[cs.SOUGOU_TRANSLATE].targetLanguage)return wp(e,{sl:n,tl:Ul.config[cs.SOUGOU_TRANSLATE].secondTargetLanguage});const c=s.data.translate.dit.split("\n");return ui((()=>{sp.data=c,sp.inputText=e,sp.sourceLanguage=n,sp.targetLanguage=o,sp.detectedLanguage=l}))}catch(e){return ci({message:e.message})}};$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.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,ou.stringify)(n)}`;if(Hl(o,.7))return;const r=await as({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});li(r)&&Hl(o,r.right.response,.7)}));const _p={id:cs.SOUGOU_TRANSLATE,view:dp,translate:wp},Op=Qt("data-v-39582728");Jt("data-v-39582728");const kp={class:"row flex-col"},Sp={class:"index font-bold"},Tp={class:"definition"},Cp={class:"text-12 text-grey-500 mt-1"},Ep={class:"flex mt-1 items-center text-12 text-grey-500"},Lp={class:"mr-2 pr-1 flex flex-none"},Ap={class:"flex mr-2 flex-none"},Ip={class:"truncate"},Mp={key:1,class:"inner-content flex flex-center"};Zt();const Pp=Op(((e,t,n,o,r,a)=>{const i=Jn("UKeyword"),s=Jn("i-icon"),l=Jn("scrollable");return lo(),po("div",{class:"urban-dictionary-box flex-col relative text-grey-900",ref:e.refs.container},[bo(l,{class:"scroll-container"},{default:Op((({scrollBar:t})=>[bo("div",{class:["content-box flex-col flex-auto text-14 break-words",[t&&"py-10px pl-10px pr-14px",!t&&"p-10px"]]},[(lo(!0),po(no,null,Ko(e.list,((t,n)=>(lo(),po(no,{key:n},[bo("div",kp,[bo("div",Sp,f(n+1)+". "+f(t.word),1),bo("div",Tp,[(lo(!0),po(no,null,Ko(e.extractDefinition(t.definition),((e,t)=>(lo(),po(no,null,[e.isTag?(lo(),po(i,{content:e.text,class:"keyword definition-keyword",key:t},null,8,["content"])):Oo("",!0),e.isTag?Oo("",!0):(lo(),po("span",{textContent:e.text,key:t},null,8,["textContent"]))],64)))),256))]),bo("div",Cp,[(lo(!0),po(no,null,Ko(e.extractDefinition(t.example),((e,t)=>(lo(),po(no,null,[e.isTag?(lo(),po(i,{content:e.text,class:"keyword example-keyword",key:t},null,8,["content"])):Oo("",!0),e.isTag?Oo("",!0):(lo(),po("span",{textContent:e.text,key:t},null,8,["textContent"]))],64)))),256))]),bo("div",Ep,[bo("div",Lp,[bo(s,{size:"14",class:"thumb-up thumb mr-1",svg:e.icon.like_179655},null,8,["svg"]),wo(" "+f(t.thumbs_up),1)]),bo("div",Ap,[bo(s,{size:"14",color:"#E64C3D",class:"thumb thumb-down mr-1",svg:e.icon.like_179655},null,8,["svg"]),wo(" "+f(t.thumbs_down),1)]),bo("div",Ip,f(e.getTime(t.written_on)),1)])]),n!==e.list.length-1?(lo(),po("div",{class:"divider my-2 bg-grey-300",key:`${n}-divider`})):Oo("",!0)],64)))),128))],2)])),_:1}),(lo(!0),po(no,null,Ko(e.state.tooltips,(t=>(lo(),po("div",{class:"u-toolip absolute bg-white w-full",key:t.id,style:{top:`${t.top}px`,left:`${t.left}px`}},[t.text?(lo(),po("div",{key:0,class:"inner-content",innerHtml:t.text},null,8,["innerHtml"])):Oo("",!0),t.text?Oo("",!0):(lo(),po("div",Mp,[bo(s,{class:"loadin-spinner rotate",size:"24",color:"#79d",svg:e.icon.loading},null,8,["svg"])]))],4)))),128))],512)})),jp=$e({data:null}),Dp={};var Rp;!function(e){e[e.SHOW_TOOLTIP=0]="SHOW_TOOLTIP",e[e.HIDE_TOOLTIP=1]="HIDE_TOOLTIP"}(Rp||(Rp={}));const zp=new class{constructor(){this.id=0,this.bus=new Ya}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 Up=Bn({name:"UrbanDictionaryKeyword",props:{content:{type:String,default:""}},setup:e=>{const t={span:et()},n=$e({id:0,visible:!1,visibleTimeout:0});return dn((()=>{n.id=zp.genId()})),vn((()=>n.visible),(()=>{if(n.visible){if(t.span.value){const o=t.span.value.getBoundingClientRect();zp.emit(Rp.SHOW_TOOLTIP,{top:o.bottom,left:o.right,id:n.id,text:e.content})}}else zp.emit(Rp.HIDE_TOOLTIP,{id:n.id})})),{props:e,refs:t,handleClick:()=>{qa.emit({type:Ha.TRANSLATE,word:e.content,param:{provider:cs.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}}}});Up.render=function(e,t,n,o,r,a){var i;return lo(),po("span",{class:"u-keyword relative",ref:e.refs.span,onClick:t[1]||(t[1]=(...t)=>e.handleClick&&e.handleClick(...t)),onMouseenter:t[2]||(t[2]=(...t)=>e.showTooltip&&e.showTooltip(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.hideTooltip&&e.hideTooltip(...t))},f($a()(i=e.props.content).call(i)),545)};const Np={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'},Gp=Bn({name:"UrbanDictionaryContainer",components:{Scrollable:Vc,UKeyword:Up},setup:()=>{const e={container:et()},t=$e({tooltips:[]}),n=n=>{if(!e.container.value)return;const o=e.container.value.getBoundingClientRect();if(t.tooltips.find((e=>e.id===n.id)))return;let r=Dp[n.text];if(!r){const e=as({method:"GET",url:`https://api.urbandictionary.com/v0/tooltip?term=${encodeURIComponent(n.text)}`,timeout:5e3,responseType:"json"}).then((e=>{if(si(e))throw new Error(e.left.type);return JSON.parse(e.right.responseText).string}));r={data:e},Dp[n.text]=r}const a={id:n.id,text:"",top:n.top-o.top,left:n.left-o.left};r.data instanceof ts()?r.data.then((e=>{r.data=e,a.text=e})).catch((()=>{delete Dp[n.text]})):a.text=r.data,t.tooltips.push(a)},o=e=>{const n=t.tooltips.find((t=>t.id===e.id));n&&t.tooltips.splice(t.tooltips.indexOf(n),1)},r=qo((()=>{var e,t;return null!==(e=null===(t=jp.data)||void 0===t?void 0:t.list)&&void 0!==e?e:[]}));return dn((()=>{zp.on(Rp.SHOW_TOOLTIP,n),zp.on(Rp.HIDE_TOOLTIP,o)})),gn((()=>{zp.off(Rp.SHOW_TOOLTIP,n),zp.off(Rp.HIDE_TOOLTIP,o)})),{state:t,list:r,refs:e,icon:Np,extractDefinition:e=>{const t=[],n=e.matchAll(/\[.+?\]/g);let o=0;for(const r of n)r.index!==o&&t.push({text:e.substring(o,r.index),isTag:!1}),t.push({text:r[0].slice(1,-1),isTag:!0}),o=r.index+r[0].length;return o!==e.length-1&&t.push({text:e.substring(o),isTag:!1}),t},getTime:e=>e.slice(0,e.indexOf("T")),showTooltip:n,hideTooltip:o}}});n(9325);Gp.render=Pp,Gp.__scopeId="data-v-39582728";const Vp=Gp;var Bp=n(2527),Hp=n.n(Bp);const Fp=e=>t=>t._tag===e,$p=Fp("InterfaceType"),Yp=Fp("PartialType"),qp=e=>{var t;switch(e._tag){case"RefinementType":case"ReadonlyType":return qp(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return Hp()(t=e.types).call(t,((e,t)=>Object.assign(e,qp(t))),{})}},Wp=e=>Object.keys(e).map((t=>`${t}: ${e[t].name}`)).join(", "),Kp=(e,t)=>{const n=Object.getOwnPropertyNames(e);return Object.getOwnPropertyNames(t).forEach((e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)})),n.length?ci(n):ui(e)},Xp=(e,t=(e=>$p(e)?`{| ${Wp(e.props)} |}`:Yp(e)?`Partial<{| ${Wp(e.props)} |}>`:`Excess<${e.name}>`)(e))=>{const n=qp(e);return new Jp(t,(t=>li(Kp(t,n))&&e.is(t)),((t,o)=>vi(Pi.validate(t,o),(()=>vi(e.validate(t,o),(e=>hi(Kp(e,n),(t=>t.map((t=>({value:e[t],context:o,message:`excess key "${t}" found`})))))))))),(t=>e.encode(Kp(t,n).right)),e)};class Jp extends wi{constructor(e,t,n,o,r){super(e,t,n,o),this.type=r,this._tag="ExcessType"}}const Zp=Xp($i({author:Li,current_vote:Li,defid:Ai,definition:Li,example:Li,permalink:Li,sound_urls:Gi(Li),thumbs_down:Ai,thumbs_up:Ai,word:Li,written_on:Li})),Qp=(Xp($i({list:Gi(Zp)})),{id:cs.URBAN_DICTIONARY,view:Vp,translate:async e=>{try{const t=`https://api.urbandictionary.com/v0/define?${(0,ou.stringify)({term:e})}`,n=await as({method:"GET",url:t,timeout:5e3});if(si(n))throw new Error(n.left.type);const o=JSON.parse(n.right.responseText);return ui((()=>{jp.data=is(o)}))}catch(e){return ci({message:e.message})}}}),ef=Qt("data-v-a68d60d2");Jt("data-v-a68d60d2");const tf={class:"bing-translate-box flex-col relative text-grey-900"},nf={class:"language-select-box select-none w-full"},of={class:"title-box flex justify-between"},rf={class:"items-box flex flex-wrap mt-1"},af={class:"translate-content mb-2px flex-col"},sf={class:"bottom-info-box flex justify-between"},lf={class:"tts-box flex"},cf=wo(" 源 "),uf=wo(" 译 "),df={class:"language-info-box flex"},pf=bo("div",{class:"px-1"}," -> ",-1);Zt();const ff=ef(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("Scrollable");return lo(),po("div",tf,[bo(s,{class:"scroll-container"},{default:ef((({scrollBar:n})=>[bo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[zn(bo("div",nf,[bo("div",of,[zn(bo("div",null,"源语言",512),[[Yr,"source"===e.state.type]]),zn(bo("div",null,"翻译到",512),[[Yr,"target"===e.state.type]]),bo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),zn(bo("div",rf,[(lo(!0),po(no,null,Ko(e.languages,(t=>(lo(),po("div",{class:["language-item text-center text-grey-600 py-px",{"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?(lo(),po("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)):Oo("",!0)],512),[[Yr,e.state.visible]])],512),[[Yr,e.state.visible]]),zn(bo("div",af,[(lo(!0),po(no,null,Ko(e.containerData.data,(e=>(lo(),po("div",{class:"row",key:e},f(e),1)))),128))],512),[[Yr,!e.state.visible]]),zn(bo("div",sf,[bo("div",lf,[bo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[cf,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),bo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[uf,bo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),bo("div",df,[bo("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),pf,bo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[Yr,!e.state.visible]])],2)])),_:1})])})),gf=$e({data:[],inputText:"",sourceLanguage:"",targetLanguage:"",detectedLanguage:""}),mf=Object.entries(Ol).map((([e,t])=>({id:e,name:t}))),vf={play_speaker_filled_audio_tool_59284:Bc},hf=Bn({name:"BingTranslateContainer",components:{Scrollable:Vc},setup:()=>{const e=$e({visible:!1,type:"source"});return{state:e,containerData:gf,languages:mf,icon:vf,getLanguage:e=>Ol[e]||e,handleLanguageSelect:t=>{qa.emit({type:Ha.TRANSLATE,word:gf.inputText,param:{provider:cs.BING_TRANSLATE,param:{sl:"source"===e.type?t:gf.sourceLanguage,tl:"target"===e.type?t:gf.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{$l.emit({type:Fl.PLAY_AUDIO,id:cs.BING_TRANSLATE,params:"source"===e?{word:gf.inputText,tl:gf.detectedLanguage}:{word:gf.data.join(" "),tl:gf.targetLanguage}})}}}});n(352);hf.render=ff,hf.__scopeId="data-v-a68d60d2";const bf=hf;let yf=null;const xf=async()=>{if(yf)return yf;const e=await as({method:"GET",url:"https://cn.bing.com/Translator"});if(si(e))throw new Error("网络错误!");const t=/data-iid="(.+?)"/.exec(e.right.responseText),n=/IG:"(.+?)"/.exec(e.right.responseText);if(!t||!n)throw new Error("获取 token 失败!");return yf={iid:t[1],ig:n[1]},yf},wf={ig:"",iid:"",token:{}},_f=async(e,t)=>{if(wf.ig===e&&wf.iid===t)return wf.token;const n=(0,ou.stringify)({isVertical:"1",IG:e,IID:t}),o=await as({method:"POST",url:`https://cn.bing.com/tfetspktok?${n}`,responseType:"json"});if(si(o))throw new Error(o.left.type);return wf.ig=e,wf.iid=t,wf.token=o.right.response,o.right.response},Of=Nl(),kf=async(e,t)=>{const n=t?t.sl:"auto-detect",o=t?t.tl:Ul.config[cs.BING_TRANSLATE].targetLanguage,r=await xf(),a=(0,ou.stringify)({text:e,fromLang:n,to:o}),i=`https://cn.bing.com/ttranslatev3?${(0,ou.stringify)({isVertical:"1",IG:r.ig,IID:`${r.iid}.${Of()}`})}`,s=await as({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"});if(si(s))throw new Error(s.left.type);const l=s.right.response[0],c=l.detectedLanguage.language;if(!t&&c===o&&c===Ul.config[cs.BING_TRANSLATE].targetLanguage)return kf(e,{sl:n,tl:Ul.config[cs.BING_TRANSLATE].secondTargetLanguage});return{result:l.translations[0].text.split("\n"),sl:n,tl:o,dl:c}};$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.BING_TRANSLATE)return;const t=e.params,n=t.word.slice(0,100),o=`bing-translate-${`${t.tl}-${n}`}`;if(n.includes("]]>"))return;if(Hl(o,.7))return;const r=await xf(),a=await _f(r.ig,r.iid),i=kl[t.tl];if(!i)return;const[s,l,c]=i,u=`https://${a.region}.tts.speech.microsoft.com/cognitiveservices/v1`,d=`<speak version="1.0" xml:lang="${s}"><voice xml:lang="${s}" xml:gender="${l}" name="${c}"><prosody rate="-10.00%"><![CDATA[${n}]]></prosody></voice></speak>`,p=await as({method:"POST",headers:{Authorization:`Bearer ${a.token}`,"X-MICROSOFT-OutputFormat":"audio-16khz-32kbitrate-mono-mp3","Cache-Control":"no-cache","Content-Type":"application/ssml+xml"},responseType:"arraybuffer",url:u,data:d,timeout:5e3});li(p)&&Hl(o,p.right.response,.7)}));const Sf={id:cs.BING_TRANSLATE,view:bf,translate:async(e,t)=>{try{const n=await kf(e,t);return ui((()=>{gf.data=n.result,gf.inputText=e,gf.detectedLanguage=n.dl,gf.sourceLanguage=n.sl,gf.targetLanguage=n.tl}))}catch(e){return ci({message:e.message})}}},Tf=Qt("data-v-679418f0");Jt("data-v-679418f0");const Cf={class:"flex-col relative text-grey-900"},Ef={class:"word flex items-center"},Lf={key:0,class:"short-def mt-1"},Af={key:1,class:"long-def mt-1 pt-2px text-13"},If={class:"text-grey-500"},Mf={class:"group-index mt-2px mr-1 flex-none text-grey-700 font-bold"},Pf={class:"group-item-box"};Zt();const jf=Tf(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("scrollable");return lo(),po("div",Cf,[bo(s,{class:"scroll-container"},{default:Tf((({scrollBar:n})=>[e.data?(lo(),po("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"]]},[bo("div",Ef,[bo("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?(lo(),po("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))},[bo(i,{svg:e.icon.play},null,8,["svg"])])):Oo("",!0)]),e.data.definition.short?(lo(),po("div",Lf,f(e.data.definition.short),1)):Oo("",!0),e.data.definition.long?(lo(),po("div",Af,[bo("span",If,f(e.data.definition.long),1)])):Oo("",!0),(lo(!0),po(no,null,Ko(e.data.definition.groups,(e=>(lo(),po("div",{class:"group-item mt-1 flex text-13",key:e.index},[bo("div",Mf,f(e.index+1)+". ",1),bo("div",Pf,[(lo(!0),po(no,null,Ko(e.group,((e,t)=>(lo(),po("div",{class:"group-def-item flex mt-2px",key:t},[bo("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),bo("div",null,f(e.definition),1)])))),128))])])))),128))],2)):Oo("",!0)])),_:1})])})),Df=$e({data:null}),Rf=Bn({name:"VocabularyContainer",components:{Scrollable:Vc},setup:()=>{const e=qo((()=>Df.data));return{icon:{play:Bc},data:e,handlePlay:e=>{e&&$l.emit({type:Fl.PLAY_AUDIO,id:cs.VOCABULARY,params:{key:e}})}}}});n(3437);Rf.render=jf,Rf.__scopeId="data-v-679418f0";const zf=Rf,Uf=e=>{if(!e)throw new Error;return e};$l.on(Fl.PLAY_AUDIO,(async e=>{if(e.id!==cs.VOCABULARY)return;const t=e.params.key;if(!t)return;const n=`https://audio.vocab.com/1.0/us/${t}.mp3`;if(Hl(n,.65))return;const o=await as({method:"GET",headers:{Referer:"https://www.vocabulary.com"},responseType:"arraybuffer",url:n,timeout:5e3});li(o)&&Hl(n,o.right.response,.65)}));const Nf={id:cs.VOCABULARY,view:zf,translate:async(e,t)=>{try{const t=await(async e=>{const t=await as({method:"GET",url:`https://www.vocabulary.com/dictionary/autocomplete?search=${encodeURIComponent(e)}`,headers:{Accept:"*/*",Host:"www.vocabulary.com"}});if(si(t))throw new Error(t.left.type);const n=t.right.responseText,o=document.createElement("div");return o.innerHTML=n,Array.from(o.querySelectorAll(".suggestions > li")).map((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=t.some((t=>t.word===e))?e:t[0].word,o=await(async e=>{var t,n,o,r,a,i;const s=await as({method:"GET",url:`https://www.vocabulary.com/dictionary/definition.ajax?search=${encodeURIComponent(e)}&lang=en`,headers:{Accept:"*/*",Host:"www.vocabulary.com"}});if(si(s))throw new Error(s.left.type);const l=s.right.responseText,c=document.createElement("div");return c.innerHTML=l,{short:null!==(t=null===(n=c.querySelector(".definitionsContainer .section.blurb .short"))||void 0===n||null===(o=n.textContent)||void 0===o?void 0:$a()(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:$a()(i).call(i))&&void 0!==r?r:void 0,audio:Uf(c.querySelector(".dynamictext .audio")).getAttribute("data-audio"),groups:Array.from(c.querySelectorAll(".definitions .section.definition .group")).map(((e,t)=>{var n;return{index:t,group:Array.from(e.querySelectorAll(".ordinal .sense")).map((e=>{var t,n;return{type:Uf(e.querySelector(".anchor")).textContent,definition:$a()(t=null!==(n=Uf(Uf(e.querySelector(".anchor")).nextSibling).textContent)&&void 0!==n?n:"").call(t)}})),family:JSON.parse(null!==(n=Uf(c.querySelector(".section.family vcom\\:wordfamily")).getAttribute("data"))&&void 0!==n?n:"")}}))}})(n);return ui((()=>{Df.data=is({word:n,autocomplete:t,definition:o})}))}catch(e){return ci({message:e.message})}}},Gf=Xp($i({word:Li,time:Ai,provider:ks(cs,"PROVIDER")}));function Vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Bf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vf(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Hf=$e({list:[]}),Ff=async()=>{Hf.list.length=Math.min(Hf.list.length,100),await rs(_s.HISTORY,JSON.stringify(Hf.list))},$f=async()=>{const e=await os(_s.HISTORY,"");try{const t=JSON.parse(e);if(!Array.isArray(t))throw new Error;Hf.list=Hp()(t).call(t,((e,t)=>{const n=Gf.decode(t);return li(n)&&e.push(n.right),e}),[]),Hf.list.length=Math.min(Hf.list.length,100)}catch(e){await Ff()}},Yf={state:Hf,loadHistory:$f,clearHistory:async()=>{Hf.list=[],await Ff()},addItem:async e=>{await $f();const t=Date.now(),n=Hf.list.find((n=>n.word===e.word&&t-n.time<6e5));n&&Hf.list.splice(Hf.list.indexOf(n),1);const o=Hf.list[0];o&&o.word===e.word&&Hf.list.shift(),Hf.list.unshift(Bf(Bf({},e),{},{time:t})),await Ff()}},qf=[nu,Gu,dd,Ud,_p,Qp,Sf,Nf],Wf=$e({loading:!1,activeTask:null,activeProviderId:null,lastUsedProvider:cs.ICIBA,errorMessage:""}),Kf=Nl(0),Xf=async e=>{var t,n,o,r,a;const i=e.param,s=null!==(t=null!==(n=i&&qf.find((e=>e.id===i.provider)))&&void 0!==n?n:qf.find((e=>e.id===Ul.config.core.defaultProvider)))&&void 0!==t?t:qf[0],l=null!==(o=null==i?void 0:i.param)&&void 0!==o?o:null,c=$a()(r=e.word).call(r);if(!c)return void(Wf.errorMessage="查询不能为空!");Wf.activeProviderId=null;const u={word:c,provider:s.id,id:Kf()};if(Wf.activeTask&&Wf.activeTask.word===u.word&&Wf.activeTask.provider===u.provider)return;Wf.activeTask=u,Wf.loading=!0,Wf.errorMessage="";const d=await s.translate(c,l);(null===(a=Wf.activeTask)||void 0===a?void 0:a.id)===u.id&&(si(d)&&(d.left.message&&(Wf.errorMessage=`${s.id} 错误: ${d.left.message}`,Wf.loading=!1),d.left.redirect)?await Xf({type:Ha.TRANSLATE,word:c,param:{provider:d.left.redirect,param:d.left.redirectParams}}):li(d)&&(Wf.activeProviderId=s.id,d.right(),Yf.addItem({word:u.word,provider:u.provider}),Wf.loading=!1,Wf.activeTask=null))},Jf={state:Wf,providers:qf,activeProvider:qo((()=>{var e;return null!==(e=qf.find((e=>e.id===Wf.activeProviderId)))&&void 0!==e?e:null})),translate:Xf,clearActiveProvider:()=>{Wf.activeProviderId=null,Wf.errorMessage=""},removeSelection:()=>{const e=window.getSelection();e&&e.removeAllRanges()}};var Zf;!function(e){e.GENERAL="GENERAL",e.GOOGLE_DICT_MODAL="GOOGLE_DICT_MODAL"}(Zf||(Zf={}));const Qf=(()=>{let e=2147383647;const t=new Map;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}})(),eg=e=>{const t="string"==typeof e?e:e.id,n=Ul.config[t].icon;return Ds[t][n]},tg=(e,t)=>{let n=e;if(!n||!t)return!1;for(;n&&n!==t;)n=n.parentNode;return n===t},ng=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=Bn({setup:()=>{let e=0;const t=$e({dots:3});return dn((()=>{e=window.setInterval((()=>{t.dots=t.dots>10?3:t.dots+1}),300)})),gn((()=>{window.clearInterval(e)})),()=>bo("div",null,[wo("加载中"),".".repeat(t.dots)])}}),rg=$e({icibaMain:!1,setting:!1,history:!1,googleDictModal:!1}),ag=Object.keys(rg);ag.forEach((e=>{vn((()=>rg[e]),(()=>{"icibaMain"!==e&&rg[e]&&(e=>{ag.forEach((t=>{e!==t&&(rg[t]=!1)}))})(e)}))}));const ig={state:rg,openIcibaMain:()=>{rg.icibaMain=!0},closeIcibaMain:()=>{rg.icibaMain=!1},openSettings:()=>{rg.setting=!0},closeSettings:()=>{rg.setting=!1},openHistory:()=>{rg.history=!0},closeHistory:()=>{rg.history=!1},openGoogleDictModal:()=>{rg.googleDictModal=!0},closeGoogleDictModal:()=>{rg.googleDictModal=!1}};function sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function lg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sg(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const cg=Bn({name:"IcibaMain",components:{LoadingText:og},props:{getIcibaCircle:{type:null,required:!0}},setup:n=>{const o={icibaMainWrap:et(),icibaMain:et(),icibaSearchInput:et(),sizeHelper:et()},r=$e({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)=>{_t((()=>{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=lg({top:"auto",bottom:"auto",left:"auto",right:"auto"},lg(lg({},n<Ul.config.core.icibaMainWidth?{right:"0"}:{left:"0"}),a<250?{bottom:"0"}:{top:"0"}));const i=ng(e);r.wrapperStyle={top:`${i.top}px`,left:`${i.left}px`,bottom:"auto",right:"auto",translateX:0,translateY:0,zIndex:Qf.gen(Zf.GENERAL)}},s=(e,t)=>{if(!ig.state.icibaMain)return i(e),ig.openIcibaMain(),void(t&&a());const n=o.icibaMain.value;if(n){const t=n.getBoundingClientRect();(t.bottom<0||t.top>window.innerHeight)&&i(e)}},l={onTranslate:e=>{e.mouseEvent&&s(e.mouseEvent,Ul.config.core.icibaMainInputAutoFocus),r.inputText=e.word,Jf.translate(e)},onHotKeyShowUp:e=>{var t;i(e.mouseEvent),r.inputText=null!==(t=e.word)&&void 0!==t?t:"",Jf.clearActiveProvider(),s(e.mouseEvent,Ul.config.core.hotkeyIcibaMainInputAutoFocus)},onHotkeyTranslate:e=>{if(!ig.state.icibaMain){if(!e.word)return;s(e.mouseEvent,Ul.config.core.providerHotkeyAutoFocus)}r.inputText=e.word||r.inputText,Jf.translate({type:Ha.TRANSLATE,word:r.inputText,mouseEvent:e.mouseEvent,param:{provider:e.provider}}),Ul.config.core.providerHotkeyAutoFocus&&a()},onGoogleDictModalOpen:()=>{ig.closeIcibaMain()},onWindowClick:t=>{t.target===e||Ul.config.core.showPin&&Ul.config.core.pinned||ig.closeIcibaMain()},onShadowRootClick:e=>{if(!o.icibaMainWrap.value)return;[tg(e.target,o.icibaMainWrap.value),tg(e.target,n.getIcibaCircle().$el),Ul.config.core.showPin&&Ul.config.core.pinned].some((e=>e))||ig.closeIcibaMain()}},c={handleOpenSetting:()=>{ig.openSettings()},handleOpenHistory:()=>{ig.openHistory()},handleTranslateWithProvider:e=>{Jf.translate({type:Ha.TRANSLATE,word:r.inputText,param:{provider:e}})},handleInputEnter:()=>{Jf.translate({type:Ha.TRANSLATE,word:r.inputText,param:{provider:Jf.state.lastUsedProvider}})}},u={handleTogglePinned:()=>{Ul.config.core.pinned=!Ul.config.core.pinned},handlePinDragStart:e=>{e.preventDefault(),Jf.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&&Ul.config.core.pressCtrlToDrag&&(Jf.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=qo((()=>{const e=r.wrapperStyle,{translateX:t,translateY:n}=e;return lg(lg({},ri(e,["translateX","translateY"])),{},{transform:`translate(${r.wrapperStyle.translateX}px, ${r.wrapperStyle.translateY}px)`})})),p=qo((()=>lg(lg({},r.mainStyle),{},{width:`${Ul.config.core.icibaMainWidth}px`}))),f=qo((()=>Ul.config.core.providerOrder.map((e=>Jf.providers.find((t=>t.id===e)))).filter((e=>Ul.config[e.id].display)))),g=qo((()=>ig.state.icibaMain));return vn((()=>d.value),(e=>{o.icibaMainWrap.value&&Object.assign(o.icibaMainWrap.value.style,e)}),{deep:!0,immediate:!0}),dn((()=>{window.addEventListener("mousedown",l.onWindowClick,!0),window.addEventListener("mousemove",u.handleDragMove,!0),window.addEventListener("mouseup",u.handleDragEnd,!0),t.addEventListener("mousedown",u.handleDragStart,!0),t.addEventListener("mousedown",l.onShadowRootClick,!1),t.addEventListener("keyup",u.handleDragEnd,!0),qa.on({event:Ha.TRANSLATE,listener:l.onTranslate}),qa.on({event:Ha.OPEN_GOOGLE_DICT_MODAL,listener:l.onGoogleDictModalOpen}),qa.on({event:Ha.HOTKEY_SHOW,listener:l.onHotKeyShowUp}),qa.on({event:Ha.HOTKEY_TRANSLATE,listener:l.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:g,refs:o,store:Ul,mainStyle:p,translateLoading:qo((()=>Jf.state.loading)),activeProvider:Jf.activeProvider,showButtonProviders:f,errorMessage:qo((()=>Jf.state.errorMessage)),m:lg({getIcon:eg,pinDrag:u},c)}}});n(9540);cg.render=oi,cg.__scopeId="data-v-b07dfcf8";const ug=cg,dg=Qt("data-v-b769a32c"),pg=dg(((e,t,n,o,r,a)=>{const i=Jn("i-icon");return lo(),po(hr,{name:"c"},{default:dg((()=>[zn(bo("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]=Hr((()=>{}),["prevent"])),onMouseover:t[2]||(t[2]=(...t)=>e.m.handleSelfMouseover&&e.m.handleSelfMouseover(...t)),onMouseup:t[3]||(t[3]=(...t)=>e.m.handleSelfMouseUp&&e.m.handleSelfMouseUp(...t))},[e.iconUrl?(lo(),po(i,{key:0,class:"flex-1",size:!1,svg:e.iconUrl},null,8,["svg"])):Oo("",!0)],38),[[Yr,e.state.visible]])])),_:1})}));function fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function gg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fg(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const mg=Bn({setup:()=>{const n={circle:et()},o=$e({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(ts())((e=>requestAnimationFrame(e)));const i=(()=>{var e;const t=window.getSelection();return t&&String(t)?$a()(e=t.toString()).call(e):""})();if(o.currentWord=i,!i)return void a();const s=Ul.config;if(s.core.pressCtrlToShowCircle&&!t.ctrlKey)return void a();if(s.core.selectionMaxLengthCut&&i.length>s.core.selectionMaxLength)return void a();const l=s.core.useHotkeyShowUp&&!!s.core.showUpHotkey.length,c=ps.some((e=>s[e].enableHotkey&&s[e].hotkey.length)),u=l||c;if(s.core.useIcibaCircle||!u){if(s.core.icibaCircleNoCJK){if(Array.from(i).some((e=>e.charCodeAt(0)>669)))return void a()}((e,t)=>{o.visible=!0,o.word=t,o.zIndex=Qf.gen(Zf.GENERAL);const n=ng(e);o.style={top:`${n.top+Ul.config.core.icibaCircleOffsetY}px`,left:`${n.left+Ul.config.core.icibaCircleOffsetX}px`}})(t,i)}},a=e=>{r(e,!0)},i=qo((()=>gg(gg({},o.style),{},{zIndex:o.zIndex,width:`${Ul.config.core.icibaCircleSize}px`,height:`${Ul.config.core.icibaCircleSize}px`}))),s=qo((()=>xs[Ul.config.core.icibaCircleIcon])),l=qo((()=>ws[Ul.config.core.icibaCircleIcon]));return dn((()=>{window.addEventListener("mouseup",r,!0),t.addEventListener("mouseup",a,!0)})),{state:o,refs:n,iconUrl:s,iconType:l,computedStyle:i,m:{handleSelfMouseover:e=>{Ul.config.core.mouseOverTranslate&&(o.visible=!1,qa.emit({type:Ha.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:Ul.config.core.defaultProvider}}))},handleSelfMouseUp:e=>{setTimeout((()=>{o.visible=!1;let t=cs.ICIBA;0===e.button?t=Ul.config.core.defaultProvider:2===e.button&&Ul.config.core.icibaCircleRightClick&&(t=Ul.config.core.icibaCircleRightClickProvider),qa.emit({type:Ha.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:t}}),Jf.removeSelection()}))}}}}});n(1243);mg.render=pg,mg.__scopeId="data-v-b769a32c";const vg=mg,hg=Qt("data-v-26ec9275");Jt("data-v-26ec9275");const bg={class:"setting-window relative flex bg-white shadow-8 ease-in-out duration-300 overflow-hidden"},yg={class:"bg-indigo-500 flex-none items-center"},xg=wo("设置"),wg=wo("core"),_g=wo("热键"),Og=wo("iciba"),kg=wo("google 字典"),Sg=wo("google 翻译"),Tg=wo("百度翻译"),Cg=wo("搜狗翻译"),Eg=wo("urban"),Lg=bo("br",null,null,-1),Ag=wo("dictionary"),Ig=wo("bing 翻译"),Mg=wo("Vocabulary");Zt();const Pg=hg(((e,t,n,o,r,a)=>{const i=Jn("i-tab"),s=Jn("i-tabs"),l=Jn("about"),c=Jn("i-tab-item"),u=Jn("core-setting"),d=Jn("hot-key"),p=Jn("iciba"),f=Jn("google-dict"),g=Jn("google-translate"),m=Jn("baidu-translate"),v=Jn("sougou-translate"),h=Jn("urban-dictionary"),b=Jn("bing-translate"),y=Jn("vocabulary"),x=Jn("i-tabs-items"),w=Jn("modal-component"),_=Qn("no-overscroll");return lo(),po(w,{open:e.visible,onClose:e.handleCloseSetting},{default:hg((()=>[bo("div",bg,[bo("div",yg,[bo(s,{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:hg((()=>[bo(i,null,{default:hg((()=>[xg])),_:1}),bo(i,null,{default:hg((()=>[wg])),_:1}),bo(i,null,{default:hg((()=>[_g])),_:1}),bo(i,null,{default:hg((()=>[Og])),_:1}),bo(i,null,{default:hg((()=>[kg])),_:1}),bo(i,null,{default:hg((()=>[Sg])),_:1}),bo(i,null,{default:hg((()=>[Tg])),_:1}),bo(i,null,{default:hg((()=>[Cg])),_:1}),bo(i,null,{default:hg((()=>[Eg,Lg,Ag])),_:1}),bo(i,null,{default:hg((()=>[Ig])),_:1}),bo(i,null,{default:hg((()=>[Mg])),_:1})])),_:1},8,["modelValue"])]),zn(bo(x,{class:"tabs-box flex-auto overflow-auto",modelValue:e.state.tab,"onUpdate:modelValue":t[2]||(t[2]=t=>e.state.tab=t)},{default:hg((()=>[bo(c,{class:"p-4"},{default:hg((()=>[bo(l)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(u)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(d)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(p)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(f)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(g)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(m)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(v)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(h)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(b)])),_:1}),bo(c,{class:"p-4"},{default:hg((()=>[bo(y)])),_:1})])),_:1},8,["modelValue"]),[[_]])])])),_:1},8,["open","onClose"])}));function jg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const Dg=Bn({name:"Tabs",props:{modelValue:{type:Number,required:!0},sliderColor:{type:String,default:""}},setup:(e,t)=>{const n=$e([]),o=$e({slider:{top:0,height:0},hasArrowButton:!1}),r=qo({get:()=>e.modelValue,set:e=>t.emit("update:modelValue",e)}),a=qo((()=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jg(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({top:`${o.slider.top}px`,height:`${o.slider.height}px`},e.sliderColor?{color:e.sliderColor}:{})));return dn((()=>{vn((()=>e.modelValue),(()=>{(()=>{var e;const t=n[r.value].getBoundingClientRect().height,a=Hp()(e=n.filter(((e,t)=>t<r.value)).map((e=>e.getBoundingClientRect().height))).call(e,((e,t)=>e+t),0);o.slider={top:a,height:t}})()}),{immediate:!0})})),()=>{var e,o,i;return bo("div",{class:"i-tabs flex-col flex-wrap relative items-stretch"},[bo("div",{class:"slider absolute ease-in-out duration-300",style:a.value},null),(null!==(e=null===(o=(i=t.slots).default)||void 0===o?void 0:o.call(i))&&void 0!==e?e:[]).map(((e,t)=>{return zn(bo("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},"function"==typeof(o=e)||"[object Object]"===Object.prototype.toString.call(o)&&!fo(o)?e:{default:()=>[e]}),[[Qn("ripple"),{class:r.value===t?"active-ripple":"inactive-ripple"}]]);var o}))])}}});n(8086);const Rg=Dg,zg={class:"i-tab__div text-center"};const Ug={render:function(e,t){return lo(),po("div",zg,[Yt(e.$slots,"default")])}},Ng=Ug;const Gg=Bn({props:{modelValue:{type:Number,required:!0},windowClass:{type:String}},setup:(e,t)=>{const n={windows:$e([]),windowContainer:et(),container:et()},o=$e({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 dn((()=>{vn((()=>e.modelValue),((t,a)=>{o.beforeValue=null!=a?a:0,void 0!==a&&(async()=>{const t=n.windowContainer.value,a=n.windows;if(!t||!a)return;o.animating&&window.clearTimeout(o.animatingTimeout),o.animating=!0;const i=o.beforeValue,s=e.modelValue,l=t.getBoundingClientRect().height;o.windowState.forEach((e=>{e.display="none",e.position=void 0,e.transform=""})),o.height=Math.max(a[i].getBoundingClientRect().height,l),o.windowState[i]={position:"absolute",display:"",transform:"",animating:!1},o.windowState[s]={position:"absolute",display:"",transform:s<i?"translate(-100%, 0)":"translate(100%, 0)",animating:!1},await new(ts())((e=>_t(e))),r(),o.height=Math.max(a[i].getBoundingClientRect().height,l),o.windowState[i]={position:"absolute",display:"",transform:i<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[i]={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 s=null!==(r=null===(a=(i=t.slots).default)||void 0===a?void 0:a.call(i))&&void 0!==r?r:[];var l;return(l=s.length)!==o.windowState.length&&(o.windowState=Array(l).fill(0).map(((t,n)=>({position:void 0,transform:"",display:e.modelValue===n?"":"none",animating:!1})))),bo("div",{class:"i-tabs-items",ref:n.container},[bo("div",{class:"window-container flex relative ease-in-out duration-300",ref:n.windowContainer,style:{height:o.height?`${o.height}px`:"auto"}},[...s.map(((t,r)=>{var a,i;if(t.props){const n=t.props;n.index=r,n.current=e.modelValue}return bo("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}},"function"==typeof(i=t)||"[object Object]"===Object.prototype.toString.call(i)&&!fo(i)?t:{default:()=>[t]})}))])])}}});n(5321);const Vg=Gg,Bg=Bn({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 bo("div",null,[a.map((t=>{if(t.props){t.props.active=e.index===e.current}return t}))])}}),Hg=Qt("data-v-76591e7d");Jt("data-v-76591e7d");const Fg={class:"modal-container flex-col ease-in-out duration-300"};Zt();const $g=Hg(((e,t,n,o,r,a)=>(lo(),po(hr,{name:"m"},{default:Hg((()=>[e.state.visible?(lo(),po("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]=Hr(((...t)=>e.handleCloseModal&&e.handleCloseModal(...t)),["self"]))},[bo("div",Fg,[Yt(e.$slots,"default")])],4)):Oo("",!0)])),_:1})))),Yg=Bn({name:"ModalComponent",props:{open:{type:Boolean,required:!0},onClose:{type:null,required:!0}},setup:e=>{const t=$e({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=Qf.gen(Zf.GENERAL)),t.visible=e.open}));const n=qo((()=>({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(6723);Yg.render=$g,Yg.__scopeId="data-v-76591e7d";const qg=Yg,Wg={class:"flex-col items-start"},Kg=_o('<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 Xg=Bn({name:"AboutPage"});Xg.render=function(e,t,n,o,r,a){return lo(),po("div",Wg,[Kg])};const Jg=Xg,Zg=Qt("data-v-3a3412e4");Jt("data-v-3a3412e4");const Qg={class:"flex-col items-start"},em=wo(" 选中文字后显示小圆圈 (关闭后"),tm=bo("span",{class:"font-bold"},"仅能使用热键",-1),nm=wo("查词) "),om=bo("div",{class:"flex-1 default-iciba-circle"},null,-1),rm=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 自定义小圆圈图标 ",-1),am=wo(" 选择文字时,只有 "),im=bo("span",{class:"font-bold"},"同时按住ctrl键",-1),sm=wo(" 时才显示小圆圈 "),lm={class:"flex mt-6"},cm={class:"flex-col flex-grow-0 pr-12"},um=bo("div",{class:"text-grey-600 pr-6 mb-2"},"接口",-1),dm={class:"flex-col items-center flex-grow-0"},pm=bo("div",{class:"text-grey-600 pr-6 mb-1"},"默认接口",-1),fm={class:"flex-col items-center flex-grow-0"},gm=bo("div",{class:"text-grey-600 pr-6 mb-1"},"备选接口",-1),mm={key:0,class:"text-14 text-red-500 mt-2 mb-0"},vm=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 默认接口:左键点击小圆圈查词接口 "),bo("br"),wo(" 备选接口:启用时,右键键点击小圆圈使用此查词接口 ")],-1),hm={class:"text-14 text-grey-400"},bm={class:"flex self-stretch items-center mr-1 mt-6"},ym={class:"mr-4 text-grey-600"},xm=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 小圆圈大小(默认22px) ",-1),wm={class:"flex mt-6"},_m={class:"flex-col justify-around flex-none"},Om={class:"mr-4 text-grey-600"},km={class:"mr-4 text-grey-600"},Sm={class:"flex-col justify-around flex-auto"},Tm=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 小圆圈位置偏移(单位:px) "),bo("br"),wo(" 选择文字时,小圆圈偏移鼠标指针右下方的位置。默认 x=7 y=7 ")],-1),Cm={class:"flex items-center mr-1 mt-6 self-stretch"},Em={class:"mr-4 text-grey-600"},Lm=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 查词框宽度(单位:px)(默认300px) ",-1);Zt();const Am=Zg(((e,t,n,o,r,a)=>{const i=Jn("provider-sort"),s=Jn("i-checkbox-line"),l=Jn("icon-radio-group"),c=Jn("i-radio"),u=Jn("i-radio-group"),d=Jn("foldable"),p=Jn("i-slider");return lo(),po("div",Qg,[bo(i),bo(s,{modelValue:e.form.useIcibaCircle,"onUpdate:modelValue":t[1]||(t[1]=t=>e.form.useIcibaCircle=t),label:"显示小圆圈"},{default:Zg((()=>[em,tm,nm])),_:1},8,["modelValue"]),bo(d,{fold:!e.form.useIcibaCircle},{default:Zg((()=>[bo(l,{class:"mt-6",modelValue:e.form.icibaCircleIcon,"onUpdate:modelValue":t[2]||(t[2]=t=>e.form.icibaCircleIcon=t),icons:e.icibaCircleIconOptions},{[e.defaultIconKey]:Zg((()=>[om])),_:2},1032,["modelValue","icons"]),rm,bo(s,{modelValue:e.form.pressCtrlToShowCircle,"onUpdate:modelValue":t[3]||(t[3]=t=>e.form.pressCtrlToShowCircle=t),label:"仅按住 ctrl 时显示小圆圈"},{default:Zg((()=>[am,im,sm])),_:1},8,["modelValue"]),bo(s,{modelValue:e.form.mouseOverTranslate,"onUpdate:modelValue":t[4]||(t[4]=t=>e.form.mouseOverTranslate=t),label:"hover 小圆圈自动点击",text:"鼠标移到小圆圈上自动点击并打开查词窗口"},null,8,["modelValue"]),bo(s,{modelValue:e.form.icibaMainInputAutoFocus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.icibaMainInputAutoFocus=t),label:"自动聚焦输入框",text:"点击小圆圈查词后,自动聚焦到输入框"},null,8,["modelValue"]),bo(s,{modelValue:e.form.icibaCircleRightClick,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.icibaCircleRightClick=t),label:"右击小圆圈使用备选接口",text:"右击小圆圈,使用备选接口查词"},null,8,["modelValue"]),bo(d,{fold:!e.form.icibaCircleRightClick},{default:Zg((()=>[bo("div",lm,[bo("div",cm,[um,(lo(!0),po(no,null,Ko(e.providerOptions,(e=>(lo(),po("div",{class:"option-item text-16 text-grey-600 mb-2",key:e.key},f(e.label),1)))),128))]),bo("div",dm,[pm,bo(u,{class:"mt-0 flex-grow-0",modelValue:e.form.defaultProvider,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.defaultProvider=t)},{default:Zg((()=>[(lo(!0),po(no,null,Ko(e.providerOptions,(e=>(lo(),po(c,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),bo("div",fm,[gm,bo(u,{class:"mt-0",modelValue:e.form.icibaCircleRightClickProvider,"onUpdate:modelValue":t[8]||(t[8]=t=>e.form.icibaCircleRightClickProvider=t)},{default:Zg((()=>[(lo(!0),po(no,null,Ko(e.providerOptions,(e=>(lo(),po(c,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.defaultProvider===e.form.icibaCircleRightClickProvider?(lo(),po("p",mm," 默认接口和备选接口请选择不同的选项 ")):Oo("",!0),vm])),_:1},8,["fold"]),bo(s,{modelValue:e.form.icibaCircleNoCJK,"onUpdate:modelValue":t[9]||(t[9]=t=>e.form.icibaCircleNoCJK=t),label:"非英语(拉丁)字符不显示小圆圈",text:"划去文字包含中文、日文、韩文等字符时不显示小圆圈"},null,8,["modelValue"])])),_:1},8,["fold"]),bo(s,{modelValue:e.form.history,"onUpdate:modelValue":t[10]||(t[10]=t=>e.form.history=t),label:"显示历史记录按钮",text:"在设置按钮旁边显示历史查词记录按钮"},null,8,["modelValue"]),bo(s,{modelValue:e.form.pressCtrlToDrag,"onUpdate:modelValue":t[11]||(t[11]=t=>e.form.pressCtrlToDrag=t),label:"按住 Ctrl 拖拽查词框",text:"按住 Ctrl 键可拖拽移动查词框位置"},null,8,["modelValue"]),bo(s,{modelValue:e.form.showPin,"onUpdate:modelValue":t[12]||(t[12]=t=>e.form.showPin=t),label:"启用固定图钉",text:"显示固定图钉,可固定查词框使其不自动关闭"},null,8,["modelValue"]),bo(d,{fold:!e.form.useIcibaCircle},{default:Zg((()=>[bo(s,{modelValue:e.form.selectionMaxLengthCut,"onUpdate:modelValue":t[13]||(t[13]=t=>e.form.selectionMaxLengthCut=t),label:"限制最大查词长度",text:"当选择文字超过长度时不显示小圆圈"},null,8,["modelValue"]),bo(d,{fold:!e.form.selectionMaxLengthCut},{default:Zg((()=>[bo(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"]),bo("p",hm," 最大查词长度: "+f(e.form.selectionMaxLength)+" (默认值: 150) ",1)])),_:1},8,["fold"]),bo("div",bm,[bo("div",ym,f(e.form.icibaCircleSize)+"px",1),bo(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"])]),xm,bo("div",wm,[bo("div",_m,[bo("div",Om,"x: "+f(e.form.icibaCircleOffsetX),1),bo("div",km,"y: "+f(e.form.icibaCircleOffsetY),1)]),bo("div",Sm,[bo(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"]),bo(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"])])]),Tm])),_:1},8,["fold"]),bo("div",Cm,[bo("div",Em,f(e.form.icibaMainWidth)+"px",1),bo(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"])]),Lm])}));const Im=Bn({name:"GFoldable",props:{fold:{type:Boolean,default:!1},duration:{type:Number,default:300}},setup:e=>{const t={root:et(),wrapper:et()},n=$e({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}}});Im.render=function(e,t,n,o,r,a){return lo(),po("div",{class:"w-full overflow-hidden",ref:e.refs.root,style:{height:e.state.height}},[bo("div",{class:"flex-col",ref:e.refs.wrapper},[Yt(e.$slots,"default")],512)],4)};const Mm=Im,Pm=Qt("data-v-6b4ed052");Jt("data-v-6b4ed052");const jm={class:"icon-radio flex select-none"},Dm={key:1,class:"check-icon absolute rounded-full bg-white text-20"};Zt();const Rm=Pm(((e,t,n,o,r,a)=>{const i=Jn("i-icon");return lo(),po("div",jm,[(lo(!0),po(no,null,Ko(e.props.icons,(t=>(lo(),po("div",{class:"icon-box flex relative p-2 flex-grow-0",key:t.key,onClick:n=>e.handleSelect(t.key)},[t.icon?(lo(),po(i,{key:0,size:"100%",svg:t.icon},null,8,["svg"])):Oo("",!0),Yt(e.$slots,t.key),t.key===e.props.modelValue?(lo(),po("div",Dm,[bo(i,{size:"20",svg:e.checkedIconSvg},null,8,["svg"])])):Oo("",!0)],8,["onClick"])))),128))])})),zm=Bn({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(6818);zm.render=Rm,zm.__scopeId="data-v-6b4ed052";const Um=zm,Nm=Qt("data-v-be105b76");Jt("data-v-be105b76");const Gm={class:"mask-box absolute ease-in-out duration-200"},Vm={key:0,class:"icon-box absolute rounded-3px flex flex-center"},Bm={class:"text-14 text-grey-400 mt-6px mb-0"},Hm=wo(" 拖拽调整顺序,右键切换显示隐藏"),Fm=bo("br",null,null,-1),$m=wo(" 点击 ");Zt();const Ym=Nm(((e,t,n,o,r,a)=>{const i=Jn("i-icon");return lo(),po("div",{class:"icon-box-wrapper relative",ref:e.refs.container},[bo(Pr,{class:"icon-box-container flex ease-linear",name:"icon",tag:"div"},{default:Nm((()=>[(lo(!0),po(no,null,Ko(e.state.list,(n=>(lo(),po("div",{class:["icon-item relative select-none",{mask:n.mask}],style:{zIndex:n.z},onDragstart:t[1]||(t[1]=Hr((()=>{}),["prevent"])),onMousedown:Hr((t=>e.handleDragStart(n)),["left"]),onContextmenu:Hr((t=>e.handleToggleVisibility(n.id)),["right","prevent"]),key:n.id},[bo(hr,{name:"mask"},{default:Nm((()=>[zn(bo("div",Gm,null,512),[[Yr,n.mask]])])),_:2},1024),(n.mask,lo(),po("div",Vm,[bo(i,{class:["icon",{inactive:!e.isProviderVisible(n.id)}],size:"32",svg:n.icon},null,8,["class","svg"])]))],46,["onMousedown","onContextmenu"])))),128))])),_:1}),bo("p",Bm,[Hm,Fm,$m,bo("span",{class:"cursor-pointer hover:text-grey-600 hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleReset&&e.handleReset(...t))}," 恢复默认排序 ")])],512)})),qm=Bn({name:"ProviderSort",setup:()=>{const e={container:et()},t=()=>Ul.config.core.providerOrder.map((e=>({id:e,icon:eg(e),mask:!1,z:0}))),n=$e({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){const e=n.list.splice(r,1);n.list.splice(i,0,e[0]),o.cIndex=i}},a=()=>{o.item&&(o.item.mask=!1,o.item=null,Ul.config.core.providerOrder=n.list.map((e=>e.id)))};return dn((()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",a)})),gn((()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)})),{state:n,refs:e,handleDragStart:t=>{t.mask=!0,o.item=t,n.list.forEach((e=>{e.z=1})),t.z=3,e.container.value&&(o.rects=Array.from(e.container.value.firstElementChild.children).map((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=n.list.indexOf(t)},handleToggleVisibility:e=>{Ul.config[e].display=!Ul.config[e].display},handleReset:()=>{Ul.config.core.providerOrder=[...Rl.core.providerOrder],n.list=t()},isProviderVisible:e=>Ul.config[e].display}}});n(3016);qm.render=Ym,qm.__scopeId="data-v-be105b76";const Wm=qm,Km=Object.entries(xs).map((([e,t])=>({icon:t,key:e}))),Xm=Bn({name:"CoreSettings",props:{active:Boolean},components:{ProviderSort:Wm,IconRadioGroup:Um,Foldable:Mm},setup:e=>{const t=$e({keys:[],setKeys:[]}),n=Ul.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=>{const n=a(e.key),o=t.keys.indexOf(n);-1!==o&&t.keys.splice(o,1)};vn((()=>e.active),r),gn(r);const s=qo((()=>{const e=t.setKeys;return[e.includes("Control")&&"Ctrl",e.includes("Alt")&&"Alt",e.includes("Shift")&&"Shift",...e.filter((e=>!["Control","Alt","Shift"].includes(e))).map((e=>e.toUpperCase()))].filter(Boolean).join(" + ")}));return dn((()=>{window.addEventListener("keyup",i)})),gn((()=>{window.removeEventListener("keyup",i)})),{state:t,input:s,form:n,defaultIconKey:ys.DEFAULT,icibaCircleIconOptions:Km,providerOptions:ds,handleKeyDown:e=>{const n=a(e.key);e.repeat||t.keys.includes(n)||t.keys.push(n),t.setKeys=[...t.keys]},handleKeyUp:i}}});n(5077);Xm.render=Am,Xm.__scopeId="data-v-3a3412e4";const Jm=Xm,Zm={class:"flex-col items-start"},Qm=bo("p",{class:"text-14 text-grey-400 mb-0"}," 热键显示查词框 ",-1),ev=bo("p",{class:"text-14 text-grey-400 mt-8 mb-0"}," 快速查词热键(选中文本 或在输入框 快速查词) ",-1),tv={class:""},nv=wo(" 使用 快速查词热键后,自动聚焦到输入框 "),ov=bo("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," tips: ",-1);const rv=Bn({name:"HotKeySetting",props:{active:Boolean},components:{Foldable:Mm},setup:()=>({providerOptions:ds,core:Ul.config.core,config:Ul.config})});rv.render=function(e,t,n,o,r,a){const i=Jn("i-checkbox-line"),s=Jn("i-hotkey-input"),l=Jn("foldable"),c=Jn("i-checkbox");return lo(),po("div",Zm,[bo(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"]),bo(l,{fold:!e.core.useHotkeyShowUp},{default:Wt((()=>[bo(s,{class:"my-1",modelValue:e.core.showUpHotkey,"onUpdate:modelValue":t[2]||(t[2]=t=>e.core.showUpHotkey=t)},null,8,["modelValue"])])),_:1},8,["fold"]),Qm,bo(l,{fold:!e.core.useHotkeyShowUp},{default:Wt((()=>[bo(i,{modelValue:e.core.hotkeyIcibaMainInputAutoFocus,"onUpdate:modelValue":t[3]||(t[3]=t=>e.core.hotkeyIcibaMainInputAutoFocus=t),label:"呼出查词框时聚焦输入",text:"呼出查词框 后,聚焦到输入框"},null,8,["modelValue"])])),_:1},8,["fold"]),ev,bo("div",tv,[(lo(!0),po(no,null,Ko(e.providerOptions,(t=>(lo(),po("div",{class:"mt-2",key:t.key},[bo(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"]),bo(l,{fold:!e.config[t.key].enableHotkey},{default:Wt((()=>[bo(s,{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))]),bo(i,{class:"mt-6",nomt:"",modelValue:e.core.providerHotkeyAutoFocus,"onUpdate:modelValue":t[4]||(t[4]=t=>e.core.providerHotkeyAutoFocus=t),label:"快速查词热键聚焦输入框"},{default:Wt((()=>[nv])),_:1},8,["modelValue"]),ov,(lo(),po(no,null,Ko(["选中文字 按下热键查词。","或在输入框输入文字,按下热键使用对应的接口查词。","至少指定一种能打开查词框的方式(小圆圈或热键),否则你会无法打开查词框。","请避免使用和浏览器或操作系统产生冲突的热键。"],((e,t)=>bo("p",{class:"text-14 text-grey-400 mt-1 mb-0",key:t},f(t+1)+". "+f(e),1))),64))])};const av=rv,iv={class:"flex-col items-start"};const sv={class:"flex-col items-start"},lv=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 按钮图标 ",-1),cv={class:"text-14 text-grey-400 mb-0"};const uv=Bn({name:"ProviderCommon",props:{icon:String,display:Boolean,enableHotkey:Boolean,hotkey:null,name:String,icons:null},components:{Foldable:Mm,IconRadioGroup:Um},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)}})});uv.render=function(e,t,n,o,r,a){const i=Jn("icon-radio-group"),s=Jn("i-checkbox-line"),l=Jn("i-hotkey-input"),c=Jn("foldable");return lo(),po("div",sv,[bo(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"]),lv,bo(s,{"model-value":e.props.display,"onUpdate:modelValue":t[2]||(t[2]=t=>e.handleUpdateDisplay(t)),label:"显示按钮",text:"输入框右侧显示按钮图标"},null,8,["model-value"]),bo(s,{"model-value":e.props.enableHotkey,"onUpdate:modelValue":t[3]||(t[3]=t=>e.handleUpdateEnableHotkey(t)),label:"启用热键翻译",text:""},null,8,["model-value"]),bo(c,{fold:!e.props.enableHotkey},{default:Wt((()=>[bo(l,{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"]),bo("p",cv," 选中文本后按下热键使用 "+f(e.props.name)+" 查词 ",1)])};const dv=uv,pv=Object.entries(Ds[cs.ICIBA]).map((([e,t])=>({icon:t,key:e}))),fv=Bn({name:"IcibaSettings",components:{ProviderCommon:dv},setup:()=>({form:Ul.config[cs.ICIBA],iconOptions:pv})});fv.render=function(e,t,n,o,r,a){const i=Jn("provider-common");return lo(),po("div",iv,[bo(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 gv=fv,mv={class:"flex-col items-start"},vv=_o('<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),hv=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[bo("a",{href:"http://dev.chromium.org/throttling",_target:"blank"},"http://dev.chromium.org/throttling")],-1);const bv=[ms.UNFOLD,ms.FOLD_SUBSENSE,ms.FOLD_EXAMPLES,ms.FOLD_THESAURUS].map((e=>({label:bs[e],key:e}))),yv=Object.entries(Ds[cs.GOOGLE_DICT]).map((([e,t])=>({icon:t,key:e}))),xv=Bn({name:"GoogleDictSettings",components:{ProviderCommon:dv},setup:()=>({form:Ul.config[cs.GOOGLE_DICT],iconOptions:yv,foldOptions:bv})});xv.render=function(e,t,n,o,r,a){const i=Jn("provider-common"),s=Jn("i-radio"),l=Jn("i-radio-group");return lo(),po("div",mv,[bo(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"]),bo(l,{class:"mt-6",modelValue:e.form.foldStatus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.foldStatus=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.foldOptions,(e=>(lo(),po(s,{key:e.key,label:e.label,value:e.key},null,8,["label","value"])))),128))])),_:1},8,["modelValue"]),vv,hv])};const wv=xv,_v={class:"flex-col items-start"},Ov=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" google翻译接口域名。 "),bo("br"),wo(" translate.google.cn 在国内大部分区域可直接访问 ")],-1),kv={class:"flex mt-6 pt-1"},Sv={class:"flex-col items-start flex-grow-0 pr-12"},Tv=bo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),Cv={class:"flex-col items-center flex-grow-0"},Ev=bo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),Lv={class:"flex-col items-center flex-grow-0"},Av=bo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),Iv={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Mv=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 首选语言:默认翻译到的语言 "),bo("br"),wo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1),Pv=bo("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," ps:当出现 response with status code 503 时,有可能是触发了验证码。请手动打开google翻译点击验证码。 ",-1);const jv=Object.entries(Ds[cs.GOOGLE_TRANSLATE]).map((([e,t])=>({icon:t,key:e}))),Dv=[{label:gs[fs.GOOGLE_COM],key:fs.GOOGLE_COM},{label:gs[fs.GOOGLE_CN],key:fs.GOOGLE_CN}],Rv=Bn({name:"GoogleTranslateSettings",props:{active:Boolean},components:{ProviderCommon:dv},setup:e=>{const t=Ul.config[cs.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),gn(o),{form:t,iconOptions:jv,hostOptions:Dv,languageOptions:Ks}}});Rv.render=function(e,t,n,o,r,a){const i=Jn("provider-common"),s=Jn("i-radio"),l=Jn("i-radio-group");return lo(),po("div",_v,[bo(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"]),bo(l,{class:"mt-6",modelValue:e.form.translateHost,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.translateHost=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.hostOptions,(e=>(lo(),po(s,{key:e.key,label:e.label,value:e.key},null,8,["label","value"])))),128))])),_:1},8,["modelValue"]),Ov,bo("div",kv,[bo("div",Sv,[Tv,(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),bo("div",Cv,[Ev,bo(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.targetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),bo("div",Lv,[Av,bo(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.secondTargetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(lo(),po("p",Iv," 首选语言和备选语言请选择不同的选项 ")):Oo("",!0),Mv,Pv])};const zv=Rv,Uv={class:"flex-col items-start"},Nv={class:"flex mt-6 pt-1"},Gv={class:"flex-col items-start flex-grow-0 pr-12"},Vv=bo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),Bv={class:"flex-col items-center flex-grow-0"},Hv=bo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),Fv={class:"flex-col items-center flex-grow-0"},$v=bo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),Yv={key:0,class:"text-14 text-red-500 mt-2 mb-0"},qv=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 首选语言:默认翻译到的语言 "),bo("br"),wo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);const Wv=Object.entries(Ds[cs.BAIDU_TRANSLATE]).map((([e,t])=>({icon:t,key:e}))),Kv=Bn({name:"BaiduTranslateSettings",props:{active:Boolean},components:{ProviderCommon:dv},setup:e=>{const t=Ul.config[cs.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),gn(o),{iconOptions:Wv,form:t,languageOptions:rl}}});Kv.render=function(e,t,n,o,r,a){const i=Jn("provider-common"),s=Jn("i-radio"),l=Jn("i-radio-group");return lo(),po("div",Uv,[bo(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"]),bo("div",Nv,[bo("div",Gv,[Vv,(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),bo("div",Bv,[Hv,bo(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),bo("div",Fv,[$v,bo(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(lo(),po("p",Yv," 首选语言和备选语言请选择不同的选项 ")):Oo("",!0),qv])};const Xv=Kv,Jv={class:"flex-col items-start"},Zv={class:"flex mt-6 pt-1"},Qv={class:"flex-col items-start flex-grow-0 pr-12"},eh=bo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),th={class:"flex-col items-center flex-grow-0"},nh=bo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),oh={class:"flex-col items-center flex-grow-0"},rh=bo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),ah={key:0,class:"text-14 text-red-500 mt-2 mb-0"},ih=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 首选语言:默认翻译到的语言 "),bo("br"),wo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);const sh=Object.entries(Ds[cs.SOUGOU_TRANSLATE]).map((([e,t])=>({icon:t,key:e}))),lh=Bn({name:"SougouTranslateSettings",props:{active:Boolean},components:{ProviderCommon:dv},setup:e=>{const t=Ul.config[cs.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),gn(o),{form:t,iconOptions:sh,languageOptions:pl}}});lh.render=function(e,t,n,o,r,a){const i=Jn("provider-common"),s=Jn("i-radio"),l=Jn("i-radio-group");return lo(),po("div",Jv,[bo(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"]),bo("div",Zv,[bo("div",Qv,[eh,(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),bo("div",th,[nh,bo(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),bo("div",oh,[rh,bo(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(lo(),po("p",ah," 首选语言和备选语言请选择不同的选项 ")):Oo("",!0),ih])};const ch=lh,uh={class:"flex-col items-start"};const dh=Object.entries(Ds[cs.URBAN_DICTIONARY]).map((([e,t])=>({icon:t,key:e}))),ph=Bn({name:"UrbanDictionarySettings",components:{ProviderCommon:dv},setup:()=>({form:Ul.config[cs.URBAN_DICTIONARY],iconOptions:dh})});ph.render=function(e,t,n,o,r,a){const i=Jn("provider-common");return lo(),po("div",uh,[bo(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"])])};const fh=ph,gh={class:"flex-col items-start"},mh={class:"flex mt-6 pt-1"},vh={class:"flex-col items-start flex-grow-0 pr-12"},hh=bo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),bh={class:"flex-col items-center flex-grow-0"},yh=bo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),xh={class:"flex-col items-center flex-grow-0"},wh=bo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),_h={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Oh=bo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[wo(" 首选语言:默认翻译到的语言 "),bo("br"),wo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);const kh=Object.entries(Ds[cs.BING_TRANSLATE]).map((([e,t])=>({icon:t,key:e}))),Sh=Bn({name:"BingTranslateSettings",props:{active:Boolean},components:{ProviderCommon:dv},setup:e=>{const t=Ul.config[cs.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),gn(o),{form:t,iconOptions:kh,languageOptions:Sl}}});Sh.render=function(e,t,n,o,r,a){const i=Jn("provider-common"),s=Jn("i-radio"),l=Jn("i-radio-group");return lo(),po("div",gh,[bo(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"]),bo("div",mh,[bo("div",vh,[hh,(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),bo("div",bh,[yh,bo(l,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),bo("div",xh,[wh,bo(l,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:Wt((()=>[(lo(!0),po(no,null,Ko(e.languageOptions,(e=>(lo(),po(s,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(lo(),po("p",_h," 首选语言和备选语言请选择不同的选项 ")):Oo("",!0),Oh])};const Th=Sh,Ch={class:"flex-col items-start"};const Eh=Object.entries(Ds[cs.VOCABULARY]).map((([e,t])=>({icon:t,key:e}))),Lh=Bn({name:"VocabularySettings",components:{ProviderCommon:dv},setup:()=>({form:Ul.config[cs.VOCABULARY],iconOptions:Eh})});Lh.render=function(e,t,n,o,r,a){const i=Jn("provider-common");return lo(),po("div",Ch,[bo(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"])])};const Ah=Bn({name:"SettingPage",components:{ITabs:Rg,ITab:Ng,ITabsItems:Vg,ITabItem:Bg,ModalComponent:qg,About:Jg,CoreSetting:Jm,HotKey:av,Iciba:gv,GoogleDict:wv,GoogleTranslate:zv,BaiduTranslate:Xv,SougouTranslate:ch,UrbanDictionary:fh,BingTranslate:Th,Vocabulary:Lh},setup:()=>({state:$e({tab:1}),visible:qo((()=>ig.state.setting)),handleCloseSetting:()=>{ig.closeSettings()}})});n(1575);Ah.render=Pg,Ah.__scopeId="data-v-26ec9275";const Ih=Ah,Mh=Qt("data-v-6b9c327f");Jt("data-v-6b9c327f");const Ph={class:"history-window flex-col bg-white shadow-8"},jh=bo("div",{class:"px-4 py-3 border-b border-grey-300 font-medium"}," 查词历史记录 ",-1),Dh={class:"flex-col flex-1"},Rh={key:0,class:"px-4 py-4 text-grey-400 text-14"},zh={key:1,class:"pt-2"},Uh={class:"flex items-center flex-1 w-0"},Nh={class:"text-grey-500 w-6 flex-none"},Gh={class:"flex items-center text-gray-800 text-16 mt-2px truncate"},Vh={class:"bg-grey-200 group-hover:bg-grey-300 px-2 rounded-4 truncate leading-relaxed"},Bh={class:"flex items-center flex-none text-grey-400 text-14 ml-1"},Hh={class:"ml-2"},Fh={class:"ml-2"},$h=bo("div",{class:"flex-1 w-full"},null,-1),Yh={class:"text-grey-400 text-14 p-4"},qh=wo(" 这里保存了最近的50条查词记录。 "),Wh=bo("div",null," 10分钟内相同的记录会合并为一条。 ",-1),Kh={key:0},Xh={key:0},Jh={key:1},Zh=wo(" 确定要清空历史记录? ");Zt();const Qh=Mh(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("Scrollable"),l=Jn("modal-component");return lo(),po(l,{open:e.visible,onClose:e.handleClose},{default:Mh((()=>[bo("div",Ph,[jh,bo(s,{class:"flex-1 h-0"},{default:Mh((({scrollBar:n})=>[bo("div",Dh,[e.list.length?Oo("",!0):(lo(),po("div",Rh," 暂无查词历史记录 ")),e.list.length?(lo(),po("div",zh)):Oo("",!0),(lo(!0),po(no,null,Ko(e.list,((t,o)=>(lo(),po("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},[bo("div",Uh,[bo("div",Nh,f(o+1)+". ",1),bo("div",{class:"hover:bg-grey-300 p-2 rounded-4 mr-2 ml-1 cursor-pointer",onClick:n=>e.handleItemClick(n,t)},[bo(i,{class:"flex-none",svg:e.getIcon(t.provider),size:24},null,8,["svg"])],8,["onClick"]),bo("div",Gh,[bo("span",Vh,f(t.word),1)])]),bo("div",Bh,[bo("div",Hh,f(e.PROVIDER_MAP[t.provider]),1),bo("div",Fh,[bo("span",{title:e.formatTimeFull(t.time)},f(e.formatTime(t.time)),9,["title"])])])],2)))),128)),$h,bo("div",Yh,[bo("div",null,[qh,bo("button",{class:"outline-none text-primary hover:underline",onClick:t[1]||(t[1]=(...t)=>e.handleExport&&e.handleExport(...t))}," 导出到控制台 ")]),Wh,e.list.length?(lo(),po("div",Kh,[e.state.showClearConfirm?Oo("",!0):(lo(),po("div",Xh,[bo("button",{class:"outline-none text-primary hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleClear&&e.handleClear(...t))}," 清空历史记录 ")])),e.state.showClearConfirm?(lo(),po("div",Jh,[Zh,bo("button",{class:"outline-none text-primary hover:underline",onClick:t[3]||(t[3]=(...t)=>e.handleClearCancel&&e.handleClearCancel(...t))}," 取消 "),bo("button",{class:"outline-none text-primary hover:underline ml-2",onClick:t[4]||(t[4]=(...t)=>e.handleClearConfirm&&e.handleClearConfirm(...t))}," 确定 ")])):Oo("",!0)])):Oo("",!0)])])])),_:1})])])),_:1},8,["open","onClose"])})),eb=Qt("data-v-22ad7e37");Jt("data-v-22ad7e37");const tb={key:0,class:"toast-box fixed flex flex-center text-white ease-in-out duration-300"};Zt();const nb=eb(((e,t,n,o,r,a)=>(lo(),po(hr,{name:"t"},{default:eb((()=>[e.state.visible?(lo(),po("div",tb,f(e.props.text),1)):Oo("",!0)])),_:1})))),ob=Bn({props:{text:{type:String,default:""},timeout:{type:Number,default:3e3},destroy:{type:Function,required:!0}},setup:e=>{const t=$e({visible:!1});return dn((()=>{t.visible=!0,setTimeout((()=>{t.visible=!1,setTimeout((()=>{e.destroy()}),3e3)}),e.timeout)})),{state:t,props:e}}});n(2823);ob.render=nb,ob.__scopeId="data-v-22ad7e37";const rb=ob,ab=Nl(),ib=$e({toasts:[]}),sb=rb;(()=>{const e=Bn({setup:()=>()=>bo("div",{class:"toast-container"},[ib.toasts.map((e=>bo(sb,{key:e.id,text:e.text,timeout:e.timeout,destroy:e.destroy},null)))])}),n=Jr({render:()=>Wo(e)}),o=document.createElement("div");n.mount(o),t.appendChild(o)})();const lb=(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:ab(),timeout:o,text:r,destroy:()=>{const e=ib.toasts.indexOf(a);ib.toasts.splice(e,1)}};ib.toasts.push(a)},cb=Bn({name:"HistoryModal",components:{ModalComponent:qg,Scrollable:Vc},setup:()=>{const e=$e({showClearConfirm:!1}),t=(e,t,n)=>{const o=String(e),r=o.length-n;return r<=0?o:`${t.repeat(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((()=>ig.state.history),(()=>Yf.loadHistory()));const o=qo((()=>Yf.state.list)),r=qo((()=>ig.state.history));return{PROVIDER_MAP:us,state:e,visible:r,list:o,getIcon:eg,handleClose:()=>{ig.closeHistory()},handleExport:async()=>{await Yf.loadHistory(),console.log(JSON.stringify(Yf.state.list,null,2)),lb({text:"已导出到控制台(F12查看)"})},handleItemClick:(e,t)=>{qa.emit({type:Ha.TRANSLATE,mouseEvent:e,word:t.word,param:{provider:t.provider}})},handleClear:()=>{e.showClearConfirm=!0},handleClearCancel:()=>{e.showClearConfirm=!1},handleClearConfirm:()=>{e.showClearConfirm=!1,Yf.clearHistory()},formatTime:e=>{const t=Date.now()-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(480);cb.render=Qh,cb.__scopeId="data-v-6b9c327f";const ub=cb,db=Qt("data-v-ea3555cc");Jt("data-v-ea3555cc");const pb={class:"google-dict-modal flex-col relative shadow-16"},fb={class:"fold-control flex absolute select-none z-20 shadow-2 opacity-75 hover:opacity-100 duration-200 ease-in-out bg-bg-5"},gb=bo("div",{class:"tooltip"}," less ",-1),mb=bo("div",{class:"split border-l border-grey-400"},null,-1),vb=bo("div",{class:"tooltip"}," more ",-1),hb={class:"modal-box flex-col flex-1 h-0 relative text-14 bg-white"},bb={key:0,class:"dictionary-data-box flex-col items-stretch"},yb={key:0,class:"entry-box flex-col items-stretch"};Zt();const xb=db(((e,t,n,o,r,a)=>{const i=Jn("i-icon"),s=Jn("entry"),l=Jn("usage-overtime"),c=Jn("scrollable"),u=Jn("modal-component");return lo(),po(u,{open:e.visible,onClose:e.handleCloseModal},{default:db((()=>[bo("div",pb,[bo("div",fb,[bo("div",{class:[{disable:!e.shrinkable},"control-btn flex flex-center relative"],onClick:t[1]||(t[1]=(...t)=>e.handleShrink&&e.handleShrink(...t))},[bo(i,{size:"20",svg:e.icon.minus},null,8,["svg"]),gb],2),mb,bo("div",{class:[{disable:!e.expandable},"control-btn flex flex-center"],onClick:t[2]||(t[2]=(...t)=>e.handleExpand&&e.handleExpand(...t))},[bo(i,{size:"20",svg:e.icon.plus},null,8,["svg"]),vb],2)]),bo("div",hb,[bo(c,{class:"flex-1 h-0"},{default:db((({scrollBar:t})=>[bo("div",{class:["content-box px-5 pt-5 pb-7",{"pr-5":!t,"pr-7":t}]},[e.state.containerData&&e.state.containerData.length?(lo(),po("div",bb,[(lo(!0),po(no,null,Ko(e.state.containerData,(t=>(lo(),po("div",{class:"dictionary-data-item",key:e.state.id+t.queryTerm},[t.entries&&t.entries.length?(lo(),po("div",yb,[(lo(!0),po(no,null,Ko(t.entries,((e,t)=>(lo(),po(s,{class:{"mt-5":0!==t},entry:e,key:e.entrySeqNo},null,8,["class","entry"])))),128))])):Oo("",!0),t.usageOverTimeImage?(lo(),po(l,{key:1,image:t.usageOverTimeImage,term:t.queryTerm},null,8,["image","term"])):Oo("",!0)])))),128))])):Oo("",!0)],2)])),_:1})])])])),_:1},8,["open","onClose"])})),wb=Qt("data-v-c0604a02");Jt("data-v-c0604a02");const _b={key:0,class:"placeholder text-grey-400 font-mono"};Zt();const Ob=wb(((e,t,n,o,r,a)=>(lo(),po("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?Oo("",!0):(lo(),po("span",_b," loading.... ")),e.state.data?(lo(),po("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"])):Oo("",!0)],6)))),kb=Bn({name:"GImageLoader",props:{url:{type:String,required:!0},height:{type:[Number,String],required:!0},width:{type:[Number,String],required:!0}},setup:e=>{const t=$e({data:""}),n=()=>{e.url&&(t.data="",(async e=>{const n=await as({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});if(si(n))throw new Error(n.left.type);const o=n.right.response,r=new FileReader;r.readAsDataURL(o),r.onloadend=()=>{t.data=r.result.replace("data:;base64,","data:image/png;base64,")}})(e.url))};return dn((()=>{n()})),vn((()=>e.url),(()=>{n()})),{props:e,state:t}}});n(8554);kb.render=Ob,kb.__scopeId="data-v-c0604a02";const Sb=kb,Tb={key:0,class:"usage-overtime mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},Cb={class:"usage-title text-grey-500 text-18"},Eb=wo(" Use over time for "),Lb={class:"bg-grey-500 text-white px-1"};const Ab=Bn({name:"GUsageOvertime",components:{imageLoader:Sb},props:{image:{type:null,required:!0},term:{type:String,required:!0}},setup:e=>({m:e.image})});Ab.render=function(e,t,n,o,r,a){const i=Jn("image-loader");return e.m?(lo(),po("div",Tb,[bo("div",Cb,[Eb,bo("span",Lb,f(e.term),1)]),bo("div",{class:"usage-img-wrapper mt-2 overflow-hidden",style:{height:e.m.tablet.height/2+"px",width:e.m.tablet.width/2+"px"}},[bo(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)])):Oo("",!0)};const Ib=Ab,Mb={class:"entry-item"},Pb={key:0,class:"sub-entry-lemma"},jb={key:1,class:"triggering-phrases text-grey-400"},Db={class:"headword flex flex-wrap items-center"},Rb={key:0,class:"headword-graph-index text-14 ml-2px"},zb={key:2,class:"sub-sense-list mt-1 flex-col items-stretch"},Ub={key:3,class:"sense-family-box flex-col items-stretch"},Nb={key:0,class:"poss italic"},Gb={key:1,class:"sense-family-label-set-box mb-1"},Vb={key:3,class:"sense-list flex-col items-stretch mt-2px"},Bb={key:4,class:"sub-entry-box"};const Hb={key:0,class:"label-set-box text-0 inline"};const Fb=Qt("data-v-7e84838f");Jt("data-v-7e84838f");const $b=bo("span",{class:"label-split",innerHTML:" "},null,-1),Yb={key:0,class:"tooltip rounded-5 absolute text-white select-none ease-in-out"},qb=bo("span",{class:"label-split text-0",innerHTML:" "},null,-1);Zt();const Wb=Fb(((e,t,n,o,r,a)=>e.labels&&e.labels.length?(lo(),po("div",{key:0,class:["label-box inline text-0",[e.colorClass,e.sizeClass]]},[(lo(!0),po(no,null,Ko(e.props.labels,((t,n)=>(lo(),po(no,{key:n},[bo("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)},[wo(f(t)+" ",1),$b,bo(hr,{name:"p"},{default:Fb((()=>[e.state.tipMap[t]?(lo(),po("div",Yb,f(e.type),1)):Oo("",!0)])),_:2},1024)],42,["onMouseover","onMouseleave"]),qb],64)))),128))],2)):Oo("",!0))),Kb=Bn({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=$e({tipMap:{}}),o=qo((()=>`${t.type}-label`)),r=qo((()=>`color-${t.color}`)),a=qo((()=>`size-${t.size}`));return vn((()=>t.labels),(()=>{n.tipMap=Ts()(t.labels.map((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(7908);Kb.render=Wb,Kb.__scopeId="data-v-7e84838f";const Xb=Kb,Jb=Bn({name:"GLabelSet",components:{labels:Xb},props:{labelSet:{type:null,required:!0},size:{type:String,default:"medium"},color:{type:String,default:""}},setup:e=>{const t=qo((()=>{const t=e.labelSet;if(!t)return!1;const n=Object.values(t);return n.length&&n.some((e=>null==e?void 0:e.length))}));return{props:e,isValid:t}}});Jb.render=function(e,t,n,o,r,a){const i=Jn("labels");return e.isValid?(lo(),po("div",Hb,[(lo(!0),po(no,null,Ko(Object.keys(e.props.labelSet),(t=>(lo(),po(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))])):Oo("",!0)};const Zb=Jb,Qb={key:0,class:"etymology-box mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},ey=bo("div",{class:"etymology-title text-grey-500 text-18"},"Origin",-1),ty={key:0,class:"etymology-img-box mt-2"},ny={class:"etymology-text mt-2 text-grey-500"};const oy=Bn({name:"GEtymology",components:{fragment:Pu,imageLoader:Sb},props:{etymology:{type:null,required:!0}},setup:e=>({props:e})});oy.render=function(e,t,n,o,r,a){const i=Jn("image-loader"),s=Jn("fragment");return e.props.etymology?(lo(),po("div",Qb,[ey,e.props.etymology.images?(lo(),po("div",ty,[bo(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"])])):Oo("",!0),bo("div",ny,[bo(s,{class:"etymology-frag",fragment:e.props.etymology.etymology.fragments},null,8,["fragment"])])])):Oo("",!0)};const ry=oy,ay={key:0,class:"dict-note my-2 flex-col items-stretch"},iy={class:"note-type-box flex mb-3px"};const sy=Bn({name:"GNote",components:{labels:Xb},props:{note:{type:null,required:!0}},setup:e=>({props:e})});sy.render=function(e,t,n,o,r,a){const i=Jn("labels");return e.props.note?(lo(),po("div",ay,[bo("div",iy,[bo(i,{class:"note-label-box",color:"plain",size:"large",labels:[e.props.note.type],type:"note"},null,8,["labels"])]),bo("div",{class:"note-text text-12 inline text-grey-500",innerHTML:e.props.note.text},null,8,["innerHTML"])])):Oo("",!0)};const ly=sy,cy=Qt("data-v-b981c738");Jt("data-v-b981c738");const uy={class:"sense-item flex"},dy={class:"sense-item-number text-right font-bold"},py={class:"sense-item-box flex-col flex-auto items-stretch"},fy={class:"definition-box flex-auto flex-col items-stretch"},gy={class:"difinition"},my={class:"sense-labels inline"},vy={key:0,class:"subsense-box"},hy={class:"subsense-number pr-2 text-grey-600"},by={class:"subsense-item-container flex-col flex-auto items-stretch"},yy={class:"subsense-definition"},xy=bo("span",{class:"split text-0"}," ",-1),wy={key:0,class:"subsense-labels inline"};Zt();const _y=cy(((e,t,n,o,r,a)=>{const i=Jn("label-set"),s=Jn("fragment"),l=Jn("labels"),c=Jn("example-groups"),u=Jn("thesaurus"),d=Jn("etymology"),p=Jn("foldable");return lo(),po("div",uy,[bo("div",dy,f(e.index+1)+". ",1),bo("div",py,[bo("div",fy,[bo("div",gy,[bo(i,{class:"sense-item-label",size:"medium","label-set":e.s.labelSet},null,8,["label-set"]),bo(s,{class:"difinition-text sense-frag",fragment:e.s.definition.fragments},null,8,["fragment"]),bo("div",my,[e.s.domainClasses&&e.s.domainClasses.length?(lo(),po(l,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.s.domainClasses,type:"domain"},null,8,["labels"])):Oo("",!0),e.s.semanticClasses&&e.s.semanticClasses.length?(lo(),po(l,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.s.semanticClasses,type:"semantic"},null,8,["labels"])):Oo("",!0)])]),bo(c,{"example-groups":e.combinedGroups},null,8,["example-groups"]),bo(u,{"thesaurus-entries":e.s.thesaurusEntries},null,8,["thesaurus-entries"]),e.s.subsenses&&e.s.subsenses.length?(lo(),po(p,{key:0,fold:e.subSenseFolded},{default:cy((()=>[e.s.subsenses&&e.s.subsenses.length?(lo(),po("div",vy,[(lo(!0),po(no,null,Ko(e.sense.subsenses,((e,t)=>(lo(),po("div",{class:"subsense-item flex mt-2px",key:t},[bo("div",hy,f(t+1)+") ",1),bo("div",by,[bo("div",yy,[bo(i,{class:"subsense-definition-label",size:"medium","label-set":e.labelSet},null,8,["label-set"]),xy,bo(s,{class:"subsense-frag",fragment:e.definition.fragments},null,8,["fragment"]),bo(d,{etymology:e.etymology},null,8,["etymology"]),e.domainClasses&&e.domainClasses.length&&e.semanticClasses&&e.semanticClasses.length?(lo(),po("div",wy,[e.domainClasses&&e.domainClasses.length?(lo(),po(l,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.domainClasses,type:"domain"},null,8,["labels"])):Oo("",!0),e.semanticClasses&&e.semanticClasses.length?(lo(),po(l,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.semanticClasses,type:"semantic"},null,8,["labels"])):Oo("",!0)])):Oo("",!0)]),bo(c,{"example-groups":e.exampleGroups},null,8,["example-groups"]),bo(u,{"thesaurus-entries":e.thesaurusEntries},null,8,["thesaurus-entries"])])])))),128))])):Oo("",!0)])),_:1},8,["fold"])):Oo("",!0)]),bo(d,{etymology:e.s.etymology},null,8,["etymology"])])])})),Oy=Qt("data-v-2759b815");Jt("data-v-2759b815");const ky={class:"thesaurus-box flex-col items-start"},Sy={key:0,class:"show-more-or-less inline cursor-pointer select-none"},Ty=wo(" [less] "),Cy=wo(" [more] "),Ey={class:"thesaurus-box ml-4"};Zt();const Ly=Oy(((e,t,n,o,r,a)=>{const i=Jn("ThesaurusRow"),s=Jn("foldable");return lo(),po(s,{fold:e.folded},{default:Oy((()=>[bo("div",ky,[(lo(),po(no,null,Ko(["synonyms","antonyms"],(t=>(lo(),po(no,null,[e.combined[t].length?(lo(),po("div",{class:"thesaurus-syn-ant",key:t},[bo("div",null,[bo("span",{class:{[`type-${t}`]:!0,"cursor-pointer":e.combined[t].length>1},onClick:n=>e.handleToggleMoreOrLess(e.combined[t])},[wo(f(t)+" ",1),e.combined[t].length>1?(lo(),po("span",Sy,[e.getShowMoreExpanded(e.combined[t])?(lo(),po(no,{key:0},[Ty],64)):Oo("",!0),e.getShowMoreExpanded(e.combined[t])?Oo("",!0):(lo(),po(no,{key:1},[Cy],64))])):Oo("",!0)],10,["onClick"])]),bo("div",Ey,[bo(i,{class:"mt-px",index:0,item:e.combined[t][0]},null,8,["item"]),e.combined[t].length>1?(lo(),po(s,{key:0,fold:!e.getShowMoreExpanded(e.combined[t])},{default:Oy((()=>[(lo(!0),po(no,null,Ko(e.combined[t].slice(1),((e,t)=>(lo(),po(i,{class:"mt-px",key:t,index:t+1,item:e},null,8,["index","item"])))),128))])),_:2},1032,["fold"])):Oo("",!0)])])):Oo("",!0)],64)))),64))])])),_:1},8,["fold"])}));var Ay=n(9020),Iy=n.n(Ay);const My={class:"thesaurus-row flex"},Py={class:"tw-index text-grey-500 mr-1"},jy={key:0,class:"nym-split inline pr-3px"};const Dy=Bn({name:"GThesaurusRow",components:{Labels:Xb,Foldable:Mm},props:{item:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>({props:e,handleNymClick:(e,t)=>{t.numEntries&&qa.emit({type:Ha.TRANSLATE,word:t.nym,param:{provider:cs.GOOGLE_DICT},mouseEvent:e})}})});Dy.render=function(e,t,n,o,r,a){const i=Jn("labels");return lo(),po("div",My,[bo("div",Py,f(e.props.index+1)+". ",1),bo("div",null,[e.props.item.register?(lo(),po(i,{key:0,class:"nym-register mr-1",type:"register",size:"small",labels:[e.props.item.register]},null,8,["labels"])):Oo("",!0),(lo(!0),po(no,null,Ko(e.props.item.nyms,((t,n)=>(lo(),po("div",{class:["nym-item inline-flex text-grey-400",{"is-core":t.isCore}],key:n},[bo("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?(lo(),po("div",jy," , ")):Oo("",!0)],2)))),128))])])};const Ry=Bn({name:"GThesaurus",components:{Labels:Xb,Foldable:Mm,ThesaurusRow:Dy},props:{thesaurusEntries:{type:null,default:()=>[]}},setup:e=>{const t=$e({showMoreSet:[]});vn((()=>e.thesaurusEntries),(()=>{t.showMoreSet=[]}),{immediate:!0});const n=qo((()=>{var t,n;return{synonyms:Iy()(t=e.thesaurusEntries.map((e=>e.synonyms)).filter(Boolean)).call(t,(e=>e)),antonyms:Iy()(n=e.thesaurusEntries.map((e=>e.antonyms)).filter(Boolean)).call(n,(e=>e))}})),o=qo((()=>Ul.config[cs.GOOGLE_DICT].foldStatus>=ms.FOLD_THESAURUS));return{t:e.thesaurusEntries,state:t,combined:n,folded:o,addQoute:e=>`"${e}"`,handleToggleMoreOrLess:e=>{const n=t.showMoreSet.indexOf(e);-1===n?t.showMoreSet.push(e):t.showMoreSet.splice(n,1)},getShowMoreExpanded:e=>t.showMoreSet.includes(e)}}});n(2904);Ry.render=Ly,Ry.__scopeId="data-v-2759b815";const zy=Ry,Uy={key:0,class:"example-group-box flex-col items-stretch"},Ny={key:0,class:"example-item-box flex-col items-stretch"};const Gy=Bn({name:"GExampleGroups",components:{labels:Xb,Foldable:Mm},props:{exampleGroups:{type:null,required:!0}},setup:e=>({props:e,folded:qo((()=>Ul.config[cs.GOOGLE_DICT].foldStatus>=ms.FOLD_EXAMPLES))})});Gy.render=function(e,t,n,o,r,a){const i=Jn("labels"),s=Jn("foldable");return lo(),po(s,{fold:e.folded},{default:Wt((()=>[e.props.exampleGroups&&e.props.exampleGroups.length?(lo(),po("div",Uy,[(lo(!0),po(no,null,Ko(e.props.exampleGroups,((e,t)=>(lo(),po("div",{class:"example-group-item flex-col items-stretch",key:t},[e.examples&&e.examples.length?(lo(),po("div",Ny,[(lo(!0),po(no,null,Ko(e.examples,((t,n)=>(lo(),po("div",{class:"example-item text-grey-500",key:n},[e.registers&&e.registers.length?(lo(),po(i,{key:0,class:"mr-1",color:"registers",labels:e.registers},null,8,["labels"])):Oo("",!0),bo("span",{innerHTML:`"${t}"`},null,8,["innerHTML"])])))),128))])):Oo("",!0)])))),128))])):Oo("",!0)])),_:1},8,["fold"])};const Vy=Bn({name:"GSenseItem",components:{labels:Xb,labelSet:Zb,thesaurus:zy,fragment:Pu,etymology:ry,exampleGroups:Gy,Foldable:Mm},props:{sense:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>{const t=qo((()=>{const t=e.sense.exampleGroups,n=e.sense.thesaurusEntries,o=null!=t?t:[],r=(null!=n?n:[]).map((e=>e.examples)).filter(Boolean).map((e=>e.filter((e=>!o.find((t=>!t.registers&&t.examples.includes(e))))))).filter((e=>e.length)).map((e=>({examples:e})));return[...o,...r]})),n=qo((()=>Ul.config[cs.GOOGLE_DICT].foldStatus>=ms.FOLD_SUBSENSE));return{s:e.sense,combinedGroups:t,subSenseFolded:n,store:Ul}}});n(8223);Vy.render=_y,Vy.__scopeId="data-v-b981c738";const By=Vy,Hy={class:"morph-units-box"},Fy={class:"morph-units-description inline"},$y={class:"morph-units-word-form font-bold inline"},Yy=bo("div",{class:"morph-units-split inline"},"; ",-1);const qy=Bn({name:"GMorphUnits",props:{morphUnits:{type:null,required:!0}},setup:e=>({props:e})});qy.render=function(e,t,n,o,r,a){return lo(),po("div",Hy,[(lo(!0),po(no,null,Ko(e.props.morphUnits,((e,t)=>(lo(),po("div",{class:"morph-units-item inline text-grey-500",title:e.formType.posTag,key:t},[bo("div",Fy,f(e.formType.description)+" ",1),bo("div",$y,f(e.wordForm),1),Yy],8,["title"])))),128))])};const Wy=Bn({name:"GEntry",components:{labels:Xb,labelSet:Zb,phonetics:Au,etymology:ry,note:ly,senseItem:By,morphUnit:qy},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,required:!0}},setup:e=>({e:e.entry,isSub:!!e.isSubentry})});Wy.render=function(e,t,n,o,r,a){const i=Jn("labels"),s=Jn("label-set"),l=Jn("phonetics"),c=Jn("note"),u=Jn("sense-item"),d=Jn("morph-unit"),p=Jn("etymology"),g=Jn("g-entry");return lo(),po("div",Mb,[e.isSub?(lo(),po("div",Pb,[wo(f(e.e.lemma)+" ",1),bo(i,{class:"entry-type-label-box",color:"plain",size:"medium",labels:[e.e.type],type:"entry-type"},null,8,["labels"])])):Oo("",!0),e.e.triggeringPhrases?(lo(),po("div",jb,[(lo(!0),po(no,null,Ko(e.e.triggeringPhrases,((t,n)=>(lo(),po("span",{class:"t-phrase-item",key:n},f(t)+f(n!==e.e.triggeringPhrases.length-1?",":""),1)))),128))])):Oo("",!0),bo("div",Db,[bo("div",{class:"headword-word text-28",title:e.e.locale},f(e.e.syllabifiedHeadword||e.e.headword),9,["title"]),e.e.homographIndex?(lo(),po("div",Rb,f(e.e.homographIndex),1)):Oo("",!0),e.e.labelSet?(lo(),po(s,{key:1,class:"entry-label-set ml-2",size:"large","label-set":e.e.labelSet},null,8,["label-set"])):Oo("",!0)]),bo(l,{class:"phonetics-box mb-1",phonetics:e.e.phonetics},null,8,["phonetics"]),bo(c,{note:e.e.note},null,8,["note"]),e.isSub&&e.e.senseFamily&&e.e.senseFamily.senses&&e.e.senseFamily.senses.length?(lo(),po("div",zb,[bo(s,{class:"sense-item-label",size:"medium","label-set":e.e.senseFamily.labelSet},null,8,["label-set"]),(lo(!0),po(no,null,Ko(e.e.senseFamily.senses,((e,t)=>(lo(),po(u,{class:["sense-item",{"mt-2":0!==t}],sense:e,index:t,key:t},null,8,["class","sense","index"])))),128))])):Oo("",!0),!e.isSub&&e.e.senseFamilies&&e.e.senseFamilies.length?(lo(),po("div",Ub,[(lo(!0),po(no,null,Ko(e.e.senseFamilies,((e,t)=>(lo(),po("div",{class:["sense-family-item flex-col items-stretch",{"mt-4":0!==t}],key:t},[bo(c,{note:e.note},null,8,["note"]),e.partsOfSpeechs&&e.partsOfSpeechs.length?(lo(),po("div",Nb,[(lo(!0),po(no,null,Ko(e.partsOfSpeechs,((e,t)=>(lo(),po("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))])):Oo("",!0),bo(l,{class:"phonetics-box",phonetics:e.phonetics},null,8,["phonetics"]),e.labelSet?(lo(),po("div",Gb,[bo(s,{class:"sense-family-label-set",size:"medium","label-set":e.labelSet},null,8,["label-set"])])):Oo("",!0),e.morphUnits&&e.morphUnits.length?(lo(),po(d,{key:2,"morph-units":e.morphUnits},null,8,["morph-units"])):Oo("",!0),e.senses&&e.senses.length?(lo(),po("div",Vb,[(lo(!0),po(no,null,Ko(e.senses,((e,t)=>(lo(),po(u,{class:"sense-item",sense:e,index:t,key:t},null,8,["sense","index"])))),128))])):Oo("",!0)],2)))),128))])):Oo("",!0),bo(p,{etymology:e.e.etymology},null,8,["etymology"]),e.e.subentries&&e.e.subentries.length?(lo(),po("div",Bb,[(lo(!0),po(no,null,Ko(e.e.subentries,((e,t)=>(lo(),po(g,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"])))),128))])):Oo("",!0)])};const Ky={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'},Xy=Bn({name:"GoogleDictModal",components:{ImageLoader:Sb,UsageOvertime:Ib,Entry:Wy,Scrollable:Vc,ModalComponent:qg},setup:()=>{const e=$e({containerData:null,id:0}),t=t=>{e.containerData=is(t.googleDictData),e.id+=1,_t((()=>{ig.openGoogleDictModal()}))};dn((()=>{qa.on({event:Ha.OPEN_GOOGLE_DICT_MODAL,listener:t})}));const n=qo((()=>ig.state.googleDictModal)),o=qo((()=>Ul.config[cs.GOOGLE_DICT].foldStatus<ms.FOLD_SUBSENSE)),r=qo((()=>Ul.config[cs.GOOGLE_DICT].foldStatus>ms.UNFOLD));return{state:e,visible:n,icon:Ky,shrinkable:o,expandable:r,handleCloseModal:()=>{ig.closeGoogleDictModal()},handleShrink:()=>{const e=Ul.config[cs.GOOGLE_DICT].foldStatus;Ul.config[cs.GOOGLE_DICT].foldStatus=vs[e]},handleExpand:()=>{const e=Ul.config[cs.GOOGLE_DICT].foldStatus;Ul.config[cs.GOOGLE_DICT].foldStatus=hs[e]}}}});n(7157);Xy.render=xb,Xy.__scopeId="data-v-ea3555cc";const Jy=Xy,Zy=e=>e>="a"&&e<="z"?e.toUpperCase():e,Qy=new Set,ex=[];let tx;const nx=()=>{ex.length=0};[["keydown",e=>{const t=Zy(e.key);e.repeat||ex.includes(t)||(ex.push(t),tx&&Array.from(Qy).forEach((t=>t([...ex],tx,(()=>e.stopPropagation())))))}],["keyup",e=>{const t=Zy(e.key);ex.includes(t)&&ex.splice(ex.indexOf(t),1)}],["blur",nx],["focus",nx],["mousemove",e=>{tx=e}]].forEach((e=>{window.addEventListener(e[0],e[1],!0)}));const ox=(e,t)=>e.length===t.length&&e.every((e=>t.includes(e))),rx=e=>{Qy.add(e)},ax=e=>{Qy.delete(e)},ix=ox,sx=e=>{const t=Ul.config,n=ps.find((n=>{const o=t[n];return o.enableHotkey&&ox(e,o.hotkey)}));return null!=n?n:null},lx=Bn({name:"IcibaAppRoot",components:{IcibaMain:(cx=ug,ux=[Ha.TRANSLATE,Ha.HOTKEY_SHOW,Ha.HOTKEY_TRANSLATE],Bn({name:"LazyLoadHoc"+(cx.name?`_${cx.name}`:""),setup:(e,t)=>{const n=$e({load:!1});return dn((()=>{const e=Array.isArray(ux)?ux:[ux],t=o=>{n.load||(n.load=!0,e.forEach((e=>{qa.off({event:e,listener:t})})),_t((()=>{qa.emit(o)})))};e.forEach((e=>{qa.on({event:e,listener:t})}))})),()=>n.load&&Wo(cx,{props:t.attrs})}})),IcibaCircle:vg,HistoryModal:ub,SettingPage:Ih,GoogleDictModal:Jy},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(!Ul.config.core.useHotkeyShowUp)return;ix(Ul.config.core.showUpHotkey,e)&&n&&(t(),qa.emit({type:Ha.HOTKEY_SHOW,mouseEvent:n,word:null!==(o=null===(r=window.getSelection())||void 0===r?void 0:$a()(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:$a()(a=r.toString()).call(a))&&void 0!==o?o:"";if(!t)return;const s=sx(e);if(s){const e=t;Jf.removeSelection(),n(),qa.emit({type:Ha.HIDE_CIRCLE}),qa.emit({type:Ha.HOTKEY_TRANSLATE,word:i,mouseEvent:e,provider:s})}})(e,r)};return dn((()=>{window.addEventListener("mouseup",o,!0),window.addEventListener("mousemove",r,!0),vn((()=>Ul.config.core.useHotkeyShowUp),(e=>{e?rx(a):ax(a)}),{immediate:!0}),((e,t)=>{GM_registerMenuCommand&&GM_registerMenuCommand(e,t)})("打开iciba划词翻译设置",(()=>{ig.openSettings()})),Nc()})),{refs:e}}});var cx,ux;n(9120),n(1079);lx.render=Ba,lx.__scopeId="data-v-a11345ba";const dx=lx;(async()=>{await Ul.loadConfig();const e=document.createElement("style");e.innerHTML=".iciba-root{all:initial}",document.head.appendChild(e);const n=Jr({render:()=>Wo(dx)});n.directive("ripple",ua),n.directive("no-overscroll",pa),n.component("i-checkbox-line",ya),n.component("i-checkbox",ba),n.component("i-radio-group",xa),n.component("i-radio",Ca),n.component("i-slider",Pa),n.component("i-hotkey-input",za),n.component("i-icon",Na);const o=document.createElement("div");t.appendChild(o),n.mount(o)})()})()})();
}