(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("element-plus"),require("vant")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus","vant"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o["Everright-formEditor"]={},o.Vue,o.elementPlus,o.Vant))})(this,function(exports,vue,elementPlus,vant){"use strict";const icon$1="",style$1="",index$4="";var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$1=freeGlobal$1||freeSelf||Function("return this")();const root$2=root$1;var Symbol$1=root$2.Symbol;const Symbol$2=Symbol$1;var objectProto$s=Object.prototype,hasOwnProperty$p=objectProto$s.hasOwnProperty,nativeObjectToString$3=objectProto$s.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(o){var e=hasOwnProperty$p.call(o,symToStringTag$1),n=o[symToStringTag$1];try{o[symToStringTag$1]=void 0;var r=!0}catch{}var i=nativeObjectToString$3.call(o);return r&&(e?o[symToStringTag$1]=n:delete o[symToStringTag$1]),i}var objectProto$r=Object.prototype,nativeObjectToString$2=objectProto$r.toString;function objectToString(o){return nativeObjectToString$2.call(o)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(o){return o==null?o===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(o)?getRawTag(o):objectToString(o)}function isObjectLike(o){return o!=null&&typeof o=="object"}var symbolTag$3="[object Symbol]";function isSymbol(o){return typeof o=="symbol"||isObjectLike(o)&&baseGetTag(o)==symbolTag$3}var NAN$2=0/0;function baseToNumber(o){return typeof o=="number"?o:isSymbol(o)?NAN$2:+o}function arrayMap(o,e){for(var n=-1,r=o==null?0:o.length,i=Array(r);++n0){if(++e>=HOT_COUNT)return arguments[0]}else e=0;return o.apply(void 0,arguments)}}var setData=shortOut(baseSetData$1);const setData$1=setData;var reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;function getWrapDetails(o){var e=o.match(reWrapDetails);return e?e[1].split(reSplitDetails):[]}var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(o,e){var n=e.length;if(!n)return o;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),o.replace(reWrapComment,`{ /* [wrapped with `+e+`] */ `)}function constant(o){return function(){return o}}var defineProperty=function(){try{var o=getNative(Object,"defineProperty");return o({},"",{}),o}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(o,e){return defineProperty$1(o,"toString",{configurable:!0,enumerable:!1,value:constant(e),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(o,e){for(var n=-1,r=o==null?0:o.length;++n-1}var WRAP_BIND_FLAG$7=1,WRAP_BIND_KEY_FLAG$6=2,WRAP_CURRY_FLAG$6=8,WRAP_CURRY_RIGHT_FLAG$3=16,WRAP_PARTIAL_FLAG$6=32,WRAP_PARTIAL_RIGHT_FLAG$3=64,WRAP_ARY_FLAG$4=128,WRAP_REARG_FLAG$3=256,WRAP_FLIP_FLAG$2=512,wrapFlags=[["ary",WRAP_ARY_FLAG$4],["bind",WRAP_BIND_FLAG$7],["bindKey",WRAP_BIND_KEY_FLAG$6],["curry",WRAP_CURRY_FLAG$6],["curryRight",WRAP_CURRY_RIGHT_FLAG$3],["flip",WRAP_FLIP_FLAG$2],["partial",WRAP_PARTIAL_FLAG$6],["partialRight",WRAP_PARTIAL_RIGHT_FLAG$3],["rearg",WRAP_REARG_FLAG$3]];function updateWrapDetails(o,e){return arrayEach(wrapFlags,function(n){var r="_."+n[0];e&n[1]&&!arrayIncludes(o,r)&&o.push(r)}),o.sort()}function setWrapToString(o,e,n){var r=e+"";return setToString$1(o,insertWrapDetails(r,updateWrapDetails(getWrapDetails(r),n)))}var WRAP_BIND_FLAG$6=1,WRAP_BIND_KEY_FLAG$5=2,WRAP_CURRY_BOUND_FLAG$1=4,WRAP_CURRY_FLAG$5=8,WRAP_PARTIAL_FLAG$5=32,WRAP_PARTIAL_RIGHT_FLAG$2=64;function createRecurry(o,e,n,r,i,s,a,u,l,c){var d=e&WRAP_CURRY_FLAG$5,h=d?a:void 0,f=d?void 0:a,p=d?s:void 0,m=d?void 0:s;e|=d?WRAP_PARTIAL_FLAG$5:WRAP_PARTIAL_RIGHT_FLAG$2,e&=~(d?WRAP_PARTIAL_RIGHT_FLAG$2:WRAP_PARTIAL_FLAG$5),e&WRAP_CURRY_BOUND_FLAG$1||(e&=~(WRAP_BIND_FLAG$6|WRAP_BIND_KEY_FLAG$5));var g=[o,e,i,p,h,m,f,u,l,c],v=n.apply(void 0,g);return isLaziable(o)&&setData$1(v,g),v.placeholder=r,setWrapToString(v,o,e)}function getHolder(o){var e=o;return e.placeholder}var MAX_SAFE_INTEGER$5=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(o,e){var n=typeof o;return e=e==null?MAX_SAFE_INTEGER$5:e,!!e&&(n=="number"||n!="symbol"&&reIsUint.test(o))&&o>-1&&o%1==0&&o1&&b.reverse(),d&&l<_&&(b.length=l),this&&this!==root$2&&this instanceof v&&(F=g||createCtor(F)),F.apply(E,b)}return v}function createCurry(o,e,n){var r=createCtor(o);function i(){for(var s=arguments.length,a=Array(s),u=s,l=getHolder(i);u--;)a[u]=arguments[u];var c=s<3&&a[0]!==l&&a[s-1]!==l?[]:replaceHolders(a,l);if(s-=c.length,s-1&&o%1==0&&o<=MAX_SAFE_INTEGER$4}function isArrayLike(o){return o!=null&&isLength$1(o.length)&&!isFunction$1(o)}function isIterateeCall(o,e,n){if(!isObject$2(n))return!1;var r=typeof e;return(r=="number"?isArrayLike(n)&&isIndex(e,n.length):r=="string"&&e in n)?eq(n[e],o):!1}function createAssigner(o){return baseRest(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=o.length>3&&typeof s=="function"?(i--,s):void 0,a&&isIterateeCall(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),e=Object(e);++r-1}function listCacheSet(o,e){var n=this.__data__,r=assocIndexOf(n,o);return r<0?(++this.size,n.push([o,e])):n[r][1]=e,this}function ListCache(o){var e=-1,n=o==null?0:o.length;for(this.clear();++e0&&n(u)?e>1?baseFlatten(u,e-1,n,r,i):arrayPush(i,u):r||(i[i.length]=u)}return i}function flatten(o){var e=o==null?0:o.length;return e?baseFlatten(o,1):[]}function flatRest(o){return setToString$1(overRest(o,void 0,flatten),o+"")}var at$3=flatRest(baseAt);const at$4=at$3;var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$e=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$d=objectProto$e.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$1(o){if(!isObjectLike(o)||baseGetTag(o)!=objectTag$3)return!1;var e=getPrototype$1(o);if(e===null)return!0;var n=hasOwnProperty$d.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&funcToString.call(n)==objectCtorString}var domExcTag="[object DOMException]",errorTag$2="[object Error]";function isError(o){if(!isObjectLike(o))return!1;var e=baseGetTag(o);return e==errorTag$2||e==domExcTag||typeof o.message=="string"&&typeof o.name=="string"&&!isPlainObject$1(o)}var attempt=baseRest(function(o,e){try{return apply(o,void 0,e)}catch(n){return isError(n)?n:new Error(n)}});const attempt$1=attempt;var FUNC_ERROR_TEXT$8="Expected a function";function before(o,e){var n;if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$8);return o=toInteger(o),function(){return--o>0&&(n=e.apply(this,arguments)),o<=1&&(e=void 0),n}}var WRAP_BIND_FLAG$1=1,WRAP_PARTIAL_FLAG$3=32,bind$1=baseRest(function(o,e,n){var r=WRAP_BIND_FLAG$1;if(n.length){var i=replaceHolders(n,getHolder(bind$1));r|=WRAP_PARTIAL_FLAG$3}return createWrap(o,r,e,n,i)});bind$1.placeholder={};const bind$2=bind$1;var bindAll=flatRest(function(o,e){return arrayEach(e,function(n){n=toKey(n),baseAssignValue(o,n,bind$2(o[n],o))}),o});const bindAll$1=bindAll;var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG$1=2,WRAP_PARTIAL_FLAG$2=32,bindKey=baseRest(function(o,e,n){var r=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG$1;if(n.length){var i=replaceHolders(n,getHolder(bindKey));r|=WRAP_PARTIAL_FLAG$2}return createWrap(e,r,o,n,i)});bindKey.placeholder={};const bindKey$1=bindKey;function baseSlice(o,e,n){var r=-1,i=o.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(i);++r=r?o:baseSlice(o,e,n)}var rsAstralRange$3="\\ud800-\\udfff",rsComboMarksRange$4="\\u0300-\\u036f",reComboHalfMarksRange$4="\\ufe20-\\ufe2f",rsComboSymbolsRange$4="\\u20d0-\\u20ff",rsComboRange$4=rsComboMarksRange$4+reComboHalfMarksRange$4+rsComboSymbolsRange$4,rsVarRange$3="\\ufe0e\\ufe0f",rsZWJ$3="\\u200d",reHasUnicode=RegExp("["+rsZWJ$3+rsAstralRange$3+rsComboRange$4+rsVarRange$3+"]");function hasUnicode(o){return reHasUnicode.test(o)}function asciiToArray(o){return o.split("")}var rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$3="\\u0300-\\u036f",reComboHalfMarksRange$3="\\ufe20-\\ufe2f",rsComboSymbolsRange$3="\\u20d0-\\u20ff",rsComboRange$3=rsComboMarksRange$3+reComboHalfMarksRange$3+rsComboSymbolsRange$3,rsVarRange$2="\\ufe0e\\ufe0f",rsAstral$1="["+rsAstralRange$2+"]",rsCombo$3="["+rsComboRange$3+"]",rsFitz$2="\\ud83c[\\udffb-\\udfff]",rsModifier$2="(?:"+rsCombo$3+"|"+rsFitz$2+")",rsNonAstral$2="[^"+rsAstralRange$2+"]",rsRegional$2="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$2="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$2="\\u200d",reOptMod$2=rsModifier$2+"?",rsOptVar$2="["+rsVarRange$2+"]?",rsOptJoin$2="(?:"+rsZWJ$2+"(?:"+[rsNonAstral$2,rsRegional$2,rsSurrPair$2].join("|")+")"+rsOptVar$2+reOptMod$2+")*",rsSeq$2=rsOptVar$2+reOptMod$2+rsOptJoin$2,rsSymbol$1="(?:"+[rsNonAstral$2+rsCombo$3+"?",rsCombo$3,rsRegional$2,rsSurrPair$2,rsAstral$1].join("|")+")",reUnicode$1=RegExp(rsFitz$2+"(?="+rsFitz$2+")|"+rsSymbol$1+rsSeq$2,"g");function unicodeToArray(o){return o.match(reUnicode$1)||[]}function stringToArray(o){return hasUnicode(o)?unicodeToArray(o):asciiToArray(o)}function createCaseFirst(o){return function(e){e=toString$1(e);var n=hasUnicode(e)?stringToArray(e):void 0,r=n?n[0]:e.charAt(0),i=n?castSlice(n,1).join(""):e.slice(1);return r[o]()+i}}var upperFirst=createCaseFirst("toUpperCase");const upperFirst$1=upperFirst;function capitalize(o){return upperFirst$1(toString$1(o).toLowerCase())}function arrayReduce(o,e,n,r){var i=-1,s=o==null?0:o.length;for(r&&s&&(n=o[++i]);++i=e?o:e)),o}function clamp(o,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=toNumber(n),n=n===n?n:0),e!==void 0&&(e=toNumber(e),e=e===e?e:0),baseClamp(toNumber(o),e,n)}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(o){var e=this.__data__,n=e.delete(o);return this.size=e.size,n}function stackGet(o){return this.__data__.get(o)}function stackHas(o){return this.__data__.has(o)}var LARGE_ARRAY_SIZE$2=200;function stackSet(o,e){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!Map$2||r.lengthu))return!1;var c=s.get(o),d=s.get(e);if(c&&d)return c==e&&d==o;var h=-1,f=!0,p=n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(s.set(o,e),s.set(e,o);++h=e||E<0||h&&F>=s}function _(){var C=now$2();if(v(C))return b(C);u=setTimeout(_,g(C))}function b(C){return u=void 0,f&&r?p(C):(r=i=void 0,a)}function y(){u!==void 0&&clearTimeout(u),c=0,r=l=i=u=void 0}function A(){return u===void 0?a:b(now$2())}function k(){var C=now$2(),E=v(C);if(r=arguments,i=this,l=C,E){if(u===void 0)return m(l);if(h)return clearTimeout(u),u=setTimeout(_,e),p(l)}return u===void 0&&(u=setTimeout(_,e)),a}return k.cancel=y,k.flush=A,k}function defaultTo(o,e){return o==null||o!==o?e:o}var objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty,defaults$3=baseRest(function(o,e){o=Object(o);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&isIterateeCall(e[0],e[1],i)&&(r=1);++n=LARGE_ARRAY_SIZE$1&&(s=cacheHas,a=!1,e=new SetCache(e));e:for(;++i=0&&o.slice(n,i)==e}function baseToPairs(o,e){return arrayMap(e,function(n){return[n,o[n]]})}function setToPairs(o){var e=-1,n=Array(o.size);return o.forEach(function(r){n[++e]=[r,r]}),n}var mapTag$3="[object Map]",setTag$3="[object Set]";function createToPairs(o){return function(e){var n=getTag$1(e);return n==mapTag$3?mapToArray(e):n==setTag$3?setToPairs(e):baseToPairs(e,o(e))}}var toPairs=createToPairs(keys);const toPairs$1=toPairs;var toPairsIn=createToPairs(keysIn);const toPairsIn$1=toPairsIn;var htmlEscapes={"&":"&","<":"<",">":">",'"':""","'":"'"},escapeHtmlChar=basePropertyOf(htmlEscapes);const escapeHtmlChar$1=escapeHtmlChar;var reUnescapedHtml=/[&<>"']/g,reHasUnescapedHtml=RegExp(reUnescapedHtml.source);function escape$1(o){return o=toString$1(o),o&&reHasUnescapedHtml.test(o)?o.replace(reUnescapedHtml,escapeHtmlChar$1):o}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);function escapeRegExp(o){return o=toString$1(o),o&&reHasRegExpChar.test(o)?o.replace(reRegExpChar,"\\$&"):o}function arrayEvery(o,e){for(var n=-1,r=o==null?0:o.length;++ni?0:i+n),r=r===void 0||r>i?i:toInteger(r),r<0&&(r+=i),r=n>r?0:toLength(r);n-1?i[s?e[a]:a]:void 0}}var nativeMax$a=Math.max;function findIndex(o,e,n){var r=o==null?0:o.length;if(!r)return-1;var i=n==null?0:toInteger(n);return i<0&&(i=nativeMax$a(r+i,0)),baseFindIndex(o,baseIteratee(e),i)}var find$1=createFind(findIndex);const find$2=find$1;function baseFindKey(o,e,n){var r;return n(o,function(i,s,a){if(e(i,s,a))return r=s,!1}),r}function findKey$1(o,e){return baseFindKey(o,baseIteratee(e),baseForOwn)}var nativeMax$9=Math.max,nativeMin$a=Math.min;function findLastIndex(o,e,n){var r=o==null?0:o.length;if(!r)return-1;var i=r-1;return n!==void 0&&(i=toInteger(n),i=n<0?nativeMax$9(r+i,0):nativeMin$a(i,r-1)),baseFindIndex(o,baseIteratee(e),i,!0)}var findLast=createFind(findLastIndex);const findLast$1=findLast;function findLastKey(o,e){return baseFindKey(o,baseIteratee(e),baseForOwnRight)}function head(o){return o&&o.length?o[0]:void 0}function baseMap(o,e){var n=-1,r=isArrayLike(o)?Array(o.length):[];return baseEach$1(o,function(i,s,a){r[++n]=e(i,s,a)}),r}function map(o,e){var n=isArray$2(o)?arrayMap:baseMap;return n(o,baseIteratee(e))}function flatMap(o,e){return baseFlatten(map(o,e),1)}var INFINITY$2=1/0;function flatMapDeep(o,e){return baseFlatten(map(o,e),INFINITY$2)}function flatMapDepth(o,e,n){return n=n===void 0?1:toInteger(n),baseFlatten(map(o,e),n)}var INFINITY$1=1/0;function flattenDeep(o){var e=o==null?0:o.length;return e?baseFlatten(o,INFINITY$1):[]}function flattenDepth(o,e){var n=o==null?0:o.length;return n?(e=e===void 0?1:toInteger(e),baseFlatten(o,e)):[]}var WRAP_FLIP_FLAG=512;function flip(o){return createWrap(o,WRAP_FLIP_FLAG)}var floor=createRound("floor");const floor$1=floor;var FUNC_ERROR_TEXT$4="Expected a function",WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG$1=32,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG$1=256;function createFlow(o){return flatRest(function(e){var n=e.length,r=n,i=LodashWrapper.prototype.thru;for(o&&e.reverse();r--;){var s=e[r];if(typeof s!="function")throw new TypeError(FUNC_ERROR_TEXT$4);if(i&&!a&&getFuncName(s)=="wrapper")var a=new LodashWrapper([],!0)}for(r=a?r:n;++re}function createRelationalOperation(o){return function(e,n){return typeof e=="string"&&typeof n=="string"||(e=toNumber(e),n=toNumber(n)),o(e,n)}}var gt$2=createRelationalOperation(baseGt);const gt$3=gt$2;var gte$1=createRelationalOperation(function(o,e){return o>=e});const gte$2=gte$1;var objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function baseHas(o,e){return o!=null&&hasOwnProperty$6.call(o,e)}function has(o,e){return o!=null&&hasPath(o,e,baseHas)}var nativeMax$8=Math.max,nativeMin$9=Math.min;function baseInRange(o,e,n){return o>=nativeMin$9(e,n)&&o-1:!!i&&baseIndexOf(o,e,n)>-1}var nativeMax$6=Math.max;function indexOf$1(o,e,n){var r=o==null?0:o.length;if(!r)return-1;var i=n==null?0:toInteger(n);return i<0&&(i=nativeMax$6(r+i,0)),baseIndexOf(o,e,i)}function initial(o){var e=o==null?0:o.length;return e?baseSlice(o,0,-1):[]}var nativeMin$8=Math.min;function baseIntersection(o,e,n){for(var r=n?arrayIncludesWith:arrayIncludes,i=o[0].length,s=o.length,a=s,u=Array(s),l=1/0,c=[];a--;){var d=o[a];a&&e&&(d=arrayMap(d,baseUnary(e))),l=nativeMin$8(d.length,l),u[a]=!n&&(e||i>=120&&d.length>=120)?new SetCache(a&&d):void 0}d=o[0];var h=-1,f=u[0];e:for(;++h=-MAX_SAFE_INTEGER$3&&o<=MAX_SAFE_INTEGER$3}function isUndefined$1(o){return o===void 0}var weakMapTag="[object WeakMap]";function isWeakMap(o){return isObjectLike(o)&&getTag$1(o)==weakMapTag}var weakSetTag="[object WeakSet]";function isWeakSet(o){return isObjectLike(o)&&baseGetTag(o)==weakSetTag}var CLONE_DEEP_FLAG$3=1;function iteratee(o){return baseIteratee(typeof o=="function"?o:baseClone(o,CLONE_DEEP_FLAG$3))}var arrayProto$4=Array.prototype,nativeJoin=arrayProto$4.join;function join$1(o,e){return o==null?"":nativeJoin.call(o,e)}var kebabCase=createCompounder(function(o,e,n){return o+(n?"-":"")+e.toLowerCase()});const kebabCase$1=kebabCase;var keyBy=createAggregator(function(o,e,n){baseAssignValue(o,n,e)});const keyBy$1=keyBy;function strictLastIndexOf(o,e,n){for(var r=n+1;r--;)if(o[r]===e)return r;return r}var nativeMax$5=Math.max,nativeMin$7=Math.min;function lastIndexOf(o,e,n){var r=o==null?0:o.length;if(!r)return-1;var i=r;return n!==void 0&&(i=toInteger(n),i=i<0?nativeMax$5(r+i,0):nativeMin$7(i,r-1)),e===e?strictLastIndexOf(o,e,i):baseFindIndex(o,baseIsNaN,i,!0)}var lowerCase=createCompounder(function(o,e,n){return o+(n?" ":"")+e.toLowerCase()});const lowerCase$1=lowerCase;var lowerFirst=createCaseFirst("toLowerCase");const lowerFirst$1=lowerFirst;function baseLt(o,e){return o=this.__values__.length,e=o?void 0:this.__values__[this.__index__++];return{done:o,value:e}}function baseNth(o,e){var n=o.length;if(!!n)return e+=e<0?n:0,isIndex(e,n)?o[e]:void 0}function nth(o,e){return o&&o.length?baseNth(o,toInteger(e)):void 0}function nthArg(o){return o=toInteger(o),baseRest(function(e){return baseNth(e,o)})}function baseUnset(o,e){return e=castPath(e,o),o=parent(o,e),o==null||delete o[toKey(last(e))]}function customOmitClone(o){return isPlainObject$1(o)?void 0:o}var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,omit=flatRest(function(o,e){var n={};if(o==null)return n;var r=!1;e=arrayMap(e,function(s){return s=castPath(s,o),r||(r=s.length>1),s}),copyObject(o,getAllKeysIn(o),n),r&&(n=baseClone(n,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var i=e.length;i--;)baseUnset(n,e[i]);return n});const omit$1=omit;function baseSet(o,e,n,r){if(!isObject$2(o))return o;e=castPath(e,o);for(var i=-1,s=e.length,a=s-1,u=o;u!=null&&++ie||s&&a&&l&&!u&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!s&&!c&&o=u)return l;var c=n[r];return l*(c=="desc"?-1:1)}}return o.index-e.index}function baseOrderBy(o,e,n){e.length?e=arrayMap(e,function(s){return isArray$2(s)?function(a){return baseGet(a,s.length===1?s[0]:s)}:s}):e=[identity];var r=-1;e=arrayMap(e,baseUnary(baseIteratee));var i=baseMap(o,function(s,a,u){var l=arrayMap(e,function(c){return c(s)});return{criteria:l,index:++r,value:s}});return baseSortBy(i,function(s,a){return compareMultiple(s,a,n)})}function orderBy(o,e,n,r){return o==null?[]:(isArray$2(e)||(e=e==null?[]:[e]),n=r?void 0:n,isArray$2(n)||(n=n==null?[]:[n]),baseOrderBy(o,e,n))}function createOver(o){return flatRest(function(e){return e=arrayMap(e,baseUnary(baseIteratee)),baseRest(function(n){var r=this;return o(e,function(i){return apply(i,r,n)})})})}var over=createOver(arrayMap);const over$1=over;var castRest=baseRest;const castRest$1=castRest;var nativeMin$6=Math.min,overArgs=castRest$1(function(o,e){e=e.length==1&&isArray$2(e[0])?arrayMap(e[0],baseUnary(baseIteratee)):arrayMap(baseFlatten(e,1),baseUnary(baseIteratee));var n=e.length;return baseRest(function(r){for(var i=-1,s=nativeMin$6(r.length,n);++iMAX_SAFE_INTEGER$2)return n;do e%2&&(n+=o),e=nativeFloor$3(e/2),e&&(o+=o);while(e);return n}var asciiSize=baseProperty("length");const asciiSize$1=asciiSize;var rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeSize(o){for(var e=reUnicode.lastIndex=0;reUnicode.test(o);)++e;return e}function stringSize(o){return hasUnicode(o)?unicodeSize(o):asciiSize$1(o)}var nativeCeil$2=Math.ceil;function createPadding(o,e){e=e===void 0?" ":baseToString(e);var n=e.length;if(n<2)return n?baseRepeat(e,o):e;var r=baseRepeat(e,nativeCeil$2(o/stringSize(e)));return hasUnicode(e)?castSlice(stringToArray(r),0,o).join(""):r.slice(0,o)}var nativeCeil$1=Math.ceil,nativeFloor$2=Math.floor;function pad(o,e,n){o=toString$1(o),e=toInteger(e);var r=e?stringSize(o):0;if(!e||r>=e)return o;var i=(e-r)/2;return createPadding(nativeFloor$2(i),n)+o+createPadding(nativeCeil$1(i),n)}function padEnd(o,e,n){o=toString$1(o),e=toInteger(e);var r=e?stringSize(o):0;return e&&r-1;)u!==o&&splice$1.call(u,l,1),splice$1.call(o,l,1);return o}function pullAll(o,e){return o&&o.length&&e&&e.length?basePullAll(o,e):o}var pull=baseRest(pullAll);const pull$1=pull;function pullAllBy(o,e,n){return o&&o.length&&e&&e.length?basePullAll(o,e,baseIteratee(n)):o}function pullAllWith(o,e,n){return o&&o.length&&e&&e.length?basePullAll(o,e,void 0,n):o}var arrayProto$2=Array.prototype,splice=arrayProto$2.splice;function basePullAt(o,e){for(var n=o?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==s){var s=i;isIndex(i)?splice.call(o,i,1):baseUnset(o,i)}}return o}var pullAt=flatRest(function(o,e){var n=o==null?0:o.length,r=baseAt(o,e);return basePullAt(o,arrayMap(e,function(i){return isIndex(i,n)?+i:i}).sort(compareAscending)),r});const pullAt$1=pullAt;var nativeFloor$1=Math.floor,nativeRandom$1=Math.random;function baseRandom(o,e){return o+nativeFloor$1(nativeRandom$1()*(e-o+1))}var freeParseFloat=parseFloat,nativeMin$5=Math.min,nativeRandom=Math.random;function random(o,e,n){if(n&&typeof n!="boolean"&&isIterateeCall(o,e,n)&&(e=n=void 0),n===void 0&&(typeof e=="boolean"?(n=e,e=void 0):typeof o=="boolean"&&(n=o,o=void 0)),o===void 0&&e===void 0?(o=0,e=1):(o=toFinite(o),e===void 0?(e=o,o=0):e=toFinite(e)),o>e){var r=o;o=e,e=r}if(n||o%1||e%1){var i=nativeRandom();return nativeMin$5(o+i*(e-o+freeParseFloat("1e-"+((i+"").length-1))),e)}return baseRandom(o,e)}var nativeCeil=Math.ceil,nativeMax$4=Math.max;function baseRange(o,e,n,r){for(var i=-1,s=nativeMax$4(nativeCeil((e-o)/(n||1)),0),a=Array(s);s--;)a[r?s:++i]=o,o+=n;return a}function createRange(o){return function(e,n,r){return r&&typeof r!="number"&&isIterateeCall(e,n,r)&&(n=r=void 0),e=toFinite(e),n===void 0?(n=e,e=0):n=toFinite(n),r=r===void 0?e1&&isIterateeCall(o,e[0],e[1])?e=[]:n>2&&isIterateeCall(e[0],e[1],e[2])&&(e=[e[0]]),baseOrderBy(o,baseFlatten(e,1),[])});const sortBy$1=sortBy;var MAX_ARRAY_LENGTH$4=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH$4-1,nativeFloor=Math.floor,nativeMin$4=Math.min;function baseSortedIndexBy(o,e,n,r){var i=0,s=o==null?0:o.length;if(s===0)return 0;e=n(e);for(var a=e!==e,u=e===null,l=isSymbol(e),c=e===void 0;i>>1;function baseSortedIndex(o,e,n){var r=0,i=o==null?r:o.length;if(typeof e=="number"&&e===e&&i<=HALF_MAX_ARRAY_LENGTH){for(;r>>1,a=o[s];a!==null&&!isSymbol(a)&&(n?a<=e:a>>0,n?(o=toString$1(o),o&&(typeof e=="string"||e!=null&&!isRegExp$2(e))&&(e=baseToString(e),!e&&hasUnicode(o))?castSlice(stringToArray(o),0,n):o.split(e,n)):[]}var FUNC_ERROR_TEXT$1="Expected a function",nativeMax$3=Math.max;function spread$1(o,e){if(typeof o!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return e=e==null?0:nativeMax$3(toInteger(e),0),baseRest(function(n){var r=n[e],i=castSlice(n,0,e);return r&&arrayPush(i,r),apply(o,this,i)})}var startCase=createCompounder(function(o,e,n){return o+(n?" ":"")+upperFirst$1(e)});const startCase$1=startCase;function startsWith(o,e,n){return o=toString$1(o),n=n==null?0:baseClamp(toInteger(n),0,o.length),e=baseToString(e),o.slice(n,n+e.length)==e}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}var subtract=createMathOperation(function(o,e){return o-e},0);const subtract$1=subtract;function sum(o){return o&&o.length?baseSum(o,identity):0}function sumBy(o,e){return o&&o.length?baseSum(o,baseIteratee(e)):0}function tail(o){var e=o==null?0:o.length;return e?baseSlice(o,1,e):[]}function take(o,e,n){return o&&o.length?(e=n||e===void 0?1:toInteger(e),baseSlice(o,0,e<0?0:e)):[]}function takeRight(o,e,n){var r=o==null?0:o.length;return r?(e=n||e===void 0?1:toInteger(e),e=r-e,baseSlice(o,e<0?0:e,r)):[]}function takeRightWhile(o,e){return o&&o.length?baseWhile(o,baseIteratee(e),!1,!0):[]}function takeWhile(o,e){return o&&o.length?baseWhile(o,baseIteratee(e)):[]}function tap(o,e){return e(o),o}var objectProto$2=Object.prototype,hasOwnProperty$3=objectProto$2.hasOwnProperty;function customDefaultsAssignIn(o,e,n,r){return o===void 0||eq(o,objectProto$2[n])&&!hasOwnProperty$3.call(r,n)?e:o}var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(o){return"\\"+stringEscapes[o]}var reInterpolate=/<%=([\s\S]+?)%>/g;const reInterpolate$1=reInterpolate;var reEscape=/<%-([\s\S]+?)%>/g;const reEscape$1=reEscape;var reEvaluate=/<%([\s\S]+?)%>/g;const reEvaluate$1=reEvaluate;var templateSettings={escape:reEscape$1,evaluate:reEvaluate$1,interpolate:reInterpolate$1,variable:"",imports:{_:{escape:escape$1}}};const templateSettings$1=templateSettings;var INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function template(o,e,n){var r=templateSettings$1.imports._.templateSettings||templateSettings$1;n&&isIterateeCall(o,e,n)&&(e=void 0),o=toString$1(o),e=extendWith({},e,r,customDefaultsAssignIn);var i=extendWith({},e.imports,r.imports,customDefaultsAssignIn),s=keys(i),a=baseValues(i,s),u,l,c=0,d=e.interpolate||reNoMatch,h="__p += '",f=RegExp((e.escape||reNoMatch).source+"|"+d.source+"|"+(d===reInterpolate$1?reEsTemplate:reNoMatch).source+"|"+(e.evaluate||reNoMatch).source+"|$","g"),p=hasOwnProperty$2.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+` `:"";o.replace(f,function(v,_,b,y,A,k){return b||(b=y),h+=o.slice(c,k).replace(reUnescapedString,escapeStringChar),_&&(u=!0,h+=`' + __e(`+_+`) + '`),A&&(l=!0,h+=`'; `+A+`; __p += '`),b&&(h+=`' + ((__t = (`+b+`)) == null ? '' : __t) + '`),c=k+v.length,v}),h+=`'; `;var m=hasOwnProperty$2.call(e,"variable")&&e.variable;if(!m)h=`with (obj) { `+h+` } `;else if(reForbiddenIdentifierChars.test(m))throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);h=(l?h.replace(reEmptyStringLeading,""):h).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;"),h="function("+(m||"obj")+`) { `+(m?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(u?", __e = _.escape":"")+(l?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+h+`return __p }`;var g=attempt$1(function(){return Function(s,p+"return "+h).apply(void 0,a)});if(g.source=h,isError(g))throw g;return g}var FUNC_ERROR_TEXT="Expected a function";function throttle$2(o,e,n){var r=!0,i=!0;if(typeof o!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$2(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),debounce(o,e,{leading:r,maxWait:e,trailing:i})}function thru(o,e){return e(o)}var MAX_SAFE_INTEGER$1=9007199254740991,MAX_ARRAY_LENGTH$1=4294967295,nativeMin$3=Math.min;function times(o,e){if(o=toInteger(o),o<1||o>MAX_SAFE_INTEGER$1)return[];var n=MAX_ARRAY_LENGTH$1,r=nativeMin$3(o,MAX_ARRAY_LENGTH$1);e=castFunction(e),o-=MAX_ARRAY_LENGTH$1;for(var i=baseTimes(r,e);++n-1;);return n}function charsStartIndex(o,e){for(var n=-1,r=o.length;++n-1;);return n}function trim$1(o,e,n){if(o=toString$1(o),o&&(n||e===void 0))return baseTrim(o);if(!o||!(e=baseToString(e)))return o;var r=stringToArray(o),i=stringToArray(e),s=charsStartIndex(r,i),a=charsEndIndex(r,i)+1;return castSlice(r,s,a).join("")}function trimEnd(o,e,n){if(o=toString$1(o),o&&(n||e===void 0))return o.slice(0,trimmedEndIndex(o)+1);if(!o||!(e=baseToString(e)))return o;var r=stringToArray(o),i=charsEndIndex(r,stringToArray(e))+1;return castSlice(r,0,i).join("")}var reTrimStart=/^\s+/;function trimStart(o,e,n){if(o=toString$1(o),o&&(n||e===void 0))return o.replace(reTrimStart,"");if(!o||!(e=baseToString(e)))return o;var r=stringToArray(o),i=charsStartIndex(r,stringToArray(e));return castSlice(r,i).join("")}var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...",reFlags=/\w*$/;function truncate(o,e){var n=DEFAULT_TRUNC_LENGTH,r=DEFAULT_TRUNC_OMISSION;if(isObject$2(e)){var i="separator"in e?e.separator:i;n="length"in e?toInteger(e.length):n,r="omission"in e?baseToString(e.omission):r}o=toString$1(o);var s=o.length;if(hasUnicode(o)){var a=stringToArray(o);s=a.length}if(n>=s)return o;var u=n-stringSize(r);if(u<1)return r;var l=a?castSlice(a,0,u).join(""):o.slice(0,u);if(i===void 0)return l+r;if(a&&(u+=l.length-u),isRegExp$2(i)){if(o.slice(u).search(i)){var c,d=l;for(i.global||(i=RegExp(i.source,toString$1(reFlags.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var h=c.index;l=l.slice(0,h===void 0?u:h)}}else if(o.indexOf(baseToString(i),u)!=u){var f=l.lastIndexOf(i);f>-1&&(l=l.slice(0,f))}return l+r}function unary(o){return ary(o,1)}var htmlUnescapes={"&":"&","<":"<",">":">",""":'"',"'":"'"},unescapeHtmlChar=basePropertyOf(htmlUnescapes);const unescapeHtmlChar$1=unescapeHtmlChar;var reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reHasEscapedHtml=RegExp(reEscapedHtml.source);function unescape$1(o){return o=toString$1(o),o&&reHasEscapedHtml.test(o)?o.replace(reEscapedHtml,unescapeHtmlChar$1):o}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(o){return new Set$2(o)}:noop$1;const createSet$1=createSet;var LARGE_ARRAY_SIZE=200;function baseUniq(o,e,n){var r=-1,i=arrayIncludes,s=o.length,a=!0,u=[],l=u;if(n)a=!1,i=arrayIncludesWith;else if(s>=LARGE_ARRAY_SIZE){var c=e?null:createSet$1(o);if(c)return setToArray(c);a=!1,i=cacheHas,l=new SetCache}else l=e?[]:u;e:for(;++r1||this.__actions__.length||!(r instanceof LazyWrapper)||!isIndex(n)?this.thru(i):(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:thru,args:[i],thisArg:void 0}),new LodashWrapper(r,this.__chain__).thru(function(s){return e&&!s.length&&s.push(void 0),s}))});const at$2=wrapperAt;function wrapperChain(){return chain(this)}function wrapperReverse(){var o=this.__wrapped__;if(o instanceof LazyWrapper){var e=o;return this.__actions__.length&&(e=new LazyWrapper(this)),e=e.reverse(),e.__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(e,this.__chain__)}return this.thru(reverse)}function baseXor(o,e,n){var r=o.length;if(r<2)return r?baseUniq(o[0]):[];for(var i=-1,s=Array(r);++i1?o[e-1]:void 0;return n=typeof n=="function"?(o.pop(),n):void 0,unzipWith(o,n)});const zipWith$1=zipWith,array={chunk,compact,concat,difference:difference$1,differenceBy:differenceBy$1,differenceWith:differenceWith$1,drop:drop$1,dropRight,dropRightWhile,dropWhile,fill,findIndex,findLastIndex,first:head,flatten,flattenDeep,flattenDepth,fromPairs,head,indexOf:indexOf$1,initial,intersection:intersection$1,intersectionBy:intersectionBy$1,intersectionWith:intersectionWith$1,join:join$1,last,lastIndexOf,nth,pull:pull$1,pullAll,pullAllBy,pullAllWith,pullAt:pullAt$1,remove:remove$2,reverse,slice,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,tail,take,takeRight,takeRightWhile,takeWhile,union:union$1,unionBy:unionBy$1,unionWith:unionWith$1,uniq,uniqBy,uniqWith,unzip,unzipWith,without:without$1,xor:xor$1,xorBy:xorBy$1,xorWith:xorWith$1,zip:zip$1,zipObject,zipObjectDeep,zipWith:zipWith$1},collection={countBy:countBy$1,each:forEach$1,eachRight:forEachRight,every,filter,find:find$2,findLast:findLast$1,flatMap,flatMapDeep,flatMapDepth,forEach:forEach$1,forEachRight,groupBy:groupBy$1,includes,invokeMap:invokeMap$1,keyBy:keyBy$1,map,orderBy,partition:partition$1,reduce,reduceRight,reject,sample,sampleSize,shuffle,size,some,sortBy:sortBy$1},date={now:now$2},func={after,ary,before,bind:bind$2,bindKey:bindKey$1,curry,curryRight,debounce,defer:defer$1,delay:delay$2,flip,memoize:memoize$1,negate,once,overArgs:overArgs$1,partial:partial$1,partialRight:partialRight$1,rearg:rearg$1,rest,spread:spread$1,throttle:throttle$2,unary,wrap:wrap$1},lang={castArray,clone:clone$2,cloneDeep,cloneDeepWith,cloneWith,conformsTo,eq,gt:gt$3,gte:gte$2,isArguments:isArguments$1,isArray:isArray$2,isArrayBuffer:isArrayBuffer$2,isArrayLike,isArrayLikeObject,isBoolean:isBoolean$1,isBuffer:isBuffer$2,isDate:isDate$2,isElement:isElement$1,isEmpty:isEmpty$3,isEqual,isEqualWith,isError,isFinite,isFunction:isFunction$1,isInteger,isLength:isLength$1,isMap:isMap$1,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull:isNull$1,isNumber:isNumber$1,isObject:isObject$2,isObjectLike,isPlainObject:isPlainObject$1,isRegExp:isRegExp$2,isSafeInteger,isSet:isSet$1,isString:isString$1,isSymbol,isTypedArray:isTypedArray$2,isUndefined:isUndefined$1,isWeakMap,isWeakSet,lt:lt$3,lte:lte$2,toArray:toArray$2,toFinite,toInteger,toLength,toNumber,toPlainObject,toSafeInteger,toString:toString$1},math={add:add$1,ceil:ceil$1,divide:divide$1,floor:floor$1,max,maxBy,mean,meanBy,min,minBy,multiply:multiply$1,round:round$1,subtract:subtract$1,sum,sumBy},number={clamp,inRange,random},object={assign:assign$1,assignIn:extend$3,assignInWith:extendWith,assignWith:assignWith$1,at:at$4,create:create$1,defaults:defaults$4,defaultsDeep:defaultsDeep$1,entries:toPairs$1,entriesIn:toPairsIn$1,extend:extend$3,extendWith,findKey:findKey$1,findLastKey,forIn,forInRight,forOwn,forOwnRight,functions:functions$1,functionsIn,get,has,hasIn,invert:invert$1,invertBy:invertBy$1,invoke:invoke$1,keys,keysIn,mapKeys,mapValues,merge:merge$2,mergeWith:mergeWith$1,omit:omit$1,omitBy,pick:pick$1,pickBy,result:result$1,set,setWith,toPairs:toPairs$1,toPairsIn:toPairsIn$1,transform:transform$4,unset,update,updateWith,values,valuesIn},seq={at:at$2,chain,commit:wrapperCommit,lodash,next:wrapperNext,plant:wrapperPlant,reverse:wrapperReverse,tap,thru,toIterator:wrapperToIterator,toJSON:wrapperValue,value:wrapperValue,valueOf:wrapperValue,wrapperChain},string={camelCase:camelCase$2,capitalize,deburr,endsWith:endsWith$1,escape:escape$1,escapeRegExp,kebabCase:kebabCase$1,lowerCase:lowerCase$1,lowerFirst:lowerFirst$1,pad,padEnd,padStart,parseInt:parseInt$1,repeat,replace,snakeCase:snakeCase$1,split,startCase:startCase$1,startsWith,template,templateSettings:templateSettings$1,toLower,toUpper:toUpper$1,trim:trim$1,trimEnd,trimStart,truncate,unescape:unescape$1,upperCase:upperCase$1,upperFirst:upperFirst$1,words},util={attempt:attempt$1,bindAll:bindAll$1,cond,conforms,constant,defaultTo,flow:flow$1,flowRight:flowRight$1,identity,iteratee,matches:matches$2,matchesProperty,method:method$1,methodOf:methodOf$1,mixin:mixin$1,noop:noop$1,nthArg,over:over$1,overEvery:overEvery$1,overSome:overSome$1,property,propertyOf,range:range$1,rangeRight:rangeRight$1,stubArray,stubFalse,stubObject,stubString,stubTrue,times,toPath:toPath$1,uniqueId};function lazyClone(){var o=new LazyWrapper(this.__wrapped__);return o.__actions__=copyArray(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=copyArray(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=copyArray(this.__views__),o}function lazyReverse(){if(this.__filtered__){var o=new LazyWrapper(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}var nativeMax$1=Math.max,nativeMin$2=Math.min;function getView(o,e,n){for(var r=-1,i=n.length;++r * Build: `lodash modularize exports="es" -o ./` * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var VERSION$1="4.17.21",WRAP_BIND_KEY_FLAG=2,LAZY_FILTER_FLAG=1,LAZY_WHILE_FLAG=3,MAX_ARRAY_LENGTH=4294967295,arrayProto=Array.prototype,objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty,symIterator=Symbol$2?Symbol$2.iterator:void 0,nativeMax=Math.max,nativeMin=Math.min,mixin=function(o){return function(e,n,r){if(r==null){var i=isObject$2(n),s=i&&keys(n),a=s&&s.length&&baseFunctions(n,s);(a?a.length:i)||(r=n,n=e,e=this)}return o(e,n,r)}}(mixin$1);lodash.after=func.after,lodash.ary=func.ary,lodash.assign=object.assign,lodash.assignIn=object.assignIn,lodash.assignInWith=object.assignInWith,lodash.assignWith=object.assignWith,lodash.at=object.at,lodash.before=func.before,lodash.bind=func.bind,lodash.bindAll=util.bindAll,lodash.bindKey=func.bindKey,lodash.castArray=lang.castArray,lodash.chain=seq.chain,lodash.chunk=array.chunk,lodash.compact=array.compact,lodash.concat=array.concat,lodash.cond=util.cond,lodash.conforms=util.conforms,lodash.constant=util.constant,lodash.countBy=collection.countBy,lodash.create=object.create,lodash.curry=func.curry,lodash.curryRight=func.curryRight,lodash.debounce=func.debounce,lodash.defaults=object.defaults,lodash.defaultsDeep=object.defaultsDeep,lodash.defer=func.defer,lodash.delay=func.delay,lodash.difference=array.difference,lodash.differenceBy=array.differenceBy,lodash.differenceWith=array.differenceWith,lodash.drop=array.drop,lodash.dropRight=array.dropRight,lodash.dropRightWhile=array.dropRightWhile,lodash.dropWhile=array.dropWhile,lodash.fill=array.fill,lodash.filter=collection.filter,lodash.flatMap=collection.flatMap,lodash.flatMapDeep=collection.flatMapDeep,lodash.flatMapDepth=collection.flatMapDepth,lodash.flatten=array.flatten,lodash.flattenDeep=array.flattenDeep,lodash.flattenDepth=array.flattenDepth,lodash.flip=func.flip,lodash.flow=util.flow,lodash.flowRight=util.flowRight,lodash.fromPairs=array.fromPairs,lodash.functions=object.functions,lodash.functionsIn=object.functionsIn,lodash.groupBy=collection.groupBy,lodash.initial=array.initial,lodash.intersection=array.intersection,lodash.intersectionBy=array.intersectionBy,lodash.intersectionWith=array.intersectionWith,lodash.invert=object.invert,lodash.invertBy=object.invertBy,lodash.invokeMap=collection.invokeMap,lodash.iteratee=util.iteratee,lodash.keyBy=collection.keyBy,lodash.keys=keys,lodash.keysIn=object.keysIn,lodash.map=collection.map,lodash.mapKeys=object.mapKeys,lodash.mapValues=object.mapValues,lodash.matches=util.matches,lodash.matchesProperty=util.matchesProperty,lodash.memoize=func.memoize,lodash.merge=object.merge,lodash.mergeWith=object.mergeWith,lodash.method=util.method,lodash.methodOf=util.methodOf,lodash.mixin=mixin,lodash.negate=negate,lodash.nthArg=util.nthArg,lodash.omit=object.omit,lodash.omitBy=object.omitBy,lodash.once=func.once,lodash.orderBy=collection.orderBy,lodash.over=util.over,lodash.overArgs=func.overArgs,lodash.overEvery=util.overEvery,lodash.overSome=util.overSome,lodash.partial=func.partial,lodash.partialRight=func.partialRight,lodash.partition=collection.partition,lodash.pick=object.pick,lodash.pickBy=object.pickBy,lodash.property=util.property,lodash.propertyOf=util.propertyOf,lodash.pull=array.pull,lodash.pullAll=array.pullAll,lodash.pullAllBy=array.pullAllBy,lodash.pullAllWith=array.pullAllWith,lodash.pullAt=array.pullAt,lodash.range=util.range,lodash.rangeRight=util.rangeRight,lodash.rearg=func.rearg,lodash.reject=collection.reject,lodash.remove=array.remove,lodash.rest=func.rest,lodash.reverse=array.reverse,lodash.sampleSize=collection.sampleSize,lodash.set=object.set,lodash.setWith=object.setWith,lodash.shuffle=collection.shuffle,lodash.slice=array.slice,lodash.sortBy=collection.sortBy,lodash.sortedUniq=array.sortedUniq,lodash.sortedUniqBy=array.sortedUniqBy,lodash.split=string.split,lodash.spread=func.spread,lodash.tail=array.tail,lodash.take=array.take,lodash.takeRight=array.takeRight,lodash.takeRightWhile=array.takeRightWhile,lodash.takeWhile=array.takeWhile,lodash.tap=seq.tap,lodash.throttle=func.throttle,lodash.thru=thru,lodash.toArray=lang.toArray,lodash.toPairs=object.toPairs,lodash.toPairsIn=object.toPairsIn,lodash.toPath=util.toPath,lodash.toPlainObject=lang.toPlainObject,lodash.transform=object.transform,lodash.unary=func.unary,lodash.union=array.union,lodash.unionBy=array.unionBy,lodash.unionWith=array.unionWith,lodash.uniq=array.uniq,lodash.uniqBy=array.uniqBy,lodash.uniqWith=array.uniqWith,lodash.unset=object.unset,lodash.unzip=array.unzip,lodash.unzipWith=array.unzipWith,lodash.update=object.update,lodash.updateWith=object.updateWith,lodash.values=object.values,lodash.valuesIn=object.valuesIn,lodash.without=array.without,lodash.words=string.words,lodash.wrap=func.wrap,lodash.xor=array.xor,lodash.xorBy=array.xorBy,lodash.xorWith=array.xorWith,lodash.zip=array.zip,lodash.zipObject=array.zipObject,lodash.zipObjectDeep=array.zipObjectDeep,lodash.zipWith=array.zipWith,lodash.entries=object.toPairs,lodash.entriesIn=object.toPairsIn,lodash.extend=object.assignIn,lodash.extendWith=object.assignInWith,mixin(lodash,lodash),lodash.add=math.add,lodash.attempt=util.attempt,lodash.camelCase=string.camelCase,lodash.capitalize=string.capitalize,lodash.ceil=math.ceil,lodash.clamp=number.clamp,lodash.clone=lang.clone,lodash.cloneDeep=lang.cloneDeep,lodash.cloneDeepWith=lang.cloneDeepWith,lodash.cloneWith=lang.cloneWith,lodash.conformsTo=lang.conformsTo,lodash.deburr=string.deburr,lodash.defaultTo=util.defaultTo,lodash.divide=math.divide,lodash.endsWith=string.endsWith,lodash.eq=lang.eq,lodash.escape=string.escape,lodash.escapeRegExp=string.escapeRegExp,lodash.every=collection.every,lodash.find=collection.find,lodash.findIndex=array.findIndex,lodash.findKey=object.findKey,lodash.findLast=collection.findLast,lodash.findLastIndex=array.findLastIndex,lodash.findLastKey=object.findLastKey,lodash.floor=math.floor,lodash.forEach=collection.forEach,lodash.forEachRight=collection.forEachRight,lodash.forIn=object.forIn,lodash.forInRight=object.forInRight,lodash.forOwn=object.forOwn,lodash.forOwnRight=object.forOwnRight,lodash.get=object.get,lodash.gt=lang.gt,lodash.gte=lang.gte,lodash.has=object.has,lodash.hasIn=object.hasIn,lodash.head=array.head,lodash.identity=identity,lodash.includes=collection.includes,lodash.indexOf=array.indexOf,lodash.inRange=number.inRange,lodash.invoke=object.invoke,lodash.isArguments=lang.isArguments,lodash.isArray=isArray$2,lodash.isArrayBuffer=lang.isArrayBuffer,lodash.isArrayLike=lang.isArrayLike,lodash.isArrayLikeObject=lang.isArrayLikeObject,lodash.isBoolean=lang.isBoolean,lodash.isBuffer=lang.isBuffer,lodash.isDate=lang.isDate,lodash.isElement=lang.isElement,lodash.isEmpty=lang.isEmpty,lodash.isEqual=lang.isEqual,lodash.isEqualWith=lang.isEqualWith,lodash.isError=lang.isError,lodash.isFinite=lang.isFinite,lodash.isFunction=lang.isFunction,lodash.isInteger=lang.isInteger,lodash.isLength=lang.isLength,lodash.isMap=lang.isMap,lodash.isMatch=lang.isMatch,lodash.isMatchWith=lang.isMatchWith,lodash.isNaN=lang.isNaN,lodash.isNative=lang.isNative,lodash.isNil=lang.isNil,lodash.isNull=lang.isNull,lodash.isNumber=lang.isNumber,lodash.isObject=isObject$2,lodash.isObjectLike=lang.isObjectLike,lodash.isPlainObject=lang.isPlainObject,lodash.isRegExp=lang.isRegExp,lodash.isSafeInteger=lang.isSafeInteger,lodash.isSet=lang.isSet,lodash.isString=lang.isString,lodash.isSymbol=lang.isSymbol,lodash.isTypedArray=lang.isTypedArray,lodash.isUndefined=lang.isUndefined,lodash.isWeakMap=lang.isWeakMap,lodash.isWeakSet=lang.isWeakSet,lodash.join=array.join,lodash.kebabCase=string.kebabCase,lodash.last=last,lodash.lastIndexOf=array.lastIndexOf,lodash.lowerCase=string.lowerCase,lodash.lowerFirst=string.lowerFirst,lodash.lt=lang.lt,lodash.lte=lang.lte,lodash.max=math.max,lodash.maxBy=math.maxBy,lodash.mean=math.mean,lodash.meanBy=math.meanBy,lodash.min=math.min,lodash.minBy=math.minBy,lodash.stubArray=util.stubArray,lodash.stubFalse=util.stubFalse,lodash.stubObject=util.stubObject,lodash.stubString=util.stubString,lodash.stubTrue=util.stubTrue,lodash.multiply=math.multiply,lodash.nth=array.nth,lodash.noop=util.noop,lodash.now=date.now,lodash.pad=string.pad,lodash.padEnd=string.padEnd,lodash.padStart=string.padStart,lodash.parseInt=string.parseInt,lodash.random=number.random,lodash.reduce=collection.reduce,lodash.reduceRight=collection.reduceRight,lodash.repeat=string.repeat,lodash.replace=string.replace,lodash.result=object.result,lodash.round=math.round,lodash.sample=collection.sample,lodash.size=collection.size,lodash.snakeCase=string.snakeCase,lodash.some=collection.some,lodash.sortedIndex=array.sortedIndex,lodash.sortedIndexBy=array.sortedIndexBy,lodash.sortedIndexOf=array.sortedIndexOf,lodash.sortedLastIndex=array.sortedLastIndex,lodash.sortedLastIndexBy=array.sortedLastIndexBy,lodash.sortedLastIndexOf=array.sortedLastIndexOf,lodash.startCase=string.startCase,lodash.startsWith=string.startsWith,lodash.subtract=math.subtract,lodash.sum=math.sum,lodash.sumBy=math.sumBy,lodash.template=string.template,lodash.times=util.times,lodash.toFinite=lang.toFinite,lodash.toInteger=toInteger,lodash.toLength=lang.toLength,lodash.toLower=string.toLower,lodash.toNumber=lang.toNumber,lodash.toSafeInteger=lang.toSafeInteger,lodash.toString=lang.toString,lodash.toUpper=string.toUpper,lodash.trim=string.trim,lodash.trimEnd=string.trimEnd,lodash.trimStart=string.trimStart,lodash.truncate=string.truncate,lodash.unescape=string.unescape,lodash.uniqueId=util.uniqueId,lodash.upperCase=string.upperCase,lodash.upperFirst=string.upperFirst,lodash.each=collection.forEach,lodash.eachRight=collection.forEachRight,lodash.first=array.head,mixin(lodash,function(){var o={};return baseForOwn(lodash,function(e,n){hasOwnProperty$1.call(lodash.prototype,n)||(o[n]=e)}),o}(),{chain:!1}),lodash.VERSION=VERSION$1,(lodash.templateSettings=string.templateSettings).imports._=lodash,arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){lodash[o].placeholder=lodash}),arrayEach(["drop","take"],function(o,e){LazyWrapper.prototype[o]=function(n){n=n===void 0?1:nativeMax(toInteger(n),0);var r=this.__filtered__&&!e?new LazyWrapper(this):this.clone();return r.__filtered__?r.__takeCount__=nativeMin(n,r.__takeCount__):r.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:o+(r.__dir__<0?"Right":"")}),r},LazyWrapper.prototype[o+"Right"]=function(n){return this.reverse()[o](n).reverse()}}),arrayEach(["filter","map","takeWhile"],function(o,e){var n=e+1,r=n==LAZY_FILTER_FLAG||n==LAZY_WHILE_FLAG;LazyWrapper.prototype[o]=function(i){var s=this.clone();return s.__iteratees__.push({iteratee:baseIteratee(i),type:n}),s.__filtered__=s.__filtered__||r,s}}),arrayEach(["head","last"],function(o,e){var n="take"+(e?"Right":"");LazyWrapper.prototype[o]=function(){return this[n](1).value()[0]}}),arrayEach(["initial","tail"],function(o,e){var n="drop"+(e?"":"Right");LazyWrapper.prototype[o]=function(){return this.__filtered__?new LazyWrapper(this):this[n](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(o){return this.filter(o).head()},LazyWrapper.prototype.findLast=function(o){return this.reverse().find(o)},LazyWrapper.prototype.invokeMap=baseRest(function(o,e){return typeof o=="function"?new LazyWrapper(this):this.map(function(n){return baseInvoke(n,o,e)})}),LazyWrapper.prototype.reject=function(o){return this.filter(negate(baseIteratee(o)))},LazyWrapper.prototype.slice=function(o,e){o=toInteger(o);var n=this;return n.__filtered__&&(o>0||e<0)?new LazyWrapper(n):(o<0?n=n.takeRight(-o):o&&(n=n.drop(o)),e!==void 0&&(e=toInteger(e),n=e<0?n.dropRight(-e):n.take(e-o)),n)},LazyWrapper.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,function(o,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=lodash[r?"take"+(e=="last"?"Right":""):e],s=r||/^find/.test(e);!i||(lodash.prototype[e]=function(){var a=this.__wrapped__,u=r?[1]:arguments,l=a instanceof LazyWrapper,c=u[0],d=l||isArray$2(a),h=function(_){var b=i.apply(lodash,arrayPush([_],u));return r&&f?b[0]:b};d&&n&&typeof c=="function"&&c.length!=1&&(l=d=!1);var f=this.__chain__,p=!!this.__actions__.length,m=s&&!f,g=l&&!p;if(!s&&d){a=g?a:new LazyWrapper(this);var v=o.apply(a,u);return v.__actions__.push({func:thru,args:[h],thisArg:void 0}),new LodashWrapper(v,f)}return m&&g?o.apply(this,u):(v=this.thru(h),m?r?v.value()[0]:v.value():v)})}),arrayEach(["pop","push","shift","sort","splice","unshift"],function(o){var e=arrayProto[o],n=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",r=/^(?:pop|shift)$/.test(o);lodash.prototype[o]=function(){var i=arguments;if(r&&!this.__chain__){var s=this.value();return e.apply(isArray$2(s)?s:[],i)}return this[n](function(a){return e.apply(isArray$2(a)?a:[],i)})}}),baseForOwn(LazyWrapper.prototype,function(o,e){var n=lodash[e];if(n){var r=n.name+"";hasOwnProperty$1.call(realNames$1,r)||(realNames$1[r]=[]),realNames$1[r].push({name:e,func:n})}}),realNames$1[createHybrid(void 0,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash.prototype.at=seq.at,lodash.prototype.chain=seq.wrapperChain,lodash.prototype.commit=seq.commit,lodash.prototype.next=seq.next,lodash.prototype.plant=seq.plant,lodash.prototype.reverse=seq.reverse,lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=seq.value,lodash.prototype.first=lodash.prototype.head,symIterator&&(lodash.prototype[symIterator]=seq.toIterator);function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(o){for(var e=1;e"u"?"undefined":_typeof$2(window))==="object"&&(typeof document>"u"?"undefined":_typeof$2(document))==="object"&&document.nodeType===9,isProduction=process.env.NODE_ENV==="production";function warning(o,e){if(!isProduction){if(o)return;var n="Warning: "+e;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}function _typeof$1(o){return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(o)}function _toPrimitive(o,e){if(_typeof$1(o)!=="object"||o===null)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var r=n.call(o,e||"default");if(_typeof$1(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function _toPropertyKey(o){var e=_toPrimitive(o,"string");return _typeof$1(e)==="symbol"?e:String(e)}function _defineProperties(o,e){for(var n=0;n=0)&&(n[i]=o[i]);return n}var plainObjectConstrurctor={}.constructor;function cloneStyle(o){if(o==null||typeof o!="object")return o;if(Array.isArray(o))return o.map(cloneStyle);if(o.constructor!==plainObjectConstrurctor)return o;var e={};for(var n in o)e[n]=cloneStyle(o[n]);return e}function createRule(o,e,n){o===void 0&&(o="unnamed");var r=n.jss,i=cloneStyle(e),s=r.plugins.onCreateRule(o,i,n);return s||(o[0]==="@"&&process.env.NODE_ENV!=="production"&&warning(!1,"[JSS] Unknown rule "+o),null)}var join=function(e,n){for(var r="",i=0;i<+~=|^:(),"'`\s])/g,nativeEscape=typeof CSS<"u"&&CSS.escape,escape=function(o){return nativeEscape?nativeEscape(o):o.replace(escapeRegex,"\\$1")},BaseStyleRule=function(){function o(n,r,i){this.type="style",this.isProcessed=!1;var s=i.sheet,a=i.Renderer;this.key=n,this.options=i,this.style=r,s?this.renderer=s.renderer:a&&(this.renderer=new a)}var e=o.prototype;return e.prop=function(r,i,s){if(i===void 0)return this.style[r];var a=s?s.force:!1;if(!a&&this.style[r]===i)return this;var u=i;(!s||s.process!==!1)&&(u=this.options.jss.plugins.onChangeValue(i,r,this));var l=u==null||u===!1,c=r in this.style;if(l&&!c&&!a)return this;var d=l&&c;if(d?delete this.style[r]:this.style[r]=u,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,r):this.renderer.setProperty(this.renderable,r,u),this;var h=this.options.sheet;return h&&h.attached&&process.env.NODE_ENV!=="production"&&warning(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},o}(),StyleRule=function(o){_inheritsLoose(e,o);function e(r,i,s){var a;a=o.call(this,r,i,s)||this;var u=s.selector,l=s.scoped,c=s.sheet,d=s.generateId;return u?a.selectorText=u:l!==!1&&(a.id=d(_assertThisInitialized(_assertThisInitialized(a)),c),a.selectorText="."+escape(a.id)),a}var n=e.prototype;return n.applyTo=function(i){var s=this.renderer;if(s){var a=this.toJSON();for(var u in a)s.setProperty(i,u,a[u])}return this},n.toJSON=function(){var i={};for(var s in this.style){var a=this.style[s];typeof a!="object"?i[s]=a:Array.isArray(a)&&(i[s]=toCssValue(a))}return i},n.toString=function(i){var s=this.options.sheet,a=s?s.options.link:!1,u=a?_extends$1({},i,{allowEmpty:!0}):i;return toCss(this.selectorText,this.style,u)},_createClass(e,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var s=this.renderer,a=this.renderable;if(!(!a||!s)){var u=s.setSelector(a,i);u||s.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),e}(BaseStyleRule),pluginStyleRule={onCreateRule:function(e,n,r){return e[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new StyleRule(e,n,r)}},defaultToStringOptions={indent:1,children:!0},atRegExp=/@([\w-]+)/,ConditionalRule=function(){function o(n,r,i){this.type="conditional",this.isProcessed=!1,this.key=n;var s=n.match(atRegExp);this.at=s?s[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new RuleList(_extends$1({},i,{parent:this}));for(var a in r)this.rules.add(a,r[a]);this.rules.process()}var e=o.prototype;return e.getRule=function(r){return this.rules.get(r)},e.indexOf=function(r){return this.rules.indexOf(r)},e.addRule=function(r,i,s){var a=this.rules.add(r,i,s);return a?(this.options.jss.plugins.onProcessRule(a),a):null},e.replaceRule=function(r,i,s){var a=this.rules.replace(r,i,s);return a&&this.options.jss.plugins.onProcessRule(a),a},e.toString=function(r){r===void 0&&(r=defaultToStringOptions);var i=getWhitespaceSymbols(r),s=i.linebreak;if(r.indent==null&&(r.indent=defaultToStringOptions.indent),r.children==null&&(r.children=defaultToStringOptions.children),r.children===!1)return this.query+" {}";var a=this.rules.toString(r);return a?this.query+" {"+s+a+s+"}":""},o}(),keyRegExp=/@container|@media|@supports\s+/,pluginConditionalRule={onCreateRule:function(e,n,r){return keyRegExp.test(e)?new ConditionalRule(e,n,r):null}},defaultToStringOptions$1={indent:1,children:!0},nameRegExp=/@keyframes\s+([\w-]+)/,KeyframesRule=function(){function o(n,r,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var s=n.match(nameRegExp);s&&s[1]?this.name=s[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&warning(!1,"[JSS] Bad keyframes name "+n)),this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,u=i.sheet,l=i.generateId;this.id=a===!1?this.name:escape(l(this,u)),this.rules=new RuleList(_extends$1({},i,{parent:this}));for(var c in r)this.rules.add(c,r[c],_extends$1({},i,{parent:this}));this.rules.process()}var e=o.prototype;return e.toString=function(r){r===void 0&&(r=defaultToStringOptions$1);var i=getWhitespaceSymbols(r),s=i.linebreak;if(r.indent==null&&(r.indent=defaultToStringOptions$1.indent),r.children==null&&(r.children=defaultToStringOptions$1.children),r.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(r);return a&&(a=""+s+a+s),this.at+" "+this.id+" {"+a+"}"},o}(),keyRegExp$1=/@keyframes\s+/,refRegExp$1=/\$([\w-]+)/g,findReferencedKeyframe=function(e,n){return typeof e=="string"?e.replace(refRegExp$1,function(r,i){return i in n?n[i]:(process.env.NODE_ENV!=="production"&&warning(!1,'[JSS] Referenced keyframes rule "'+i+'" is not defined.'),r)}):e},replaceRef=function(e,n,r){var i=e[n],s=findReferencedKeyframe(i,r);s!==i&&(e[n]=s)},pluginKeyframesRule={onCreateRule:function(e,n,r){return typeof e=="string"&&keyRegExp$1.test(e)?new KeyframesRule(e,n,r):null},onProcessStyle:function(e,n,r){return n.type!=="style"||!r||("animation-name"in e&&replaceRef(e,"animation-name",r.keyframes),"animation"in e&&replaceRef(e,"animation",r.keyframes)),e},onChangeValue:function(e,n,r){var i=r.options.sheet;if(!i)return e;switch(n){case"animation":return findReferencedKeyframe(e,i.keyframes);case"animation-name":return findReferencedKeyframe(e,i.keyframes);default:return e}}},KeyframeRule=function(o){_inheritsLoose(e,o);function e(){return o.apply(this,arguments)||this}var n=e.prototype;return n.toString=function(i){var s=this.options.sheet,a=s?s.options.link:!1,u=a?_extends$1({},i,{allowEmpty:!0}):i;return toCss(this.key,this.style,u)},e}(BaseStyleRule),pluginKeyframeRule={onCreateRule:function(e,n,r){return r.parent&&r.parent.type==="keyframes"?new KeyframeRule(e,n,r):null}},FontFaceRule=function(){function o(n,r,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=r,this.options=i}var e=o.prototype;return e.toString=function(r){var i=getWhitespaceSymbols(r),s=i.linebreak;if(Array.isArray(this.style)){for(var a="",u=0;u=this.index){i.push(r);return}for(var a=0;as){i.splice(a,0,r);return}}},e.reset=function(){this.registry=[]},e.remove=function(r){var i=this.registry.indexOf(r);this.registry.splice(i,1)},e.toString=function(r){for(var i=r===void 0?{}:r,s=i.attached,a=_objectWithoutPropertiesLoose$1(i,["attached"]),u=getWhitespaceSymbols(a),l=u.linebreak,c="",d=0;dmaxRules&&process.env.NODE_ENV!=="production"&&warning(!1,"[JSS] You might have a memory leak. Rule counter is at "+n+".");var u="",l="";return a&&(a.options.classNamePrefix&&(l=a.options.classNamePrefix),a.options.jss.id!=null&&(u=String(a.options.jss.id))),e.minify?""+(l||"c")+moduleId+u+n:l+s.key+"-"+moduleId+(u?"-"+u:"")+"-"+n};return r},memoize=function(e){var n;return function(){return n||(n=e()),n}},getPropertyValue=function(e,n){try{return e.attributeStyleMap?e.attributeStyleMap.get(n):e.style.getPropertyValue(n)}catch{return""}},setProperty=function(e,n,r){try{var i=r;if(Array.isArray(r)&&(i=toCssValue(r)),e.attributeStyleMap)e.attributeStyleMap.set(n,i);else{var s=i?i.indexOf("!important"):-1,a=s>-1?i.substr(0,s-1):i;e.style.setProperty(n,a,s>-1?"important":"")}}catch{return!1}return!0},removeProperty=function(e,n){try{e.attributeStyleMap?e.attributeStyleMap.delete(n):e.style.removeProperty(n)}catch(r){process.env.NODE_ENV!=="production"&&warning(!1,'[JSS] DOMException "'+r.message+'" was thrown. Tried to remove property "'+n+'".')}},setSelector=function(e,n){return e.selectorText=n,e.selectorText===n},getHead=memoize(function(){return document.querySelector("head")});function findHigherSheet(o,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}function findHighestSheet(o,e){for(var n=o.length-1;n>=0;n--){var r=o[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}function findCommentNode(o){for(var e=getHead(),n=0;n0){var n=findHigherSheet(e,o);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=findHighestSheet(e,o),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=o.insertionPoint;if(r&&typeof r=="string"){var i=findCommentNode(r);if(i)return{parent:i.parentNode,node:i.nextSibling};process.env.NODE_ENV!=="production"&&warning(!1,'[JSS] Insertion point "'+r+'" not found.')}return!1}function insertStyle(o,e){var n=e.insertionPoint,r=findPrevNode(e);if(r!==!1&&r.parent){r.parent.insertBefore(o,r.node);return}if(n&&typeof n.nodeType=="number"){var i=n,s=i.parentNode;s?s.insertBefore(o,i.nextSibling):process.env.NODE_ENV!=="production"&&warning(!1,"[JSS] Insertion point is not in the DOM.");return}getHead().appendChild(o)}var getNonce=memoize(function(){var o=document.querySelector('meta[property="csp-nonce"]');return o?o.getAttribute("content"):null}),_insertRule=function(e,n,r){try{"insertRule"in e?e.insertRule(n,r):"appendRule"in e&&e.appendRule(n)}catch(i){return process.env.NODE_ENV!=="production"&&warning(!1,"[JSS] "+i.message),!1}return e.cssRules[r]},getValidRuleInsertionIndex=function(e,n){var r=e.cssRules.length;return n===void 0||n>r?r:n},createStyle=function(){var e=document.createElement("style");return e.textContent=` `,e},DomRenderer=function(){function o(n){this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.hasInsertedRules=!1,this.cssRules=[],n&&sheets.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},i=r.media,s=r.meta,a=r.element;this.element=a||createStyle(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),s&&this.element.setAttribute("data-meta",s);var u=getNonce();u&&this.element.setAttribute("nonce",u)}var e=o.prototype;return e.attach=function(){if(!(this.element.parentNode||!this.sheet)){insertStyle(this.element,this.sheet.options);var r=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&r&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(!!this.sheet){var r=this.element.parentNode;r&&r.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=` `)}},e.deploy=function(){var r=this.sheet;if(!!r){if(r.options.link){this.insertRules(r.rules);return}this.element.textContent=` `+r.toString()+` `}},e.insertRules=function(r,i){for(var s=0;s-1)return registerClass(o,e.split(" "));var i=o.options.parent;if(e[0]==="$"){var s=i.getRule(e.substr(1));return s?s===o?(process.env.NODE_ENV!=="production"&&warning(!1,`[JSS] Cyclic composition detected. `+o.toString()),!1):(i.classes[o.key]+=" "+i.classes[s.key],!0):(process.env.NODE_ENV!=="production"&&warning(!1,`[JSS] Referenced rule is not defined. `+o.toString()),!1)}return i.classes[o.key]+=" "+e,!0}function jssCompose(){function o(e,n){return"composes"in e&&(registerClass(n,e.composes),delete e.composes),e}return{onProcessStyle:o}}var uppercasePattern=/[A-Z]/g,msPattern=/^ms-/,cache$2={};function toHyphenLower(o){return"-"+o.toLowerCase()}function hyphenateStyleName(o){if(cache$2.hasOwnProperty(o))return cache$2[o];var e=o.replace(uppercasePattern,toHyphenLower);return cache$2[o]=msPattern.test(e)?"-"+e:e}function convertCase(o){var e={};for(var n in o){var r=n.indexOf("--")===0?n:hyphenateStyleName(n);e[r]=o[n]}return o.fallbacks&&(Array.isArray(o.fallbacks)?e.fallbacks=o.fallbacks.map(convertCase):e.fallbacks=convertCase(o.fallbacks)),e}function camelCase(){function o(n){if(Array.isArray(n)){for(var r=0;ro.length)&&(e=o.length);for(var n=0,r=new Array(e);n-1){var s=propMap$1[e];if(!Array.isArray(s))return prefix.js+pascalize(s)in n?prefix.css+s:!1;if(!i)return!1;for(var a=0;ar?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var i={},s=Object.keys(n).sort(o),a=0;a{let e={};const n={width:o.borderWidth,style:"solid",color:o.borderColor};switch(o.borderType){case 0:break;case 1:e={"&>table":{border:n,"& td":{border:n}}};break;case 2:e={"&>table":{border:n,"& td":{border:{style:"none"}}}};break;case 3:e={"&>table":{border:{style:"none"},"& td:not(`:last-child`)":{borderRight:n},"& tr:not(:last-child)":{"& td":{borderBottom:n}}}};break;case 4:e={"&>table":{border:{style:"none"},borderLeft:n,"& td":{border:{style:"none"}}}};break;case 5:e={"&>table":{border:{style:"none"},borderRight:n,"& td":{border:{style:"none"}}}};break;case 6:e={"&>table":{border:{style:"none"},borderTop:n,"& td":{border:{style:"none"}}}};break;case 7:e={"&>table":{border:{style:"none"},borderBottom:n,"& td":{border:{style:"none"}}}};break}return e},renderStyleSheets=(o,e,n)=>{const r=lodash.cloneDeep(o.style);return isShowKeys.forEach(i=>{i==="border"&&o.type==="table"?r[`isShow${lodash.upperFirst(i)}`]&&Object.assign(r,renderTableBorder(o.style)):r[`isShow${lodash.upperFirst(i)}`]||(delete r[i],i==="border"&&delete r.borderRadius,delete r[`isShow${lodash.upperFirst(i)}`])}),lodash.isObject(o.style.width)&&(delete r.width,r.width=o.style.width[n]),r.background&&r.background.image&&(r.background.image=`url(${r.background.image})`),sheet.addRule(e.toString(),r).id},useCss=(o,e)=>{const n=vue.ref(""),{uid:r}=vue.getCurrentInstance();return o.style&&vue.watch(o.style,i=>{lodash.isEmpty(i)||(n.value=renderStyleSheets(o,r,e))},{immediate:!0}),n},__vite_glob_0_0$3=Object.freeze(Object.defineProperty({__proto__:null,useCss},Symbol.toStringTag,{value:"Module"}));function bind(o,e){return function(){return o.apply(e,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(o=>e=>{const n=toString.call(e);return o[n]||(o[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=o=>(o=o.toLowerCase(),e=>kindOf(e)===o),typeOfTest=o=>e=>typeof e===o,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(o){return o!==null&&!isUndefined(o)&&o.constructor!==null&&!isUndefined(o.constructor)&&isFunction(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(o){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(o):e=o&&o.buffer&&isArrayBuffer(o.buffer),e}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=o=>o!==null&&typeof o=="object",isBoolean=o=>o===!0||o===!1,isPlainObject=o=>{if(kindOf(o)!=="object")return!1;const e=getPrototypeOf(o);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=o=>isObject(o)&&isFunction(o.pipe),isFormData=o=>{let e;return o&&(typeof FormData=="function"&&o instanceof FormData||isFunction(o.append)&&((e=kindOf(o))==="formdata"||e==="object"&&isFunction(o.toString)&&o.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(o,e,{allOwnKeys:n=!1}={}){if(o===null||typeof o>"u")return;let r,i;if(typeof o!="object"&&(o=[o]),isArray(o))for(r=0,i=o.length;r0;)if(i=n[r],e===i.toLowerCase())return i;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=o=>!isUndefined(o)&&o!==_global;function merge(){const{caseless:o}=isContextDefined(this)&&this||{},e={},n=(r,i)=>{const s=o&&findKey(e,i)||i;isPlainObject(e[s])&&isPlainObject(r)?e[s]=merge(e[s],r):isPlainObject(r)?e[s]=merge({},r):isArray(r)?e[s]=r.slice():e[s]=r};for(let r=0,i=arguments.length;r(forEach(e,(i,s)=>{n&&isFunction(i)?o[s]=bind(i,n):o[s]=i},{allOwnKeys:r}),o),stripBOM=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),inherits=(o,e,n,r)=>{o.prototype=Object.create(e.prototype,r),o.prototype.constructor=o,Object.defineProperty(o,"super",{value:e.prototype}),n&&Object.assign(o.prototype,n)},toFlatObject=(o,e,n,r)=>{let i,s,a;const u={};if(e=e||{},o==null)return e;do{for(i=Object.getOwnPropertyNames(o),s=i.length;s-- >0;)a=i[s],(!r||r(a,o,e))&&!u[a]&&(e[a]=o[a],u[a]=!0);o=n!==!1&&getPrototypeOf(o)}while(o&&(!n||n(o,e))&&o!==Object.prototype);return e},endsWith=(o,e,n)=>{o=String(o),(n===void 0||n>o.length)&&(n=o.length),n-=e.length;const r=o.indexOf(e,n);return r!==-1&&r===n},toArray$1=o=>{if(!o)return null;if(isArray(o))return o;let e=o.length;if(!isNumber(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=o[e];return n},isTypedArray=(o=>e=>o&&e instanceof o)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(o,e)=>{const r=(o&&o[Symbol.iterator]).call(o);let i;for(;(i=r.next())&&!i.done;){const s=i.value;e.call(o,s[0],s[1])}},matchAll=(o,e)=>{let n;const r=[];for(;(n=o.exec(e))!==null;)r.push(n);return r},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),hasOwnProperty=(({hasOwnProperty:o})=>(e,n)=>o.call(e,n))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(o,e)=>{const n=Object.getOwnPropertyDescriptors(o),r={};forEach(n,(i,s)=>{e(i,s,o)!==!1&&(r[s]=i)}),Object.defineProperties(o,r)},freezeMethods=o=>{reduceDescriptors(o,(e,n)=>{if(isFunction(o)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=o[n];if(!!isFunction(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet=(o,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return isArray(o)?r(o):r(String(o).split(e)),n},noop=()=>{},toFiniteNumber=(o,e)=>(o=+o,Number.isFinite(o)?o:e),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(o=16,e=ALPHABET.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;o--;)n+=e[Math.random()*r|0];return n};function isSpecCompliantForm(o){return!!(o&&isFunction(o.append)&&o[Symbol.toStringTag]==="FormData"&&o[Symbol.iterator])}const toJSONObject=o=>{const e=new Array(10),n=(r,i)=>{if(isObject(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const s=isArray(r)?[]:{};return forEach(r,(a,u)=>{const l=n(a,i+1);!isUndefined(l)&&(s[u]=l)}),e[i]=void 0,s}}return r};return n(o,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=o=>o&&(isObject(o)||isFunction(o))&&isFunction(o.then)&&isFunction(o.catch),utils$5={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isBoolean,isObject,isPlainObject,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend:extend$1,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(o,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=o,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}utils$5.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$5.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(o=>{descriptors[o]={value:o}}),Object.defineProperties(AxiosError,descriptors),Object.defineProperty(prototype$1,"isAxiosError",{value:!0}),AxiosError.from=(o,e,n,r,i,s)=>{const a=Object.create(prototype$1);return utils$5.toFlatObject(o,a,function(l){return l!==Error.prototype},u=>u!=="isAxiosError"),AxiosError.call(a,o.message,e,n,r,i),a.cause=o,a.name=o.name,s&&Object.assign(a,s),a};const httpAdapter=null;function isVisitable(o){return utils$5.isPlainObject(o)||utils$5.isArray(o)}function removeBrackets(o){return utils$5.endsWith(o,"[]")?o.slice(0,-2):o}function renderKey(o,e,n){return o?o.concat(e).map(function(i,s){return i=removeBrackets(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function isFlatArray(o){return utils$5.isArray(o)&&!o.some(isVisitable)}const predicates=utils$5.toFlatObject(utils$5,{},null,function(e){return/^is[A-Z]/.test(e)});function toFormData(o,e,n){if(!utils$5.isObject(o))throw new TypeError("target must be an object");e=e||new FormData,n=utils$5.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!utils$5.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||d,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&utils$5.isSpecCompliantForm(e);if(!utils$5.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(utils$5.isDate(m))return m.toISOString();if(!l&&utils$5.isBlob(m))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$5.isArrayBuffer(m)||utils$5.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,g,v){let _=m;if(m&&!v&&typeof m=="object"){if(utils$5.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(utils$5.isArray(m)&&isFlatArray(m)||(utils$5.isFileList(m)||utils$5.endsWith(g,"[]"))&&(_=utils$5.toArray(m)))return g=removeBrackets(g),_.forEach(function(y,A){!(utils$5.isUndefined(y)||y===null)&&e.append(a===!0?renderKey([g],A,s):a===null?g:g+"[]",c(y))}),!1}return isVisitable(m)?!0:(e.append(renderKey(v,g,s),c(m)),!1)}const h=[],f=Object.assign(predicates,{defaultVisitor:d,convertValue:c,isVisitable});function p(m,g){if(!utils$5.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));h.push(m),utils$5.forEach(m,function(_,b){(!(utils$5.isUndefined(_)||_===null)&&i.call(e,_,utils$5.isString(b)?b.trim():b,g,f))===!0&&p(_,g?g.concat(b):[b])}),h.pop()}}if(!utils$5.isObject(o))throw new TypeError("data must be an object");return p(o),e}function encode$1(o){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function AxiosURLSearchParams(o,e){this._pairs=[],o&&toFormData(o,this,e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(e,n){this._pairs.push([e,n])},prototype.toString=function(e){const n=e?function(r){return e.call(this,r,encode$1)}:encode$1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function encode(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(o,e,n){if(!e)return o;const r=n&&n.encode||encode,i=n&&n.serialize;let s;if(i?s=i(e,n):s=utils$5.isURLSearchParams(e)?e.toString():new AxiosURLSearchParams(e,n).toString(r),s){const a=o.indexOf("#");a!==-1&&(o=o.slice(0,a)),o+=(o.indexOf("?")===-1?"?":"&")+s}return o}class InterceptorManager{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){utils$5.forEach(this.handlers,function(r){r!==null&&e(r)})}}const InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,isStandardBrowserEnv=(()=>{let o;return typeof navigator<"u"&&((o=navigator.product)==="ReactNative"||o==="NativeScript"||o==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),isStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),platform={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv,isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(o,e){return toFormData(o,new platform.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return platform.isNode&&utils$5.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function parsePropPath(o){return utils$5.matchAll(/\w+|\[(\w*)]/g,o).map(e=>e[0]==="[]"?"":e[1]||e[0])}function arrayToObject(o){const e={},n=Object.keys(o);let r;const i=n.length;let s;for(r=0;r=n.length;return a=!a&&utils$5.isArray(i)?i.length:a,l?(utils$5.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!u):((!i[a]||!utils$5.isObject(i[a]))&&(i[a]=[]),e(n,r,i[a],s)&&utils$5.isArray(i[a])&&(i[a]=arrayToObject(i[a])),!u)}if(utils$5.isFormData(o)&&utils$5.isFunction(o.entries)){const n={};return utils$5.forEachEntry(o,(r,i)=>{e(parsePropPath(r),i,n,0)}),n}return null}const DEFAULT_CONTENT_TYPE={"Content-Type":void 0};function stringifySafely(o,e,n){if(utils$5.isString(o))try{return(e||JSON.parse)(o),utils$5.trim(o)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(o)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=utils$5.isObject(e);if(s&&utils$5.isHTMLForm(e)&&(e=new FormData(e)),utils$5.isFormData(e))return i&&i?JSON.stringify(formDataToJSON(e)):e;if(utils$5.isArrayBuffer(e)||utils$5.isBuffer(e)||utils$5.isStream(e)||utils$5.isFile(e)||utils$5.isBlob(e))return e;if(utils$5.isArrayBufferView(e))return e.buffer;if(utils$5.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(e,this.formSerializer).toString();if((u=utils$5.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return toFormData(u?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),stringifySafely(e)):e}],transformResponse:[function(e){const n=this.transitional||defaults$1.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(e&&utils$5.isString(e)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(u){if(a)throw u.name==="SyntaxError"?AxiosError.from(u,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$5.forEach(["delete","get","head"],function(e){defaults$1.headers[e]={}}),utils$5.forEach(["post","put","patch"],function(e){defaults$1.headers[e]=utils$5.merge(DEFAULT_CONTENT_TYPE)});const defaults$2=defaults$1,ignoreDuplicateOf=utils$5.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=o=>{const e={};let n,r,i;return o&&o.split(` `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||e[n]&&ignoreDuplicateOf[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},$internals=Symbol("internals");function normalizeHeader(o){return o&&String(o).trim().toLowerCase()}function normalizeValue(o){return o===!1||o==null?o:utils$5.isArray(o)?o.map(normalizeValue):String(o)}function parseTokens(o){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(o);)e[r[1]]=r[2];return e}const isValidHeaderName=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function matchHeaderValue(o,e,n,r,i){if(utils$5.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!utils$5.isString(e)){if(utils$5.isString(r))return e.indexOf(r)!==-1;if(utils$5.isRegExp(r))return r.test(e)}}function formatHeader(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function buildAccessors(o,e){const n=utils$5.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(o,r+n,{value:function(i,s,a){return this[r].call(this,e,i,s,a)},configurable:!0})})}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(u,l,c){const d=normalizeHeader(l);if(!d)throw new Error("header name must be a non-empty string");const h=utils$5.findKey(i,d);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=normalizeValue(u))}const a=(u,l)=>utils$5.forEach(u,(c,d)=>s(c,d,l));return utils$5.isPlainObject(e)||e instanceof this.constructor?a(e,n):utils$5.isString(e)&&(e=e.trim())&&!isValidHeaderName(e)?a(parseHeaders(e),n):e!=null&&s(n,e,r),this}get(e,n){if(e=normalizeHeader(e),e){const r=utils$5.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return parseTokens(i);if(utils$5.isFunction(n))return n.call(this,i,r);if(utils$5.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=normalizeHeader(e),e){const r=utils$5.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||matchHeaderValue(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(a){if(a=normalizeHeader(a),a){const u=utils$5.findKey(r,a);u&&(!n||matchHeaderValue(r,r[u],u,n))&&(delete r[u],i=!0)}}return utils$5.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||matchHeaderValue(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return utils$5.forEach(this,(i,s)=>{const a=utils$5.findKey(r,s);if(a){n[a]=normalizeValue(i),delete n[s];return}const u=e?formatHeader(s):String(s).trim();u!==s&&delete n[s],n[u]=normalizeValue(i),r[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return utils$5.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&utils$5.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[$internals]=this[$internals]={accessors:{}}).accessors,i=this.prototype;function s(a){const u=normalizeHeader(a);r[u]||(buildAccessors(i,a),r[u]=!0)}return utils$5.isArray(e)?e.forEach(s):s(e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils$5.freezeMethods(AxiosHeaders.prototype),utils$5.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(o,e){const n=this||defaults$2,r=e||n,i=AxiosHeaders$1.from(r.headers);let s=r.data;return utils$5.forEach(o,function(u){s=u.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function isCancel(o){return!!(o&&o.__CANCEL__)}function CanceledError(o,e,n){AxiosError.call(this,o==null?"canceled":o,AxiosError.ERR_CANCELED,e,n),this.name="CanceledError"}utils$5.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(o,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?o(n):e(new AxiosError("Request failed with status code "+n.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const cookies=platform.isStandardBrowserEnv?function(){return{write:function(n,r,i,s,a,u){const l=[];l.push(n+"="+encodeURIComponent(r)),utils$5.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),utils$5.isString(s)&&l.push("path="+s),utils$5.isString(a)&&l.push("domain="+a),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function combineURLs(o,e){return e?o.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):o}function buildFullPath(o,e){return o&&!isAbsoluteURL(e)?combineURLs(o,e):e}const isURLSameOrigin=platform.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const u=utils$5.isString(a)?i(a):a;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function parseProtocol(o){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return e&&e[1]||""}function speedometer(o,e){o=o||10;const n=new Array(o),r=new Array(o);let i=0,s=0,a;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),d=r[s];a||(a=c),n[i]=l,r[i]=c;let h=s,f=0;for(;h!==i;)f+=n[h++],h=h%o;if(i=(i+1)%o,i===s&&(s=(s+1)%o),c-a{const s=i.loaded,a=i.lengthComputable?i.total:void 0,u=s-n,l=r(u),c=s<=a;n=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&c?(a-s)/l:void 0,event:i};d[e?"download":"upload"]=!0,o(d)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(o){return new Promise(function(n,r){let i=o.data;const s=AxiosHeaders$1.from(o.headers).normalize(),a=o.responseType;let u;function l(){o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}utils$5.isFormData(i)&&(platform.isStandardBrowserEnv||platform.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(o.auth){const p=o.auth.username||"",m=o.auth.password?unescape(encodeURIComponent(o.auth.password)):"";s.set("Authorization","Basic "+btoa(p+":"+m))}const d=buildFullPath(o.baseURL,o.url);c.open(o.method.toUpperCase(),buildURL(d,o.params,o.paramsSerializer),!0),c.timeout=o.timeout;function h(){if(!c)return;const p=AxiosHeaders$1.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),g={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:o,request:c};settle(function(_){n(_),l()},function(_){r(_),l()},g),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){!c||(r(new AxiosError("Request aborted",AxiosError.ECONNABORTED,o,c)),c=null)},c.onerror=function(){r(new AxiosError("Network Error",AxiosError.ERR_NETWORK,o,c)),c=null},c.ontimeout=function(){let m=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const g=o.transitional||transitionalDefaults;o.timeoutErrorMessage&&(m=o.timeoutErrorMessage),r(new AxiosError(m,g.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,o,c)),c=null},platform.isStandardBrowserEnv){const p=(o.withCredentials||isURLSameOrigin(d))&&o.xsrfCookieName&&cookies.read(o.xsrfCookieName);p&&s.set(o.xsrfHeaderName,p)}i===void 0&&s.setContentType(null),"setRequestHeader"in c&&utils$5.forEach(s.toJSON(),function(m,g){c.setRequestHeader(g,m)}),utils$5.isUndefined(o.withCredentials)||(c.withCredentials=!!o.withCredentials),a&&a!=="json"&&(c.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&c.addEventListener("progress",progressEventReducer(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",progressEventReducer(o.onUploadProgress)),(o.cancelToken||o.signal)&&(u=p=>{!c||(r(!p||p.type?new CanceledError(null,o,c):p),c.abort(),c=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const f=parseProtocol(d);if(f&&platform.protocols.indexOf(f)===-1){r(new AxiosError("Unsupported protocol "+f+":",AxiosError.ERR_BAD_REQUEST,o));return}c.send(i||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$5.forEach(knownAdapters,(o,e)=>{if(o){try{Object.defineProperty(o,"name",{value:e})}catch{}Object.defineProperty(o,"adapterName",{value:e})}});const adapters={getAdapter:o=>{o=utils$5.isArray(o)?o:[o];const{length:e}=o;let n,r;for(let i=0;io instanceof AxiosHeaders$1?o.toJSON():o;function mergeConfig(o,e){e=e||{};const n={};function r(c,d,h){return utils$5.isPlainObject(c)&&utils$5.isPlainObject(d)?utils$5.merge.call({caseless:h},c,d):utils$5.isPlainObject(d)?utils$5.merge({},d):utils$5.isArray(d)?d.slice():d}function i(c,d,h){if(utils$5.isUndefined(d)){if(!utils$5.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!utils$5.isUndefined(d))return r(void 0,d)}function a(c,d){if(utils$5.isUndefined(d)){if(!utils$5.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function u(c,d,h){if(h in e)return r(c,d);if(h in o)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(c,d)=>i(headersToObject(c),headersToObject(d),!0)};return utils$5.forEach(Object.keys(Object.assign({},o,e)),function(d){const h=l[d]||i,f=h(o[d],e[d],d);utils$5.isUndefined(f)&&h!==u||(n[d]=f)}),n}const VERSION="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((o,e)=>{validators$1[o]=function(r){return typeof r===o||"a"+(e<1?"n ":" ")+o}});const deprecatedWarnings={};validators$1.transitional=function(e,n,r){function i(s,a){return"[Axios v"+VERSION+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,u)=>{if(e===!1)throw new AxiosError(i(a," has been removed"+(n?" in "+n:"")),AxiosError.ERR_DEPRECATED);return n&&!deprecatedWarnings[a]&&(deprecatedWarnings[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,a,u):!0}};function assertOptions(o,e,n){if(typeof o!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const r=Object.keys(o);let i=r.length;for(;i-- >0;){const s=r[i],a=e[s];if(a){const u=o[s],l=u===void 0||a(u,s,o);if(l!==!0)throw new AxiosError("option "+s+" must be "+l,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new AxiosError("Unknown option "+s,AxiosError.ERR_BAD_OPTION)}}const validator$1={assertOptions,validators:validators$1},validators=validator$1.validators;class Axios{constructor(e){this.defaults=e,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=mergeConfig(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&validator$1.assertOptions(r,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),i!=null&&(utils$5.isFunction(i)?n.paramsSerializer={serialize:i}:validator$1.assertOptions(i,{encode:validators.function,serialize:validators.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=s&&utils$5.merge(s.common,s[n.method]),a&&utils$5.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=AxiosHeaders$1.concat(a,s);const u=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,u.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,h=0,f;if(!l){const m=[dispatchRequest.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,c),f=m.length,d=Promise.resolve(n);h{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(u=>{r.subscribe(u),s=u}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},e(function(s,a,u){r.reason||(r.reason=new CanceledError(s,a,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new CancelToken(function(i){e=i}),cancel:e}}}const CancelToken$1=CancelToken;function spread(o){return function(n){return o.apply(null,n)}}function isAxiosError(o){return utils$5.isObject(o)&&o.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([o,e])=>{HttpStatusCode[e]=o});const HttpStatusCode$1=HttpStatusCode;function createInstance(o){const e=new Axios$1(o),n=bind(Axios$1.prototype.request,e);return utils$5.extend(n,Axios$1.prototype,e,{allOwnKeys:!0}),utils$5.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return createInstance(mergeConfig(o,i))},n}const axios=createInstance(defaults$2);axios.Axios=Axios$1,axios.CanceledError=CanceledError,axios.CancelToken=CancelToken$1,axios.isCancel=isCancel,axios.VERSION=VERSION,axios.toFormData=toFormData,axios.AxiosError=AxiosError,axios.Cancel=axios.CanceledError,axios.all=function(e){return Promise.all(e)},axios.spread=spread,axios.isAxiosError=isAxiosError,axios.mergeConfig=mergeConfig,axios.AxiosHeaders=AxiosHeaders$1,axios.formToJSON=o=>formDataToJSON(utils$5.isHTMLForm(o)?new FormData(o):o),axios.HttpStatusCode=HttpStatusCode$1,axios.default=axios;const axios$1=axios,instance=axios$1.create({baseURL:"http://localhost:8000",timeout:2e4}),useFetch=(o,e={})=>new Promise((n,r)=>{instance({url:o,...e}).then(({data:{data:i,code:s,msg:a}})=>{switch(s){case 0:n({code:s,msg:a,data:i});break;default:elementPlus.ElMessage.error(a),r(new Error(a));break}}).catch(i=>{lodash.get(i,"code","")!=="ERR_CANCELED"&&elementPlus.ElMessage.error(i),r(i)})}),__vite_glob_0_1$3=Object.freeze(Object.defineProperty({__proto__:null,useFetch},Symbol.toStringTag,{value:"Module"}));var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dayjs_min={exports:{}};(function(o,e){(function(n,r){o.exports=r()})(commonjsGlobal,function(){var n=1e3,r=6e4,i=36e5,s="millisecond",a="second",u="minute",l="hour",c="day",d="week",h="month",f="quarter",p="year",m="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var O=["th","st","nd","rd"],R=D%100;return"["+D+(O[(R-20)%10]||O[R]||O[0])+"]"}},y=function(D,O,R){var N=String(D);return!N||N.length>=O?D:""+Array(O+1-N.length).join(R)+D},A={s:y,z:function(D){var O=-D.utcOffset(),R=Math.abs(O),N=Math.floor(R/60),I=R%60;return(O<=0?"+":"-")+y(N,2,"0")+":"+y(I,2,"0")},m:function D(O,R){if(O.date()1)return D(T[0])}else{var V=O.name;C[V]=O,I=V}return!N&&I&&(k=I),I||!N&&k},S=function(D,O){if(E(D))return D.clone();var R=typeof O=="object"?O:{};return R.date=D,R.args=arguments,new P(R)},B=A;B.l=F,B.i=E,B.w=function(D,O){return S(D,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var P=function(){function D(R){this.$L=F(R.locale,null,!0),this.parse(R)}var O=D.prototype;return O.parse=function(R){this.$d=function(N){var I=N.date,x=N.utc;if(I===null)return new Date(NaN);if(B.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var T=I.match(v);if(T){var V=T[2]-1||0,U=(T[7]||"0").substring(0,3);return x?new Date(Date.UTC(T[1],V,T[3]||1,T[4]||0,T[5]||0,T[6]||0,U)):new Date(T[1],V,T[3]||1,T[4]||0,T[5]||0,T[6]||0,U)}}return new Date(I)}(R),this.$x=R.x||{},this.init()},O.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},O.$utils=function(){return B},O.isValid=function(){return this.$d.toString()!==g},O.isSame=function(R,N){var I=S(R);return this.startOf(N)<=I&&I<=this.endOf(N)},O.isAfter=function(R,N){return S(R)crypto.getRandomValues(new Uint8Array(o)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");const __vite_glob_0_6$2=Object.freeze(Object.defineProperty({__proto__:null,nanoid},Symbol.toStringTag,{value:"Module"})),fieldsRe=/^(input|textarea|number|radio|checkbox|select|time|date|rate|switch|slider|html|cascader|uploadfile|uploadimg|signature|region)$/,deepTraversal=(o,e)=>{e(o),(o.list||o.rows||o.columns||o.children||[]).forEach(r=>{deepTraversal(r,e)})},wrapElement=(o,e)=>{const n=o;return deepTraversal(n,r=>{r.style||(r.style={}),r.id||(r.id=nanoid()),r.key||(r.key=`${r.type}_${r.id}`),/^(grid|tabs|collapse|table|divider)$/.test(r.type)&&(r.style={width:"100%"}),checkIsField(r)&&(r.style={width:{pc:"100%",mobile:"100%"}}),/^(tabs)$/.test(r.type)&&(r.columns=new Array(3).fill("").map((i,s)=>{const a=renderFieldData("tabsCol");return a.label=`Tab ${s+1}`,a.options={},a})),/^(collapse)$/.test(r.type)&&(r.columns=new Array(3).fill("").map((i,s)=>{const a=renderFieldData("collapseCol");return a.label=`Tab ${s+1}`,a.options={},a})),e&&e(r)}),n},renderFieldData=o=>({id:nanoid(),type:o,label:"",list:[],style:{}}),excludes=["grid","col","table","tr","td","tabs","tabsCol","collapse","collapseCol","divider","inline"],flatNodes=(o,e,n,r)=>o.reduce((i,s,a)=>{e.indexOf(s.type)===-1?(i.push(s),n&&n(o,s,a)):r&&r(o,s,a);const u=s.list||s.rows||s.columns||s.children||[];return i=i.concat(flatNodes(u,e,n,r)),i},[]),getAllFields=o=>flatNodes(o,excludes),pickfields=o=>flatNodes(o,excludes),disassemblyData1=o=>({list:o.list,config:o.config,fields:flatNodes(o.list,excludes,(n,r,i)=>{n[i]=r.id}),data:o.data}),combinationData1=o=>{const e={list:o.list,config:o.config,data:o.data,fields:o.fields,logic:o.logic};return flatNodes(o.list,excludes,(n,r,i)=>{const s=lodash.find(o.fields,{id:r});lodash.isEmpty(s)||(n[i]=s)}),e},combinationData2=(o,e)=>{flatNodes(o,excludes,(n,r,i)=>{const s=lodash.find(e,{id:r});lodash.isEmpty(s)||(n[i]=s)})},repairLayout=(o,e)=>{flatNodes(o,excludes,(r,i,s)=>{lodash.isString(i)&&(lodash.isEmpty(lodash.find(e,{id:i}))||r.splice(s,1))});const n=[];flatNodes(o,excludes,null,(r,i,s)=>{i.type==="inline"&&(i.columns.length||n.unshift({nodes:r,currentIndex:s}))}),n.forEach(r=>{r.nodes.splice(r.currentIndex,1)})},disassemblyData2=o=>{flatNodes(o,excludes,(e,n,r)=>{e[r]=n.id&&n.id})},checkIslineChildren=o=>o.context.parent.type==="inline",checkIsField=o=>fieldsRe.test(o.type),calculateAverage=(o,e=100)=>{const n=Number((e/o).toFixed(2)),r=[];for(let i=0;i{const i=lodash.isArray(o);i||(lodash.isObject(o.style.width)?n?o.style.width.pc=o.style.width.mobile=r+"%":o.style.width[e]=r+"%":o.style.width=r+"%");const s=i?o:o.context.parent.columns.filter(u=>u!==o),a=calculateAverage(s.length,i?100:100-r);s.forEach((u,l)=>{lodash.isObject(u.style.width)?n?u.style.width.pc=u.style.width.mobile=a[l]+"%":u.style.width[e]=a[l]+"%":u.style.width=a[l]+"%"})},transferLabelPath=o=>`er.fields.${o.type==="input"?`${o.type}.${o.options.renderType-1}`:`${o.type}`}`,fieldLabel=(o,e)=>o(transferLabelPath(e)),transferData=(o,e,n,r={})=>{let i="";return lodash.isEmpty(r)?i=lodash.get(n[o],e,""):i=lodash.template(lodash.get(n[o],e,""))(r),i},isNull=o=>o===""||o===null||o===void 0,__vite_glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,syncWidthByPlatform,wrapElement,deepTraversal,renderFieldData,getAllFields,disassemblyData1,combinationData1,disassemblyData2,combinationData2,checkIslineChildren,checkIsField,pickfields,fieldLabel,transferData,transferLabelPath,isNull,repairLayout},Symbol.toStringTag,{value:"Module"})),getNodes=(o,e)=>{const{context:{root:n,col:r,row:i}}=o;let s=[];return e==="rowspan"?s=n.context.columns[r]:e==="colspan"&&(s=n.rows[i].columns),s},findNode=(o,e,n,r,i=!1)=>{const{context:{root:s,col:a,row:u}}=o;let l=n==="rowspan"?u:a,c=[];const d=getNodes(o,n),h=()=>{n==="rowspan"?c.forEach((f,p)=>{f.options.rowspan=c.length,f.options.isMerged=!!p,f.options.colspan>1&&getNodes(f,"colspan").slice(a+1,a+f.options.colspan).forEach(g=>{g.options.rowspan=c.length}),p&&(c[0].list=c[0].list.concat(f.list),f.list=[])}):n==="colspan"&&c.forEach((f,p)=>{f.options.colspan=c.length,f.options.isMerged=!!p,f.options.colspan>1&&getNodes(f,"rowspan").slice(u+1,u+f.options.rowspan).forEach(g=>{g.options.colspan=c.length}),p&&(c[0].list=c[0].list.concat(f.list),addContext$1(c[0],c[0].context.parent),f.list=[])})};if(e==="after")for(;++l;){const f=d[l];if(!f){r(c);break}if(c.push(f),!f.options.isMerged){if(f.options[n]>1){const p=c[c.length-1];c=c.concat(d.slice(p.context[n.slice(0,3)]+1,p.context[n.slice(0,3)]+f.options[n]))}c.unshift(o),r(c,h);break}}else for(;l--;){const f=d[l];if(!f){r(c);break}let p=[];if(c.unshift(f),!f.options.isMerged){o.options[n]>1&&findNode(c[0],"after",n,m=>{p=m}),c.push(o),p.length&&(c=p),r(c,h);break}}},getValidNode=o=>{const{context:{root:e,col:n,row:r}}=o,i=[],s=e.rows;for(let a=0;a{const{context:{root:u,col:l,row:c},options:{colspan:d,rowspan:h}}=a,f=[l,l+(d>1?d-1:0)],p=[c,c+(h>1?h-1:0)];return o.context.col>=f[0]&&o.context.col<=f[1]&&o.context.row>=p[0]&&o.context.row<=p[1]})[0]},checkStatus=(o,e,n)=>{const r={x:-1,y:-1,status:-1};for(let i=0;i0&&s0&&i{const{context:{root:e,col:n,row:r},options:{rowspan:i,colspan:s}}=o;let a=r;e.rows[r].columns,e.context.columns[n];const u=[];for(;a{const{context:{root:r,col:i,row:s},options:{colspan:a,rowspan:u}}=o;let l=-1,c=[];if(e==="before"?n==="colspan"?(l=i,l!==0?c=r.context.columns[l-1]:c=r.context.columns[0]):(l=s,l!==0&&(c=r.rows[l-1].columns)):n==="colspan"?(o.options.colspan>1?l=i+a-1:l=i,c=r.context.columns[l]):(o.options.rowspan>1?l=s+u-1:l=s,c=r.rows[l].columns),n==="colspan")c.forEach((d,h)=>{const f=wrapElement({type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}});if(d.context.parent.columns.splice(e==="before"?l:l+1,0,f),addContext$1(d.context.parent,r),!(l===0&&e==="before")){const p=getValidNode(d),m=getNodeRange(p),{status:g,x:v,y:_}=checkStatus(m,d,"colspan");/[1, 2]/.test(g)&&(f.options.isMerged=!0,m[_].forEach(b=>{b.options.colspan=f.options.colspan=m[_].length+(_===0?1:0),f.options.rowspan=b.options.rowspan}))}});else{const d=c.map(f=>{const p=getValidNode(f),m=getNodeRange(p);return{...checkStatus(m,f,"rowspan"),ranges:m}}),h=wrapElement({type:"tr",columns:Array.from(Array(o.context.parent.columns.length),(f,p)=>{const m={type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}};if(l!==0){const{status:g,x:v,y:_,ranges:b}=d[p];if(/[1, 2]/.test(g)){m.options.isMerged=!0;for(let y=0;y{k.options.rowspan=m.options.rowspan=b.length+1,m.options.colspan=k.options.colspan})}}return m})});r.rows.splice(e==="before"?l:l+1,0,h),r.rows.forEach(f=>{addContext$1(f,r)})}},addContext$1=(o,e,n)=>{let r=[];const i=Array.isArray(e);i?r=e:r=e.columns||e.list||e.rows,n&&n(o),Object.defineProperty(o,"context",{value:{get props(){return u=>vue.computed(()=>{const{options:l}=o,c={disabled:l.disabled,placeholder:l.placeholder,clearable:l.clearable,required:l.required};switch(u||(c.label=o.label),o.type){case"input":l.isShowWordLimit&&(c.maxlength=l.max,c["show-word-limit"]=l.isShowWordLimit),u?(c.showPassword=l.showPassword,c.prepend=l.prepend,c.append=l.append):(l.showPassword&&(c.type="password"),l.renderType===4&&(c.type="tel"));break;case"textarea":c.type="textarea",c.rows=l.rows;break;case"number":u&&(c.controls=l.controls,l.controls&&(c["controls-position"]=l.controlsPosition?"right":"")),l.isShowWordLimit&&(c.min=l.min,c.max=l.max),c.step=l.step,c.precision=l.precision;break;case"radio":case"checkbox":break;case"select":break;case"time":c.format=l.format,u&&(c.valueFormat=l.valueFormat);break;case"date":if(c.placeholder=l.placeholder,c.startPlaceholder=l.startPlaceholder,c.endPlaceholder=l.endPlaceholder,c.format=l.format,c.type=l.type,u)c.disabledDate=d=>{const{startTime:h,endTime:f,weeks:p,isShowWeeksLimit:m}=l,g=dayjs.unix(h),v=dayjs.unix(f),_=dayjs(d);return _.isBefore(g)||_.isAfter(v)};else{const{startTime:d,endTime:h,weeks:f,isShowWeeksLimit:p}=l;switch(l.type){case"date":case"datetime":d?c.minDate=dayjs.unix(d).toDate():c.minDate=dayjs.unix(0).toDate(),h?c.maxDate=dayjs.unix(h).toDate():c.maxDate=dayjs().add(20,"year").toDate();break;case"dates":l.defaultValue?c.defaultDate=l.defaultValue.map(m=>dayjs.unix(m).toDate()):c.defaultDate=null,d?c.minDate=dayjs.unix(d).toDate():c.minDate=dayjs().subtract(1,"year").toDate(),h?c.maxDate=dayjs.unix(h).toDate():c.maxDate=dayjs().add(1,"year").toDate();break;case"daterange":l.defaultValue?c.defaultDate=l.defaultValue.map(m=>dayjs.unix(m).toDate()):c.defaultDate=null,d?c.minDate=dayjs.unix(d).toDate():c.minDate=dayjs().subtract(1,"year").toDate(),h?c.maxDate=dayjs.unix(h).toDate():c.maxDate=dayjs().add(1,"year").toDate();break}}break;case"cascader":c.props={multiple:l.multiple,checkStrictly:l.checkStrictly},c.options=l.options;break;case"slider":c.step=l.step,c.min=l.min,c.max=l.max;break;case"divider":c.contentPosition=l.contentPosition;break;case"uploadfile":c.multiple=l.multiple,c.action=l.action,c.limit=l.limit,c.size=l.size,c.accept=l.accept;break;case"uploadimg":c.multiple=l.multiple,c.action=l.action,c.limit=l.limit,c.size=l.size,c.accept=l.accept,c.customField=l.customField;break}return c})},get row(){let u="";return i||o.type==="tr"?u=r.indexOf(o):u=e.context.row,u},get col(){let u="";return i?u=0:e.type==="grid"||e.type==="tr"||e.type==="td"||e.type==="col"||e.type==="tabsCol"||e.type==="collapseCol"?u=r.indexOf(o):u=e.context.col,u},get root(){let u={};switch(o.type){case"grid":case"table":u=o;break;default:u=e.context.root}return u},state:o,parent:e,get parents(){const u=[];let l=o;for(;l;)u.unshift(l),l.context.parent&&!lodash.isArray(l.context.parent)?l=l.context.parent:l="";return u},copy(){const u=r.indexOf(o),l=vue.reactive(lodash.cloneDeep(vue.toRaw(o)));delete l.context,l.id=nanoid(),l.key=`${l.type}_${l.id}`,addContext$1(l,e,c=>{c.id=nanoid(),c.key=`${c.type}_${c.id}-copy`}),r.splice(u+1,0,l)},delete(){r.splice(r.indexOf(o),1)},appendCol(){const u=wrapElement({options:{span:6,offset:0,pull:0,push:0},type:"col",list:[]});o.columns.push(u),addContext$1(u,o)},get columns(){const u=[];switch(o.type){case"table":o.rows.forEach((l,c)=>{l.columns.forEach((d,h)=>{c||u.push([]),u[h].push(d)})});break}return u},get isDisableMargeLeft(){const{context:{root:u,col:l,row:c}}=o;u.rows[c].columns;let d=l<=0;if(!d){let h=!0;findNode(o,"before","colspan",f=>{h=d=!f.every(p=>p.options.rowspan===o.options.rowspan)||f.every(p=>p.options.isMerged)}),d=h}return d},get isDisableMargeRight(){const{context:{root:u,col:l,row:c}}=o,d=u.rows[c].columns;let h=l>=d.length-1;if(!h){let f=!0;findNode(o,"after","colspan",p=>{f=h=!p.every(m=>m.options.rowspan===o.options.rowspan)||p.every(m=>m.options.isMerged)}),h=f}return h},get isDisableMargeRow(){const u=getNodes(o,"colspan");return this.isDisableDelRow||u.length===o.options.colspan},get isDisableMargeColumn(){const u=getNodes(o,"rowspan");return this.isDisableDelColumn||u.length===o.options.rowspan},get isDisableMargeBottom(){const{context:{root:u,col:l,row:c}}=o,d=u.context.columns;let h=c>=d[l].length-1;if(!h){let f=!0;findNode(o,"after","rowspan",p=>{f=h=!p.every(m=>m.options.colspan===o.options.colspan)||p.every(m=>m.options.isMerged)}),h=f}return h},get isDisableMargeTop(){const{context:{root:u,col:l,row:c}}=o;u.context.columns;let d=c<=0;if(!d){let h=!0;findNode(o,"before","rowspan",f=>{h=d=!f.every(p=>p.options.colspan===o.options.colspan)||f.every(p=>p.options.isMerged)}),d=h}return d},get isDisableSplitColumn(){return o.options.colspan===1},get isDisableSplitRow(){return o.options.rowspan===1},get isDisableDelRow(){const u=getNodes(o,"colspan"),l=getNodes(o,"rowspan");return l.length===1||l.filter(c=>!c.options.isMerged).length===1||!u.every(c=>c.options.rowspan===o.options.rowspan)},get isDisableDelColumn(){const u=getNodes(o,"rowspan"),l=getNodes(o,"colspan");return l.length===1||l.filter(c=>!c.options.isMerged).length===1||!u.every(c=>c.options.colspan===o.options.colspan)},merge(u){const{context:{root:l,col:c,row:d}}=o;switch(u){case"left":findNode(o,"before","colspan",(h,f)=>{f()});break;case"right":findNode(o,"after","colspan",(h,f)=>{f()});break;case"top":findNode(o,"before","rowspan",(h,f)=>{f()});break;case"bottom":findNode(o,"after","rowspan",(h,f)=>{f()});break;case"row":for(;l.rows[d].columns.length>l.rows[d].columns[0].options.colspan;)findNode(l.rows[d].columns[0],"after","colspan",(h,f)=>{f()});break;case"column":for(;l.context.columns[c].length>l.context.columns[c][0].options.rowspan;)findNode(l.context.columns[c][0],"after","rowspan",(h,f)=>{f()});break}},insert(u){switch(u){case"left":appendNodes(o,"before","colspan");break;case"right":appendNodes(o,"after","colspan");break;case"top":appendNodes(o,"before","rowspan");break;case"bottom":appendNodes(o,"after","rowspan");break}},split(u){const{context:{root:l,col:c,row:d}}=o,h=getNodes(o,u==="column"?"colspan":"rowspan");switch(u){case"column":h.slice(c,c+o.options.colspan).forEach(f=>{f.options.colspan=1,f.options.isMerged=!1,f.options.rowspan>1&&getNodes(f,"rowspan").slice(d+1,d+f.options.rowspan).forEach(m=>{m.options.colspan=1})});break;case"row":h.slice(d,d+o.options.rowspan).forEach(f=>{f.options.rowspan=1,f.options.isMerged=!1,f.options.colspan>1&&getNodes(f,"colspan").slice(c+1,c+f.options.colspan).forEach(m=>{m.options.rowspan=1})});break}},del(u){const{context:{root:l,col:c,row:d}}=o;switch(getNodes(o,u==="column"?"colspan":"rowspan"),u){case"column":l.rows.forEach(h=>{h.columns.splice(c,o.options.colspan),addContext$1(h,l)});break;case"row":l.rows.splice(d,o.options.rowspan),l.rows.forEach(h=>{addContext$1(h,l)});break}}},writable:!1,enumerable:!1,configurable:!0}),(o.columns||o.list||o.rows||[]).forEach(u=>{addContext$1(u,o,n)})},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,addContext:addContext$1},Symbol.toStringTag,{value:"Module"})),isPc=()=>!window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i),__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,isPc},Symbol.toStringTag,{value:"Module"})),dataURLtoFile=(o,e)=>{const n=o.split(","),r=n[0].match(/:(.*?);/)[1],i=atob(n[1]);let s=i.length;const a=new Uint8Array(s);for(;s--;)a[s]=i.charCodeAt(s);return new File([a],e,{type:r})},filetoDataURL=o=>new Promise((e,n)=>{const r=new Image;r.src=o,r.onload=function(){const i=document.createElement("canvas");i.width=r.width,i.height=r.height,i.getContext("2d").drawImage(r,0,0,r.width,r.height);const a=r.src.substring(r.src.lastIndexOf(".")+1).toLowerCase(),u=i.toDataURL("image/"+a);e(u)}}),__vite_glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,dataURLtoFile,filetoDataURL},Symbol.toStringTag,{value:"Module"})),generateOptions=o=>{const e=[];for(;o--;)e.push({label:"Option",value:nanoid()});return e},__vite_glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,generateOptions},Symbol.toStringTag,{value:"Module"})),checkIdExistInLogic=(o,e)=>new RegExp(`"${o}"`).test(JSON.stringify(e)),removeLogicDataByid=(o,e)=>{for(const n of Object.values(e))for(let r=0;ro===""||o===null||o===void 0||Array.isArray(o)&&!o.length,__vite_glob_0_7$2=Object.freeze(Object.defineProperty({__proto__:null,isEmpty:isEmpty$2},Symbol.toStringTag,{value:"Module"})),importModules$3=Object.assign({"./addContext.js":__vite_glob_0_0$2,"./device.js":__vite_glob_0_1$2,"./field.js":__vite_glob_0_2$2,"./fileData.js":__vite_glob_0_3$2,"./generateOptions.js":__vite_glob_0_4$2,"./logic.js":__vite_glob_0_5$2,"./nanoid.js":__vite_glob_0_6$2,"./utils.js":__vite_glob_0_7$2}),modules$3={};lodash.forIn(importModules$3,(o,e)=>{Object.keys(o).forEach(n=>{modules$3[n]=o[n]})});const utils$4={...modules$3},useHistory=o=>{const e=vue.ref(!0),n=()=>vue.markRaw({snapshot:JSON.stringify(o.store),timestamp:Date.now()}),r=vue.ref(n()),i=vue.ref([]),s=vue.ref([]),a=vue.computed(()=>i.value.length>0),u=vue.computed(()=>s.value.length>0),l=v=>{r.value=v,p(),o.store=[],vue.nextTick(()=>{o.store=JSON.parse(v.snapshot),o.store.forEach(_=>{utils$4.addContext(_,o.store,!1,b=>{o.sector&&o.sector.id===b.id&&(o.sector=b)})}),vue.nextTick(()=>{m()})})},c=()=>{const v=i.value.shift();v&&(s.value.unshift(r.value),l(v))},d=()=>{const v=s.value.shift();v&&(i.value.unshift(r.value),l(v))},h=()=>{},f=lodash.debounce(h,400);vue.watch(()=>o.store,v=>{e.value&&f()},{flush:"post",deep:!0});const p=()=>{e.value=!1},m=()=>{e.value=!0};return{canUndo:a,canRedo:u,undo:c,redo:d,undoStack:i,redoStack:s,last:r,stop:p,restart:()=>{m(),r.value=n()}}},__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,useHistory},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_0$1={er:{panels:{config:"Form Attribute"},fields:{input:["Input","Email","ID number","Cellphone","URL","Field"],textarea:"Textarea",number:"Number",radio:"Radio",checkbox:"Checkbox",select:"Select",time:"Time",date:"Date",rate:"Rate",switch:"Switch",slider:"Slider",html:"Html",cascader:"Cascader",uploadfile:"File",uploadImg:"Image",signature:"Signature",region:"Region",grid:"Grid",table:"Table",tabs:"Tabs",collapse:"Collapse",divider:"Divider",container:"Container",field:"Basic field",defaultField:"Default field"},layout:{tabsCol:"Tab panel",col:"Col",collapseCol:"Collapse panel",td:"td"},config:{globalConfig:{labelPosition:{label:"Label Position",left:"Left",right:"Right",top:"Top"},sync:{label:"Synchronize computer and mobile configurations",warning:"Data inconsistency, according to your choice of configuration"},componentSize:{label:"Size of Fields",large:"Large",default:"Default",small:"Small"}},tabsLayout:{style:{label:"Type",options:["Default","Tabs","Border-Card"]},tabPosition:{label:"Tab position",options:["Top","Bottom","Left","Right"]}},borderComponent:{borderLine:"Border line",borderWidth:"Border width"},gridLayout:{justify:{label:"Horizontal arrangement",options:["Start","End","Center","Space around","Space between"]}},dataComponent1:{defaultLabel:"Default value",unique:"Unique id",name:"Name",operate:"Operate",add:"Add"},dataComponent2:{level:"Level",add:"Add"},dataComponent3:{panel:"Panel",add:"Add"},propsPanel:{fieldBind:"Field Bind",title:"Title",titleWidth:"Title width",id:"Id",defaultContent:"Default content",placeholder:"Placeholder",brushColor:"Brush color",format:"Format",dateType:"Date type",layout:{label:"Layout",options:["vertical","horizontal"]},contentPosition:{label:"Text position",options:["Left","Center","Right"]},textareaHeight:"Textarea height",uploadfile:{fileType:"File type",accept:"",uploadLimit:"Upload limit",fileSize:"File size"},uploadimg:{fileType:"File type",accept:"",uploadLimit:"Upload limit",fileSize:"File size",customField:"\u81EA\u5B9A\u4E49\u5B57\u6BB5"},prepend:"Prepend",append:"Append",step:"Step",precision:"Precision",region:{label:"Select range",options:["Prov","City/Prov","County/City/Prov"]},trim:"Trim",wordLimit:"Word limit",dateRange:"Date range",accordion:"Accordion",showPassword:"Password",multiple:"Multiple",filterable:"Search",numberControls:{label:"Control button",position:"Button position",options:["Horizontal","Vertical"]},allowHalf:"Allow half",alpha:"Alpha",anyNode:"Select any node",clearable:"clearable",star:"Star"}},public:{confirm:"Confirm",cancel:"Cancel",button:"Button",text:"Text",color:"Color",backgroundColor:"Background-color",width:"Width",radius:"Radius",style:"Style",background:"Background",image:"Image",remove:"Remove",margin:"Margin",padding:"Padding",unit:"Unit",min:"Min",max:"Max",clear:"Clear",dataEntry:"Data entry",data:"Data",disabled:"disabled",back:"Back",save:"Save",reset:"Reset",add:"Add"},validateMsg:{required:"Required",limitWord:"At least <%= min %> character",email:"Please enter the valid email address",IdNumber:"Please enter the valid ID number",phone:"Please enter the valid Phone number",http:"Please enter the valid Url",fileSize:"File size cannot exceed <%= size %> MB",idUnique:"ID must be unique",placeholder1:"Please enter",placeholder2:"Please select"},form:{selectDate:"Select date",selectTime:"Select time",notFilled:"Not filled",filled:"Filled",addSignature:"Add signature",useSignature:"Use signature",uploading:"uploading...",uploadFailed:"Fail to upload"},selection:{insertLeft:"Insert column left",insertRight:"Insert column right",insertTop:"Insert row before",insertBottom:"Insert row after",mergeLeft:"Merge left",mergeRight:"Merge right",mergeRow:"Merge row",mergeTop:"Merge on",mergeBottom:"Merge down",mergeColumn:"Merge column",delRow:"Delete row",delColumn:"Delete column",splitColumn:"Split column",splitRow:"Split row"},logic:{filter:{equal:"Equal",not_equal:"Not equal",contains:"Contains",not_contain:"Not contain",empty:"Empty",not_empty:"Not empty",greater_than:"Greater than",greater_than_equal:"Greater than or equal to",less_than:"Less than",less_than_equal:"Less than or equal to",between:"Between",one_of:"Equal to one of",not_one_of:"Not equal to one of",belong_one_of:"Belong to one of",not_belong_one_of:"Not belong to one of",on:"On",off:"Off",show:"Show",hide:"Hide",field:"Field",required:"Required",not_required:"Not required",readOnly:"Readonly",editable:"Editable"},filterLabel:{if:"When the following conditions are met",then:"Then execute"},tabs:{visible:"Visible",required:"Required",readOnly:"Readonly"},button:"Logic Control",logicSuggests:"It is detected that the attributes of the current field have changed, and in order to ensure the accuracy of logic control, the corresponding logic rules have been automatically deleted."}}},__vite_glob_0_1$1={er:{panels:{config:"\u8868\u5355\u5C5E\u6027"},fields:{input:["\u5355\u884C\u6587\u672C","\u90AE\u7BB1","\u8EAB\u4EFD\u8BC1\u53F7","\u624B\u673A\u53F7","\u7F51\u5740","\u6587\u79CD\u5B57\u6BB5"],textarea:"\u591A\u884C\u6587\u672C",number:"\u6570\u5B57",radio:"\u5355\u9009\u6846",checkbox:"\u590D\u9009\u6846",select:"\u4E0B\u62C9\u6846",time:"\u65F6\u95F4",date:"\u65E5\u671F",rate:"\u8BC4\u5206",switch:"\u5F00\u5173",slider:"\u6ED1\u5757",html:"\u5BCC\u6587\u672C",cascader:"\u7EA7\u8054\u6846",uploadfile:"\u4E0A\u4F20\u6587\u4EF6",uploadimg:"\u4E0A\u4F20\u56FE\u7247",signature:"\u7B7E\u540D",region:"\u7701\u5E02\u533A",grid:"\u6805\u683C\u5E03\u5C40",table:"\u8868\u683C\u5E03\u5C40",tabs:"\u6807\u7B7E\u9875",collapse:"\u6298\u53E0\u9762\u677F",divider:"\u5206\u5272\u7EBF",container:"\u5BB9\u5668",field:"\u57FA\u7840\u5B57\u6BB5",defaultField:"\u9884\u8BBE\u5B57\u6BB5"},layout:{tabsCol:"\u6807\u7B7E\u9762\u677F",col:"\u6805\u683C\u5217",collapseCol:"\u6298\u53E0\u5B50\u9762\u677F",td:"\u5355\u5143\u683C"},config:{globalConfig:{labelPosition:{label:"\u6807\u7B7E\u5BF9\u9F50\u65B9\u5F0F",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8\u5BF9\u9F50"},sync:{label:"\u540C\u6B65\u8BBE\u7F6E\u7535\u8111\u548C\u79FB\u52A8\u7AEF",warning:"\u6570\u636E\u5B58\u5728\u4E0D\u4E00\u81F4\uFF0C\u6839\u636E\u4F60\u7684\u9009\u62E9\u8FDB\u884C\u540C\u6B65"},componentSize:{label:"\u5B57\u6BB5\u5927\u5C0F",large:"\u5927",default:"\u4E2D",small:"\u5C0F"}},tabsLayout:{style:{label:"\u98CE\u683C\u7C7B\u578B",options:["\u9ED8\u8BA4","\u9009\u9879\u5361","\u5361\u7247\u5316"]},tabPosition:{label:"\u9009\u9879\u5361\u4F4D\u7F6E",options:["\u9876\u90E8","\u5E95\u90E8","\u5DE6\u4FA7","\u53F3\u4FA7"]}},borderComponent:{borderLine:"\u8FB9\u6846\u7EBF",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"},gridLayout:{justify:{label:"\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",options:["\u5DE6\u5BF9\u9F50","\u53F3\u5BF9\u9F50","\u5C45\u4E2D","\u4E24\u4FA7\u95F4\u9694\u76F8\u7B49","\u4E24\u7AEF\u5BF9\u9F50"]}},dataComponent1:{defaultLabel:"\u9ED8\u8BA4",unique:"\u9009\u9879\u552F\u4E00\u6807\u8BC6",name:"\u9009\u9879\u540D\u79F0",operate:"\u64CD\u4F5C",add:"\u6DFB\u52A0\u9009\u9879"},dataComponent2:{level:"\u7EA7\u9009\u9879",add:"\u6DFB\u52A0\u9009\u9879"},dataComponent3:{panel:"\u9762\u677F",add:"\u6DFB\u52A0\u9762\u677F"},propsPanel:{fieldBind:"\u7ED1\u5B9A\u5B57\u6BB5",title:"\u6807\u9898",titleWidth:"\u5BBD\u5EA6",id:"\u5B57\u6BB5\u6807\u8BC6",defaultContent:"\u9ED8\u8BA4\u5185\u5BB9",placeholder:"\u63D0\u793A\u6587\u5B57",brushColor:"\u753B\u7B14\u989C\u8272",format:"\u663E\u793A\u683C\u5F0F",dateType:"\u65E5\u671F\u7C7B\u578B",layout:{label:"\u5E03\u5C40\u65B9\u5F0F",options:["\u7EB5\u5411","\u6A2A\u5411"]},contentPosition:{label:"\u6587\u6848\u4F4D\u7F6E",options:["\u5DE6\u4FA7","\u5C45\u4E2D","\u53F3\u4FA7"]},textareaHeight:"\u6587\u672C\u57DF\u9AD8\u5EA6",uploadfile:{fileType:"\u6587\u4EF6\u7C7B\u578B",accept:"",uploadLimit:"\u4E0A\u4F20\u4E2A\u6570\u9650\u5236",fileSize:"\u6587\u4EF6\u5927\u5C0F"},uploadimg:{fileType:"\u6587\u4EF6\u7C7B\u578B",accept:"",uploadLimit:"\u4E0A\u4F20\u4E2A\u6570\u9650\u5236",fileSize:"\u6587\u4EF6\u5927\u5C0F",customField:"\u81EA\u5B9A\u4E49\u5B57\u6BB5"},prepend:"\u524D\u7F00",append:"\u540E\u7F00",step:"\u6B65\u957F",precision:"\u7CBE\u5EA6",region:{label:"\u9009\u62E9\u8303\u56F4",options:["\u7701","\u7701/\u5E02","\u7701/\u5E02/\u53BF"]},trim:"\u53BB\u9664\u9996\u5C3E\u7A7A\u683C",wordLimit:"\u9650\u5B9A\u5B57\u7B26",dateRange:"\u9650\u5B9A\u65E5\u671F\u8303\u56F4",accordion:"\u624B\u98CE\u7434",showPassword:"\u4F5C\u4E3A\u5BC6\u7801",multiple:"\u591A\u9009",filterable:"\u641C\u7D22",numberControls:{label:"\u63A7\u5236\u6309\u94AE",position:"\u6309\u94AE\u4F4D\u7F6E",options:["\u5DE6\u53F3","\u4E0A\u4E0B"]},allowHalf:"\u534A\u9009",alpha:"\u900F\u660E\u5EA6",anyNode:"\u9009\u62E9\u4EFB\u610F\u8282\u70B9",clearable:"\u4E00\u952E\u6E05\u9664\u6309\u94AE",star:"\u661F\u661F\u6570"}},public:{confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",button:"\u6309\u94AE",text:"\u6587\u5B57",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u989C\u8272",width:"\u5BBD\u5EA6",radius:"\u5706\u89D2",style:"\u98CE\u683C",background:"\u80CC\u666F",image:"\u56FE\u7247",remove:"\u79FB\u9664",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",unit:"\u5355\u4F4D",min:"\u6700\u5C0F",max:"\u6700\u5927",clear:"\u6E05\u7A7A",dataEntry:"\u5F55\u5165\u6570\u636E",data:"\u6570\u636E",disabled:"\u7981\u7528",back:"\u8FD4\u56DE",save:"\u4FDD\u5B58",reset:"\u91CD\u7F6E",add:"\u6DFB\u52A0"},validateMsg:{required:"\u5FC5\u586B",limitWord:"\u6700\u5C11<%= min %>\u5B57\u7B26",email:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740",IdNumber:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7",phone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7",http:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u7F51\u5740",fileSize:"\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 <%= size %> MB",idUnique:"\u5B57\u6BB5\u6807\u8BC6\u91CD\u590D",placeholder1:"\u8BF7\u8F93\u5165",placeholder2:"\u8BF7\u9009\u62E9"},form:{selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",notFilled:"\u672A\u586B\u5199",filled:"\u5DF2\u586B\u5199",addSignature:"\u6DFB\u52A0\u7B7E\u540D",useSignature:"\u4F7F\u7528\u7B7E\u540D",uploading:"\u4E0A\u4F20\u4E2D...",uploadFailed:"\u4E0A\u4F20\u5931\u8D25"},selection:{insertLeft:"\u5DE6\u63D2\u5165\u5217",insertRight:"\u53F3\u63D2\u5165\u5217",insertTop:"\u4E0A\u63D2\u5165\u884C",insertBottom:"\u4E0B\u63D2\u5165\u884C",mergeLeft:"\u5411\u5DE6\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",mergeRow:"\u5408\u5E76\u6574\u884C",mergeTop:"\u5411\u4E0A\u5408\u5E76",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeColumn:"\u5408\u5E76\u6574\u5217",delRow:"\u5220\u9664\u6574\u884C",delColumn:"\u5220\u9664\u6574\u5217",splitColumn:"\u62C6\u5206\u6210\u5217",splitRow:"\u62C6\u5206\u6210\u884C"},logic:{filter:{equal:"\u7B49\u4E8E",not_equal:"\u4E0D\u7B49\u4E8E",contains:"\u5305\u542B",not_contain:"\u4E0D\u5305\u542B",empty:"\u4E3A\u7A7A",not_empty:"\u4E0D\u4E3A\u7A7A",greater_than:"\u5927\u4E8E",greater_than_equal:"\u5927\u4E8E\u7B49\u4E8E",less_than:"\u5C0F\u4E8E",less_than_equal:"\u5C0F\u4E8E\u7B49\u4E8E",between:"\u533A\u95F4",one_of:"\u7B49\u4E8E\u5176\u4E2D\u4E4B\u4E00",not_one_of:"\u4E0D\u7B49\u4E8E\u5176\u4E2D\u4E4B\u4E00",belong_one_of:"\u5C5E\u4E8E\u5176\u4E2D\u4E4B\u4E00",not_belong_one_of:"\u4E0D\u5C5E\u4E8E\u5176\u4E2D\u4E4B\u4E00",on:"\u5F00",off:"\u5173",show:"\u663E\u793A",hide:"\u9690\u85CF",field:"\u5B57\u6BB5",required:"\u5FC5\u586B",not_required:"\u4E0D\u5FC5\u586B",readOnly:"\u53EA\u8BFB",editable:"\u53EF\u7F16\u8F91"},filterLabel:{if:"\u5F53\u6EE1\u8DB3\u4EE5\u4E0B\u6761\u4EF6\u65F6",then:"\u5219\u6267\u884C"},tabs:{visible:"\u663E\u9690",required:"\u5FC5\u586B",readOnly:"\u53EA\u8BFB"},button:"\u903B\u8F91\u63A7\u5236",logicSuggests:"\u68C0\u6D4B\u5230\u5F53\u524D\u5B57\u6BB5\u7684\u5C5E\u6027\u53D1\u751F\u4E86\u53D8\u52A8\uFF0C\u4E3A\u4E86\u4FDD\u8BC1\u903B\u8F91\u63A7\u5236\u7684\u51C6\u786E\u6027\uFF0C\u5DF2\u81EA\u52A8\u5220\u9664\u4E86\u76F8\u5E94\u7684\u903B\u8F91\u89C4\u5219\u3002"}}},importModules$2=Object.assign({"./en.js":__vite_glob_0_0$1,"./zh-cn.js":__vite_glob_0_1$1}),modules$2={};lodash.forIn(importModules$2,(o,e)=>{const n=/[a-zA-Z0-9_-]*(?=\.js)/g;modules$2[e.match(n)[0]]=o});const useI18n=o=>{const e=vue.inject("Everright",{props:o}),n=vue.computed(()=>e.props.lang);return{lang:n,t(r,i){return utils$4.transferData(n.value,r,modules$2,i)}}},__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,useI18n},Symbol.toStringTag,{value:"Module"}));var customParseFormat$1={exports:{}};(function(o,e){(function(n,r){o.exports=r()})(commonjsGlobal,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,s=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,u={},l=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(v){this[g]=+v}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var _=v.match(/([+-]|\d\d)/g),b=60*_[1]+(+_[2]||0);return b===0?0:_[0]==="+"?-b:b}(g)}],h=function(g){var v=u[g];return v&&(v.indexOf?v:v.s.concat(v.f))},f=function(g,v){var _,b=u.meridiem;if(b){for(var y=1;y<=24;y+=1)if(g.indexOf(b(y,0,v))>-1){_=y>12;break}}else _=g===(v?"pm":"PM");return _},p={A:[a,function(g){this.afternoon=f(g,!1)}],a:[a,function(g){this.afternoon=f(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[i,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[i,c("day")],Do:[a,function(g){var v=u.ordinal,_=g.match(/\d+/);if(this.day=_[0],v)for(var b=1;b<=31;b+=1)v(b).replace(/\[|\]/g,"")===g&&(this.day=b)}],M:[s,c("month")],MM:[i,c("month")],MMM:[a,function(g){var v=h("months"),_=(h("monthsShort")||v.map(function(b){return b.slice(0,3)})).indexOf(g)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[a,function(g){var v=h("months").indexOf(g)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(g){this.year=l(g)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function m(g){var v,_;v=g,_=u&&u.formats;for(var b=(g=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(S,B,P){var L=P&&P.toUpperCase();return B||_[P]||n[P]||_[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,O,R){return O||R.slice(1)})})).match(r),y=b.length,A=0;A-1)return new Date((I==="X"?1e3:1)*N);var T=m(I)(N),V=T.year,U=T.month,M=T.day,z=T.hours,W=T.minutes,G=T.seconds,J=T.milliseconds,X=T.zone,K=new Date,Q=M||(V||U?1:K.getDate()),ee=V||K.getFullYear(),oe=0;V&&!U||(oe=U>0?U-1:K.getMonth());var te=z||0,ie=W||0,se=G||0,q=J||0;return X?new Date(Date.UTC(ee,oe,Q,te,ie,se,q+60*X.offset*1e3)):x?new Date(Date.UTC(ee,oe,Q,te,ie,se,q)):new Date(ee,oe,Q,te,ie,se,q)}catch{return new Date("")}}(k,F,C),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),P&&k!=this.format(F)&&(this.$d=new Date("")),u={}}else if(F instanceof Array)for(var D=F.length,O=1;O<=D;O+=1){E[1]=F[O-1];var R=_.apply(this,E);if(R.isValid()){this.$d=R.$d,this.$L=R.$L,this.init();break}O===D&&(this.$d=new Date(""))}else y.call(this,A)}}})})(customParseFormat$1);const customParseFormat=customParseFormat$1.exports;var isSameOrAfter$1={exports:{}};(function(o,e){(function(n,r){o.exports=r()})(commonjsGlobal,function(){return function(n,r){r.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}})})(isSameOrAfter$1);const isSameOrAfter=isSameOrAfter$1.exports;var isSameOrBefore$1={exports:{}};(function(o,e){(function(n,r){o.exports=r()})(commonjsGlobal,function(){return function(n,r){r.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}})})(isSameOrBefore$1);const isSameOrBefore=isSameOrBefore$1.exports;dayjs.extend(customParseFormat),dayjs.extend(isSameOrAfter),dayjs.extend(isSameOrBefore);const findValidityRule=o=>{const e={};for(const n in o.logic){const r=[];lodash.get(o.logic,`${n}`,[]).forEach(i=>{r.push({if:lodash.get(i,"ifRules.filters[0]",{}),then:lodash.get(i,"thenRules.filters[0]",{})})}),e[n]=r}return e},findFieldsByid=(o,e)=>lodash.intersectionBy(e,o.map(n=>({id:n})),"id"),getAreaType=o=>{const e=String(o);if(e.substring(0,2)!=="00"&&e.substring(2,4)==="00")return 1;if(e.substring(2,4)!=="00"&&e.substring(4,6)==="00")return 2;if(e.substring(4,6)!=="00")return 3},equal=(o,e,n)=>{if(n.type==="date"){if(/^(date|datetime)$/.test(n.options.type))return dayjs.unix(e).isSame(dayjs.unix(o.value));if(/^(dates|daterange)$/.test(n.options.type))return lodash.isEqual(lodash.chain(o.value).clone().flattenDeep().sort().value(),lodash.chain(e).clone().flattenDeep().sort().value())}if(n.type==="time")return dayjs(e,n.options.valueFormat).isSame(dayjs(o,n.options.valueFormat));if(n.type==="region")return lodash.includes(o,e);if(lodash.isString(e)||lodash.isNumber(e))return lodash.isEqual(o,e);if(lodash.isArray(e))return lodash.isEqual(lodash.chain(o).clone().flattenDeep().sort().value(),lodash.chain(e).clone().flattenDeep().sort().value());if(lodash.isBoolean(e))return!!o===e},notEqual=(...o)=>!equal(...o),contains=(o,e,n)=>{if(lodash.isString(e))return o.some(r=>lodash.includes(e,r));if(lodash.isArray(e))return!!lodash.intersection(n.type==="date"?o.value:o,e).length},notContains=(...o)=>!contains(...o),empty=(o,e,n)=>n.type==="rate"&&e===0||utils$4.isEmpty(e),notEmpty=(...o)=>!empty(...o),gt$1=(o,e,n)=>n.type==="date"?dayjs.unix(e).isAfter(dayjs.unix(o.value)):n.type==="time"?dayjs(e,n.options.valueFormat).isAfter(dayjs(o,n.options.valueFormat)):lodash.gt(e,o),gte=(o,e,n)=>n.type==="date"?dayjs.unix(e).isSameOrAfter(dayjs.unix(lodash.isObject(o)?o.value:o)):n.type==="time"?dayjs(e,n.options.valueFormat).isSameOrAfter(dayjs(o,n.options.valueFormat)):lodash.gte(e,o),lt$1=(o,e,n)=>n.type==="date"?dayjs.unix(e).isBefore(dayjs.unix(o.value)):n.type==="time"?dayjs(e,n.options.valueFormat).isBefore(dayjs(o,n.options.valueFormat)):lodash.lt(e===void 0?0:e,o),lte=(o,e,n)=>n.type==="date"?dayjs.unix(e).isSameOrBefore(dayjs.unix(lodash.isObject(o)?o.value:o)):n.type==="time"?dayjs(e,n.options.valueFormat).isSameOrBefore(dayjs(o,n.options.valueFormat)):lodash.lte(e===void 0?0:e,o),between=(o,e,n)=>{const[r,i]=n.type==="date"?o.value:o;return lte(i,e,n)&>e(r,e,n)},oneOf=(o,e,n)=>!!lodash.intersection(o,[e]).length,notOneOf=(...o)=>!oneOf(...o),belongOneOf=(o,e,n)=>utils$4.isEmpty(e)?!1:o.some(r=>{let i=!1;switch(getAreaType(r)){case 1:i=r.substring(0,2)===e.substring(0,2);break;case 2:i=r.substring(0,2)===e.substring(0,2)&&r.substring(2,4)===e.substring(2,4);break;case 3:i=r===e;break}return i}),notBelongOneOf=(...o)=>!belongOneOf(...o),validator=(o,e,n)=>{let r=!1;switch(o.operator){case"equal":r=equal(o.value,e,n);break;case"not_equal":r=notEqual(o.value,e,n);break;case"contains":r=contains(o.value,e,n);break;case"not_contain":r=notContains(o.value,e,n);break;case"empty":r=empty(o.value,e,n);break;case"not_empty":r=notEmpty(o.value,e,n);break;case"greater_than":r=gt$1(o.value,e,n);break;case"greater_than_equal":r=gte(o.value,e,n);break;case"less_than":r=lt$1(o.value,e,n);break;case"less_than_equal":r=lte(o.value,e,n);break;case"between":r=between(o.value,e,n);break;case"one_of":r=oneOf(o.value,e);break;case"not_one_of":r=notOneOf(o.value,e,n);break;case"belong_one_of":r=belongOneOf(o.value,e);break;case"not_belong_one_of":r=notBelongOneOf(o.value,e,n);break}return r},changeState=(o,e,n,r)=>{o.has(e)||o.set(e,{}),o.get(e)[n]=r},operatingVisible=(o,e,n,r)=>{lodash.get(e,"then.conditions",[]).forEach(i=>{switch(i.property){case"show":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"visible",1)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"visible",0)});break;case"hide":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"visible",0)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"visible",1)});break}})},operatingRequired=(o,e,n,r)=>{lodash.get(e,"then.conditions",[]).forEach(i=>{switch(i.operator){case"required":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"required",1)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"required",0)});break;case"not_required":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"required",0)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"required",1)});break}})},operatingReadOnly=(o,e,n,r)=>{lodash.get(e,"then.conditions",[]).forEach(i=>{switch(i.operator){case"readOnly":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"readOnly",1)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"readOnly",0)});break;case"editable":o?findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"readOnly",0)}):findFieldsByid(i.value,n).forEach(s=>{changeState(r,s,"readOnly",1)});break}})},listenEvent=o=>{const e=findValidityRule(o);for(const n in e)e[n].forEach(r=>{const i=findFieldsByid(r.if.conditions.map(a=>a.property),o.fields),s=a=>r.if.logicalOperator==="and"?a.every(u=>u):a.some(u=>u);vue.watch(()=>i.map(a=>a.options.defaultValue),a=>{switch(n){case"visible":operatingVisible(s(a.map((u,l)=>validator(r.if.conditions[l],u,i[l]))),r,o.fields,o.fieldsLogicState);break;case"required":operatingRequired(s(a.map((u,l)=>validator(r.if.conditions[l],u,i[l]))),r,o.fields,o.fieldsLogicState);break;case"readOnly":operatingReadOnly(s(a.map((u,l)=>validator(r.if.conditions[l],u,i[l]))),r,o.fields,o.fieldsLogicState);break}},{immediate:!0,deep:!0})})},useLogic=o=>{vue.watch(()=>o.logic,()=>{listenEvent(o)})},__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,getAreaType,validator,useLogic},Symbol.toStringTag,{value:"Module"})),_bem=(o,e,n,r,i)=>{let s=`${o}-${e}`;return r&&(s+=`__${r}`),i&&(s+=`--${i}`),s},statePrefix="is-",useNamespace=(o,e)=>{const r=`Everright-${e||vue.inject("Everright").state.Namespace}`;return{namespace:r,b:(u="")=>_bem(r,o,u,"",""),e:u=>u?_bem(r,o,"",u,""):"",is:(u,...l)=>{const c=l.length>=1?l[0]:!0;return u&&c?`${statePrefix}${u}`:""}}},__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,useNamespace},Symbol.toStringTag,{value:"Module"}));class Region{constructor(e,n){this.data=e,this.config=n,this.municipality=["110000","120000","310000","500000"]}getProvince(){const e=[],{province_list:n}=this.data;for(const r in n)e.push({label:n[r],value:r});return e}getCity(e){const n=[],{city_list:r}=this.data;for(const i in r)e.slice(0,2)===i.slice(0,2)&&n.push({label:r[i],value:i});return n}getCounty(e){const n=[],{county_list:r}=this.data;for(const i in r)e.slice(0,4)===i.slice(0,4)&&n.push({label:r[i],value:i});return n}getAll(){return this.getProvince().map(e=>{if(this.config.selectType>1)if(this.config.isFilter&&this.municipality.includes(e.value))e.children=this.getCounty(String(Number(e.value)+(e.value==="500000"?200:100)));else{const n=this.getCity(e.value);e.children=n.map(r=>{if(this.config.selectType>2){const i=this.getCounty(r.value);i.length&&(r.children=i)}return r})}return e})}}var areaList={province_list:{11e4:"\u5317\u4EAC\u5E02",12e4:"\u5929\u6D25\u5E02",13e4:"\u6CB3\u5317\u7701",14e4:"\u5C71\u897F\u7701",15e4:"\u5185\u8499\u53E4\u81EA\u6CBB\u533A",21e4:"\u8FBD\u5B81\u7701",22e4:"\u5409\u6797\u7701",23e4:"\u9ED1\u9F99\u6C5F\u7701",31e4:"\u4E0A\u6D77\u5E02",32e4:"\u6C5F\u82CF\u7701",33e4:"\u6D59\u6C5F\u7701",34e4:"\u5B89\u5FBD\u7701",35e4:"\u798F\u5EFA\u7701",36e4:"\u6C5F\u897F\u7701",37e4:"\u5C71\u4E1C\u7701",41e4:"\u6CB3\u5357\u7701",42e4:"\u6E56\u5317\u7701",43e4:"\u6E56\u5357\u7701",44e4:"\u5E7F\u4E1C\u7701",45e4:"\u5E7F\u897F\u58EE\u65CF\u81EA\u6CBB\u533A",46e4:"\u6D77\u5357\u7701",5e5:"\u91CD\u5E86\u5E02",51e4:"\u56DB\u5DDD\u7701",52e4:"\u8D35\u5DDE\u7701",53e4:"\u4E91\u5357\u7701",54e4:"\u897F\u85CF\u81EA\u6CBB\u533A",61e4:"\u9655\u897F\u7701",62e4:"\u7518\u8083\u7701",63e4:"\u9752\u6D77\u7701",64e4:"\u5B81\u590F\u56DE\u65CF\u81EA\u6CBB\u533A",65e4:"\u65B0\u7586\u7EF4\u543E\u5C14\u81EA\u6CBB\u533A",71e4:"\u53F0\u6E7E\u7701",81e4:"\u9999\u6E2F\u7279\u522B\u884C\u653F\u533A",82e4:"\u6FB3\u95E8\u7279\u522B\u884C\u653F\u533A"},city_list:{110100:"\u5317\u4EAC\u5E02",120100:"\u5929\u6D25\u5E02",130100:"\u77F3\u5BB6\u5E84\u5E02",130200:"\u5510\u5C71\u5E02",130300:"\u79E6\u7687\u5C9B\u5E02",130400:"\u90AF\u90F8\u5E02",130500:"\u90A2\u53F0\u5E02",130600:"\u4FDD\u5B9A\u5E02",130700:"\u5F20\u5BB6\u53E3\u5E02",130800:"\u627F\u5FB7\u5E02",130900:"\u6CA7\u5DDE\u5E02",131e3:"\u5ECA\u574A\u5E02",131100:"\u8861\u6C34\u5E02",140100:"\u592A\u539F\u5E02",140200:"\u5927\u540C\u5E02",140300:"\u9633\u6CC9\u5E02",140400:"\u957F\u6CBB\u5E02",140500:"\u664B\u57CE\u5E02",140600:"\u6714\u5DDE\u5E02",140700:"\u664B\u4E2D\u5E02",140800:"\u8FD0\u57CE\u5E02",140900:"\u5FFB\u5DDE\u5E02",141e3:"\u4E34\u6C7E\u5E02",141100:"\u5415\u6881\u5E02",150100:"\u547C\u548C\u6D69\u7279\u5E02",150200:"\u5305\u5934\u5E02",150300:"\u4E4C\u6D77\u5E02",150400:"\u8D64\u5CF0\u5E02",150500:"\u901A\u8FBD\u5E02",150600:"\u9102\u5C14\u591A\u65AF\u5E02",150700:"\u547C\u4F26\u8D1D\u5C14\u5E02",150800:"\u5DF4\u5F66\u6DD6\u5C14\u5E02",150900:"\u4E4C\u5170\u5BDF\u5E03\u5E02",152200:"\u5174\u5B89\u76DF",152500:"\u9521\u6797\u90ED\u52D2\u76DF",152900:"\u963F\u62C9\u5584\u76DF",210100:"\u6C88\u9633\u5E02",210200:"\u5927\u8FDE\u5E02",210300:"\u978D\u5C71\u5E02",210400:"\u629A\u987A\u5E02",210500:"\u672C\u6EAA\u5E02",210600:"\u4E39\u4E1C\u5E02",210700:"\u9526\u5DDE\u5E02",210800:"\u8425\u53E3\u5E02",210900:"\u961C\u65B0\u5E02",211e3:"\u8FBD\u9633\u5E02",211100:"\u76D8\u9526\u5E02",211200:"\u94C1\u5CAD\u5E02",211300:"\u671D\u9633\u5E02",211400:"\u846B\u82A6\u5C9B\u5E02",220100:"\u957F\u6625\u5E02",220200:"\u5409\u6797\u5E02",220300:"\u56DB\u5E73\u5E02",220400:"\u8FBD\u6E90\u5E02",220500:"\u901A\u5316\u5E02",220600:"\u767D\u5C71\u5E02",220700:"\u677E\u539F\u5E02",220800:"\u767D\u57CE\u5E02",222400:"\u5EF6\u8FB9\u671D\u9C9C\u65CF\u81EA\u6CBB\u5DDE",230100:"\u54C8\u5C14\u6EE8\u5E02",230200:"\u9F50\u9F50\u54C8\u5C14\u5E02",230300:"\u9E21\u897F\u5E02",230400:"\u9E64\u5C97\u5E02",230500:"\u53CC\u9E2D\u5C71\u5E02",230600:"\u5927\u5E86\u5E02",230700:"\u4F0A\u6625\u5E02",230800:"\u4F73\u6728\u65AF\u5E02",230900:"\u4E03\u53F0\u6CB3\u5E02",231e3:"\u7261\u4E39\u6C5F\u5E02",231100:"\u9ED1\u6CB3\u5E02",231200:"\u7EE5\u5316\u5E02",232700:"\u5927\u5174\u5B89\u5CAD\u5730\u533A",310100:"\u4E0A\u6D77\u5E02",320100:"\u5357\u4EAC\u5E02",320200:"\u65E0\u9521\u5E02",320300:"\u5F90\u5DDE\u5E02",320400:"\u5E38\u5DDE\u5E02",320500:"\u82CF\u5DDE\u5E02",320600:"\u5357\u901A\u5E02",320700:"\u8FDE\u4E91\u6E2F\u5E02",320800:"\u6DEE\u5B89\u5E02",320900:"\u76D0\u57CE\u5E02",321e3:"\u626C\u5DDE\u5E02",321100:"\u9547\u6C5F\u5E02",321200:"\u6CF0\u5DDE\u5E02",321300:"\u5BBF\u8FC1\u5E02",330100:"\u676D\u5DDE\u5E02",330200:"\u5B81\u6CE2\u5E02",330300:"\u6E29\u5DDE\u5E02",330400:"\u5609\u5174\u5E02",330500:"\u6E56\u5DDE\u5E02",330600:"\u7ECD\u5174\u5E02",330700:"\u91D1\u534E\u5E02",330800:"\u8862\u5DDE\u5E02",330900:"\u821F\u5C71\u5E02",331e3:"\u53F0\u5DDE\u5E02",331100:"\u4E3D\u6C34\u5E02",340100:"\u5408\u80A5\u5E02",340200:"\u829C\u6E56\u5E02",340300:"\u868C\u57E0\u5E02",340400:"\u6DEE\u5357\u5E02",340500:"\u9A6C\u978D\u5C71\u5E02",340600:"\u6DEE\u5317\u5E02",340700:"\u94DC\u9675\u5E02",340800:"\u5B89\u5E86\u5E02",341e3:"\u9EC4\u5C71\u5E02",341100:"\u6EC1\u5DDE\u5E02",341200:"\u961C\u9633\u5E02",341300:"\u5BBF\u5DDE\u5E02",341500:"\u516D\u5B89\u5E02",341600:"\u4EB3\u5DDE\u5E02",341700:"\u6C60\u5DDE\u5E02",341800:"\u5BA3\u57CE\u5E02",350100:"\u798F\u5DDE\u5E02",350200:"\u53A6\u95E8\u5E02",350300:"\u8386\u7530\u5E02",350400:"\u4E09\u660E\u5E02",350500:"\u6CC9\u5DDE\u5E02",350600:"\u6F33\u5DDE\u5E02",350700:"\u5357\u5E73\u5E02",350800:"\u9F99\u5CA9\u5E02",350900:"\u5B81\u5FB7\u5E02",360100:"\u5357\u660C\u5E02",360200:"\u666F\u5FB7\u9547\u5E02",360300:"\u840D\u4E61\u5E02",360400:"\u4E5D\u6C5F\u5E02",360500:"\u65B0\u4F59\u5E02",360600:"\u9E70\u6F6D\u5E02",360700:"\u8D63\u5DDE\u5E02",360800:"\u5409\u5B89\u5E02",360900:"\u5B9C\u6625\u5E02",361e3:"\u629A\u5DDE\u5E02",361100:"\u4E0A\u9976\u5E02",370100:"\u6D4E\u5357\u5E02",370200:"\u9752\u5C9B\u5E02",370300:"\u6DC4\u535A\u5E02",370400:"\u67A3\u5E84\u5E02",370500:"\u4E1C\u8425\u5E02",370600:"\u70DF\u53F0\u5E02",370700:"\u6F4D\u574A\u5E02",370800:"\u6D4E\u5B81\u5E02",370900:"\u6CF0\u5B89\u5E02",371e3:"\u5A01\u6D77\u5E02",371100:"\u65E5\u7167\u5E02",371300:"\u4E34\u6C82\u5E02",371400:"\u5FB7\u5DDE\u5E02",371500:"\u804A\u57CE\u5E02",371600:"\u6EE8\u5DDE\u5E02",371700:"\u83CF\u6CFD\u5E02",410100:"\u90D1\u5DDE\u5E02",410200:"\u5F00\u5C01\u5E02",410300:"\u6D1B\u9633\u5E02",410400:"\u5E73\u9876\u5C71\u5E02",410500:"\u5B89\u9633\u5E02",410600:"\u9E64\u58C1\u5E02",410700:"\u65B0\u4E61\u5E02",410800:"\u7126\u4F5C\u5E02",410900:"\u6FEE\u9633\u5E02",411e3:"\u8BB8\u660C\u5E02",411100:"\u6F2F\u6CB3\u5E02",411200:"\u4E09\u95E8\u5CE1\u5E02",411300:"\u5357\u9633\u5E02",411400:"\u5546\u4E18\u5E02",411500:"\u4FE1\u9633\u5E02",411600:"\u5468\u53E3\u5E02",411700:"\u9A7B\u9A6C\u5E97\u5E02",419e3:"\u7701\u76F4\u8F96\u53BF",420100:"\u6B66\u6C49\u5E02",420200:"\u9EC4\u77F3\u5E02",420300:"\u5341\u5830\u5E02",420500:"\u5B9C\u660C\u5E02",420600:"\u8944\u9633\u5E02",420700:"\u9102\u5DDE\u5E02",420800:"\u8346\u95E8\u5E02",420900:"\u5B5D\u611F\u5E02",421e3:"\u8346\u5DDE\u5E02",421100:"\u9EC4\u5188\u5E02",421200:"\u54B8\u5B81\u5E02",421300:"\u968F\u5DDE\u5E02",422800:"\u6069\u65BD\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",429e3:"\u7701\u76F4\u8F96\u53BF",430100:"\u957F\u6C99\u5E02",430200:"\u682A\u6D32\u5E02",430300:"\u6E58\u6F6D\u5E02",430400:"\u8861\u9633\u5E02",430500:"\u90B5\u9633\u5E02",430600:"\u5CB3\u9633\u5E02",430700:"\u5E38\u5FB7\u5E02",430800:"\u5F20\u5BB6\u754C\u5E02",430900:"\u76CA\u9633\u5E02",431e3:"\u90F4\u5DDE\u5E02",431100:"\u6C38\u5DDE\u5E02",431200:"\u6000\u5316\u5E02",431300:"\u5A04\u5E95\u5E02",433100:"\u6E58\u897F\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",440100:"\u5E7F\u5DDE\u5E02",440200:"\u97F6\u5173\u5E02",440300:"\u6DF1\u5733\u5E02",440400:"\u73E0\u6D77\u5E02",440500:"\u6C55\u5934\u5E02",440600:"\u4F5B\u5C71\u5E02",440700:"\u6C5F\u95E8\u5E02",440800:"\u6E5B\u6C5F\u5E02",440900:"\u8302\u540D\u5E02",441200:"\u8087\u5E86\u5E02",441300:"\u60E0\u5DDE\u5E02",441400:"\u6885\u5DDE\u5E02",441500:"\u6C55\u5C3E\u5E02",441600:"\u6CB3\u6E90\u5E02",441700:"\u9633\u6C5F\u5E02",441800:"\u6E05\u8FDC\u5E02",441900:"\u4E1C\u839E\u5E02",442e3:"\u4E2D\u5C71\u5E02",445100:"\u6F6E\u5DDE\u5E02",445200:"\u63ED\u9633\u5E02",445300:"\u4E91\u6D6E\u5E02",450100:"\u5357\u5B81\u5E02",450200:"\u67F3\u5DDE\u5E02",450300:"\u6842\u6797\u5E02",450400:"\u68A7\u5DDE\u5E02",450500:"\u5317\u6D77\u5E02",450600:"\u9632\u57CE\u6E2F\u5E02",450700:"\u94A6\u5DDE\u5E02",450800:"\u8D35\u6E2F\u5E02",450900:"\u7389\u6797\u5E02",451e3:"\u767E\u8272\u5E02",451100:"\u8D3A\u5DDE\u5E02",451200:"\u6CB3\u6C60\u5E02",451300:"\u6765\u5BBE\u5E02",451400:"\u5D07\u5DE6\u5E02",460100:"\u6D77\u53E3\u5E02",460200:"\u4E09\u4E9A\u5E02",460300:"\u4E09\u6C99\u5E02",460400:"\u510B\u5DDE\u5E02",469e3:"\u7701\u76F4\u8F96\u53BF",500100:"\u91CD\u5E86\u5E02",500200:"\u53BF",510100:"\u6210\u90FD\u5E02",510300:"\u81EA\u8D21\u5E02",510400:"\u6500\u679D\u82B1\u5E02",510500:"\u6CF8\u5DDE\u5E02",510600:"\u5FB7\u9633\u5E02",510700:"\u7EF5\u9633\u5E02",510800:"\u5E7F\u5143\u5E02",510900:"\u9042\u5B81\u5E02",511e3:"\u5185\u6C5F\u5E02",511100:"\u4E50\u5C71\u5E02",511300:"\u5357\u5145\u5E02",511400:"\u7709\u5C71\u5E02",511500:"\u5B9C\u5BBE\u5E02",511600:"\u5E7F\u5B89\u5E02",511700:"\u8FBE\u5DDE\u5E02",511800:"\u96C5\u5B89\u5E02",511900:"\u5DF4\u4E2D\u5E02",512e3:"\u8D44\u9633\u5E02",513200:"\u963F\u575D\u85CF\u65CF\u7F8C\u65CF\u81EA\u6CBB\u5DDE",513300:"\u7518\u5B5C\u85CF\u65CF\u81EA\u6CBB\u5DDE",513400:"\u51C9\u5C71\u5F5D\u65CF\u81EA\u6CBB\u5DDE",520100:"\u8D35\u9633\u5E02",520200:"\u516D\u76D8\u6C34\u5E02",520300:"\u9075\u4E49\u5E02",520400:"\u5B89\u987A\u5E02",520500:"\u6BD5\u8282\u5E02",520600:"\u94DC\u4EC1\u5E02",522300:"\u9ED4\u897F\u5357\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",522600:"\u9ED4\u4E1C\u5357\u82D7\u65CF\u4F97\u65CF\u81EA\u6CBB\u5DDE",522700:"\u9ED4\u5357\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",530100:"\u6606\u660E\u5E02",530300:"\u66F2\u9756\u5E02",530400:"\u7389\u6EAA\u5E02",530500:"\u4FDD\u5C71\u5E02",530600:"\u662D\u901A\u5E02",530700:"\u4E3D\u6C5F\u5E02",530800:"\u666E\u6D31\u5E02",530900:"\u4E34\u6CA7\u5E02",532300:"\u695A\u96C4\u5F5D\u65CF\u81EA\u6CBB\u5DDE",532500:"\u7EA2\u6CB3\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u5DDE",532600:"\u6587\u5C71\u58EE\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",532800:"\u897F\u53CC\u7248\u7EB3\u50A3\u65CF\u81EA\u6CBB\u5DDE",532900:"\u5927\u7406\u767D\u65CF\u81EA\u6CBB\u5DDE",533100:"\u5FB7\u5B8F\u50A3\u65CF\u666F\u9887\u65CF\u81EA\u6CBB\u5DDE",533300:"\u6012\u6C5F\u5088\u50F3\u65CF\u81EA\u6CBB\u5DDE",533400:"\u8FEA\u5E86\u85CF\u65CF\u81EA\u6CBB\u5DDE",540100:"\u62C9\u8428\u5E02",540200:"\u65E5\u5580\u5219\u5E02",540300:"\u660C\u90FD\u5E02",540400:"\u6797\u829D\u5E02",540500:"\u5C71\u5357\u5E02",540600:"\u90A3\u66F2\u5E02",542500:"\u963F\u91CC\u5730\u533A",610100:"\u897F\u5B89\u5E02",610200:"\u94DC\u5DDD\u5E02",610300:"\u5B9D\u9E21\u5E02",610400:"\u54B8\u9633\u5E02",610500:"\u6E2D\u5357\u5E02",610600:"\u5EF6\u5B89\u5E02",610700:"\u6C49\u4E2D\u5E02",610800:"\u6986\u6797\u5E02",610900:"\u5B89\u5EB7\u5E02",611e3:"\u5546\u6D1B\u5E02",620100:"\u5170\u5DDE\u5E02",620200:"\u5609\u5CEA\u5173\u5E02",620300:"\u91D1\u660C\u5E02",620400:"\u767D\u94F6\u5E02",620500:"\u5929\u6C34\u5E02",620600:"\u6B66\u5A01\u5E02",620700:"\u5F20\u6396\u5E02",620800:"\u5E73\u51C9\u5E02",620900:"\u9152\u6CC9\u5E02",621e3:"\u5E86\u9633\u5E02",621100:"\u5B9A\u897F\u5E02",621200:"\u9647\u5357\u5E02",622900:"\u4E34\u590F\u56DE\u65CF\u81EA\u6CBB\u5DDE",623e3:"\u7518\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",630100:"\u897F\u5B81\u5E02",630200:"\u6D77\u4E1C\u5E02",632200:"\u6D77\u5317\u85CF\u65CF\u81EA\u6CBB\u5DDE",632300:"\u9EC4\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",632500:"\u6D77\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",632600:"\u679C\u6D1B\u85CF\u65CF\u81EA\u6CBB\u5DDE",632700:"\u7389\u6811\u85CF\u65CF\u81EA\u6CBB\u5DDE",632800:"\u6D77\u897F\u8499\u53E4\u65CF\u85CF\u65CF\u81EA\u6CBB\u5DDE",640100:"\u94F6\u5DDD\u5E02",640200:"\u77F3\u5634\u5C71\u5E02",640300:"\u5434\u5FE0\u5E02",640400:"\u56FA\u539F\u5E02",640500:"\u4E2D\u536B\u5E02",650100:"\u4E4C\u9C81\u6728\u9F50\u5E02",650200:"\u514B\u62C9\u739B\u4F9D\u5E02",650400:"\u5410\u9C81\u756A\u5E02",650500:"\u54C8\u5BC6\u5E02",652300:"\u660C\u5409\u56DE\u65CF\u81EA\u6CBB\u5DDE",652700:"\u535A\u5C14\u5854\u62C9\u8499\u53E4\u81EA\u6CBB\u5DDE",652800:"\u5DF4\u97F3\u90ED\u695E\u8499\u53E4\u81EA\u6CBB\u5DDE",652900:"\u963F\u514B\u82CF\u5730\u533A",653e3:"\u514B\u5B5C\u52D2\u82CF\u67EF\u5C14\u514B\u5B5C\u81EA\u6CBB\u5DDE",653100:"\u5580\u4EC0\u5730\u533A",653200:"\u548C\u7530\u5730\u533A",654e3:"\u4F0A\u7281\u54C8\u8428\u514B\u81EA\u6CBB\u5DDE",654200:"\u5854\u57CE\u5730\u533A",654300:"\u963F\u52D2\u6CF0\u5730\u533A",659e3:"\u81EA\u6CBB\u533A\u76F4\u8F96\u53BF\u7EA7\u884C\u653F\u533A\u5212",710100:"\u53F0\u5317\u5E02",710200:"\u9AD8\u96C4\u5E02",710300:"\u53F0\u5357\u5E02",710400:"\u53F0\u4E2D\u5E02",710500:"\u91D1\u95E8\u53BF",710600:"\u5357\u6295\u53BF",710700:"\u57FA\u9686\u5E02",710800:"\u65B0\u7AF9\u5E02",710900:"\u5609\u4E49\u5E02",711100:"\u65B0\u5317\u5E02",711200:"\u5B9C\u5170\u53BF",711300:"\u65B0\u7AF9\u53BF",711400:"\u6843\u56ED\u5E02",711500:"\u82D7\u6817\u53BF",711700:"\u5F70\u5316\u53BF",711900:"\u5609\u4E49\u53BF",712100:"\u4E91\u6797\u53BF",712400:"\u5C4F\u4E1C\u53BF",712500:"\u53F0\u4E1C\u53BF",712600:"\u82B1\u83B2\u53BF",712700:"\u6F8E\u6E56\u53BF",712800:"\u8FDE\u6C5F\u53BF",810100:"\u9999\u6E2F\u5C9B",810200:"\u4E5D\u9F99",810300:"\u65B0\u754C",820100:"\u6FB3\u95E8\u534A\u5C9B",820200:"\u79BB\u5C9B"},county_list:{110101:"\u4E1C\u57CE\u533A",110102:"\u897F\u57CE\u533A",110105:"\u671D\u9633\u533A",110106:"\u4E30\u53F0\u533A",110107:"\u77F3\u666F\u5C71\u533A",110108:"\u6D77\u6DC0\u533A",110109:"\u95E8\u5934\u6C9F\u533A",110111:"\u623F\u5C71\u533A",110112:"\u901A\u5DDE\u533A",110113:"\u987A\u4E49\u533A",110114:"\u660C\u5E73\u533A",110115:"\u5927\u5174\u533A",110116:"\u6000\u67D4\u533A",110117:"\u5E73\u8C37\u533A",110118:"\u5BC6\u4E91\u533A",110119:"\u5EF6\u5E86\u533A",120101:"\u548C\u5E73\u533A",120102:"\u6CB3\u4E1C\u533A",120103:"\u6CB3\u897F\u533A",120104:"\u5357\u5F00\u533A",120105:"\u6CB3\u5317\u533A",120106:"\u7EA2\u6865\u533A",120110:"\u4E1C\u4E3D\u533A",120111:"\u897F\u9752\u533A",120112:"\u6D25\u5357\u533A",120113:"\u5317\u8FB0\u533A",120114:"\u6B66\u6E05\u533A",120115:"\u5B9D\u577B\u533A",120116:"\u6EE8\u6D77\u65B0\u533A",120117:"\u5B81\u6CB3\u533A",120118:"\u9759\u6D77\u533A",120119:"\u84DF\u5DDE\u533A",130102:"\u957F\u5B89\u533A",130104:"\u6865\u897F\u533A",130105:"\u65B0\u534E\u533A",130107:"\u4E95\u9649\u77FF\u533A",130108:"\u88D5\u534E\u533A",130109:"\u85C1\u57CE\u533A",130110:"\u9E7F\u6CC9\u533A",130111:"\u683E\u57CE\u533A",130121:"\u4E95\u9649\u53BF",130123:"\u6B63\u5B9A\u53BF",130125:"\u884C\u5510\u53BF",130126:"\u7075\u5BFF\u53BF",130127:"\u9AD8\u9091\u53BF",130128:"\u6DF1\u6CFD\u53BF",130129:"\u8D5E\u7687\u53BF",130130:"\u65E0\u6781\u53BF",130131:"\u5E73\u5C71\u53BF",130132:"\u5143\u6C0F\u53BF",130133:"\u8D75\u53BF",130171:"\u77F3\u5BB6\u5E84\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130172:"\u77F3\u5BB6\u5E84\u5FAA\u73AF\u5316\u5DE5\u56ED\u533A",130181:"\u8F9B\u96C6\u5E02",130183:"\u664B\u5DDE\u5E02",130184:"\u65B0\u4E50\u5E02",130202:"\u8DEF\u5357\u533A",130203:"\u8DEF\u5317\u533A",130204:"\u53E4\u51B6\u533A",130205:"\u5F00\u5E73\u533A",130207:"\u4E30\u5357\u533A",130208:"\u4E30\u6DA6\u533A",130209:"\u66F9\u5983\u7538\u533A",130224:"\u6EE6\u5357\u53BF",130225:"\u4E50\u4EAD\u53BF",130227:"\u8FC1\u897F\u53BF",130229:"\u7389\u7530\u53BF",130273:"\u5510\u5C71\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130274:"\u6CB3\u5317\u5510\u5C71\u6D77\u6E2F\u7ECF\u6D4E\u5F00\u53D1\u533A",130281:"\u9075\u5316\u5E02",130283:"\u8FC1\u5B89\u5E02",130284:"\u6EE6\u5DDE\u5E02",130302:"\u6D77\u6E2F\u533A",130303:"\u5C71\u6D77\u5173\u533A",130304:"\u5317\u6234\u6CB3\u533A",130306:"\u629A\u5B81\u533A",130321:"\u9752\u9F99\u6EE1\u65CF\u81EA\u6CBB\u53BF",130322:"\u660C\u9ECE\u53BF",130324:"\u5362\u9F99\u53BF",130371:"\u79E6\u7687\u5C9B\u5E02\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130372:"\u5317\u6234\u6CB3\u65B0\u533A",130390:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130402:"\u90AF\u5C71\u533A",130403:"\u4E1B\u53F0\u533A",130404:"\u590D\u5174\u533A",130406:"\u5CF0\u5CF0\u77FF\u533A",130407:"\u80A5\u4E61\u533A",130408:"\u6C38\u5E74\u533A",130423:"\u4E34\u6F33\u53BF",130424:"\u6210\u5B89\u53BF",130425:"\u5927\u540D\u53BF",130426:"\u6D89\u53BF",130427:"\u78C1\u53BF",130430:"\u90B1\u53BF",130431:"\u9E21\u6CFD\u53BF",130432:"\u5E7F\u5E73\u53BF",130433:"\u9986\u9676\u53BF",130434:"\u9B4F\u53BF",130435:"\u66F2\u5468\u53BF",130471:"\u90AF\u90F8\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130473:"\u90AF\u90F8\u5180\u5357\u65B0\u533A",130481:"\u6B66\u5B89\u5E02",130502:"\u8944\u90FD\u533A",130503:"\u4FE1\u90FD\u533A",130505:"\u4EFB\u6CFD\u533A",130506:"\u5357\u548C\u533A",130522:"\u4E34\u57CE\u53BF",130523:"\u5185\u4E18\u53BF",130524:"\u67CF\u4E61\u53BF",130525:"\u9686\u5C27\u53BF",130528:"\u5B81\u664B\u53BF",130529:"\u5DE8\u9E7F\u53BF",130530:"\u65B0\u6CB3\u53BF",130531:"\u5E7F\u5B97\u53BF",130532:"\u5E73\u4E61\u53BF",130533:"\u5A01\u53BF",130534:"\u6E05\u6CB3\u53BF",130535:"\u4E34\u897F\u53BF",130571:"\u6CB3\u5317\u90A2\u53F0\u7ECF\u6D4E\u5F00\u53D1\u533A",130581:"\u5357\u5BAB\u5E02",130582:"\u6C99\u6CB3\u5E02",130602:"\u7ADE\u79C0\u533A",130606:"\u83B2\u6C60\u533A",130607:"\u6EE1\u57CE\u533A",130608:"\u6E05\u82D1\u533A",130609:"\u5F90\u6C34\u533A",130623:"\u6D9E\u6C34\u53BF",130624:"\u961C\u5E73\u53BF",130626:"\u5B9A\u5174\u53BF",130627:"\u5510\u53BF",130628:"\u9AD8\u9633\u53BF",130629:"\u5BB9\u57CE\u53BF",130630:"\u6D9E\u6E90\u53BF",130631:"\u671B\u90FD\u53BF",130632:"\u5B89\u65B0\u53BF",130633:"\u6613\u53BF",130634:"\u66F2\u9633\u53BF",130635:"\u8821\u53BF",130636:"\u987A\u5E73\u53BF",130637:"\u535A\u91CE\u53BF",130638:"\u96C4\u53BF",130671:"\u4FDD\u5B9A\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130672:"\u4FDD\u5B9A\u767D\u6C9F\u65B0\u57CE",130681:"\u6DBF\u5DDE\u5E02",130682:"\u5B9A\u5DDE\u5E02",130683:"\u5B89\u56FD\u5E02",130684:"\u9AD8\u7891\u5E97\u5E02",130702:"\u6865\u4E1C\u533A",130703:"\u6865\u897F\u533A",130705:"\u5BA3\u5316\u533A",130706:"\u4E0B\u82B1\u56ED\u533A",130708:"\u4E07\u5168\u533A",130709:"\u5D07\u793C\u533A",130722:"\u5F20\u5317\u53BF",130723:"\u5EB7\u4FDD\u53BF",130724:"\u6CBD\u6E90\u53BF",130725:"\u5C1A\u4E49\u53BF",130726:"\u851A\u53BF",130727:"\u9633\u539F\u53BF",130728:"\u6000\u5B89\u53BF",130730:"\u6000\u6765\u53BF",130731:"\u6DBF\u9E7F\u53BF",130732:"\u8D64\u57CE\u53BF",130772:"\u5F20\u5BB6\u53E3\u5E02\u5BDF\u5317\u7BA1\u7406\u533A",130802:"\u53CC\u6865\u533A",130803:"\u53CC\u6EE6\u533A",130804:"\u9E70\u624B\u8425\u5B50\u77FF\u533A",130821:"\u627F\u5FB7\u53BF",130822:"\u5174\u9686\u53BF",130824:"\u6EE6\u5E73\u53BF",130825:"\u9686\u5316\u53BF",130826:"\u4E30\u5B81\u6EE1\u65CF\u81EA\u6CBB\u53BF",130827:"\u5BBD\u57CE\u6EE1\u65CF\u81EA\u6CBB\u53BF",130828:"\u56F4\u573A\u6EE1\u65CF\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",130871:"\u627F\u5FB7\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130881:"\u5E73\u6CC9\u5E02",130902:"\u65B0\u534E\u533A",130903:"\u8FD0\u6CB3\u533A",130921:"\u6CA7\u53BF",130922:"\u9752\u53BF",130923:"\u4E1C\u5149\u53BF",130924:"\u6D77\u5174\u53BF",130925:"\u76D0\u5C71\u53BF",130926:"\u8083\u5B81\u53BF",130927:"\u5357\u76AE\u53BF",130928:"\u5434\u6865\u53BF",130929:"\u732E\u53BF",130930:"\u5B5F\u6751\u56DE\u65CF\u81EA\u6CBB\u53BF",130971:"\u6CB3\u5317\u6CA7\u5DDE\u7ECF\u6D4E\u5F00\u53D1\u533A",130972:"\u6CA7\u5DDE\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130973:"\u6CA7\u5DDE\u6E24\u6D77\u65B0\u533A",130981:"\u6CCA\u5934\u5E02",130982:"\u4EFB\u4E18\u5E02",130983:"\u9EC4\u9A85\u5E02",130984:"\u6CB3\u95F4\u5E02",131002:"\u5B89\u6B21\u533A",131003:"\u5E7F\u9633\u533A",131022:"\u56FA\u5B89\u53BF",131023:"\u6C38\u6E05\u53BF",131024:"\u9999\u6CB3\u53BF",131025:"\u5927\u57CE\u53BF",131026:"\u6587\u5B89\u53BF",131028:"\u5927\u5382\u56DE\u65CF\u81EA\u6CBB\u53BF",131071:"\u5ECA\u574A\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",131081:"\u9738\u5DDE\u5E02",131082:"\u4E09\u6CB3\u5E02",131090:"\u5F00\u53D1\u533A",131102:"\u6843\u57CE\u533A",131103:"\u5180\u5DDE\u533A",131121:"\u67A3\u5F3A\u53BF",131122:"\u6B66\u9091\u53BF",131123:"\u6B66\u5F3A\u53BF",131124:"\u9976\u9633\u53BF",131125:"\u5B89\u5E73\u53BF",131126:"\u6545\u57CE\u53BF",131127:"\u666F\u53BF",131128:"\u961C\u57CE\u53BF",131171:"\u6CB3\u5317\u8861\u6C34\u7ECF\u6D4E\u5F00\u53D1\u533A",131172:"\u8861\u6C34\u6EE8\u6E56\u65B0\u533A",131182:"\u6DF1\u5DDE\u5E02",140105:"\u5C0F\u5E97\u533A",140106:"\u8FCE\u6CFD\u533A",140107:"\u674F\u82B1\u5CAD\u533A",140108:"\u5C16\u8349\u576A\u533A",140109:"\u4E07\u67CF\u6797\u533A",140110:"\u664B\u6E90\u533A",140121:"\u6E05\u5F90\u53BF",140122:"\u9633\u66F2\u53BF",140123:"\u5A04\u70E6\u53BF",140181:"\u53E4\u4EA4\u5E02",140212:"\u65B0\u8363\u533A",140213:"\u5E73\u57CE\u533A",140214:"\u4E91\u5188\u533A",140215:"\u4E91\u5DDE\u533A",140221:"\u9633\u9AD8\u53BF",140222:"\u5929\u9547\u53BF",140223:"\u5E7F\u7075\u53BF",140224:"\u7075\u4E18\u53BF",140225:"\u6D51\u6E90\u53BF",140226:"\u5DE6\u4E91\u53BF",140271:"\u5C71\u897F\u5927\u540C\u7ECF\u6D4E\u5F00\u53D1\u533A",140302:"\u57CE\u533A",140303:"\u77FF\u533A",140311:"\u90CA\u533A",140321:"\u5E73\u5B9A\u53BF",140322:"\u76C2\u53BF",140403:"\u6F5E\u5DDE\u533A",140404:"\u4E0A\u515A\u533A",140405:"\u5C6F\u7559\u533A",140406:"\u6F5E\u57CE\u533A",140423:"\u8944\u57A3\u53BF",140425:"\u5E73\u987A\u53BF",140426:"\u9ECE\u57CE\u53BF",140427:"\u58F6\u5173\u53BF",140428:"\u957F\u5B50\u53BF",140429:"\u6B66\u4E61\u53BF",140430:"\u6C81\u53BF",140431:"\u6C81\u6E90\u53BF",140471:"\u5C71\u897F\u957F\u6CBB\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u56ED\u533A",140502:"\u57CE\u533A",140521:"\u6C81\u6C34\u53BF",140522:"\u9633\u57CE\u53BF",140524:"\u9675\u5DDD\u53BF",140525:"\u6CFD\u5DDE\u53BF",140581:"\u9AD8\u5E73\u5E02",140602:"\u6714\u57CE\u533A",140603:"\u5E73\u9C81\u533A",140621:"\u5C71\u9634\u53BF",140622:"\u5E94\u53BF",140623:"\u53F3\u7389\u53BF",140671:"\u5C71\u897F\u6714\u5DDE\u7ECF\u6D4E\u5F00\u53D1\u533A",140681:"\u6000\u4EC1\u5E02",140702:"\u6986\u6B21\u533A",140703:"\u592A\u8C37\u533A",140721:"\u6986\u793E\u53BF",140722:"\u5DE6\u6743\u53BF",140723:"\u548C\u987A\u53BF",140724:"\u6614\u9633\u53BF",140725:"\u5BFF\u9633\u53BF",140727:"\u7941\u53BF",140728:"\u5E73\u9065\u53BF",140729:"\u7075\u77F3\u53BF",140781:"\u4ECB\u4F11\u5E02",140802:"\u76D0\u6E56\u533A",140821:"\u4E34\u7317\u53BF",140822:"\u4E07\u8363\u53BF",140823:"\u95FB\u559C\u53BF",140824:"\u7A37\u5C71\u53BF",140825:"\u65B0\u7EDB\u53BF",140826:"\u7EDB\u53BF",140827:"\u57A3\u66F2\u53BF",140828:"\u590F\u53BF",140829:"\u5E73\u9646\u53BF",140830:"\u82AE\u57CE\u53BF",140881:"\u6C38\u6D4E\u5E02",140882:"\u6CB3\u6D25\u5E02",140902:"\u5FFB\u5E9C\u533A",140921:"\u5B9A\u8944\u53BF",140922:"\u4E94\u53F0\u53BF",140923:"\u4EE3\u53BF",140924:"\u7E41\u5CD9\u53BF",140925:"\u5B81\u6B66\u53BF",140926:"\u9759\u4E50\u53BF",140927:"\u795E\u6C60\u53BF",140928:"\u4E94\u5BE8\u53BF",140929:"\u5CA2\u5C9A\u53BF",140930:"\u6CB3\u66F2\u53BF",140931:"\u4FDD\u5FB7\u53BF",140932:"\u504F\u5173\u53BF",140971:"\u4E94\u53F0\u5C71\u98CE\u666F\u540D\u80DC\u533A",140981:"\u539F\u5E73\u5E02",141002:"\u5C27\u90FD\u533A",141021:"\u66F2\u6C83\u53BF",141022:"\u7FFC\u57CE\u53BF",141023:"\u8944\u6C7E\u53BF",141024:"\u6D2A\u6D1E\u53BF",141025:"\u53E4\u53BF",141026:"\u5B89\u6CFD\u53BF",141027:"\u6D6E\u5C71\u53BF",141028:"\u5409\u53BF",141029:"\u4E61\u5B81\u53BF",141030:"\u5927\u5B81\u53BF",141031:"\u96B0\u53BF",141032:"\u6C38\u548C\u53BF",141033:"\u84B2\u53BF",141034:"\u6C7E\u897F\u53BF",141081:"\u4FAF\u9A6C\u5E02",141082:"\u970D\u5DDE\u5E02",141102:"\u79BB\u77F3\u533A",141121:"\u6587\u6C34\u53BF",141122:"\u4EA4\u57CE\u53BF",141123:"\u5174\u53BF",141124:"\u4E34\u53BF",141125:"\u67F3\u6797\u53BF",141126:"\u77F3\u697C\u53BF",141127:"\u5C9A\u53BF",141128:"\u65B9\u5C71\u53BF",141129:"\u4E2D\u9633\u53BF",141130:"\u4EA4\u53E3\u53BF",141181:"\u5B5D\u4E49\u5E02",141182:"\u6C7E\u9633\u5E02",150102:"\u65B0\u57CE\u533A",150103:"\u56DE\u6C11\u533A",150104:"\u7389\u6CC9\u533A",150105:"\u8D5B\u7F55\u533A",150121:"\u571F\u9ED8\u7279\u5DE6\u65D7",150122:"\u6258\u514B\u6258\u53BF",150123:"\u548C\u6797\u683C\u5C14\u53BF",150124:"\u6E05\u6C34\u6CB3\u53BF",150125:"\u6B66\u5DDD\u53BF",150172:"\u547C\u548C\u6D69\u7279\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",150202:"\u4E1C\u6CB3\u533A",150203:"\u6606\u90FD\u4ED1\u533A",150204:"\u9752\u5C71\u533A",150205:"\u77F3\u62D0\u533A",150206:"\u767D\u4E91\u9102\u535A\u77FF\u533A",150207:"\u4E5D\u539F\u533A",150221:"\u571F\u9ED8\u7279\u53F3\u65D7",150222:"\u56FA\u9633\u53BF",150223:"\u8FBE\u5C14\u7F55\u8302\u660E\u5B89\u8054\u5408\u65D7",150271:"\u5305\u5934\u7A00\u571F\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",150302:"\u6D77\u52C3\u6E7E\u533A",150303:"\u6D77\u5357\u533A",150304:"\u4E4C\u8FBE\u533A",150402:"\u7EA2\u5C71\u533A",150403:"\u5143\u5B9D\u5C71\u533A",150404:"\u677E\u5C71\u533A",150421:"\u963F\u9C81\u79D1\u5C14\u6C81\u65D7",150422:"\u5DF4\u6797\u5DE6\u65D7",150423:"\u5DF4\u6797\u53F3\u65D7",150424:"\u6797\u897F\u53BF",150425:"\u514B\u4EC0\u514B\u817E\u65D7",150426:"\u7FC1\u725B\u7279\u65D7",150428:"\u5580\u5587\u6C81\u65D7",150429:"\u5B81\u57CE\u53BF",150430:"\u6556\u6C49\u65D7",150502:"\u79D1\u5C14\u6C81\u533A",150521:"\u79D1\u5C14\u6C81\u5DE6\u7FFC\u4E2D\u65D7",150522:"\u79D1\u5C14\u6C81\u5DE6\u7FFC\u540E\u65D7",150523:"\u5F00\u9C81\u53BF",150524:"\u5E93\u4F26\u65D7",150525:"\u5948\u66FC\u65D7",150526:"\u624E\u9C81\u7279\u65D7",150571:"\u901A\u8FBD\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",150581:"\u970D\u6797\u90ED\u52D2\u5E02",150602:"\u4E1C\u80DC\u533A",150603:"\u5EB7\u5DF4\u4EC0\u533A",150621:"\u8FBE\u62C9\u7279\u65D7",150622:"\u51C6\u683C\u5C14\u65D7",150623:"\u9102\u6258\u514B\u524D\u65D7",150624:"\u9102\u6258\u514B\u65D7",150625:"\u676D\u9526\u65D7",150626:"\u4E4C\u5BA1\u65D7",150627:"\u4F0A\u91D1\u970D\u6D1B\u65D7",150702:"\u6D77\u62C9\u5C14\u533A",150703:"\u624E\u8D49\u8BFA\u5C14\u533A",150721:"\u963F\u8363\u65D7",150722:"\u83AB\u529B\u8FBE\u74E6\u8FBE\u65A1\u5C14\u65CF\u81EA\u6CBB\u65D7",150723:"\u9102\u4F26\u6625\u81EA\u6CBB\u65D7",150724:"\u9102\u6E29\u514B\u65CF\u81EA\u6CBB\u65D7",150725:"\u9648\u5DF4\u5C14\u864E\u65D7",150726:"\u65B0\u5DF4\u5C14\u864E\u5DE6\u65D7",150727:"\u65B0\u5DF4\u5C14\u864E\u53F3\u65D7",150781:"\u6EE1\u6D32\u91CC\u5E02",150782:"\u7259\u514B\u77F3\u5E02",150783:"\u624E\u5170\u5C6F\u5E02",150784:"\u989D\u5C14\u53E4\u7EB3\u5E02",150785:"\u6839\u6CB3\u5E02",150802:"\u4E34\u6CB3\u533A",150821:"\u4E94\u539F\u53BF",150822:"\u78F4\u53E3\u53BF",150823:"\u4E4C\u62C9\u7279\u524D\u65D7",150824:"\u4E4C\u62C9\u7279\u4E2D\u65D7",150825:"\u4E4C\u62C9\u7279\u540E\u65D7",150826:"\u676D\u9526\u540E\u65D7",150902:"\u96C6\u5B81\u533A",150921:"\u5353\u8D44\u53BF",150922:"\u5316\u5FB7\u53BF",150923:"\u5546\u90FD\u53BF",150924:"\u5174\u548C\u53BF",150925:"\u51C9\u57CE\u53BF",150926:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u524D\u65D7",150927:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u4E2D\u65D7",150928:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u540E\u65D7",150929:"\u56DB\u5B50\u738B\u65D7",150981:"\u4E30\u9547\u5E02",152201:"\u4E4C\u5170\u6D69\u7279\u5E02",152202:"\u963F\u5C14\u5C71\u5E02",152221:"\u79D1\u5C14\u6C81\u53F3\u7FFC\u524D\u65D7",152222:"\u79D1\u5C14\u6C81\u53F3\u7FFC\u4E2D\u65D7",152223:"\u624E\u8D49\u7279\u65D7",152224:"\u7A81\u6CC9\u53BF",152501:"\u4E8C\u8FDE\u6D69\u7279\u5E02",152502:"\u9521\u6797\u6D69\u7279\u5E02",152522:"\u963F\u5DF4\u560E\u65D7",152523:"\u82CF\u5C3C\u7279\u5DE6\u65D7",152524:"\u82CF\u5C3C\u7279\u53F3\u65D7",152525:"\u4E1C\u4E4C\u73E0\u7A46\u6C81\u65D7",152526:"\u897F\u4E4C\u73E0\u7A46\u6C81\u65D7",152527:"\u592A\u4EC6\u5BFA\u65D7",152528:"\u9576\u9EC4\u65D7",152529:"\u6B63\u9576\u767D\u65D7",152530:"\u6B63\u84DD\u65D7",152531:"\u591A\u4F26\u53BF",152571:"\u4E4C\u62C9\u76D6\u7BA1\u59D4\u4F1A",152921:"\u963F\u62C9\u5584\u5DE6\u65D7",152922:"\u963F\u62C9\u5584\u53F3\u65D7",152923:"\u989D\u6D4E\u7EB3\u65D7",152971:"\u5185\u8499\u53E4\u963F\u62C9\u5584\u7ECF\u6D4E\u5F00\u53D1\u533A",210102:"\u548C\u5E73\u533A",210103:"\u6C88\u6CB3\u533A",210104:"\u5927\u4E1C\u533A",210105:"\u7687\u59D1\u533A",210106:"\u94C1\u897F\u533A",210111:"\u82CF\u5BB6\u5C6F\u533A",210112:"\u6D51\u5357\u533A",210113:"\u6C88\u5317\u65B0\u533A",210114:"\u4E8E\u6D2A\u533A",210115:"\u8FBD\u4E2D\u533A",210123:"\u5EB7\u5E73\u53BF",210124:"\u6CD5\u5E93\u53BF",210181:"\u65B0\u6C11\u5E02",210190:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",210202:"\u4E2D\u5C71\u533A",210203:"\u897F\u5C97\u533A",210204:"\u6C99\u6CB3\u53E3\u533A",210211:"\u7518\u4E95\u5B50\u533A",210212:"\u65C5\u987A\u53E3\u533A",210213:"\u91D1\u5DDE\u533A",210214:"\u666E\u5170\u5E97\u533A",210224:"\u957F\u6D77\u53BF",210281:"\u74E6\u623F\u5E97\u5E02",210283:"\u5E84\u6CB3\u5E02",210302:"\u94C1\u4E1C\u533A",210303:"\u94C1\u897F\u533A",210304:"\u7ACB\u5C71\u533A",210311:"\u5343\u5C71\u533A",210321:"\u53F0\u5B89\u53BF",210323:"\u5CAB\u5CA9\u6EE1\u65CF\u81EA\u6CBB\u53BF",210381:"\u6D77\u57CE\u5E02",210390:"\u9AD8\u65B0\u533A",210402:"\u65B0\u629A\u533A",210403:"\u4E1C\u6D32\u533A",210404:"\u671B\u82B1\u533A",210411:"\u987A\u57CE\u533A",210421:"\u629A\u987A\u53BF",210422:"\u65B0\u5BBE\u6EE1\u65CF\u81EA\u6CBB\u53BF",210423:"\u6E05\u539F\u6EE1\u65CF\u81EA\u6CBB\u53BF",210502:"\u5E73\u5C71\u533A",210503:"\u6EAA\u6E56\u533A",210504:"\u660E\u5C71\u533A",210505:"\u5357\u82AC\u533A",210521:"\u672C\u6EAA\u6EE1\u65CF\u81EA\u6CBB\u53BF",210522:"\u6853\u4EC1\u6EE1\u65CF\u81EA\u6CBB\u53BF",210602:"\u5143\u5B9D\u533A",210603:"\u632F\u5174\u533A",210604:"\u632F\u5B89\u533A",210624:"\u5BBD\u7538\u6EE1\u65CF\u81EA\u6CBB\u53BF",210681:"\u4E1C\u6E2F\u5E02",210682:"\u51E4\u57CE\u5E02",210702:"\u53E4\u5854\u533A",210703:"\u51CC\u6CB3\u533A",210711:"\u592A\u548C\u533A",210726:"\u9ED1\u5C71\u53BF",210727:"\u4E49\u53BF",210781:"\u51CC\u6D77\u5E02",210782:"\u5317\u9547\u5E02",210793:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",210802:"\u7AD9\u524D\u533A",210803:"\u897F\u5E02\u533A",210804:"\u9C85\u9C7C\u5708\u533A",210811:"\u8001\u8FB9\u533A",210881:"\u76D6\u5DDE\u5E02",210882:"\u5927\u77F3\u6865\u5E02",210902:"\u6D77\u5DDE\u533A",210903:"\u65B0\u90B1\u533A",210904:"\u592A\u5E73\u533A",210905:"\u6E05\u6CB3\u95E8\u533A",210911:"\u7EC6\u6CB3\u533A",210921:"\u961C\u65B0\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",210922:"\u5F70\u6B66\u53BF",211002:"\u767D\u5854\u533A",211003:"\u6587\u5723\u533A",211004:"\u5B8F\u4F1F\u533A",211005:"\u5F13\u957F\u5CAD\u533A",211011:"\u592A\u5B50\u6CB3\u533A",211021:"\u8FBD\u9633\u53BF",211081:"\u706F\u5854\u5E02",211102:"\u53CC\u53F0\u5B50\u533A",211103:"\u5174\u9686\u53F0\u533A",211104:"\u5927\u6D3C\u533A",211122:"\u76D8\u5C71\u53BF",211202:"\u94F6\u5DDE\u533A",211204:"\u6E05\u6CB3\u533A",211221:"\u94C1\u5CAD\u53BF",211223:"\u897F\u4E30\u53BF",211224:"\u660C\u56FE\u53BF",211281:"\u8C03\u5175\u5C71\u5E02",211282:"\u5F00\u539F\u5E02",211302:"\u53CC\u5854\u533A",211303:"\u9F99\u57CE\u533A",211321:"\u671D\u9633\u53BF",211322:"\u5EFA\u5E73\u53BF",211324:"\u5580\u5587\u6C81\u5DE6\u7FFC\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",211381:"\u5317\u7968\u5E02",211382:"\u51CC\u6E90\u5E02",211402:"\u8FDE\u5C71\u533A",211403:"\u9F99\u6E2F\u533A",211404:"\u5357\u7968\u533A",211421:"\u7EE5\u4E2D\u53BF",211422:"\u5EFA\u660C\u53BF",211481:"\u5174\u57CE\u5E02",220102:"\u5357\u5173\u533A",220103:"\u5BBD\u57CE\u533A",220104:"\u671D\u9633\u533A",220105:"\u4E8C\u9053\u533A",220106:"\u7EFF\u56ED\u533A",220112:"\u53CC\u9633\u533A",220113:"\u4E5D\u53F0\u533A",220122:"\u519C\u5B89\u53BF",220171:"\u957F\u6625\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220172:"\u957F\u6625\u51C0\u6708\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220173:"\u957F\u6625\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220174:"\u957F\u6625\u6C7D\u8F66\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220182:"\u6986\u6811\u5E02",220183:"\u5FB7\u60E0\u5E02",220192:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220202:"\u660C\u9091\u533A",220203:"\u9F99\u6F6D\u533A",220204:"\u8239\u8425\u533A",220211:"\u4E30\u6EE1\u533A",220221:"\u6C38\u5409\u53BF",220271:"\u5409\u6797\u7ECF\u6D4E\u5F00\u53D1\u533A",220272:"\u5409\u6797\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220281:"\u86DF\u6CB3\u5E02",220282:"\u6866\u7538\u5E02",220283:"\u8212\u5170\u5E02",220284:"\u78D0\u77F3\u5E02",220302:"\u94C1\u897F\u533A",220303:"\u94C1\u4E1C\u533A",220322:"\u68A8\u6811\u53BF",220323:"\u4F0A\u901A\u6EE1\u65CF\u81EA\u6CBB\u53BF",220381:"\u516C\u4E3B\u5CAD\u5E02",220382:"\u53CC\u8FBD\u5E02",220402:"\u9F99\u5C71\u533A",220403:"\u897F\u5B89\u533A",220421:"\u4E1C\u4E30\u53BF",220422:"\u4E1C\u8FBD\u53BF",220502:"\u4E1C\u660C\u533A",220503:"\u4E8C\u9053\u6C5F\u533A",220521:"\u901A\u5316\u53BF",220523:"\u8F89\u5357\u53BF",220524:"\u67F3\u6CB3\u53BF",220581:"\u6885\u6CB3\u53E3\u5E02",220582:"\u96C6\u5B89\u5E02",220602:"\u6D51\u6C5F\u533A",220605:"\u6C5F\u6E90\u533A",220621:"\u629A\u677E\u53BF",220622:"\u9756\u5B87\u53BF",220623:"\u957F\u767D\u671D\u9C9C\u65CF\u81EA\u6CBB\u53BF",220681:"\u4E34\u6C5F\u5E02",220702:"\u5B81\u6C5F\u533A",220721:"\u524D\u90ED\u5C14\u7F57\u65AF\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",220722:"\u957F\u5CAD\u53BF",220723:"\u4E7E\u5B89\u53BF",220771:"\u5409\u6797\u677E\u539F\u7ECF\u6D4E\u5F00\u53D1\u533A",220781:"\u6276\u4F59\u5E02",220802:"\u6D2E\u5317\u533A",220821:"\u9547\u8D49\u53BF",220822:"\u901A\u6986\u53BF",220871:"\u5409\u6797\u767D\u57CE\u7ECF\u6D4E\u5F00\u53D1\u533A",220881:"\u6D2E\u5357\u5E02",220882:"\u5927\u5B89\u5E02",222401:"\u5EF6\u5409\u5E02",222402:"\u56FE\u4EEC\u5E02",222403:"\u6566\u5316\u5E02",222404:"\u73F2\u6625\u5E02",222405:"\u9F99\u4E95\u5E02",222406:"\u548C\u9F99\u5E02",222424:"\u6C6A\u6E05\u53BF",222426:"\u5B89\u56FE\u53BF",230102:"\u9053\u91CC\u533A",230103:"\u5357\u5C97\u533A",230104:"\u9053\u5916\u533A",230108:"\u5E73\u623F\u533A",230109:"\u677E\u5317\u533A",230110:"\u9999\u574A\u533A",230111:"\u547C\u5170\u533A",230112:"\u963F\u57CE\u533A",230113:"\u53CC\u57CE\u533A",230123:"\u4F9D\u5170\u53BF",230124:"\u65B9\u6B63\u53BF",230125:"\u5BBE\u53BF",230126:"\u5DF4\u5F66\u53BF",230127:"\u6728\u5170\u53BF",230128:"\u901A\u6CB3\u53BF",230129:"\u5EF6\u5BFF\u53BF",230183:"\u5C1A\u5FD7\u5E02",230184:"\u4E94\u5E38\u5E02",230202:"\u9F99\u6C99\u533A",230203:"\u5EFA\u534E\u533A",230204:"\u94C1\u950B\u533A",230205:"\u6602\u6602\u6EAA\u533A",230206:"\u5BCC\u62C9\u5C14\u57FA\u533A",230207:"\u78BE\u5B50\u5C71\u533A",230208:"\u6885\u91CC\u65AF\u8FBE\u65A1\u5C14\u65CF\u533A",230221:"\u9F99\u6C5F\u53BF",230223:"\u4F9D\u5B89\u53BF",230224:"\u6CF0\u6765\u53BF",230225:"\u7518\u5357\u53BF",230227:"\u5BCC\u88D5\u53BF",230229:"\u514B\u5C71\u53BF",230230:"\u514B\u4E1C\u53BF",230231:"\u62DC\u6CC9\u53BF",230281:"\u8BB7\u6CB3\u5E02",230302:"\u9E21\u51A0\u533A",230303:"\u6052\u5C71\u533A",230304:"\u6EF4\u9053\u533A",230305:"\u68A8\u6811\u533A",230306:"\u57CE\u5B50\u6CB3\u533A",230307:"\u9EBB\u5C71\u533A",230321:"\u9E21\u4E1C\u53BF",230381:"\u864E\u6797\u5E02",230382:"\u5BC6\u5C71\u5E02",230402:"\u5411\u9633\u533A",230403:"\u5DE5\u519C\u533A",230404:"\u5357\u5C71\u533A",230405:"\u5174\u5B89\u533A",230406:"\u4E1C\u5C71\u533A",230407:"\u5174\u5C71\u533A",230421:"\u841D\u5317\u53BF",230422:"\u7EE5\u6EE8\u53BF",230502:"\u5C16\u5C71\u533A",230503:"\u5CAD\u4E1C\u533A",230505:"\u56DB\u65B9\u53F0\u533A",230506:"\u5B9D\u5C71\u533A",230521:"\u96C6\u8D24\u53BF",230522:"\u53CB\u8C0A\u53BF",230523:"\u5B9D\u6E05\u53BF",230524:"\u9976\u6CB3\u53BF",230602:"\u8428\u5C14\u56FE\u533A",230603:"\u9F99\u51E4\u533A",230604:"\u8BA9\u80E1\u8DEF\u533A",230605:"\u7EA2\u5C97\u533A",230606:"\u5927\u540C\u533A",230621:"\u8087\u5DDE\u53BF",230622:"\u8087\u6E90\u53BF",230623:"\u6797\u7538\u53BF",230624:"\u675C\u5C14\u4F2F\u7279\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",230671:"\u5927\u5E86\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",230717:"\u4F0A\u7F8E\u533A",230718:"\u4E4C\u7FE0\u533A",230719:"\u53CB\u597D\u533A",230722:"\u5609\u836B\u53BF",230723:"\u6C64\u65FA\u53BF",230724:"\u4E30\u6797\u53BF",230725:"\u5927\u7B90\u5C71\u53BF",230726:"\u5357\u5C94\u53BF",230751:"\u91D1\u6797\u533A",230781:"\u94C1\u529B\u5E02",230803:"\u5411\u9633\u533A",230804:"\u524D\u8FDB\u533A",230805:"\u4E1C\u98CE\u533A",230811:"\u90CA\u533A",230822:"\u6866\u5357\u53BF",230826:"\u6866\u5DDD\u53BF",230828:"\u6C64\u539F\u53BF",230881:"\u540C\u6C5F\u5E02",230882:"\u5BCC\u9526\u5E02",230883:"\u629A\u8FDC\u5E02",230902:"\u65B0\u5174\u533A",230903:"\u6843\u5C71\u533A",230904:"\u8304\u5B50\u6CB3\u533A",230921:"\u52C3\u5229\u53BF",231002:"\u4E1C\u5B89\u533A",231003:"\u9633\u660E\u533A",231004:"\u7231\u6C11\u533A",231005:"\u897F\u5B89\u533A",231025:"\u6797\u53E3\u53BF",231081:"\u7EE5\u82AC\u6CB3\u5E02",231083:"\u6D77\u6797\u5E02",231084:"\u5B81\u5B89\u5E02",231085:"\u7A46\u68F1\u5E02",231086:"\u4E1C\u5B81\u5E02",231102:"\u7231\u8F89\u533A",231123:"\u900A\u514B\u53BF",231124:"\u5B59\u5434\u53BF",231181:"\u5317\u5B89\u5E02",231182:"\u4E94\u5927\u8FDE\u6C60\u5E02",231183:"\u5AE9\u6C5F\u5E02",231202:"\u5317\u6797\u533A",231221:"\u671B\u594E\u53BF",231222:"\u5170\u897F\u53BF",231223:"\u9752\u5188\u53BF",231224:"\u5E86\u5B89\u53BF",231225:"\u660E\u6C34\u53BF",231226:"\u7EE5\u68F1\u53BF",231281:"\u5B89\u8FBE\u5E02",231282:"\u8087\u4E1C\u5E02",231283:"\u6D77\u4F26\u5E02",232701:"\u6F20\u6CB3\u5E02",232721:"\u547C\u739B\u53BF",232722:"\u5854\u6CB3\u53BF",232761:"\u52A0\u683C\u8FBE\u5947\u533A",232762:"\u677E\u5CAD\u533A",232763:"\u65B0\u6797\u533A",232764:"\u547C\u4E2D\u533A",310101:"\u9EC4\u6D66\u533A",310104:"\u5F90\u6C47\u533A",310105:"\u957F\u5B81\u533A",310106:"\u9759\u5B89\u533A",310107:"\u666E\u9640\u533A",310109:"\u8679\u53E3\u533A",310110:"\u6768\u6D66\u533A",310112:"\u95F5\u884C\u533A",310113:"\u5B9D\u5C71\u533A",310114:"\u5609\u5B9A\u533A",310115:"\u6D66\u4E1C\u65B0\u533A",310116:"\u91D1\u5C71\u533A",310117:"\u677E\u6C5F\u533A",310118:"\u9752\u6D66\u533A",310120:"\u5949\u8D24\u533A",310151:"\u5D07\u660E\u533A",320102:"\u7384\u6B66\u533A",320104:"\u79E6\u6DEE\u533A",320105:"\u5EFA\u90BA\u533A",320106:"\u9F13\u697C\u533A",320111:"\u6D66\u53E3\u533A",320112:"\u6C5F\u5317\u65B0\u533A",320113:"\u6816\u971E\u533A",320114:"\u96E8\u82B1\u53F0\u533A",320115:"\u6C5F\u5B81\u533A",320116:"\u516D\u5408\u533A",320117:"\u6EA7\u6C34\u533A",320118:"\u9AD8\u6DF3\u533A",320205:"\u9521\u5C71\u533A",320206:"\u60E0\u5C71\u533A",320211:"\u6EE8\u6E56\u533A",320213:"\u6881\u6EAA\u533A",320214:"\u65B0\u5434\u533A",320281:"\u6C5F\u9634\u5E02",320282:"\u5B9C\u5174\u5E02",320302:"\u9F13\u697C\u533A",320303:"\u4E91\u9F99\u533A",320305:"\u8D3E\u6C6A\u533A",320311:"\u6CC9\u5C71\u533A",320312:"\u94DC\u5C71\u533A",320321:"\u4E30\u53BF",320322:"\u6C9B\u53BF",320324:"\u7762\u5B81\u53BF",320371:"\u5F90\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320381:"\u65B0\u6C82\u5E02",320382:"\u90B3\u5DDE\u5E02",320391:"\u5DE5\u4E1A\u56ED\u533A",320402:"\u5929\u5B81\u533A",320404:"\u949F\u697C\u533A",320411:"\u65B0\u5317\u533A",320412:"\u6B66\u8FDB\u533A",320413:"\u91D1\u575B\u533A",320481:"\u6EA7\u9633\u5E02",320505:"\u864E\u4E18\u533A",320506:"\u5434\u4E2D\u533A",320507:"\u76F8\u57CE\u533A",320508:"\u59D1\u82CF\u533A",320509:"\u5434\u6C5F\u533A",320571:"\u82CF\u5DDE\u5DE5\u4E1A\u56ED\u533A",320581:"\u5E38\u719F\u5E02",320582:"\u5F20\u5BB6\u6E2F\u5E02",320583:"\u6606\u5C71\u5E02",320585:"\u592A\u4ED3\u5E02",320590:"\u5DE5\u4E1A\u56ED\u533A",320591:"\u9AD8\u65B0\u533A",320602:"\u5D07\u5DDD\u533A",320611:"\u6E2F\u95F8\u533A",320612:"\u901A\u5DDE\u533A",320623:"\u5982\u4E1C\u53BF",320681:"\u542F\u4E1C\u5E02",320682:"\u5982\u768B\u5E02",320684:"\u6D77\u95E8\u5E02",320685:"\u6D77\u5B89\u5E02",320691:"\u9AD8\u65B0\u533A",320703:"\u8FDE\u4E91\u533A",320706:"\u6D77\u5DDE\u533A",320707:"\u8D63\u6986\u533A",320722:"\u4E1C\u6D77\u53BF",320723:"\u704C\u4E91\u53BF",320724:"\u704C\u5357\u53BF",320771:"\u8FDE\u4E91\u6E2F\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320803:"\u6DEE\u5B89\u533A",320804:"\u6DEE\u9634\u533A",320812:"\u6E05\u6C5F\u6D66\u533A",320813:"\u6D2A\u6CFD\u533A",320826:"\u6D9F\u6C34\u53BF",320830:"\u76F1\u7719\u53BF",320831:"\u91D1\u6E56\u53BF",320871:"\u6DEE\u5B89\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320890:"\u7ECF\u6D4E\u5F00\u53D1\u533A",320902:"\u4EAD\u6E56\u533A",320903:"\u76D0\u90FD\u533A",320904:"\u5927\u4E30\u533A",320921:"\u54CD\u6C34\u53BF",320922:"\u6EE8\u6D77\u53BF",320923:"\u961C\u5B81\u53BF",320924:"\u5C04\u9633\u53BF",320925:"\u5EFA\u6E56\u53BF",320971:"\u76D0\u57CE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320981:"\u4E1C\u53F0\u5E02",321002:"\u5E7F\u9675\u533A",321003:"\u9097\u6C5F\u533A",321012:"\u6C5F\u90FD\u533A",321023:"\u5B9D\u5E94\u53BF",321071:"\u626C\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",321081:"\u4EEA\u5F81\u5E02",321084:"\u9AD8\u90AE\u5E02",321090:"\u7ECF\u6D4E\u5F00\u53D1\u533A",321102:"\u4EAC\u53E3\u533A",321111:"\u6DA6\u5DDE\u533A",321112:"\u4E39\u5F92\u533A",321150:"\u9547\u6C5F\u65B0\u533A",321181:"\u4E39\u9633\u5E02",321182:"\u626C\u4E2D\u5E02",321183:"\u53E5\u5BB9\u5E02",321202:"\u6D77\u9675\u533A",321203:"\u9AD8\u6E2F\u533A",321204:"\u59DC\u5830\u533A",321271:"\u6CF0\u5DDE\u533B\u836F\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",321281:"\u5174\u5316\u5E02",321282:"\u9756\u6C5F\u5E02",321283:"\u6CF0\u5174\u5E02",321302:"\u5BBF\u57CE\u533A",321311:"\u5BBF\u8C6B\u533A",321322:"\u6CAD\u9633\u53BF",321323:"\u6CD7\u9633\u53BF",321324:"\u6CD7\u6D2A\u53BF",321371:"\u5BBF\u8FC1\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",330102:"\u4E0A\u57CE\u533A",330105:"\u62F1\u5885\u533A",330106:"\u897F\u6E56\u533A",330108:"\u6EE8\u6C5F\u533A",330109:"\u8427\u5C71\u533A",330110:"\u4F59\u676D\u533A",330111:"\u5BCC\u9633\u533A",330112:"\u4E34\u5B89\u533A",330113:"\u4E34\u5E73\u533A",330114:"\u94B1\u5858\u533A",330122:"\u6850\u5E90\u53BF",330127:"\u6DF3\u5B89\u53BF",330182:"\u5EFA\u5FB7\u5E02",330203:"\u6D77\u66D9\u533A",330205:"\u6C5F\u5317\u533A",330206:"\u5317\u4ED1\u533A",330211:"\u9547\u6D77\u533A",330212:"\u911E\u5DDE\u533A",330213:"\u5949\u5316\u533A",330225:"\u8C61\u5C71\u53BF",330226:"\u5B81\u6D77\u53BF",330281:"\u4F59\u59DA\u5E02",330282:"\u6148\u6EAA\u5E02",330302:"\u9E7F\u57CE\u533A",330303:"\u9F99\u6E7E\u533A",330304:"\u74EF\u6D77\u533A",330305:"\u6D1E\u5934\u533A",330324:"\u6C38\u5609\u53BF",330326:"\u5E73\u9633\u53BF",330327:"\u82CD\u5357\u53BF",330328:"\u6587\u6210\u53BF",330329:"\u6CF0\u987A\u53BF",330381:"\u745E\u5B89\u5E02",330382:"\u4E50\u6E05\u5E02",330383:"\u9F99\u6E2F\u5E02",330402:"\u5357\u6E56\u533A",330411:"\u79C0\u6D32\u533A",330421:"\u5609\u5584\u53BF",330424:"\u6D77\u76D0\u53BF",330481:"\u6D77\u5B81\u5E02",330482:"\u5E73\u6E56\u5E02",330483:"\u6850\u4E61\u5E02",330502:"\u5434\u5174\u533A",330503:"\u5357\u6D54\u533A",330521:"\u5FB7\u6E05\u53BF",330522:"\u957F\u5174\u53BF",330523:"\u5B89\u5409\u53BF",330602:"\u8D8A\u57CE\u533A",330603:"\u67EF\u6865\u533A",330604:"\u4E0A\u865E\u533A",330624:"\u65B0\u660C\u53BF",330681:"\u8BF8\u66A8\u5E02",330683:"\u5D4A\u5DDE\u5E02",330702:"\u5A7A\u57CE\u533A",330703:"\u91D1\u4E1C\u533A",330723:"\u6B66\u4E49\u53BF",330726:"\u6D66\u6C5F\u53BF",330727:"\u78D0\u5B89\u53BF",330781:"\u5170\u6EAA\u5E02",330782:"\u4E49\u4E4C\u5E02",330783:"\u4E1C\u9633\u5E02",330784:"\u6C38\u5EB7\u5E02",330802:"\u67EF\u57CE\u533A",330803:"\u8862\u6C5F\u533A",330822:"\u5E38\u5C71\u53BF",330824:"\u5F00\u5316\u53BF",330825:"\u9F99\u6E38\u53BF",330881:"\u6C5F\u5C71\u5E02",330902:"\u5B9A\u6D77\u533A",330903:"\u666E\u9640\u533A",330921:"\u5CB1\u5C71\u53BF",330922:"\u5D4A\u6CD7\u53BF",331002:"\u6912\u6C5F\u533A",331003:"\u9EC4\u5CA9\u533A",331004:"\u8DEF\u6865\u533A",331022:"\u4E09\u95E8\u53BF",331023:"\u5929\u53F0\u53BF",331024:"\u4ED9\u5C45\u53BF",331081:"\u6E29\u5CAD\u5E02",331082:"\u4E34\u6D77\u5E02",331083:"\u7389\u73AF\u5E02",331102:"\u83B2\u90FD\u533A",331121:"\u9752\u7530\u53BF",331122:"\u7F19\u4E91\u53BF",331123:"\u9042\u660C\u53BF",331124:"\u677E\u9633\u53BF",331125:"\u4E91\u548C\u53BF",331126:"\u5E86\u5143\u53BF",331127:"\u666F\u5B81\u7572\u65CF\u81EA\u6CBB\u53BF",331181:"\u9F99\u6CC9\u5E02",340102:"\u7476\u6D77\u533A",340103:"\u5E90\u9633\u533A",340104:"\u8700\u5C71\u533A",340111:"\u5305\u6CB3\u533A",340121:"\u957F\u4E30\u53BF",340122:"\u80A5\u4E1C\u53BF",340123:"\u80A5\u897F\u53BF",340124:"\u5E90\u6C5F\u53BF",340171:"\u5408\u80A5\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",340172:"\u5408\u80A5\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",340173:"\u5408\u80A5\u65B0\u7AD9\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",340181:"\u5DE2\u6E56\u5E02",340190:"\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",340191:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",340202:"\u955C\u6E56\u533A",340203:"\u5F0B\u6C5F\u533A",340207:"\u9E20\u6C5F\u533A",340208:"\u4E09\u5C71\u533A",340221:"\u829C\u6E56\u53BF",340222:"\u7E41\u660C\u53BF",340223:"\u5357\u9675\u53BF",340281:"\u65E0\u4E3A\u5E02",340302:"\u9F99\u5B50\u6E56\u533A",340303:"\u868C\u5C71\u533A",340304:"\u79B9\u4F1A\u533A",340311:"\u6DEE\u4E0A\u533A",340321:"\u6000\u8FDC\u53BF",340322:"\u4E94\u6CB3\u53BF",340323:"\u56FA\u9547\u53BF",340371:"\u868C\u57E0\u5E02\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",340372:"\u868C\u57E0\u5E02\u7ECF\u6D4E\u5F00\u53D1\u533A",340402:"\u5927\u901A\u533A",340403:"\u7530\u5BB6\u5EB5\u533A",340404:"\u8C22\u5BB6\u96C6\u533A",340405:"\u516B\u516C\u5C71\u533A",340406:"\u6F58\u96C6\u533A",340421:"\u51E4\u53F0\u53BF",340422:"\u5BFF\u53BF",340503:"\u82B1\u5C71\u533A",340504:"\u96E8\u5C71\u533A",340506:"\u535A\u671B\u533A",340521:"\u5F53\u6D82\u53BF",340522:"\u542B\u5C71\u53BF",340523:"\u548C\u53BF",340602:"\u675C\u96C6\u533A",340603:"\u76F8\u5C71\u533A",340604:"\u70C8\u5C71\u533A",340621:"\u6FC9\u6EAA\u53BF",340705:"\u94DC\u5B98\u533A",340706:"\u4E49\u5B89\u533A",340711:"\u90CA\u533A",340722:"\u679E\u9633\u53BF",340802:"\u8FCE\u6C5F\u533A",340803:"\u5927\u89C2\u533A",340811:"\u5B9C\u79C0\u533A",340822:"\u6000\u5B81\u53BF",340825:"\u592A\u6E56\u53BF",340826:"\u5BBF\u677E\u53BF",340827:"\u671B\u6C5F\u53BF",340828:"\u5CB3\u897F\u53BF",340881:"\u6850\u57CE\u5E02",340882:"\u6F5C\u5C71\u5E02",341002:"\u5C6F\u6EAA\u533A",341003:"\u9EC4\u5C71\u533A",341004:"\u5FBD\u5DDE\u533A",341021:"\u6B59\u53BF",341022:"\u4F11\u5B81\u53BF",341023:"\u9EDF\u53BF",341024:"\u7941\u95E8\u53BF",341102:"\u7405\u740A\u533A",341103:"\u5357\u8C2F\u533A",341122:"\u6765\u5B89\u53BF",341124:"\u5168\u6912\u53BF",341125:"\u5B9A\u8FDC\u53BF",341126:"\u51E4\u9633\u53BF",341181:"\u5929\u957F\u5E02",341182:"\u660E\u5149\u5E02",341202:"\u988D\u5DDE\u533A",341203:"\u988D\u4E1C\u533A",341204:"\u988D\u6CC9\u533A",341221:"\u4E34\u6CC9\u53BF",341222:"\u592A\u548C\u53BF",341225:"\u961C\u5357\u53BF",341226:"\u988D\u4E0A\u53BF",341271:"\u961C\u9633\u5408\u80A5\u73B0\u4EE3\u4EA7\u4E1A\u56ED\u533A",341282:"\u754C\u9996\u5E02",341302:"\u57C7\u6865\u533A",341321:"\u7800\u5C71\u53BF",341322:"\u8427\u53BF",341323:"\u7075\u74A7\u53BF",341324:"\u6CD7\u53BF",341371:"\u5BBF\u5DDE\u9A6C\u978D\u5C71\u73B0\u4EE3\u4EA7\u4E1A\u56ED\u533A",341372:"\u5BBF\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",341390:"\u7ECF\u6D4E\u5F00\u53D1\u533A",341502:"\u91D1\u5B89\u533A",341503:"\u88D5\u5B89\u533A",341504:"\u53F6\u96C6\u533A",341522:"\u970D\u90B1\u53BF",341523:"\u8212\u57CE\u53BF",341524:"\u91D1\u5BE8\u53BF",341525:"\u970D\u5C71\u53BF",341602:"\u8C2F\u57CE\u533A",341621:"\u6DA1\u9633\u53BF",341622:"\u8499\u57CE\u53BF",341623:"\u5229\u8F9B\u53BF",341702:"\u8D35\u6C60\u533A",341721:"\u4E1C\u81F3\u53BF",341722:"\u77F3\u53F0\u53BF",341723:"\u9752\u9633\u53BF",341802:"\u5BA3\u5DDE\u533A",341821:"\u90CE\u6EAA\u53BF",341823:"\u6CFE\u53BF",341824:"\u7EE9\u6EAA\u53BF",341825:"\u65CC\u5FB7\u53BF",341871:"\u5BA3\u57CE\u5E02\u7ECF\u6D4E\u5F00\u53D1\u533A",341881:"\u5B81\u56FD\u5E02",341882:"\u5E7F\u5FB7\u5E02",350102:"\u9F13\u697C\u533A",350103:"\u53F0\u6C5F\u533A",350104:"\u4ED3\u5C71\u533A",350105:"\u9A6C\u5C3E\u533A",350111:"\u664B\u5B89\u533A",350112:"\u957F\u4E50\u533A",350121:"\u95FD\u4FAF\u53BF",350122:"\u8FDE\u6C5F\u53BF",350123:"\u7F57\u6E90\u53BF",350124:"\u95FD\u6E05\u53BF",350125:"\u6C38\u6CF0\u53BF",350128:"\u5E73\u6F6D\u53BF",350181:"\u798F\u6E05\u5E02",350203:"\u601D\u660E\u533A",350205:"\u6D77\u6CA7\u533A",350206:"\u6E56\u91CC\u533A",350211:"\u96C6\u7F8E\u533A",350212:"\u540C\u5B89\u533A",350213:"\u7FD4\u5B89\u533A",350302:"\u57CE\u53A2\u533A",350303:"\u6DB5\u6C5F\u533A",350304:"\u8354\u57CE\u533A",350305:"\u79C0\u5C7F\u533A",350322:"\u4ED9\u6E38\u53BF",350402:"\u6885\u5217\u533A",350403:"\u4E09\u5143\u533A",350421:"\u660E\u6EAA\u53BF",350423:"\u6E05\u6D41\u53BF",350424:"\u5B81\u5316\u53BF",350425:"\u5927\u7530\u53BF",350426:"\u5C24\u6EAA\u53BF",350427:"\u6C99\u53BF",350428:"\u5C06\u4E50\u53BF",350429:"\u6CF0\u5B81\u53BF",350430:"\u5EFA\u5B81\u53BF",350481:"\u6C38\u5B89\u5E02",350502:"\u9CA4\u57CE\u533A",350503:"\u4E30\u6CFD\u533A",350504:"\u6D1B\u6C5F\u533A",350505:"\u6CC9\u6E2F\u533A",350521:"\u60E0\u5B89\u53BF",350524:"\u5B89\u6EAA\u53BF",350525:"\u6C38\u6625\u53BF",350526:"\u5FB7\u5316\u53BF",350527:"\u91D1\u95E8\u53BF",350581:"\u77F3\u72EE\u5E02",350582:"\u664B\u6C5F\u5E02",350583:"\u5357\u5B89\u5E02",350602:"\u8297\u57CE\u533A",350603:"\u9F99\u6587\u533A",350622:"\u4E91\u9704\u53BF",350623:"\u6F33\u6D66\u53BF",350624:"\u8BCF\u5B89\u53BF",350625:"\u957F\u6CF0\u53BF",350626:"\u4E1C\u5C71\u53BF",350627:"\u5357\u9756\u53BF",350628:"\u5E73\u548C\u53BF",350629:"\u534E\u5B89\u53BF",350681:"\u9F99\u6D77\u5E02",350702:"\u5EF6\u5E73\u533A",350703:"\u5EFA\u9633\u533A",350721:"\u987A\u660C\u53BF",350722:"\u6D66\u57CE\u53BF",350723:"\u5149\u6CFD\u53BF",350724:"\u677E\u6EAA\u53BF",350725:"\u653F\u548C\u53BF",350781:"\u90B5\u6B66\u5E02",350782:"\u6B66\u5937\u5C71\u5E02",350783:"\u5EFA\u74EF\u5E02",350802:"\u65B0\u7F57\u533A",350803:"\u6C38\u5B9A\u533A",350821:"\u957F\u6C40\u53BF",350823:"\u4E0A\u676D\u53BF",350824:"\u6B66\u5E73\u53BF",350825:"\u8FDE\u57CE\u53BF",350881:"\u6F33\u5E73\u5E02",350902:"\u8549\u57CE\u533A",350921:"\u971E\u6D66\u53BF",350922:"\u53E4\u7530\u53BF",350923:"\u5C4F\u5357\u53BF",350924:"\u5BFF\u5B81\u53BF",350925:"\u5468\u5B81\u53BF",350926:"\u67D8\u8363\u53BF",350981:"\u798F\u5B89\u5E02",350982:"\u798F\u9F0E\u5E02",360102:"\u4E1C\u6E56\u533A",360103:"\u897F\u6E56\u533A",360104:"\u9752\u4E91\u8C31\u533A",360111:"\u9752\u5C71\u6E56\u533A",360112:"\u65B0\u5EFA\u533A",360113:"\u7EA2\u8C37\u6EE9\u533A",360121:"\u5357\u660C\u53BF",360123:"\u5B89\u4E49\u53BF",360124:"\u8FDB\u8D24\u53BF",360190:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",360192:"\u9AD8\u65B0\u533A",360202:"\u660C\u6C5F\u533A",360203:"\u73E0\u5C71\u533A",360222:"\u6D6E\u6881\u53BF",360281:"\u4E50\u5E73\u5E02",360302:"\u5B89\u6E90\u533A",360313:"\u6E58\u4E1C\u533A",360321:"\u83B2\u82B1\u53BF",360322:"\u4E0A\u6817\u53BF",360323:"\u82A6\u6EAA\u53BF",360402:"\u6FC2\u6EAA\u533A",360403:"\u6D54\u9633\u533A",360404:"\u67F4\u6851\u533A",360423:"\u6B66\u5B81\u53BF",360424:"\u4FEE\u6C34\u53BF",360425:"\u6C38\u4FEE\u53BF",360426:"\u5FB7\u5B89\u53BF",360428:"\u90FD\u660C\u53BF",360429:"\u6E56\u53E3\u53BF",360430:"\u5F6D\u6CFD\u53BF",360481:"\u745E\u660C\u5E02",360482:"\u5171\u9752\u57CE\u5E02",360483:"\u5E90\u5C71\u5E02",360490:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",360502:"\u6E1D\u6C34\u533A",360521:"\u5206\u5B9C\u53BF",360602:"\u6708\u6E56\u533A",360603:"\u4F59\u6C5F\u533A",360681:"\u8D35\u6EAA\u5E02",360702:"\u7AE0\u8D21\u533A",360703:"\u5357\u5EB7\u533A",360704:"\u8D63\u53BF\u533A",360722:"\u4FE1\u4E30\u53BF",360723:"\u5927\u4F59\u53BF",360724:"\u4E0A\u72B9\u53BF",360725:"\u5D07\u4E49\u53BF",360726:"\u5B89\u8FDC\u53BF",360728:"\u5B9A\u5357\u53BF",360729:"\u5168\u5357\u53BF",360730:"\u5B81\u90FD\u53BF",360731:"\u4E8E\u90FD\u53BF",360732:"\u5174\u56FD\u53BF",360733:"\u4F1A\u660C\u53BF",360734:"\u5BFB\u4E4C\u53BF",360735:"\u77F3\u57CE\u53BF",360781:"\u745E\u91D1\u5E02",360783:"\u9F99\u5357\u5E02",360802:"\u5409\u5DDE\u533A",360803:"\u9752\u539F\u533A",360821:"\u5409\u5B89\u53BF",360822:"\u5409\u6C34\u53BF",360823:"\u5CE1\u6C5F\u53BF",360824:"\u65B0\u5E72\u53BF",360825:"\u6C38\u4E30\u53BF",360826:"\u6CF0\u548C\u53BF",360827:"\u9042\u5DDD\u53BF",360828:"\u4E07\u5B89\u53BF",360829:"\u5B89\u798F\u53BF",360830:"\u6C38\u65B0\u53BF",360881:"\u4E95\u5188\u5C71\u5E02",360902:"\u8881\u5DDE\u533A",360921:"\u5949\u65B0\u53BF",360922:"\u4E07\u8F7D\u53BF",360923:"\u4E0A\u9AD8\u53BF",360924:"\u5B9C\u4E30\u53BF",360925:"\u9756\u5B89\u53BF",360926:"\u94DC\u9F13\u53BF",360981:"\u4E30\u57CE\u5E02",360982:"\u6A1F\u6811\u5E02",360983:"\u9AD8\u5B89\u5E02",361002:"\u4E34\u5DDD\u533A",361003:"\u4E1C\u4E61\u533A",361021:"\u5357\u57CE\u53BF",361022:"\u9ECE\u5DDD\u53BF",361023:"\u5357\u4E30\u53BF",361024:"\u5D07\u4EC1\u53BF",361025:"\u4E50\u5B89\u53BF",361026:"\u5B9C\u9EC4\u53BF",361027:"\u91D1\u6EAA\u53BF",361028:"\u8D44\u6EAA\u53BF",361030:"\u5E7F\u660C\u53BF",361102:"\u4FE1\u5DDE\u533A",361103:"\u5E7F\u4E30\u533A",361104:"\u5E7F\u4FE1\u533A",361123:"\u7389\u5C71\u53BF",361124:"\u94C5\u5C71\u53BF",361125:"\u6A2A\u5CF0\u53BF",361126:"\u5F0B\u9633\u53BF",361127:"\u4F59\u5E72\u53BF",361128:"\u9131\u9633\u53BF",361129:"\u4E07\u5E74\u53BF",361130:"\u5A7A\u6E90\u53BF",361181:"\u5FB7\u5174\u5E02",370102:"\u5386\u4E0B\u533A",370103:"\u5E02\u4E2D\u533A",370104:"\u69D0\u836B\u533A",370105:"\u5929\u6865\u533A",370112:"\u5386\u57CE\u533A",370113:"\u957F\u6E05\u533A",370114:"\u7AE0\u4E18\u533A",370115:"\u6D4E\u9633\u533A",370116:"\u83B1\u829C\u533A",370117:"\u94A2\u57CE\u533A",370124:"\u5E73\u9634\u53BF",370126:"\u5546\u6CB3\u53BF",370171:"\u6D4E\u5357\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370190:"\u9AD8\u65B0\u533A",370202:"\u5E02\u5357\u533A",370203:"\u5E02\u5317\u533A",370211:"\u9EC4\u5C9B\u533A",370212:"\u5D02\u5C71\u533A",370213:"\u674E\u6CA7\u533A",370214:"\u57CE\u9633\u533A",370215:"\u5373\u58A8\u533A",370271:"\u9752\u5C9B\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370281:"\u80F6\u5DDE\u5E02",370283:"\u5E73\u5EA6\u5E02",370285:"\u83B1\u897F\u5E02",370290:"\u5F00\u53D1\u533A",370302:"\u6DC4\u5DDD\u533A",370303:"\u5F20\u5E97\u533A",370304:"\u535A\u5C71\u533A",370305:"\u4E34\u6DC4\u533A",370306:"\u5468\u6751\u533A",370321:"\u6853\u53F0\u53BF",370322:"\u9AD8\u9752\u53BF",370323:"\u6C82\u6E90\u53BF",370402:"\u5E02\u4E2D\u533A",370403:"\u859B\u57CE\u533A",370404:"\u5CC4\u57CE\u533A",370405:"\u53F0\u513F\u5E84\u533A",370406:"\u5C71\u4EAD\u533A",370481:"\u6ED5\u5DDE\u5E02",370502:"\u4E1C\u8425\u533A",370503:"\u6CB3\u53E3\u533A",370505:"\u57A6\u5229\u533A",370522:"\u5229\u6D25\u53BF",370523:"\u5E7F\u9976\u53BF",370571:"\u4E1C\u8425\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370572:"\u4E1C\u8425\u6E2F\u7ECF\u6D4E\u5F00\u53D1\u533A",370602:"\u829D\u7F58\u533A",370611:"\u798F\u5C71\u533A",370612:"\u725F\u5E73\u533A",370613:"\u83B1\u5C71\u533A",370634:"\u957F\u5C9B\u53BF",370671:"\u70DF\u53F0\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370672:"\u70DF\u53F0\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370681:"\u9F99\u53E3\u5E02",370682:"\u83B1\u9633\u5E02",370683:"\u83B1\u5DDE\u5E02",370684:"\u84EC\u83B1\u5E02",370685:"\u62DB\u8FDC\u5E02",370686:"\u6816\u971E\u5E02",370687:"\u6D77\u9633\u5E02",370690:"\u5F00\u53D1\u533A",370702:"\u6F4D\u57CE\u533A",370703:"\u5BD2\u4EAD\u533A",370704:"\u574A\u5B50\u533A",370705:"\u594E\u6587\u533A",370724:"\u4E34\u6710\u53BF",370725:"\u660C\u4E50\u53BF",370772:"\u6F4D\u574A\u6EE8\u6D77\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370781:"\u9752\u5DDE\u5E02",370782:"\u8BF8\u57CE\u5E02",370783:"\u5BFF\u5149\u5E02",370784:"\u5B89\u4E18\u5E02",370785:"\u9AD8\u5BC6\u5E02",370786:"\u660C\u9091\u5E02",370790:"\u5F00\u53D1\u533A",370791:"\u9AD8\u65B0\u533A",370811:"\u4EFB\u57CE\u533A",370812:"\u5156\u5DDE\u533A",370826:"\u5FAE\u5C71\u53BF",370827:"\u9C7C\u53F0\u53BF",370828:"\u91D1\u4E61\u53BF",370829:"\u5609\u7965\u53BF",370830:"\u6C76\u4E0A\u53BF",370831:"\u6CD7\u6C34\u53BF",370832:"\u6881\u5C71\u53BF",370871:"\u6D4E\u5B81\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370881:"\u66F2\u961C\u5E02",370883:"\u90B9\u57CE\u5E02",370890:"\u9AD8\u65B0\u533A",370902:"\u6CF0\u5C71\u533A",370911:"\u5CB1\u5CB3\u533A",370921:"\u5B81\u9633\u53BF",370923:"\u4E1C\u5E73\u53BF",370982:"\u65B0\u6CF0\u5E02",370983:"\u80A5\u57CE\u5E02",371002:"\u73AF\u7FE0\u533A",371003:"\u6587\u767B\u533A",371071:"\u5A01\u6D77\u706B\u70AC\u9AD8\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",371072:"\u5A01\u6D77\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371082:"\u8363\u6210\u5E02",371083:"\u4E73\u5C71\u5E02",371091:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371102:"\u4E1C\u6E2F\u533A",371103:"\u5C9A\u5C71\u533A",371121:"\u4E94\u83B2\u53BF",371122:"\u8392\u53BF",371171:"\u65E5\u7167\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371302:"\u5170\u5C71\u533A",371311:"\u7F57\u5E84\u533A",371312:"\u6CB3\u4E1C\u533A",371321:"\u6C82\u5357\u53BF",371322:"\u90EF\u57CE\u53BF",371323:"\u6C82\u6C34\u53BF",371324:"\u5170\u9675\u53BF",371325:"\u8D39\u53BF",371326:"\u5E73\u9091\u53BF",371327:"\u8392\u5357\u53BF",371328:"\u8499\u9634\u53BF",371329:"\u4E34\u6CAD\u53BF",371371:"\u4E34\u6C82\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",371402:"\u5FB7\u57CE\u533A",371403:"\u9675\u57CE\u533A",371422:"\u5B81\u6D25\u53BF",371423:"\u5E86\u4E91\u53BF",371424:"\u4E34\u9091\u53BF",371425:"\u9F50\u6CB3\u53BF",371426:"\u5E73\u539F\u53BF",371427:"\u590F\u6D25\u53BF",371428:"\u6B66\u57CE\u53BF",371472:"\u5FB7\u5DDE\u8FD0\u6CB3\u7ECF\u6D4E\u5F00\u53D1\u533A",371481:"\u4E50\u9675\u5E02",371482:"\u79B9\u57CE\u5E02",371502:"\u4E1C\u660C\u5E9C\u533A",371503:"\u830C\u5E73\u533A",371521:"\u9633\u8C37\u53BF",371522:"\u8398\u53BF",371524:"\u4E1C\u963F\u53BF",371525:"\u51A0\u53BF",371526:"\u9AD8\u5510\u53BF",371581:"\u4E34\u6E05\u5E02",371602:"\u6EE8\u57CE\u533A",371603:"\u6CBE\u5316\u533A",371621:"\u60E0\u6C11\u53BF",371622:"\u9633\u4FE1\u53BF",371623:"\u65E0\u68E3\u53BF",371625:"\u535A\u5174\u53BF",371681:"\u90B9\u5E73\u5E02",371702:"\u7261\u4E39\u533A",371703:"\u5B9A\u9676\u533A",371721:"\u66F9\u53BF",371722:"\u5355\u53BF",371723:"\u6210\u6B66\u53BF",371724:"\u5DE8\u91CE\u53BF",371725:"\u90D3\u57CE\u53BF",371726:"\u9104\u57CE\u53BF",371728:"\u4E1C\u660E\u53BF",371771:"\u83CF\u6CFD\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371772:"\u83CF\u6CFD\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",410102:"\u4E2D\u539F\u533A",410103:"\u4E8C\u4E03\u533A",410104:"\u7BA1\u57CE\u56DE\u65CF\u533A",410105:"\u91D1\u6C34\u533A",410106:"\u4E0A\u8857\u533A",410108:"\u60E0\u6D4E\u533A",410122:"\u4E2D\u725F\u53BF",410171:"\u90D1\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410172:"\u90D1\u5DDE\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410173:"\u90D1\u5DDE\u822A\u7A7A\u6E2F\u7ECF\u6D4E\u7EFC\u5408\u5B9E\u9A8C\u533A",410181:"\u5DE9\u4E49\u5E02",410182:"\u8365\u9633\u5E02",410183:"\u65B0\u5BC6\u5E02",410184:"\u65B0\u90D1\u5E02",410185:"\u767B\u5C01\u5E02",410190:"\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",410191:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410202:"\u9F99\u4EAD\u533A",410203:"\u987A\u6CB3\u56DE\u65CF\u533A",410204:"\u9F13\u697C\u533A",410205:"\u79B9\u738B\u53F0\u533A",410212:"\u7965\u7B26\u533A",410221:"\u675E\u53BF",410222:"\u901A\u8BB8\u53BF",410223:"\u5C09\u6C0F\u53BF",410225:"\u5170\u8003\u53BF",410302:"\u8001\u57CE\u533A",410303:"\u897F\u5DE5\u533A",410304:"\u700D\u6CB3\u56DE\u65CF\u533A",410305:"\u6DA7\u897F\u533A",410306:"\u5409\u5229\u533A",410311:"\u6D1B\u9F99\u533A",410322:"\u5B5F\u6D25\u53BF",410323:"\u65B0\u5B89\u53BF",410324:"\u683E\u5DDD\u53BF",410325:"\u5D69\u53BF",410326:"\u6C5D\u9633\u53BF",410327:"\u5B9C\u9633\u53BF",410328:"\u6D1B\u5B81\u53BF",410329:"\u4F0A\u5DDD\u53BF",410381:"\u5043\u5E08\u5E02",410402:"\u65B0\u534E\u533A",410403:"\u536B\u4E1C\u533A",410404:"\u77F3\u9F99\u533A",410411:"\u6E5B\u6CB3\u533A",410421:"\u5B9D\u4E30\u53BF",410422:"\u53F6\u53BF",410423:"\u9C81\u5C71\u53BF",410425:"\u90CF\u53BF",410471:"\u5E73\u9876\u5C71\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410481:"\u821E\u94A2\u5E02",410482:"\u6C5D\u5DDE\u5E02",410502:"\u6587\u5CF0\u533A",410503:"\u5317\u5173\u533A",410505:"\u6BB7\u90FD\u533A",410506:"\u9F99\u5B89\u533A",410522:"\u5B89\u9633\u53BF",410523:"\u6C64\u9634\u53BF",410526:"\u6ED1\u53BF",410527:"\u5185\u9EC4\u53BF",410581:"\u6797\u5DDE\u5E02",410590:"\u5F00\u53D1\u533A",410602:"\u9E64\u5C71\u533A",410603:"\u5C71\u57CE\u533A",410611:"\u6DC7\u6EE8\u533A",410621:"\u6D5A\u53BF",410622:"\u6DC7\u53BF",410702:"\u7EA2\u65D7\u533A",410703:"\u536B\u6EE8\u533A",410704:"\u51E4\u6CC9\u533A",410711:"\u7267\u91CE\u533A",410721:"\u65B0\u4E61\u53BF",410724:"\u83B7\u5609\u53BF",410725:"\u539F\u9633\u53BF",410726:"\u5EF6\u6D25\u53BF",410727:"\u5C01\u4E18\u53BF",410771:"\u65B0\u4E61\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410772:"\u65B0\u4E61\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410781:"\u536B\u8F89\u5E02",410782:"\u8F89\u53BF\u5E02",410783:"\u957F\u57A3\u5E02",410802:"\u89E3\u653E\u533A",410803:"\u4E2D\u7AD9\u533A",410804:"\u9A6C\u6751\u533A",410811:"\u5C71\u9633\u533A",410821:"\u4FEE\u6B66\u53BF",410822:"\u535A\u7231\u53BF",410823:"\u6B66\u965F\u53BF",410825:"\u6E29\u53BF",410871:"\u7126\u4F5C\u57CE\u4E61\u4E00\u4F53\u5316\u793A\u8303\u533A",410882:"\u6C81\u9633\u5E02",410883:"\u5B5F\u5DDE\u5E02",410902:"\u534E\u9F99\u533A",410922:"\u6E05\u4E30\u53BF",410923:"\u5357\u4E50\u53BF",410926:"\u8303\u53BF",410927:"\u53F0\u524D\u53BF",410928:"\u6FEE\u9633\u53BF",410971:"\u6CB3\u5357\u6FEE\u9633\u5DE5\u4E1A\u56ED\u533A",411002:"\u9B4F\u90FD\u533A",411003:"\u5EFA\u5B89\u533A",411024:"\u9122\u9675\u53BF",411025:"\u8944\u57CE\u53BF",411071:"\u8BB8\u660C\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",411081:"\u79B9\u5DDE\u5E02",411082:"\u957F\u845B\u5E02",411102:"\u6E90\u6C47\u533A",411103:"\u90FE\u57CE\u533A",411104:"\u53EC\u9675\u533A",411121:"\u821E\u9633\u53BF",411122:"\u4E34\u988D\u53BF",411171:"\u6F2F\u6CB3\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",411202:"\u6E56\u6EE8\u533A",411203:"\u9655\u5DDE\u533A",411221:"\u6E11\u6C60\u53BF",411224:"\u5362\u6C0F\u53BF",411271:"\u6CB3\u5357\u4E09\u95E8\u5CE1\u7ECF\u6D4E\u5F00\u53D1\u533A",411281:"\u4E49\u9A6C\u5E02",411282:"\u7075\u5B9D\u5E02",411302:"\u5B9B\u57CE\u533A",411303:"\u5367\u9F99\u533A",411321:"\u5357\u53EC\u53BF",411322:"\u65B9\u57CE\u53BF",411323:"\u897F\u5CE1\u53BF",411324:"\u9547\u5E73\u53BF",411325:"\u5185\u4E61\u53BF",411326:"\u6DC5\u5DDD\u53BF",411327:"\u793E\u65D7\u53BF",411328:"\u5510\u6CB3\u53BF",411329:"\u65B0\u91CE\u53BF",411330:"\u6850\u67CF\u53BF",411372:"\u5357\u9633\u5E02\u57CE\u4E61\u4E00\u4F53\u5316\u793A\u8303\u533A",411381:"\u9093\u5DDE\u5E02",411402:"\u6881\u56ED\u533A",411403:"\u7762\u9633\u533A",411421:"\u6C11\u6743\u53BF",411422:"\u7762\u53BF",411423:"\u5B81\u9675\u53BF",411424:"\u67D8\u57CE\u53BF",411425:"\u865E\u57CE\u53BF",411426:"\u590F\u9091\u53BF",411481:"\u6C38\u57CE\u5E02",411502:"\u6D49\u6CB3\u533A",411503:"\u5E73\u6865\u533A",411521:"\u7F57\u5C71\u53BF",411522:"\u5149\u5C71\u53BF",411523:"\u65B0\u53BF",411524:"\u5546\u57CE\u53BF",411525:"\u56FA\u59CB\u53BF",411526:"\u6F62\u5DDD\u53BF",411527:"\u6DEE\u6EE8\u53BF",411528:"\u606F\u53BF",411602:"\u5DDD\u6C47\u533A",411603:"\u6DEE\u9633\u533A",411621:"\u6276\u6C9F\u53BF",411622:"\u897F\u534E\u53BF",411623:"\u5546\u6C34\u53BF",411624:"\u6C88\u4E18\u53BF",411625:"\u90F8\u57CE\u53BF",411627:"\u592A\u5EB7\u53BF",411628:"\u9E7F\u9091\u53BF",411671:"\u6CB3\u5357\u5468\u53E3\u7ECF\u6D4E\u5F00\u53D1\u533A",411681:"\u9879\u57CE\u5E02",411690:"\u7ECF\u6D4E\u5F00\u53D1\u533A",411702:"\u9A7F\u57CE\u533A",411721:"\u897F\u5E73\u53BF",411722:"\u4E0A\u8521\u53BF",411723:"\u5E73\u8206\u53BF",411724:"\u6B63\u9633\u53BF",411725:"\u786E\u5C71\u53BF",411726:"\u6CCC\u9633\u53BF",411727:"\u6C5D\u5357\u53BF",411728:"\u9042\u5E73\u53BF",411729:"\u65B0\u8521\u53BF",419001:"\u6D4E\u6E90\u5E02",420102:"\u6C5F\u5CB8\u533A",420103:"\u6C5F\u6C49\u533A",420104:"\u785A\u53E3\u533A",420105:"\u6C49\u9633\u533A",420106:"\u6B66\u660C\u533A",420107:"\u9752\u5C71\u533A",420111:"\u6D2A\u5C71\u533A",420112:"\u4E1C\u897F\u6E56\u533A",420113:"\u6C49\u5357\u533A",420114:"\u8521\u7538\u533A",420115:"\u6C5F\u590F\u533A",420116:"\u9EC4\u9642\u533A",420117:"\u65B0\u6D32\u533A",420202:"\u9EC4\u77F3\u6E2F\u533A",420203:"\u897F\u585E\u5C71\u533A",420204:"\u4E0B\u9646\u533A",420205:"\u94C1\u5C71\u533A",420222:"\u9633\u65B0\u53BF",420281:"\u5927\u51B6\u5E02",420302:"\u8305\u7BAD\u533A",420303:"\u5F20\u6E7E\u533A",420304:"\u90E7\u9633\u533A",420322:"\u90E7\u897F\u53BF",420323:"\u7AF9\u5C71\u53BF",420324:"\u7AF9\u6EAA\u53BF",420325:"\u623F\u53BF",420381:"\u4E39\u6C5F\u53E3\u5E02",420502:"\u897F\u9675\u533A",420503:"\u4F0D\u5BB6\u5C97\u533A",420504:"\u70B9\u519B\u533A",420505:"\u7307\u4EAD\u533A",420506:"\u5937\u9675\u533A",420525:"\u8FDC\u5B89\u53BF",420526:"\u5174\u5C71\u53BF",420527:"\u79ED\u5F52\u53BF",420528:"\u957F\u9633\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",420529:"\u4E94\u5CF0\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",420581:"\u5B9C\u90FD\u5E02",420582:"\u5F53\u9633\u5E02",420583:"\u679D\u6C5F\u5E02",420590:"\u7ECF\u6D4E\u5F00\u53D1\u533A",420602:"\u8944\u57CE\u533A",420606:"\u6A0A\u57CE\u533A",420607:"\u8944\u5DDE\u533A",420624:"\u5357\u6F33\u53BF",420625:"\u8C37\u57CE\u53BF",420626:"\u4FDD\u5EB7\u53BF",420682:"\u8001\u6CB3\u53E3\u5E02",420683:"\u67A3\u9633\u5E02",420684:"\u5B9C\u57CE\u5E02",420702:"\u6881\u5B50\u6E56\u533A",420703:"\u534E\u5BB9\u533A",420704:"\u9102\u57CE\u533A",420802:"\u4E1C\u5B9D\u533A",420804:"\u6387\u5200\u533A",420822:"\u6C99\u6D0B\u53BF",420881:"\u949F\u7965\u5E02",420882:"\u4EAC\u5C71\u5E02",420902:"\u5B5D\u5357\u533A",420921:"\u5B5D\u660C\u53BF",420922:"\u5927\u609F\u53BF",420923:"\u4E91\u68A6\u53BF",420981:"\u5E94\u57CE\u5E02",420982:"\u5B89\u9646\u5E02",420984:"\u6C49\u5DDD\u5E02",421002:"\u6C99\u5E02\u533A",421003:"\u8346\u5DDE\u533A",421022:"\u516C\u5B89\u53BF",421023:"\u76D1\u5229\u53BF",421024:"\u6C5F\u9675\u53BF",421081:"\u77F3\u9996\u5E02",421083:"\u6D2A\u6E56\u5E02",421087:"\u677E\u6ECB\u5E02",421102:"\u9EC4\u5DDE\u533A",421121:"\u56E2\u98CE\u53BF",421122:"\u7EA2\u5B89\u53BF",421123:"\u7F57\u7530\u53BF",421124:"\u82F1\u5C71\u53BF",421125:"\u6D60\u6C34\u53BF",421126:"\u8572\u6625\u53BF",421127:"\u9EC4\u6885\u53BF",421171:"\u9F99\u611F\u6E56\u7BA1\u7406\u533A",421181:"\u9EBB\u57CE\u5E02",421182:"\u6B66\u7A74\u5E02",421202:"\u54B8\u5B89\u533A",421221:"\u5609\u9C7C\u53BF",421222:"\u901A\u57CE\u53BF",421223:"\u5D07\u9633\u53BF",421224:"\u901A\u5C71\u53BF",421281:"\u8D64\u58C1\u5E02",421303:"\u66FE\u90FD\u533A",421321:"\u968F\u53BF",421381:"\u5E7F\u6C34\u5E02",422801:"\u6069\u65BD\u5E02",422802:"\u5229\u5DDD\u5E02",422822:"\u5EFA\u59CB\u53BF",422823:"\u5DF4\u4E1C\u53BF",422825:"\u5BA3\u6069\u53BF",422826:"\u54B8\u4E30\u53BF",422827:"\u6765\u51E4\u53BF",422828:"\u9E64\u5CF0\u53BF",429004:"\u4ED9\u6843\u5E02",429005:"\u6F5C\u6C5F\u5E02",429006:"\u5929\u95E8\u5E02",429021:"\u795E\u519C\u67B6\u6797\u533A",430102:"\u8299\u84C9\u533A",430103:"\u5929\u5FC3\u533A",430104:"\u5CB3\u9E93\u533A",430105:"\u5F00\u798F\u533A",430111:"\u96E8\u82B1\u533A",430112:"\u671B\u57CE\u533A",430121:"\u957F\u6C99\u53BF",430181:"\u6D4F\u9633\u5E02",430182:"\u5B81\u4E61\u5E02",430202:"\u8377\u5858\u533A",430203:"\u82A6\u6DDE\u533A",430204:"\u77F3\u5CF0\u533A",430211:"\u5929\u5143\u533A",430212:"\u6E0C\u53E3\u533A",430223:"\u6538\u53BF",430224:"\u8336\u9675\u53BF",430225:"\u708E\u9675\u53BF",430271:"\u4E91\u9F99\u793A\u8303\u533A",430281:"\u91B4\u9675\u5E02",430302:"\u96E8\u6E56\u533A",430304:"\u5CB3\u5858\u533A",430321:"\u6E58\u6F6D\u53BF",430373:"\u6E58\u6F6D\u4E5D\u534E\u793A\u8303\u533A",430381:"\u6E58\u4E61\u5E02",430382:"\u97F6\u5C71\u5E02",430405:"\u73E0\u6656\u533A",430406:"\u96C1\u5CF0\u533A",430407:"\u77F3\u9F13\u533A",430408:"\u84B8\u6E58\u533A",430412:"\u5357\u5CB3\u533A",430421:"\u8861\u9633\u53BF",430422:"\u8861\u5357\u53BF",430423:"\u8861\u5C71\u53BF",430424:"\u8861\u4E1C\u53BF",430426:"\u7941\u4E1C\u53BF",430481:"\u8012\u9633\u5E02",430482:"\u5E38\u5B81\u5E02",430502:"\u53CC\u6E05\u533A",430503:"\u5927\u7965\u533A",430511:"\u5317\u5854\u533A",430522:"\u65B0\u90B5\u53BF",430523:"\u90B5\u9633\u53BF",430524:"\u9686\u56DE\u53BF",430525:"\u6D1E\u53E3\u53BF",430527:"\u7EE5\u5B81\u53BF",430528:"\u65B0\u5B81\u53BF",430529:"\u57CE\u6B65\u82D7\u65CF\u81EA\u6CBB\u53BF",430581:"\u6B66\u5188\u5E02",430582:"\u90B5\u4E1C\u5E02",430602:"\u5CB3\u9633\u697C\u533A",430603:"\u4E91\u6EAA\u533A",430611:"\u541B\u5C71\u533A",430621:"\u5CB3\u9633\u53BF",430623:"\u534E\u5BB9\u53BF",430624:"\u6E58\u9634\u53BF",430626:"\u5E73\u6C5F\u53BF",430681:"\u6C68\u7F57\u5E02",430682:"\u4E34\u6E58\u5E02",430702:"\u6B66\u9675\u533A",430703:"\u9F0E\u57CE\u533A",430721:"\u5B89\u4E61\u53BF",430722:"\u6C49\u5BFF\u53BF",430723:"\u6FA7\u53BF",430724:"\u4E34\u6FA7\u53BF",430725:"\u6843\u6E90\u53BF",430726:"\u77F3\u95E8\u53BF",430781:"\u6D25\u5E02\u5E02",430802:"\u6C38\u5B9A\u533A",430811:"\u6B66\u9675\u6E90\u533A",430821:"\u6148\u5229\u53BF",430822:"\u6851\u690D\u53BF",430902:"\u8D44\u9633\u533A",430903:"\u8D6B\u5C71\u533A",430921:"\u5357\u53BF",430922:"\u6843\u6C5F\u53BF",430923:"\u5B89\u5316\u53BF",430971:"\u76CA\u9633\u5E02\u5927\u901A\u6E56\u7BA1\u7406\u533A",430981:"\u6C85\u6C5F\u5E02",431002:"\u5317\u6E56\u533A",431003:"\u82CF\u4ED9\u533A",431021:"\u6842\u9633\u53BF",431022:"\u5B9C\u7AE0\u53BF",431023:"\u6C38\u5174\u53BF",431024:"\u5609\u79BE\u53BF",431025:"\u4E34\u6B66\u53BF",431026:"\u6C5D\u57CE\u53BF",431027:"\u6842\u4E1C\u53BF",431028:"\u5B89\u4EC1\u53BF",431081:"\u8D44\u5174\u5E02",431102:"\u96F6\u9675\u533A",431103:"\u51B7\u6C34\u6EE9\u533A",431121:"\u7941\u9633\u53BF",431122:"\u4E1C\u5B89\u53BF",431123:"\u53CC\u724C\u53BF",431124:"\u9053\u53BF",431125:"\u6C5F\u6C38\u53BF",431126:"\u5B81\u8FDC\u53BF",431127:"\u84DD\u5C71\u53BF",431128:"\u65B0\u7530\u53BF",431129:"\u6C5F\u534E\u7476\u65CF\u81EA\u6CBB\u53BF",431202:"\u9E64\u57CE\u533A",431221:"\u4E2D\u65B9\u53BF",431222:"\u6C85\u9675\u53BF",431223:"\u8FB0\u6EAA\u53BF",431224:"\u6E86\u6D66\u53BF",431225:"\u4F1A\u540C\u53BF",431226:"\u9EBB\u9633\u82D7\u65CF\u81EA\u6CBB\u53BF",431227:"\u65B0\u6643\u4F97\u65CF\u81EA\u6CBB\u53BF",431228:"\u82B7\u6C5F\u4F97\u65CF\u81EA\u6CBB\u53BF",431229:"\u9756\u5DDE\u82D7\u65CF\u4F97\u65CF\u81EA\u6CBB\u53BF",431230:"\u901A\u9053\u4F97\u65CF\u81EA\u6CBB\u53BF",431271:"\u6000\u5316\u5E02\u6D2A\u6C5F\u7BA1\u7406\u533A",431281:"\u6D2A\u6C5F\u5E02",431302:"\u5A04\u661F\u533A",431321:"\u53CC\u5CF0\u53BF",431322:"\u65B0\u5316\u53BF",431381:"\u51B7\u6C34\u6C5F\u5E02",431382:"\u6D9F\u6E90\u5E02",433101:"\u5409\u9996\u5E02",433122:"\u6CF8\u6EAA\u53BF",433123:"\u51E4\u51F0\u53BF",433124:"\u82B1\u57A3\u53BF",433125:"\u4FDD\u9756\u53BF",433126:"\u53E4\u4E08\u53BF",433127:"\u6C38\u987A\u53BF",433130:"\u9F99\u5C71\u53BF",440103:"\u8354\u6E7E\u533A",440104:"\u8D8A\u79C0\u533A",440105:"\u6D77\u73E0\u533A",440106:"\u5929\u6CB3\u533A",440111:"\u767D\u4E91\u533A",440112:"\u9EC4\u57D4\u533A",440113:"\u756A\u79BA\u533A",440114:"\u82B1\u90FD\u533A",440115:"\u5357\u6C99\u533A",440117:"\u4ECE\u5316\u533A",440118:"\u589E\u57CE\u533A",440203:"\u6B66\u6C5F\u533A",440204:"\u6D48\u6C5F\u533A",440205:"\u66F2\u6C5F\u533A",440222:"\u59CB\u5174\u53BF",440224:"\u4EC1\u5316\u53BF",440229:"\u7FC1\u6E90\u53BF",440232:"\u4E73\u6E90\u7476\u65CF\u81EA\u6CBB\u53BF",440233:"\u65B0\u4E30\u53BF",440281:"\u4E50\u660C\u5E02",440282:"\u5357\u96C4\u5E02",440303:"\u7F57\u6E56\u533A",440304:"\u798F\u7530\u533A",440305:"\u5357\u5C71\u533A",440306:"\u5B9D\u5B89\u533A",440307:"\u9F99\u5C97\u533A",440308:"\u76D0\u7530\u533A",440309:"\u9F99\u534E\u533A",440310:"\u576A\u5C71\u533A",440311:"\u5149\u660E\u533A",440402:"\u9999\u6D32\u533A",440403:"\u6597\u95E8\u533A",440404:"\u91D1\u6E7E\u533A",440507:"\u9F99\u6E56\u533A",440511:"\u91D1\u5E73\u533A",440512:"\u6FE0\u6C5F\u533A",440513:"\u6F6E\u9633\u533A",440514:"\u6F6E\u5357\u533A",440515:"\u6F84\u6D77\u533A",440523:"\u5357\u6FB3\u53BF",440604:"\u7985\u57CE\u533A",440605:"\u5357\u6D77\u533A",440606:"\u987A\u5FB7\u533A",440607:"\u4E09\u6C34\u533A",440608:"\u9AD8\u660E\u533A",440703:"\u84EC\u6C5F\u533A",440704:"\u6C5F\u6D77\u533A",440705:"\u65B0\u4F1A\u533A",440781:"\u53F0\u5C71\u5E02",440783:"\u5F00\u5E73\u5E02",440784:"\u9E64\u5C71\u5E02",440785:"\u6069\u5E73\u5E02",440802:"\u8D64\u574E\u533A",440803:"\u971E\u5C71\u533A",440804:"\u5761\u5934\u533A",440811:"\u9EBB\u7AE0\u533A",440823:"\u9042\u6EAA\u53BF",440825:"\u5F90\u95FB\u53BF",440881:"\u5EC9\u6C5F\u5E02",440882:"\u96F7\u5DDE\u5E02",440883:"\u5434\u5DDD\u5E02",440890:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",440902:"\u8302\u5357\u533A",440904:"\u7535\u767D\u533A",440981:"\u9AD8\u5DDE\u5E02",440982:"\u5316\u5DDE\u5E02",440983:"\u4FE1\u5B9C\u5E02",441202:"\u7AEF\u5DDE\u533A",441203:"\u9F0E\u6E56\u533A",441204:"\u9AD8\u8981\u533A",441223:"\u5E7F\u5B81\u53BF",441224:"\u6000\u96C6\u53BF",441225:"\u5C01\u5F00\u53BF",441226:"\u5FB7\u5E86\u53BF",441284:"\u56DB\u4F1A\u5E02",441302:"\u60E0\u57CE\u533A",441303:"\u60E0\u9633\u533A",441322:"\u535A\u7F57\u53BF",441323:"\u60E0\u4E1C\u53BF",441324:"\u9F99\u95E8\u53BF",441402:"\u6885\u6C5F\u533A",441403:"\u6885\u53BF\u533A",441422:"\u5927\u57D4\u53BF",441423:"\u4E30\u987A\u53BF",441424:"\u4E94\u534E\u53BF",441426:"\u5E73\u8FDC\u53BF",441427:"\u8549\u5CAD\u53BF",441481:"\u5174\u5B81\u5E02",441502:"\u57CE\u533A",441521:"\u6D77\u4E30\u53BF",441523:"\u9646\u6CB3\u53BF",441581:"\u9646\u4E30\u5E02",441602:"\u6E90\u57CE\u533A",441621:"\u7D2B\u91D1\u53BF",441622:"\u9F99\u5DDD\u53BF",441623:"\u8FDE\u5E73\u53BF",441624:"\u548C\u5E73\u53BF",441625:"\u4E1C\u6E90\u53BF",441702:"\u6C5F\u57CE\u533A",441704:"\u9633\u4E1C\u533A",441721:"\u9633\u897F\u53BF",441781:"\u9633\u6625\u5E02",441802:"\u6E05\u57CE\u533A",441803:"\u6E05\u65B0\u533A",441821:"\u4F5B\u5188\u53BF",441823:"\u9633\u5C71\u53BF",441825:"\u8FDE\u5C71\u58EE\u65CF\u7476\u65CF\u81EA\u6CBB\u53BF",441826:"\u8FDE\u5357\u7476\u65CF\u81EA\u6CBB\u53BF",441881:"\u82F1\u5FB7\u5E02",441882:"\u8FDE\u5DDE\u5E02",441901:"\u4E2D\u5802\u9547",441903:"\u5357\u57CE\u8857\u9053",441904:"\u957F\u5B89\u9547",441905:"\u4E1C\u5751\u9547",441906:"\u6A1F\u6728\u5934\u9547",441907:"\u839E\u57CE\u8857\u9053",441908:"\u77F3\u9F99\u9547",441909:"\u6865\u5934\u9547",441910:"\u4E07\u6C5F\u8857\u9053",441911:"\u9EBB\u6D8C\u9547",441912:"\u864E\u95E8\u9547",441913:"\u8C22\u5C97\u9547",441914:"\u77F3\u78A3\u9547",441915:"\u8336\u5C71\u9547",441916:"\u4E1C\u57CE\u8857\u9053",441917:"\u6D2A\u6885\u9547",441918:"\u9053\u6ED8\u9547",441919:"\u9AD8\u57D7\u9547",441920:"\u4F01\u77F3\u9547",441921:"\u51E4\u5C97\u9547",441922:"\u5927\u5CAD\u5C71\u9547",441923:"\u677E\u5C71\u6E56",441924:"\u6E05\u6EAA\u9547",441925:"\u671B\u725B\u58A9\u9547",441926:"\u539A\u8857\u9547",441927:"\u5E38\u5E73\u9547",441928:"\u5BEE\u6B65\u9547",441929:"\u77F3\u6392\u9547",441930:"\u6A2A\u6CA5\u9547",441931:"\u5858\u53A6\u9547",441932:"\u9EC4\u6C5F\u9547",441933:"\u5927\u6717\u9547",441934:"\u4E1C\u839E\u6E2F",441935:"\u4E1C\u839E\u751F\u6001\u56ED",441990:"\u6C99\u7530\u9547",442001:"\u5357\u5934\u9547",442002:"\u795E\u6E7E\u9547",442003:"\u4E1C\u51E4\u9547",442004:"\u4E94\u6842\u5C71\u8857\u9053",442005:"\u9EC4\u5703\u9547",442006:"\u5C0F\u6984\u9547",442007:"\u77F3\u5C90\u8857\u9053",442008:"\u6A2A\u680F\u9547",442009:"\u4E09\u89D2\u9547",442010:"\u4E09\u4E61\u9547",442011:"\u6E2F\u53E3\u9547",442012:"\u6C99\u6EAA\u9547",442013:"\u677F\u8299\u9547",442015:"\u4E1C\u5347\u9547",442016:"\u961C\u6C99\u9547",442017:"\u6C11\u4F17\u9547",442018:"\u4E1C\u533A\u8857\u9053",442019:"\u706B\u70AC\u5F00\u53D1\u533A\u8857\u9053\u529E\u4E8B\u5904",442020:"\u897F\u533A\u8857\u9053",442021:"\u5357\u533A\u8857\u9053",442022:"\u53E4\u9547\u9547",442023:"\u5766\u6D32\u9547",442024:"\u5927\u6D8C\u9547",442025:"\u5357\u6717\u9547",445102:"\u6E58\u6865\u533A",445103:"\u6F6E\u5B89\u533A",445122:"\u9976\u5E73\u53BF",445202:"\u6995\u57CE\u533A",445203:"\u63ED\u4E1C\u533A",445222:"\u63ED\u897F\u53BF",445224:"\u60E0\u6765\u53BF",445281:"\u666E\u5B81\u5E02",445302:"\u4E91\u57CE\u533A",445303:"\u4E91\u5B89\u533A",445321:"\u65B0\u5174\u53BF",445322:"\u90C1\u5357\u53BF",445381:"\u7F57\u5B9A\u5E02",450102:"\u5174\u5B81\u533A",450103:"\u9752\u79C0\u533A",450105:"\u6C5F\u5357\u533A",450107:"\u897F\u4E61\u5858\u533A",450108:"\u826F\u5E86\u533A",450109:"\u9095\u5B81\u533A",450110:"\u6B66\u9E23\u533A",450123:"\u9686\u5B89\u53BF",450124:"\u9A6C\u5C71\u53BF",450125:"\u4E0A\u6797\u53BF",450126:"\u5BBE\u9633\u53BF",450127:"\u6A2A\u53BF",450202:"\u57CE\u4E2D\u533A",450203:"\u9C7C\u5CF0\u533A",450204:"\u67F3\u5357\u533A",450205:"\u67F3\u5317\u533A",450206:"\u67F3\u6C5F\u533A",450222:"\u67F3\u57CE\u53BF",450223:"\u9E7F\u5BE8\u53BF",450224:"\u878D\u5B89\u53BF",450225:"\u878D\u6C34\u82D7\u65CF\u81EA\u6CBB\u53BF",450226:"\u4E09\u6C5F\u4F97\u65CF\u81EA\u6CBB\u53BF",450302:"\u79C0\u5CF0\u533A",450303:"\u53E0\u5F69\u533A",450304:"\u8C61\u5C71\u533A",450305:"\u4E03\u661F\u533A",450311:"\u96C1\u5C71\u533A",450312:"\u4E34\u6842\u533A",450321:"\u9633\u6714\u53BF",450323:"\u7075\u5DDD\u53BF",450324:"\u5168\u5DDE\u53BF",450325:"\u5174\u5B89\u53BF",450326:"\u6C38\u798F\u53BF",450327:"\u704C\u9633\u53BF",450328:"\u9F99\u80DC\u5404\u65CF\u81EA\u6CBB\u53BF",450329:"\u8D44\u6E90\u53BF",450330:"\u5E73\u4E50\u53BF",450332:"\u606D\u57CE\u7476\u65CF\u81EA\u6CBB\u53BF",450381:"\u8354\u6D66\u5E02",450403:"\u4E07\u79C0\u533A",450405:"\u957F\u6D32\u533A",450406:"\u9F99\u5729\u533A",450421:"\u82CD\u68A7\u53BF",450422:"\u85E4\u53BF",450423:"\u8499\u5C71\u53BF",450481:"\u5C91\u6EAA\u5E02",450502:"\u6D77\u57CE\u533A",450503:"\u94F6\u6D77\u533A",450512:"\u94C1\u5C71\u6E2F\u533A",450521:"\u5408\u6D66\u53BF",450602:"\u6E2F\u53E3\u533A",450603:"\u9632\u57CE\u533A",450621:"\u4E0A\u601D\u53BF",450681:"\u4E1C\u5174\u5E02",450702:"\u94A6\u5357\u533A",450703:"\u94A6\u5317\u533A",450721:"\u7075\u5C71\u53BF",450722:"\u6D66\u5317\u53BF",450802:"\u6E2F\u5317\u533A",450803:"\u6E2F\u5357\u533A",450804:"\u8983\u5858\u533A",450821:"\u5E73\u5357\u53BF",450881:"\u6842\u5E73\u5E02",450902:"\u7389\u5DDE\u533A",450903:"\u798F\u7EF5\u533A",450921:"\u5BB9\u53BF",450922:"\u9646\u5DDD\u53BF",450923:"\u535A\u767D\u53BF",450924:"\u5174\u4E1A\u53BF",450981:"\u5317\u6D41\u5E02",451002:"\u53F3\u6C5F\u533A",451003:"\u7530\u9633\u533A",451022:"\u7530\u4E1C\u53BF",451024:"\u5FB7\u4FDD\u53BF",451026:"\u90A3\u5761\u53BF",451027:"\u51CC\u4E91\u53BF",451028:"\u4E50\u4E1A\u53BF",451029:"\u7530\u6797\u53BF",451030:"\u897F\u6797\u53BF",451031:"\u9686\u6797\u5404\u65CF\u81EA\u6CBB\u53BF",451081:"\u9756\u897F\u5E02",451082:"\u5E73\u679C\u5E02",451102:"\u516B\u6B65\u533A",451103:"\u5E73\u6842\u533A",451121:"\u662D\u5E73\u53BF",451122:"\u949F\u5C71\u53BF",451123:"\u5BCC\u5DDD\u7476\u65CF\u81EA\u6CBB\u53BF",451202:"\u91D1\u57CE\u6C5F\u533A",451203:"\u5B9C\u5DDE\u533A",451221:"\u5357\u4E39\u53BF",451222:"\u5929\u5CE8\u53BF",451223:"\u51E4\u5C71\u53BF",451224:"\u4E1C\u5170\u53BF",451225:"\u7F57\u57CE\u4EEB\u4F6C\u65CF\u81EA\u6CBB\u53BF",451226:"\u73AF\u6C5F\u6BDB\u5357\u65CF\u81EA\u6CBB\u53BF",451227:"\u5DF4\u9A6C\u7476\u65CF\u81EA\u6CBB\u53BF",451228:"\u90FD\u5B89\u7476\u65CF\u81EA\u6CBB\u53BF",451229:"\u5927\u5316\u7476\u65CF\u81EA\u6CBB\u53BF",451302:"\u5174\u5BBE\u533A",451321:"\u5FFB\u57CE\u53BF",451322:"\u8C61\u5DDE\u53BF",451323:"\u6B66\u5BA3\u53BF",451324:"\u91D1\u79C0\u7476\u65CF\u81EA\u6CBB\u53BF",451381:"\u5408\u5C71\u5E02",451402:"\u6C5F\u5DDE\u533A",451421:"\u6276\u7EE5\u53BF",451422:"\u5B81\u660E\u53BF",451423:"\u9F99\u5DDE\u53BF",451424:"\u5927\u65B0\u53BF",451425:"\u5929\u7B49\u53BF",451481:"\u51ED\u7965\u5E02",460105:"\u79C0\u82F1\u533A",460106:"\u9F99\u534E\u533A",460107:"\u743C\u5C71\u533A",460108:"\u7F8E\u5170\u533A",460202:"\u6D77\u68E0\u533A",460203:"\u5409\u9633\u533A",460204:"\u5929\u6DAF\u533A",460205:"\u5D16\u5DDE\u533A",460321:"\u897F\u6C99\u533A",460322:"\u5357\u6C99\u533A",460401:"\u90A3\u5927\u9547",460402:"\u548C\u5E86\u9547",460403:"\u5357\u4E30\u9547",460404:"\u5927\u6210\u9547",460405:"\u96C5\u661F\u9547",460406:"\u5170\u6D0B\u9547",460407:"\u5149\u6751\u9547",460408:"\u6728\u68E0\u9547",460409:"\u6D77\u5934\u9547",460410:"\u5CE8\u8513\u9547",460411:"\u738B\u4E94\u9547",460412:"\u767D\u9A6C\u4E95\u9547",460413:"\u4E2D\u548C\u9547",460414:"\u6392\u6D66\u9547",460415:"\u4E1C\u6210\u9547",460416:"\u65B0\u5DDE\u9547",460417:"\u6D0B\u6D66\u7ECF\u6D4E\u5F00\u53D1\u533A",460418:"\u534E\u5357\u70ED\u4F5C\u5B66\u9662",469001:"\u4E94\u6307\u5C71\u5E02",469002:"\u743C\u6D77\u5E02",469005:"\u6587\u660C\u5E02",469006:"\u4E07\u5B81\u5E02",469007:"\u4E1C\u65B9\u5E02",469021:"\u5B9A\u5B89\u53BF",469022:"\u5C6F\u660C\u53BF",469023:"\u6F84\u8FC8\u53BF",469024:"\u4E34\u9AD8\u53BF",469025:"\u767D\u6C99\u9ECE\u65CF\u81EA\u6CBB\u53BF",469026:"\u660C\u6C5F\u9ECE\u65CF\u81EA\u6CBB\u53BF",469027:"\u4E50\u4E1C\u9ECE\u65CF\u81EA\u6CBB\u53BF",469028:"\u9675\u6C34\u9ECE\u65CF\u81EA\u6CBB\u53BF",469029:"\u4FDD\u4EAD\u9ECE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",469030:"\u743C\u4E2D\u9ECE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500101:"\u4E07\u5DDE\u533A",500102:"\u6DAA\u9675\u533A",500103:"\u6E1D\u4E2D\u533A",500104:"\u5927\u6E21\u53E3\u533A",500105:"\u6C5F\u5317\u533A",500106:"\u6C99\u576A\u575D\u533A",500107:"\u4E5D\u9F99\u5761\u533A",500108:"\u5357\u5CB8\u533A",500109:"\u5317\u789A\u533A",500110:"\u7DA6\u6C5F\u533A",500111:"\u5927\u8DB3\u533A",500112:"\u6E1D\u5317\u533A",500113:"\u5DF4\u5357\u533A",500114:"\u9ED4\u6C5F\u533A",500115:"\u957F\u5BFF\u533A",500116:"\u6C5F\u6D25\u533A",500117:"\u5408\u5DDD\u533A",500118:"\u6C38\u5DDD\u533A",500119:"\u5357\u5DDD\u533A",500120:"\u74A7\u5C71\u533A",500151:"\u94DC\u6881\u533A",500152:"\u6F7C\u5357\u533A",500153:"\u8363\u660C\u533A",500154:"\u5F00\u5DDE\u533A",500155:"\u6881\u5E73\u533A",500156:"\u6B66\u9686\u533A",500229:"\u57CE\u53E3\u53BF",500230:"\u4E30\u90FD\u53BF",500231:"\u57AB\u6C5F\u53BF",500233:"\u5FE0\u53BF",500235:"\u4E91\u9633\u53BF",500236:"\u5949\u8282\u53BF",500237:"\u5DEB\u5C71\u53BF",500238:"\u5DEB\u6EAA\u53BF",500240:"\u77F3\u67F1\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",500241:"\u79C0\u5C71\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500242:"\u9149\u9633\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500243:"\u5F6D\u6C34\u82D7\u65CF\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",510104:"\u9526\u6C5F\u533A",510105:"\u9752\u7F8A\u533A",510106:"\u91D1\u725B\u533A",510107:"\u6B66\u4FAF\u533A",510108:"\u6210\u534E\u533A",510112:"\u9F99\u6CC9\u9A7F\u533A",510113:"\u9752\u767D\u6C5F\u533A",510114:"\u65B0\u90FD\u533A",510115:"\u6E29\u6C5F\u533A",510116:"\u53CC\u6D41\u533A",510117:"\u90EB\u90FD\u533A",510121:"\u91D1\u5802\u53BF",510129:"\u5927\u9091\u53BF",510131:"\u84B2\u6C5F\u53BF",510132:"\u65B0\u6D25\u53BF",510181:"\u90FD\u6C5F\u5830\u5E02",510182:"\u5F6D\u5DDE\u5E02",510183:"\u909B\u5D03\u5E02",510184:"\u5D07\u5DDE\u5E02",510185:"\u7B80\u9633\u5E02",510191:"\u9AD8\u65B0\u533A",510302:"\u81EA\u6D41\u4E95\u533A",510303:"\u8D21\u4E95\u533A",510304:"\u5927\u5B89\u533A",510311:"\u6CBF\u6EE9\u533A",510321:"\u8363\u53BF",510322:"\u5BCC\u987A\u53BF",510402:"\u4E1C\u533A",510403:"\u897F\u533A",510411:"\u4EC1\u548C\u533A",510421:"\u7C73\u6613\u53BF",510422:"\u76D0\u8FB9\u53BF",510502:"\u6C5F\u9633\u533A",510503:"\u7EB3\u6EAA\u533A",510504:"\u9F99\u9A6C\u6F6D\u533A",510521:"\u6CF8\u53BF",510522:"\u5408\u6C5F\u53BF",510524:"\u53D9\u6C38\u53BF",510525:"\u53E4\u853A\u53BF",510603:"\u65CC\u9633\u533A",510604:"\u7F57\u6C5F\u533A",510623:"\u4E2D\u6C5F\u53BF",510681:"\u5E7F\u6C49\u5E02",510682:"\u4EC0\u90A1\u5E02",510683:"\u7EF5\u7AF9\u5E02",510703:"\u6DAA\u57CE\u533A",510704:"\u6E38\u4ED9\u533A",510705:"\u5B89\u5DDE\u533A",510722:"\u4E09\u53F0\u53BF",510723:"\u76D0\u4EAD\u53BF",510725:"\u6893\u6F7C\u53BF",510726:"\u5317\u5DDD\u7F8C\u65CF\u81EA\u6CBB\u53BF",510727:"\u5E73\u6B66\u53BF",510781:"\u6C5F\u6CB9\u5E02",510791:"\u9AD8\u65B0\u533A",510802:"\u5229\u5DDE\u533A",510811:"\u662D\u5316\u533A",510812:"\u671D\u5929\u533A",510821:"\u65FA\u82CD\u53BF",510822:"\u9752\u5DDD\u53BF",510823:"\u5251\u9601\u53BF",510824:"\u82CD\u6EAA\u53BF",510903:"\u8239\u5C71\u533A",510904:"\u5B89\u5C45\u533A",510921:"\u84EC\u6EAA\u53BF",510923:"\u5927\u82F1\u53BF",510981:"\u5C04\u6D2A\u5E02",511002:"\u5E02\u4E2D\u533A",511011:"\u4E1C\u5174\u533A",511024:"\u5A01\u8FDC\u53BF",511025:"\u8D44\u4E2D\u53BF",511083:"\u9686\u660C\u5E02",511102:"\u5E02\u4E2D\u533A",511111:"\u6C99\u6E7E\u533A",511112:"\u4E94\u901A\u6865\u533A",511113:"\u91D1\u53E3\u6CB3\u533A",511123:"\u728D\u4E3A\u53BF",511124:"\u4E95\u7814\u53BF",511126:"\u5939\u6C5F\u53BF",511129:"\u6C90\u5DDD\u53BF",511132:"\u5CE8\u8FB9\u5F5D\u65CF\u81EA\u6CBB\u53BF",511133:"\u9A6C\u8FB9\u5F5D\u65CF\u81EA\u6CBB\u53BF",511181:"\u5CE8\u7709\u5C71\u5E02",511302:"\u987A\u5E86\u533A",511303:"\u9AD8\u576A\u533A",511304:"\u5609\u9675\u533A",511321:"\u5357\u90E8\u53BF",511322:"\u8425\u5C71\u53BF",511323:"\u84EC\u5B89\u53BF",511324:"\u4EEA\u9647\u53BF",511325:"\u897F\u5145\u53BF",511381:"\u9606\u4E2D\u5E02",511402:"\u4E1C\u5761\u533A",511403:"\u5F6D\u5C71\u533A",511421:"\u4EC1\u5BFF\u53BF",511423:"\u6D2A\u96C5\u53BF",511424:"\u4E39\u68F1\u53BF",511425:"\u9752\u795E\u53BF",511502:"\u7FE0\u5C4F\u533A",511503:"\u5357\u6EAA\u533A",511504:"\u53D9\u5DDE\u533A",511523:"\u6C5F\u5B89\u53BF",511524:"\u957F\u5B81\u53BF",511525:"\u9AD8\u53BF",511526:"\u73D9\u53BF",511527:"\u7B60\u8FDE\u53BF",511528:"\u5174\u6587\u53BF",511529:"\u5C4F\u5C71\u53BF",511602:"\u5E7F\u5B89\u533A",511603:"\u524D\u950B\u533A",511621:"\u5CB3\u6C60\u53BF",511622:"\u6B66\u80DC\u53BF",511623:"\u90BB\u6C34\u53BF",511681:"\u534E\u84E5\u5E02",511702:"\u901A\u5DDD\u533A",511703:"\u8FBE\u5DDD\u533A",511722:"\u5BA3\u6C49\u53BF",511723:"\u5F00\u6C5F\u53BF",511724:"\u5927\u7AF9\u53BF",511725:"\u6E20\u53BF",511781:"\u4E07\u6E90\u5E02",511802:"\u96E8\u57CE\u533A",511803:"\u540D\u5C71\u533A",511822:"\u8365\u7ECF\u53BF",511823:"\u6C49\u6E90\u53BF",511824:"\u77F3\u68C9\u53BF",511825:"\u5929\u5168\u53BF",511826:"\u82A6\u5C71\u53BF",511827:"\u5B9D\u5174\u53BF",511902:"\u5DF4\u5DDE\u533A",511903:"\u6069\u9633\u533A",511921:"\u901A\u6C5F\u53BF",511922:"\u5357\u6C5F\u53BF",511923:"\u5E73\u660C\u53BF",511971:"\u5DF4\u4E2D\u7ECF\u6D4E\u5F00\u53D1\u533A",512002:"\u96C1\u6C5F\u533A",512021:"\u5B89\u5CB3\u53BF",512022:"\u4E50\u81F3\u53BF",513201:"\u9A6C\u5C14\u5EB7\u5E02",513221:"\u6C76\u5DDD\u53BF",513222:"\u7406\u53BF",513223:"\u8302\u53BF",513224:"\u677E\u6F58\u53BF",513225:"\u4E5D\u5BE8\u6C9F\u53BF",513226:"\u91D1\u5DDD\u53BF",513227:"\u5C0F\u91D1\u53BF",513228:"\u9ED1\u6C34\u53BF",513230:"\u58E4\u5858\u53BF",513231:"\u963F\u575D\u53BF",513232:"\u82E5\u5C14\u76D6\u53BF",513233:"\u7EA2\u539F\u53BF",513301:"\u5EB7\u5B9A\u5E02",513322:"\u6CF8\u5B9A\u53BF",513323:"\u4E39\u5DF4\u53BF",513324:"\u4E5D\u9F99\u53BF",513325:"\u96C5\u6C5F\u53BF",513326:"\u9053\u5B5A\u53BF",513327:"\u7089\u970D\u53BF",513328:"\u7518\u5B5C\u53BF",513329:"\u65B0\u9F99\u53BF",513330:"\u5FB7\u683C\u53BF",513331:"\u767D\u7389\u53BF",513332:"\u77F3\u6E20\u53BF",513333:"\u8272\u8FBE\u53BF",513334:"\u7406\u5858\u53BF",513335:"\u5DF4\u5858\u53BF",513336:"\u4E61\u57CE\u53BF",513337:"\u7A3B\u57CE\u53BF",513338:"\u5F97\u8363\u53BF",513401:"\u897F\u660C\u5E02",513422:"\u6728\u91CC\u85CF\u65CF\u81EA\u6CBB\u53BF",513423:"\u76D0\u6E90\u53BF",513424:"\u5FB7\u660C\u53BF",513425:"\u4F1A\u7406\u53BF",513426:"\u4F1A\u4E1C\u53BF",513427:"\u5B81\u5357\u53BF",513428:"\u666E\u683C\u53BF",513429:"\u5E03\u62D6\u53BF",513430:"\u91D1\u9633\u53BF",513431:"\u662D\u89C9\u53BF",513432:"\u559C\u5FB7\u53BF",513433:"\u5195\u5B81\u53BF",513434:"\u8D8A\u897F\u53BF",513435:"\u7518\u6D1B\u53BF",513436:"\u7F8E\u59D1\u53BF",513437:"\u96F7\u6CE2\u53BF",520102:"\u5357\u660E\u533A",520103:"\u4E91\u5CA9\u533A",520111:"\u82B1\u6EAA\u533A",520112:"\u4E4C\u5F53\u533A",520113:"\u767D\u4E91\u533A",520115:"\u89C2\u5C71\u6E56\u533A",520121:"\u5F00\u9633\u53BF",520122:"\u606F\u70FD\u53BF",520123:"\u4FEE\u6587\u53BF",520181:"\u6E05\u9547\u5E02",520201:"\u949F\u5C71\u533A",520203:"\u516D\u679D\u7279\u533A",520221:"\u6C34\u57CE\u53BF",520281:"\u76D8\u5DDE\u5E02",520302:"\u7EA2\u82B1\u5C97\u533A",520303:"\u6C47\u5DDD\u533A",520304:"\u64AD\u5DDE\u533A",520322:"\u6850\u6893\u53BF",520323:"\u7EE5\u9633\u53BF",520324:"\u6B63\u5B89\u53BF",520325:"\u9053\u771F\u4EE1\u4F6C\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520326:"\u52A1\u5DDD\u4EE1\u4F6C\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520327:"\u51E4\u5188\u53BF",520328:"\u6E44\u6F6D\u53BF",520329:"\u4F59\u5E86\u53BF",520330:"\u4E60\u6C34\u53BF",520381:"\u8D64\u6C34\u5E02",520382:"\u4EC1\u6000\u5E02",520402:"\u897F\u79C0\u533A",520403:"\u5E73\u575D\u533A",520422:"\u666E\u5B9A\u53BF",520423:"\u9547\u5B81\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520424:"\u5173\u5CAD\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520425:"\u7D2B\u4E91\u82D7\u65CF\u5E03\u4F9D\u65CF\u81EA\u6CBB\u53BF",520502:"\u4E03\u661F\u5173\u533A",520521:"\u5927\u65B9\u53BF",520522:"\u9ED4\u897F\u53BF",520523:"\u91D1\u6C99\u53BF",520524:"\u7EC7\u91D1\u53BF",520525:"\u7EB3\u96CD\u53BF",520526:"\u5A01\u5B81\u5F5D\u65CF\u56DE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520527:"\u8D6B\u7AE0\u53BF",520602:"\u78A7\u6C5F\u533A",520603:"\u4E07\u5C71\u533A",520621:"\u6C5F\u53E3\u53BF",520622:"\u7389\u5C4F\u4F97\u65CF\u81EA\u6CBB\u53BF",520623:"\u77F3\u9621\u53BF",520624:"\u601D\u5357\u53BF",520625:"\u5370\u6C5F\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520626:"\u5FB7\u6C5F\u53BF",520627:"\u6CBF\u6CB3\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",520628:"\u677E\u6843\u82D7\u65CF\u81EA\u6CBB\u53BF",522301:"\u5174\u4E49\u5E02",522302:"\u5174\u4EC1\u5E02",522323:"\u666E\u5B89\u53BF",522324:"\u6674\u9686\u53BF",522325:"\u8D1E\u4E30\u53BF",522326:"\u671B\u8C1F\u53BF",522327:"\u518C\u4EA8\u53BF",522328:"\u5B89\u9F99\u53BF",522601:"\u51EF\u91CC\u5E02",522622:"\u9EC4\u5E73\u53BF",522623:"\u65BD\u79C9\u53BF",522624:"\u4E09\u7A57\u53BF",522625:"\u9547\u8FDC\u53BF",522626:"\u5C91\u5DE9\u53BF",522627:"\u5929\u67F1\u53BF",522628:"\u9526\u5C4F\u53BF",522629:"\u5251\u6CB3\u53BF",522630:"\u53F0\u6C5F\u53BF",522631:"\u9ECE\u5E73\u53BF",522632:"\u6995\u6C5F\u53BF",522633:"\u4ECE\u6C5F\u53BF",522634:"\u96F7\u5C71\u53BF",522635:"\u9EBB\u6C5F\u53BF",522636:"\u4E39\u5BE8\u53BF",522701:"\u90FD\u5300\u5E02",522702:"\u798F\u6CC9\u5E02",522722:"\u8354\u6CE2\u53BF",522723:"\u8D35\u5B9A\u53BF",522725:"\u74EE\u5B89\u53BF",522726:"\u72EC\u5C71\u53BF",522727:"\u5E73\u5858\u53BF",522728:"\u7F57\u7538\u53BF",522729:"\u957F\u987A\u53BF",522730:"\u9F99\u91CC\u53BF",522731:"\u60E0\u6C34\u53BF",522732:"\u4E09\u90FD\u6C34\u65CF\u81EA\u6CBB\u53BF",530102:"\u4E94\u534E\u533A",530103:"\u76D8\u9F99\u533A",530111:"\u5B98\u6E21\u533A",530112:"\u897F\u5C71\u533A",530113:"\u4E1C\u5DDD\u533A",530114:"\u5448\u8D21\u533A",530115:"\u664B\u5B81\u533A",530124:"\u5BCC\u6C11\u53BF",530125:"\u5B9C\u826F\u53BF",530126:"\u77F3\u6797\u5F5D\u65CF\u81EA\u6CBB\u53BF",530127:"\u5D69\u660E\u53BF",530128:"\u7984\u529D\u5F5D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",530129:"\u5BFB\u7538\u56DE\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530181:"\u5B89\u5B81\u5E02",530302:"\u9E92\u9E9F\u533A",530303:"\u6CBE\u76CA\u533A",530304:"\u9A6C\u9F99\u533A",530322:"\u9646\u826F\u53BF",530323:"\u5E08\u5B97\u53BF",530324:"\u7F57\u5E73\u53BF",530325:"\u5BCC\u6E90\u53BF",530326:"\u4F1A\u6CFD\u53BF",530381:"\u5BA3\u5A01\u5E02",530402:"\u7EA2\u5854\u533A",530403:"\u6C5F\u5DDD\u533A",530423:"\u901A\u6D77\u53BF",530424:"\u534E\u5B81\u53BF",530425:"\u6613\u95E8\u53BF",530426:"\u5CE8\u5C71\u5F5D\u65CF\u81EA\u6CBB\u53BF",530427:"\u65B0\u5E73\u5F5D\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530428:"\u5143\u6C5F\u54C8\u5C3C\u65CF\u5F5D\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530481:"\u6F84\u6C5F\u5E02",530502:"\u9686\u9633\u533A",530521:"\u65BD\u7538\u53BF",530523:"\u9F99\u9675\u53BF",530524:"\u660C\u5B81\u53BF",530581:"\u817E\u51B2\u5E02",530602:"\u662D\u9633\u533A",530621:"\u9C81\u7538\u53BF",530622:"\u5DE7\u5BB6\u53BF",530623:"\u76D0\u6D25\u53BF",530624:"\u5927\u5173\u53BF",530625:"\u6C38\u5584\u53BF",530626:"\u7EE5\u6C5F\u53BF",530627:"\u9547\u96C4\u53BF",530628:"\u5F5D\u826F\u53BF",530629:"\u5A01\u4FE1\u53BF",530681:"\u6C34\u5BCC\u5E02",530702:"\u53E4\u57CE\u533A",530721:"\u7389\u9F99\u7EB3\u897F\u65CF\u81EA\u6CBB\u53BF",530722:"\u6C38\u80DC\u53BF",530723:"\u534E\u576A\u53BF",530724:"\u5B81\u8497\u5F5D\u65CF\u81EA\u6CBB\u53BF",530802:"\u601D\u8305\u533A",530821:"\u5B81\u6D31\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530822:"\u58A8\u6C5F\u54C8\u5C3C\u65CF\u81EA\u6CBB\u53BF",530823:"\u666F\u4E1C\u5F5D\u65CF\u81EA\u6CBB\u53BF",530824:"\u666F\u8C37\u50A3\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530825:"\u9547\u6C85\u5F5D\u65CF\u54C8\u5C3C\u65CF\u62C9\u795C\u65CF\u81EA\u6CBB\u53BF",530826:"\u6C5F\u57CE\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530827:"\u5B5F\u8FDE\u50A3\u65CF\u62C9\u795C\u65CF\u4F64\u65CF\u81EA\u6CBB\u53BF",530828:"\u6F9C\u6CA7\u62C9\u795C\u65CF\u81EA\u6CBB\u53BF",530829:"\u897F\u76DF\u4F64\u65CF\u81EA\u6CBB\u53BF",530902:"\u4E34\u7FD4\u533A",530921:"\u51E4\u5E86\u53BF",530922:"\u4E91\u53BF",530923:"\u6C38\u5FB7\u53BF",530924:"\u9547\u5EB7\u53BF",530925:"\u53CC\u6C5F\u62C9\u795C\u65CF\u4F64\u65CF\u5E03\u6717\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530926:"\u803F\u9A6C\u50A3\u65CF\u4F64\u65CF\u81EA\u6CBB\u53BF",530927:"\u6CA7\u6E90\u4F64\u65CF\u81EA\u6CBB\u53BF",532301:"\u695A\u96C4\u5E02",532322:"\u53CC\u67CF\u53BF",532323:"\u725F\u5B9A\u53BF",532324:"\u5357\u534E\u53BF",532325:"\u59DA\u5B89\u53BF",532326:"\u5927\u59DA\u53BF",532327:"\u6C38\u4EC1\u53BF",532328:"\u5143\u8C0B\u53BF",532329:"\u6B66\u5B9A\u53BF",532331:"\u7984\u4E30\u53BF",532501:"\u4E2A\u65E7\u5E02",532502:"\u5F00\u8FDC\u5E02",532503:"\u8499\u81EA\u5E02",532504:"\u5F25\u52D2\u5E02",532523:"\u5C4F\u8FB9\u82D7\u65CF\u81EA\u6CBB\u53BF",532524:"\u5EFA\u6C34\u53BF",532525:"\u77F3\u5C4F\u53BF",532527:"\u6CF8\u897F\u53BF",532528:"\u5143\u9633\u53BF",532529:"\u7EA2\u6CB3\u53BF",532530:"\u91D1\u5E73\u82D7\u65CF\u7476\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",532531:"\u7EFF\u6625\u53BF",532532:"\u6CB3\u53E3\u7476\u65CF\u81EA\u6CBB\u53BF",532601:"\u6587\u5C71\u5E02",532622:"\u781A\u5C71\u53BF",532623:"\u897F\u7574\u53BF",532624:"\u9EBB\u6817\u5761\u53BF",532625:"\u9A6C\u5173\u53BF",532626:"\u4E18\u5317\u53BF",532627:"\u5E7F\u5357\u53BF",532628:"\u5BCC\u5B81\u53BF",532801:"\u666F\u6D2A\u5E02",532822:"\u52D0\u6D77\u53BF",532823:"\u52D0\u814A\u53BF",532901:"\u5927\u7406\u5E02",532922:"\u6F3E\u6FDE\u5F5D\u65CF\u81EA\u6CBB\u53BF",532923:"\u7965\u4E91\u53BF",532924:"\u5BBE\u5DDD\u53BF",532925:"\u5F25\u6E21\u53BF",532926:"\u5357\u6DA7\u5F5D\u65CF\u81EA\u6CBB\u53BF",532927:"\u5DCD\u5C71\u5F5D\u65CF\u56DE\u65CF\u81EA\u6CBB\u53BF",532928:"\u6C38\u5E73\u53BF",532929:"\u4E91\u9F99\u53BF",532930:"\u6D31\u6E90\u53BF",532931:"\u5251\u5DDD\u53BF",532932:"\u9E64\u5E86\u53BF",533102:"\u745E\u4E3D\u5E02",533103:"\u8292\u5E02",533122:"\u6881\u6CB3\u53BF",533123:"\u76C8\u6C5F\u53BF",533124:"\u9647\u5DDD\u53BF",533301:"\u6CF8\u6C34\u5E02",533323:"\u798F\u8D21\u53BF",533324:"\u8D21\u5C71\u72EC\u9F99\u65CF\u6012\u65CF\u81EA\u6CBB\u53BF",533325:"\u5170\u576A\u767D\u65CF\u666E\u7C73\u65CF\u81EA\u6CBB\u53BF",533401:"\u9999\u683C\u91CC\u62C9\u5E02",533422:"\u5FB7\u94A6\u53BF",533423:"\u7EF4\u897F\u5088\u50F3\u65CF\u81EA\u6CBB\u53BF",540102:"\u57CE\u5173\u533A",540103:"\u5806\u9F99\u5FB7\u5E86\u533A",540104:"\u8FBE\u5B5C\u533A",540121:"\u6797\u5468\u53BF",540122:"\u5F53\u96C4\u53BF",540123:"\u5C3C\u6728\u53BF",540124:"\u66F2\u6C34\u53BF",540127:"\u58A8\u7AF9\u5DE5\u5361\u53BF",540202:"\u6851\u73E0\u5B5C\u533A",540221:"\u5357\u6728\u6797\u53BF",540222:"\u6C5F\u5B5C\u53BF",540223:"\u5B9A\u65E5\u53BF",540224:"\u8428\u8FE6\u53BF",540225:"\u62C9\u5B5C\u53BF",540226:"\u6602\u4EC1\u53BF",540227:"\u8C22\u901A\u95E8\u53BF",540228:"\u767D\u6717\u53BF",540229:"\u4EC1\u5E03\u53BF",540230:"\u5EB7\u9A6C\u53BF",540231:"\u5B9A\u7ED3\u53BF",540232:"\u4EF2\u5DF4\u53BF",540233:"\u4E9A\u4E1C\u53BF",540234:"\u5409\u9686\u53BF",540235:"\u8042\u62C9\u6728\u53BF",540236:"\u8428\u560E\u53BF",540237:"\u5C97\u5DF4\u53BF",540302:"\u5361\u82E5\u533A",540321:"\u6C5F\u8FBE\u53BF",540322:"\u8D21\u89C9\u53BF",540323:"\u7C7B\u4E4C\u9F50\u53BF",540324:"\u4E01\u9752\u53BF",540325:"\u5BDF\u96C5\u53BF",540326:"\u516B\u5BBF\u53BF",540327:"\u5DE6\u8D21\u53BF",540328:"\u8292\u5EB7\u53BF",540329:"\u6D1B\u9686\u53BF",540330:"\u8FB9\u575D\u53BF",540402:"\u5DF4\u5B9C\u533A",540421:"\u5DE5\u5E03\u6C5F\u8FBE\u53BF",540422:"\u7C73\u6797\u53BF",540423:"\u58A8\u8131\u53BF",540424:"\u6CE2\u5BC6\u53BF",540425:"\u5BDF\u9685\u53BF",540426:"\u6717\u53BF",540502:"\u4E43\u4E1C\u533A",540521:"\u624E\u56CA\u53BF",540522:"\u8D21\u560E\u53BF",540523:"\u6851\u65E5\u53BF",540524:"\u743C\u7ED3\u53BF",540525:"\u66F2\u677E\u53BF",540526:"\u63AA\u7F8E\u53BF",540527:"\u6D1B\u624E\u53BF",540528:"\u52A0\u67E5\u53BF",540529:"\u9686\u5B50\u53BF",540530:"\u9519\u90A3\u53BF",540531:"\u6D6A\u5361\u5B50\u53BF",540602:"\u8272\u5C3C\u533A",540621:"\u5609\u9ECE\u53BF",540622:"\u6BD4\u5982\u53BF",540623:"\u8042\u8363\u53BF",540624:"\u5B89\u591A\u53BF",540625:"\u7533\u624E\u53BF",540626:"\u7D22\u53BF",540627:"\u73ED\u6208\u53BF",540628:"\u5DF4\u9752\u53BF",540629:"\u5C3C\u739B\u53BF",540630:"\u53CC\u6E56\u53BF",542521:"\u666E\u5170\u53BF",542522:"\u672D\u8FBE\u53BF",542523:"\u5676\u5C14\u53BF",542524:"\u65E5\u571F\u53BF",542525:"\u9769\u5409\u53BF",542526:"\u6539\u5219\u53BF",542527:"\u63AA\u52E4\u53BF",610102:"\u65B0\u57CE\u533A",610103:"\u7891\u6797\u533A",610104:"\u83B2\u6E56\u533A",610111:"\u705E\u6865\u533A",610112:"\u672A\u592E\u533A",610113:"\u96C1\u5854\u533A",610114:"\u960E\u826F\u533A",610115:"\u4E34\u6F7C\u533A",610116:"\u957F\u5B89\u533A",610117:"\u9AD8\u9675\u533A",610118:"\u9120\u9091\u533A",610122:"\u84DD\u7530\u53BF",610124:"\u5468\u81F3\u53BF",610202:"\u738B\u76CA\u533A",610203:"\u5370\u53F0\u533A",610204:"\u8000\u5DDE\u533A",610222:"\u5B9C\u541B\u53BF",610302:"\u6E2D\u6EE8\u533A",610303:"\u91D1\u53F0\u533A",610304:"\u9648\u4ED3\u533A",610322:"\u51E4\u7FD4\u53BF",610323:"\u5C90\u5C71\u53BF",610324:"\u6276\u98CE\u53BF",610326:"\u7709\u53BF",610327:"\u9647\u53BF",610328:"\u5343\u9633\u53BF",610329:"\u9E9F\u6E38\u53BF",610330:"\u51E4\u53BF",610331:"\u592A\u767D\u53BF",610402:"\u79E6\u90FD\u533A",610403:"\u6768\u9675\u533A",610404:"\u6E2D\u57CE\u533A",610422:"\u4E09\u539F\u53BF",610423:"\u6CFE\u9633\u53BF",610424:"\u4E7E\u53BF",610425:"\u793C\u6CC9\u53BF",610426:"\u6C38\u5BFF\u53BF",610428:"\u957F\u6B66\u53BF",610429:"\u65EC\u9091\u53BF",610430:"\u6DF3\u5316\u53BF",610431:"\u6B66\u529F\u53BF",610481:"\u5174\u5E73\u5E02",610482:"\u5F6C\u5DDE\u5E02",610502:"\u4E34\u6E2D\u533A",610503:"\u534E\u5DDE\u533A",610522:"\u6F7C\u5173\u53BF",610523:"\u5927\u8354\u53BF",610524:"\u5408\u9633\u53BF",610525:"\u6F84\u57CE\u53BF",610526:"\u84B2\u57CE\u53BF",610527:"\u767D\u6C34\u53BF",610528:"\u5BCC\u5E73\u53BF",610581:"\u97E9\u57CE\u5E02",610582:"\u534E\u9634\u5E02",610602:"\u5B9D\u5854\u533A",610603:"\u5B89\u585E\u533A",610621:"\u5EF6\u957F\u53BF",610622:"\u5EF6\u5DDD\u53BF",610625:"\u5FD7\u4E39\u53BF",610626:"\u5434\u8D77\u53BF",610627:"\u7518\u6CC9\u53BF",610628:"\u5BCC\u53BF",610629:"\u6D1B\u5DDD\u53BF",610630:"\u5B9C\u5DDD\u53BF",610631:"\u9EC4\u9F99\u53BF",610632:"\u9EC4\u9675\u53BF",610681:"\u5B50\u957F\u5E02",610702:"\u6C49\u53F0\u533A",610703:"\u5357\u90D1\u533A",610722:"\u57CE\u56FA\u53BF",610723:"\u6D0B\u53BF",610724:"\u897F\u4E61\u53BF",610725:"\u52C9\u53BF",610726:"\u5B81\u5F3A\u53BF",610727:"\u7565\u9633\u53BF",610728:"\u9547\u5DF4\u53BF",610729:"\u7559\u575D\u53BF",610730:"\u4F5B\u576A\u53BF",610802:"\u6986\u9633\u533A",610803:"\u6A2A\u5C71\u533A",610822:"\u5E9C\u8C37\u53BF",610824:"\u9756\u8FB9\u53BF",610825:"\u5B9A\u8FB9\u53BF",610826:"\u7EE5\u5FB7\u53BF",610827:"\u7C73\u8102\u53BF",610828:"\u4F73\u53BF",610829:"\u5434\u5821\u53BF",610830:"\u6E05\u6DA7\u53BF",610831:"\u5B50\u6D32\u53BF",610881:"\u795E\u6728\u5E02",610902:"\u6C49\u6EE8\u533A",610921:"\u6C49\u9634\u53BF",610922:"\u77F3\u6CC9\u53BF",610923:"\u5B81\u9655\u53BF",610924:"\u7D2B\u9633\u53BF",610925:"\u5C9A\u768B\u53BF",610926:"\u5E73\u5229\u53BF",610927:"\u9547\u576A\u53BF",610928:"\u65EC\u9633\u53BF",610929:"\u767D\u6CB3\u53BF",611002:"\u5546\u5DDE\u533A",611021:"\u6D1B\u5357\u53BF",611022:"\u4E39\u51E4\u53BF",611023:"\u5546\u5357\u53BF",611024:"\u5C71\u9633\u53BF",611025:"\u9547\u5B89\u53BF",611026:"\u67DE\u6C34\u53BF",620102:"\u57CE\u5173\u533A",620103:"\u4E03\u91CC\u6CB3\u533A",620104:"\u897F\u56FA\u533A",620105:"\u5B89\u5B81\u533A",620111:"\u7EA2\u53E4\u533A",620121:"\u6C38\u767B\u53BF",620122:"\u768B\u5170\u53BF",620123:"\u6986\u4E2D\u53BF",620171:"\u5170\u5DDE\u65B0\u533A",620201:"\u5E02\u8F96\u533A",620290:"\u96C4\u5173\u533A",620291:"\u957F\u57CE\u533A",620292:"\u955C\u94C1\u533A",620293:"\u65B0\u57CE\u9547",620294:"\u5CEA\u6CC9\u9547",620295:"\u6587\u6B8A\u9547",620302:"\u91D1\u5DDD\u533A",620321:"\u6C38\u660C\u53BF",620402:"\u767D\u94F6\u533A",620403:"\u5E73\u5DDD\u533A",620421:"\u9756\u8FDC\u53BF",620422:"\u4F1A\u5B81\u53BF",620423:"\u666F\u6CF0\u53BF",620502:"\u79E6\u5DDE\u533A",620503:"\u9EA6\u79EF\u533A",620521:"\u6E05\u6C34\u53BF",620522:"\u79E6\u5B89\u53BF",620523:"\u7518\u8C37\u53BF",620524:"\u6B66\u5C71\u53BF",620525:"\u5F20\u5BB6\u5DDD\u56DE\u65CF\u81EA\u6CBB\u53BF",620602:"\u51C9\u5DDE\u533A",620621:"\u6C11\u52E4\u53BF",620622:"\u53E4\u6D6A\u53BF",620623:"\u5929\u795D\u85CF\u65CF\u81EA\u6CBB\u53BF",620702:"\u7518\u5DDE\u533A",620721:"\u8083\u5357\u88D5\u56FA\u65CF\u81EA\u6CBB\u53BF",620722:"\u6C11\u4E50\u53BF",620723:"\u4E34\u6CFD\u53BF",620724:"\u9AD8\u53F0\u53BF",620725:"\u5C71\u4E39\u53BF",620802:"\u5D06\u5CD2\u533A",620821:"\u6CFE\u5DDD\u53BF",620822:"\u7075\u53F0\u53BF",620823:"\u5D07\u4FE1\u53BF",620825:"\u5E84\u6D6A\u53BF",620826:"\u9759\u5B81\u53BF",620881:"\u534E\u4EAD\u5E02",620902:"\u8083\u5DDE\u533A",620921:"\u91D1\u5854\u53BF",620922:"\u74DC\u5DDE\u53BF",620923:"\u8083\u5317\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",620924:"\u963F\u514B\u585E\u54C8\u8428\u514B\u65CF\u81EA\u6CBB\u53BF",620981:"\u7389\u95E8\u5E02",620982:"\u6566\u714C\u5E02",621002:"\u897F\u5CF0\u533A",621021:"\u5E86\u57CE\u53BF",621022:"\u73AF\u53BF",621023:"\u534E\u6C60\u53BF",621024:"\u5408\u6C34\u53BF",621025:"\u6B63\u5B81\u53BF",621026:"\u5B81\u53BF",621027:"\u9547\u539F\u53BF",621102:"\u5B89\u5B9A\u533A",621121:"\u901A\u6E2D\u53BF",621122:"\u9647\u897F\u53BF",621123:"\u6E2D\u6E90\u53BF",621124:"\u4E34\u6D2E\u53BF",621125:"\u6F33\u53BF",621126:"\u5CB7\u53BF",621202:"\u6B66\u90FD\u533A",621221:"\u6210\u53BF",621222:"\u6587\u53BF",621223:"\u5B95\u660C\u53BF",621224:"\u5EB7\u53BF",621225:"\u897F\u548C\u53BF",621226:"\u793C\u53BF",621227:"\u5FBD\u53BF",621228:"\u4E24\u5F53\u53BF",622901:"\u4E34\u590F\u5E02",622921:"\u4E34\u590F\u53BF",622922:"\u5EB7\u4E50\u53BF",622923:"\u6C38\u9756\u53BF",622924:"\u5E7F\u6CB3\u53BF",622925:"\u548C\u653F\u53BF",622926:"\u4E1C\u4E61\u65CF\u81EA\u6CBB\u53BF",622927:"\u79EF\u77F3\u5C71\u4FDD\u5B89\u65CF\u4E1C\u4E61\u65CF\u6492\u62C9\u65CF\u81EA\u6CBB\u53BF",623001:"\u5408\u4F5C\u5E02",623021:"\u4E34\u6F6D\u53BF",623022:"\u5353\u5C3C\u53BF",623023:"\u821F\u66F2\u53BF",623024:"\u8FED\u90E8\u53BF",623025:"\u739B\u66F2\u53BF",623026:"\u788C\u66F2\u53BF",623027:"\u590F\u6CB3\u53BF",630102:"\u57CE\u4E1C\u533A",630103:"\u57CE\u4E2D\u533A",630104:"\u57CE\u897F\u533A",630105:"\u57CE\u5317\u533A",630106:"\u6E5F\u4E2D\u533A",630121:"\u5927\u901A\u56DE\u65CF\u571F\u65CF\u81EA\u6CBB\u53BF",630123:"\u6E5F\u6E90\u53BF",630202:"\u4E50\u90FD\u533A",630203:"\u5E73\u5B89\u533A",630222:"\u6C11\u548C\u56DE\u65CF\u571F\u65CF\u81EA\u6CBB\u53BF",630223:"\u4E92\u52A9\u571F\u65CF\u81EA\u6CBB\u53BF",630224:"\u5316\u9686\u56DE\u65CF\u81EA\u6CBB\u53BF",630225:"\u5FAA\u5316\u6492\u62C9\u65CF\u81EA\u6CBB\u53BF",632221:"\u95E8\u6E90\u56DE\u65CF\u81EA\u6CBB\u53BF",632222:"\u7941\u8FDE\u53BF",632223:"\u6D77\u664F\u53BF",632224:"\u521A\u5BDF\u53BF",632321:"\u540C\u4EC1\u53BF",632322:"\u5C16\u624E\u53BF",632323:"\u6CFD\u5E93\u53BF",632324:"\u6CB3\u5357\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",632521:"\u5171\u548C\u53BF",632522:"\u540C\u5FB7\u53BF",632523:"\u8D35\u5FB7\u53BF",632524:"\u5174\u6D77\u53BF",632525:"\u8D35\u5357\u53BF",632621:"\u739B\u6C81\u53BF",632622:"\u73ED\u739B\u53BF",632623:"\u7518\u5FB7\u53BF",632624:"\u8FBE\u65E5\u53BF",632625:"\u4E45\u6CBB\u53BF",632626:"\u739B\u591A\u53BF",632701:"\u7389\u6811\u5E02",632722:"\u6742\u591A\u53BF",632723:"\u79F0\u591A\u53BF",632724:"\u6CBB\u591A\u53BF",632725:"\u56CA\u8C26\u53BF",632726:"\u66F2\u9EBB\u83B1\u53BF",632801:"\u683C\u5C14\u6728\u5E02",632802:"\u5FB7\u4EE4\u54C8\u5E02",632803:"\u832B\u5D16\u5E02",632821:"\u4E4C\u5170\u53BF",632822:"\u90FD\u5170\u53BF",632823:"\u5929\u5CFB\u53BF",632857:"\u5927\u67F4\u65E6\u884C\u653F\u59D4\u5458\u4F1A",640104:"\u5174\u5E86\u533A",640105:"\u897F\u590F\u533A",640106:"\u91D1\u51E4\u533A",640121:"\u6C38\u5B81\u53BF",640122:"\u8D3A\u5170\u53BF",640181:"\u7075\u6B66\u5E02",640202:"\u5927\u6B66\u53E3\u533A",640205:"\u60E0\u519C\u533A",640221:"\u5E73\u7F57\u53BF",640302:"\u5229\u901A\u533A",640303:"\u7EA2\u5BFA\u5821\u533A",640323:"\u76D0\u6C60\u53BF",640324:"\u540C\u5FC3\u53BF",640381:"\u9752\u94DC\u5CE1\u5E02",640402:"\u539F\u5DDE\u533A",640422:"\u897F\u5409\u53BF",640423:"\u9686\u5FB7\u53BF",640424:"\u6CFE\u6E90\u53BF",640425:"\u5F6D\u9633\u53BF",640502:"\u6C99\u5761\u5934\u533A",640521:"\u4E2D\u5B81\u53BF",640522:"\u6D77\u539F\u53BF",650102:"\u5929\u5C71\u533A",650103:"\u6C99\u4F9D\u5DF4\u514B\u533A",650104:"\u65B0\u5E02\u533A",650105:"\u6C34\u78E8\u6C9F\u533A",650106:"\u5934\u5C6F\u6CB3\u533A",650107:"\u8FBE\u5742\u57CE\u533A",650109:"\u7C73\u4E1C\u533A",650121:"\u4E4C\u9C81\u6728\u9F50\u53BF",650202:"\u72EC\u5C71\u5B50\u533A",650203:"\u514B\u62C9\u739B\u4F9D\u533A",650204:"\u767D\u78B1\u6EE9\u533A",650205:"\u4E4C\u5C14\u79BE\u533A",650402:"\u9AD8\u660C\u533A",650421:"\u912F\u5584\u53BF",650422:"\u6258\u514B\u900A\u53BF",650502:"\u4F0A\u5DDE\u533A",650521:"\u5DF4\u91CC\u5764\u54C8\u8428\u514B\u81EA\u6CBB\u53BF",650522:"\u4F0A\u543E\u53BF",652301:"\u660C\u5409\u5E02",652302:"\u961C\u5EB7\u5E02",652323:"\u547C\u56FE\u58C1\u53BF",652324:"\u739B\u7EB3\u65AF\u53BF",652325:"\u5947\u53F0\u53BF",652327:"\u5409\u6728\u8428\u5C14\u53BF",652328:"\u6728\u5792\u54C8\u8428\u514B\u81EA\u6CBB\u53BF",652701:"\u535A\u4E50\u5E02",652702:"\u963F\u62C9\u5C71\u53E3\u5E02",652722:"\u7CBE\u6CB3\u53BF",652723:"\u6E29\u6CC9\u53BF",652801:"\u5E93\u5C14\u52D2\u5E02",652822:"\u8F6E\u53F0\u53BF",652823:"\u5C09\u7281\u53BF",652824:"\u82E5\u7F8C\u53BF",652825:"\u4E14\u672B\u53BF",652826:"\u7109\u8006\u56DE\u65CF\u81EA\u6CBB\u53BF",652827:"\u548C\u9759\u53BF",652828:"\u548C\u7855\u53BF",652829:"\u535A\u6E56\u53BF",652901:"\u963F\u514B\u82CF\u5E02",652902:"\u5E93\u8F66\u5E02",652922:"\u6E29\u5BBF\u53BF",652924:"\u6C99\u96C5\u53BF",652925:"\u65B0\u548C\u53BF",652926:"\u62DC\u57CE\u53BF",652927:"\u4E4C\u4EC0\u53BF",652928:"\u963F\u74E6\u63D0\u53BF",652929:"\u67EF\u576A\u53BF",653001:"\u963F\u56FE\u4EC0\u5E02",653022:"\u963F\u514B\u9676\u53BF",653023:"\u963F\u5408\u5947\u53BF",653024:"\u4E4C\u6070\u53BF",653101:"\u5580\u4EC0\u5E02",653121:"\u758F\u9644\u53BF",653122:"\u758F\u52D2\u53BF",653123:"\u82F1\u5409\u6C99\u53BF",653124:"\u6CFD\u666E\u53BF",653125:"\u838E\u8F66\u53BF",653126:"\u53F6\u57CE\u53BF",653127:"\u9EA6\u76D6\u63D0\u53BF",653128:"\u5CB3\u666E\u6E56\u53BF",653129:"\u4F3D\u5E08\u53BF",653130:"\u5DF4\u695A\u53BF",653131:"\u5854\u4EC0\u5E93\u5C14\u5E72\u5854\u5409\u514B\u81EA\u6CBB\u53BF",653201:"\u548C\u7530\u5E02",653221:"\u548C\u7530\u53BF",653222:"\u58A8\u7389\u53BF",653223:"\u76AE\u5C71\u53BF",653224:"\u6D1B\u6D66\u53BF",653225:"\u7B56\u52D2\u53BF",653226:"\u4E8E\u7530\u53BF",653227:"\u6C11\u4E30\u53BF",654002:"\u4F0A\u5B81\u5E02",654003:"\u594E\u5C6F\u5E02",654004:"\u970D\u5C14\u679C\u65AF\u5E02",654021:"\u4F0A\u5B81\u53BF",654022:"\u5BDF\u5E03\u67E5\u5C14\u9521\u4F2F\u81EA\u6CBB\u53BF",654023:"\u970D\u57CE\u53BF",654024:"\u5DE9\u7559\u53BF",654025:"\u65B0\u6E90\u53BF",654026:"\u662D\u82CF\u53BF",654027:"\u7279\u514B\u65AF\u53BF",654028:"\u5C3C\u52D2\u514B\u53BF",654201:"\u5854\u57CE\u5E02",654202:"\u4E4C\u82CF\u5E02",654221:"\u989D\u654F\u53BF",654223:"\u6C99\u6E7E\u53BF",654224:"\u6258\u91CC\u53BF",654225:"\u88D5\u6C11\u53BF",654226:"\u548C\u5E03\u514B\u8D5B\u5C14\u8499\u53E4\u81EA\u6CBB\u53BF",654301:"\u963F\u52D2\u6CF0\u5E02",654321:"\u5E03\u5C14\u6D25\u53BF",654322:"\u5BCC\u8574\u53BF",654323:"\u798F\u6D77\u53BF",654324:"\u54C8\u5DF4\u6CB3\u53BF",654325:"\u9752\u6CB3\u53BF",654326:"\u5409\u6728\u4E43\u53BF",659001:"\u77F3\u6CB3\u5B50\u5E02",659002:"\u963F\u62C9\u5C14\u5E02",659003:"\u56FE\u6728\u8212\u514B\u5E02",659004:"\u4E94\u5BB6\u6E20\u5E02",659005:"\u5317\u5C6F\u5E02",659006:"\u94C1\u95E8\u5173\u5E02",659007:"\u53CC\u6CB3\u5E02",659008:"\u53EF\u514B\u8FBE\u62C9\u5E02",659009:"\u6606\u7389\u5E02",659010:"\u80E1\u6768\u6CB3\u5E02",710101:"\u4E2D\u6B63\u533A",710102:"\u5927\u540C\u533A",710103:"\u4E2D\u5C71\u533A",710104:"\u677E\u5C71\u533A",710105:"\u5927\u5B89\u533A",710106:"\u4E07\u534E\u533A",710107:"\u4FE1\u4E49\u533A",710108:"\u58EB\u6797\u533A",710109:"\u5317\u6295\u533A",710110:"\u5185\u6E56\u533A",710111:"\u5357\u6E2F\u533A",710112:"\u6587\u5C71\u533A",710199:"\u5176\u5B83\u533A",710201:"\u65B0\u5174\u533A",710202:"\u524D\u91D1\u533A",710203:"\u82A9\u96C5\u533A",710204:"\u76D0\u57D5\u533A",710205:"\u9F13\u5C71\u533A",710206:"\u65D7\u6D25\u533A",710207:"\u524D\u9547\u533A",710208:"\u4E09\u6C11\u533A",710209:"\u5DE6\u8425\u533A",710210:"\u6960\u6893\u533A",710211:"\u5C0F\u6E2F\u533A",710241:"\u82D3\u96C5\u533A",710242:"\u4EC1\u6B66\u533A",710243:"\u5927\u793E\u533A",710244:"\u5188\u5C71\u533A",710245:"\u8DEF\u7AF9\u533A",710246:"\u963F\u83B2\u533A",710247:"\u7530\u5BEE\u533A",710248:"\u71D5\u5DE2\u533A",710249:"\u6865\u5934\u533A",710250:"\u6893\u5B98\u533A",710251:"\u5F25\u9640\u533A",710252:"\u6C38\u5B89\u533A",710253:"\u6E56\u5185\u533A",710254:"\u51E4\u5C71\u533A",710255:"\u5927\u5BEE\u533A",710256:"\u6797\u56ED\u533A",710257:"\u9E1F\u677E\u533A",710258:"\u5927\u6811\u533A",710259:"\u65D7\u5C71\u533A",710260:"\u7F8E\u6D53\u533A",710261:"\u516D\u9F9F\u533A",710262:"\u5185\u95E8\u533A",710263:"\u6749\u6797\u533A",710264:"\u7532\u4ED9\u533A",710265:"\u6843\u6E90\u533A",710266:"\u90A3\u739B\u590F\u533A",710267:"\u8302\u6797\u533A",710268:"\u8304\u8423\u533A",710299:"\u5176\u5B83\u533A",710301:"\u4E2D\u897F\u533A",710302:"\u4E1C\u533A",710303:"\u5357\u533A",710304:"\u5317\u533A",710305:"\u5B89\u5E73\u533A",710306:"\u5B89\u5357\u533A",710339:"\u6C38\u5EB7\u533A",710340:"\u5F52\u4EC1\u533A",710341:"\u65B0\u5316\u533A",710342:"\u5DE6\u9547\u533A",710343:"\u7389\u4E95\u533A",710344:"\u6960\u897F\u533A",710345:"\u5357\u5316\u533A",710346:"\u4EC1\u5FB7\u533A",710347:"\u5173\u5E99\u533A",710348:"\u9F99\u5D0E\u533A",710349:"\u5B98\u7530\u533A",710350:"\u9EBB\u8C46\u533A",710351:"\u4F73\u91CC\u533A",710352:"\u897F\u6E2F\u533A",710353:"\u4E03\u80A1\u533A",710354:"\u5C06\u519B\u533A",710355:"\u5B66\u7532\u533A",710356:"\u5317\u95E8\u533A",710357:"\u65B0\u8425\u533A",710358:"\u540E\u58C1\u533A",710359:"\u767D\u6CB3\u533A",710360:"\u4E1C\u5C71\u533A",710361:"\u516D\u7532\u533A",710362:"\u4E0B\u8425\u533A",710363:"\u67F3\u8425\u533A",710364:"\u76D0\u6C34\u533A",710365:"\u5584\u5316\u533A",710366:"\u5927\u5185\u533A",710367:"\u5C71\u4E0A\u533A",710368:"\u65B0\u5E02\u533A",710369:"\u5B89\u5B9A\u533A",710399:"\u5176\u5B83\u533A",710401:"\u4E2D\u533A",710402:"\u4E1C\u533A",710403:"\u5357\u533A",710404:"\u897F\u533A",710405:"\u5317\u533A",710406:"\u5317\u5C6F\u533A",710407:"\u897F\u5C6F\u533A",710408:"\u5357\u5C6F\u533A",710431:"\u592A\u5E73\u533A",710432:"\u5927\u91CC\u533A",710433:"\u96FE\u5CF0\u533A",710434:"\u4E4C\u65E5\u533A",710435:"\u4E30\u539F\u533A",710436:"\u540E\u91CC\u533A",710437:"\u77F3\u5188\u533A",710438:"\u4E1C\u52BF\u533A",710439:"\u548C\u5E73\u533A",710440:"\u65B0\u793E\u533A",710441:"\u6F6D\u5B50\u533A",710442:"\u5927\u96C5\u533A",710443:"\u795E\u5188\u533A",710444:"\u5927\u809A\u533A",710445:"\u6C99\u9E7F\u533A",710446:"\u9F99\u4E95\u533A",710447:"\u68A7\u6816\u533A",710448:"\u6E05\u6C34\u533A",710449:"\u5927\u7532\u533A",710450:"\u5916\u57D4\u533A",710451:"\u5927\u5B89\u533A",710499:"\u5176\u5B83\u533A",710507:"\u91D1\u6C99\u9547",710508:"\u91D1\u6E56\u9547",710509:"\u91D1\u5B81\u4E61",710510:"\u91D1\u57CE\u9547",710511:"\u70C8\u5C7F\u4E61",710512:"\u4E4C\u5775\u4E61",710614:"\u5357\u6295\u5E02",710615:"\u4E2D\u5BEE\u4E61",710616:"\u8349\u5C6F\u9547",710617:"\u56FD\u59D3\u4E61",710618:"\u57D4\u91CC\u9547",710619:"\u4EC1\u7231\u4E61",710620:"\u540D\u95F4\u4E61",710621:"\u96C6\u96C6\u9547",710622:"\u6C34\u91CC\u4E61",710623:"\u9C7C\u6C60\u4E61",710624:"\u4FE1\u4E49\u4E61",710625:"\u7AF9\u5C71\u9547",710626:"\u9E7F\u8C37\u4E61",710701:"\u4EC1\u7231\u533A",710702:"\u4FE1\u4E49\u533A",710703:"\u4E2D\u6B63\u533A",710704:"\u4E2D\u5C71\u533A",710705:"\u5B89\u4E50\u533A",710706:"\u6696\u6696\u533A",710707:"\u4E03\u5835\u533A",710799:"\u5176\u5B83\u533A",710801:"\u4E1C\u533A",710802:"\u5317\u533A",710803:"\u9999\u5C71\u533A",710899:"\u5176\u5B83\u533A",710901:"\u4E1C\u533A",710902:"\u897F\u533A",710999:"\u5176\u5B83\u533A",711130:"\u4E07\u91CC\u533A",711132:"\u677F\u6865\u533A",711133:"\u6C50\u6B62\u533A",711134:"\u6DF1\u5751\u533A",711135:"\u77F3\u7887\u533A",711136:"\u745E\u82B3\u533A",711137:"\u5E73\u6EAA\u533A",711138:"\u53CC\u6EAA\u533A",711139:"\u8D21\u5BEE\u533A",711140:"\u65B0\u5E97\u533A",711141:"\u576A\u6797\u533A",711142:"\u4E4C\u6765\u533A",711143:"\u6C38\u548C\u533A",711144:"\u4E2D\u548C\u533A",711145:"\u571F\u57CE\u533A",711146:"\u4E09\u5CE1\u533A",711147:"\u6811\u6797\u533A",711148:"\u83BA\u6B4C\u533A",711149:"\u4E09\u91CD\u533A",711150:"\u65B0\u5E84\u533A",711151:"\u6CF0\u5C71\u533A",711152:"\u6797\u53E3\u533A",711153:"\u82A6\u6D32\u533A",711154:"\u4E94\u80A1\u533A",711155:"\u516B\u91CC\u533A",711156:"\u6DE1\u6C34\u533A",711157:"\u4E09\u829D\u533A",711158:"\u77F3\u95E8\u533A",711287:"\u5B9C\u5170\u5E02",711288:"\u5934\u57CE\u9547",711289:"\u7901\u6EAA\u4E61",711290:"\u58EE\u56F4\u4E61",711291:"\u5458\u5C71\u4E61",711292:"\u7F57\u4E1C\u9547",711293:"\u4E09\u661F\u4E61",711294:"\u5927\u540C\u4E61",711295:"\u4E94\u7ED3\u4E61",711296:"\u51AC\u5C71\u4E61",711297:"\u82CF\u6FB3\u9547",711298:"\u5357\u6FB3\u4E61",711299:"\u9493\u9C7C\u53F0",711387:"\u7AF9\u5317\u5E02",711388:"\u6E56\u53E3\u4E61",711389:"\u65B0\u4E30\u4E61",711390:"\u65B0\u57D4\u9547",711391:"\u5173\u897F\u9547",711392:"\u828E\u6797\u4E61",711393:"\u5B9D\u5C71\u4E61",711394:"\u7AF9\u4E1C\u9547",711395:"\u4E94\u5CF0\u4E61",711396:"\u6A2A\u5C71\u4E61",711397:"\u5C16\u77F3\u4E61",711398:"\u5317\u57D4\u4E61",711399:"\u5CE8\u7709\u4E61",711414:"\u4E2D\u575C\u533A",711415:"\u5E73\u9547\u533A",711417:"\u6768\u6885\u533A",711418:"\u65B0\u5C4B\u533A",711419:"\u89C2\u97F3\u533A",711420:"\u6843\u56ED\u533A",711421:"\u9F9F\u5C71\u533A",711422:"\u516B\u5FB7\u533A",711423:"\u5927\u6EAA\u533A",711425:"\u5927\u56ED\u533A",711426:"\u82A6\u7AF9\u533A",711487:"\u4E2D\u575C\u5E02",711488:"\u5E73\u9547\u5E02",711489:"\u9F99\u6F6D\u4E61",711490:"\u6768\u6885\u5E02",711491:"\u65B0\u5C4B\u4E61",711492:"\u89C2\u97F3\u4E61",711493:"\u6843\u56ED\u5E02",711494:"\u9F9F\u5C71\u4E61",711495:"\u516B\u5FB7\u5E02",711496:"\u5927\u6EAA\u9547",711497:"\u590D\u5174\u4E61",711498:"\u5927\u56ED\u4E61",711499:"\u82A6\u7AF9\u4E61",711520:"\u5934\u4EFD\u5E02",711582:"\u7AF9\u5357\u9547",711583:"\u5934\u4EFD\u9547",711584:"\u4E09\u6E7E\u4E61",711585:"\u5357\u5E84\u4E61",711586:"\u72EE\u6F6D\u4E61",711587:"\u540E\u9F99\u9547",711588:"\u901A\u9704\u9547",711589:"\u82D1\u91CC\u9547",711590:"\u82D7\u6817\u5E02",711591:"\u9020\u6865\u4E61",711592:"\u5934\u5C4B\u4E61",711593:"\u516C\u9986\u4E61",711594:"\u5927\u6E56\u4E61",711595:"\u6CF0\u5B89\u4E61",711596:"\u94DC\u9523\u4E61",711597:"\u4E09\u4E49\u4E61",711598:"\u897F\u6E56\u4E61",711599:"\u5353\u5170\u9547",711736:"\u5458\u6797\u5E02",711774:"\u5F70\u5316\u5E02",711775:"\u82AC\u56ED\u4E61",711776:"\u82B1\u575B\u4E61",711777:"\u79C0\u6C34\u4E61",711778:"\u9E7F\u6E2F\u9547",711779:"\u798F\u5174\u4E61",711780:"\u7EBF\u897F\u4E61",711781:"\u548C\u7F8E\u9547",711782:"\u4F38\u6E2F\u4E61",711783:"\u5458\u6797\u9547",711784:"\u793E\u5934\u4E61",711785:"\u6C38\u9756\u4E61",711786:"\u57D4\u5FC3\u4E61",711787:"\u6EAA\u6E56\u9547",711788:"\u5927\u6751\u4E61",711789:"\u57D4\u76D0\u4E61",711790:"\u7530\u4E2D\u9547",711791:"\u5317\u6597\u9547",711792:"\u7530\u5C3E\u4E61",711793:"\u57E4\u5934\u4E61",711794:"\u6EAA\u5DDE\u4E61",711795:"\u7AF9\u5858\u4E61",711796:"\u4E8C\u6797\u9547",711797:"\u5927\u57CE\u4E61",711798:"\u82B3\u82D1\u4E61",711799:"\u4E8C\u6C34\u4E61",711982:"\u756A\u8DEF\u4E61",711983:"\u6885\u5C71\u4E61",711984:"\u7AF9\u5D0E\u4E61",711985:"\u963F\u91CC\u5C71\u4E61",711986:"\u4E2D\u57D4\u4E61",711987:"\u5927\u57D4\u4E61",711988:"\u6C34\u4E0A\u4E61",711989:"\u9E7F\u8349\u4E61",711990:"\u592A\u4FDD\u5E02",711991:"\u6734\u5B50\u5E02",711992:"\u4E1C\u77F3\u4E61",711993:"\u516D\u811A\u4E61",711994:"\u65B0\u6E2F\u4E61",711995:"\u6C11\u96C4\u4E61",711996:"\u5927\u6797\u9547",711997:"\u6EAA\u53E3\u4E61",711998:"\u4E49\u7AF9\u4E61",711999:"\u5E03\u888B\u9547",712180:"\u6597\u5357\u9547",712181:"\u5927\u57E4\u4E61",712182:"\u864E\u5C3E\u9547",712183:"\u571F\u5E93\u9547",712184:"\u8912\u5FE0\u4E61",712185:"\u4E1C\u52BF\u4E61",712186:"\u53F0\u897F\u4E61",712187:"\u4ED1\u80CC\u4E61",712188:"\u9EA6\u5BEE\u4E61",712189:"\u6597\u516D\u5E02",712190:"\u6797\u5185\u4E61",712191:"\u53E4\u5751\u4E61",712192:"\u83BF\u6850\u4E61",712193:"\u897F\u87BA\u9547",712194:"\u4E8C\u4ED1\u4E61",712195:"\u5317\u6E2F\u9547",712196:"\u6C34\u6797\u4E61",712197:"\u53E3\u6E56\u4E61",712198:"\u56DB\u6E56\u4E61",712199:"\u5143\u957F\u4E61",712451:"\u5D01\u9876\u4E61",712467:"\u5C4F\u4E1C\u5E02",712468:"\u4E09\u5730\u95E8\u4E61",712469:"\u96FE\u53F0\u4E61",712470:"\u739B\u5BB6\u4E61",712471:"\u4E5D\u5982\u4E61",712472:"\u91CC\u6E2F\u4E61",712473:"\u9AD8\u6811\u4E61",712474:"\u76D0\u57D4\u4E61",712475:"\u957F\u6CBB\u4E61",712476:"\u9E9F\u6D1B\u4E61",712477:"\u7AF9\u7530\u4E61",712478:"\u5185\u57D4\u4E61",712479:"\u4E07\u4E39\u4E61",712480:"\u6F6E\u5DDE\u9547",712481:"\u6CF0\u6B66\u4E61",712482:"\u6765\u4E49\u4E61",712483:"\u4E07\u5CE6\u4E61",712484:"\u83B0\u9876\u4E61",712485:"\u65B0\u57E4\u4E61",712486:"\u5357\u5DDE\u4E61",712487:"\u6797\u8FB9\u4E61",712488:"\u4E1C\u6E2F\u9547",712489:"\u7409\u7403\u4E61",712490:"\u4F73\u51AC\u4E61",712491:"\u65B0\u56ED\u4E61",712492:"\u678B\u5BEE\u4E61",712493:"\u678B\u5C71\u4E61",712494:"\u6625\u65E5\u4E61",712495:"\u72EE\u5B50\u4E61",712496:"\u8F66\u57CE\u4E61",712497:"\u7261\u4E39\u4E61",712498:"\u6052\u6625\u9547",712499:"\u6EE1\u5DDE\u4E61",712584:"\u53F0\u4E1C\u5E02",712585:"\u7EFF\u5C9B\u4E61",712586:"\u5170\u5C7F\u4E61",712587:"\u5EF6\u5E73\u4E61",712588:"\u5351\u5357\u4E61",712589:"\u9E7F\u91CE\u4E61",712590:"\u5173\u5C71\u9547",712591:"\u6D77\u7AEF\u4E61",712592:"\u6C60\u4E0A\u4E61",712593:"\u4E1C\u6CB3\u4E61",712594:"\u6210\u529F\u9547",712595:"\u957F\u6EE8\u4E61",712596:"\u91D1\u5CF0\u4E61",712597:"\u5927\u6B66\u4E61",712598:"\u8FBE\u4EC1\u4E61",712599:"\u592A\u9EBB\u91CC\u4E61",712686:"\u82B1\u83B2\u5E02",712687:"\u65B0\u57CE\u4E61",712688:"\u592A\u9C81\u9601",712689:"\u79C0\u6797\u4E61",712690:"\u5409\u5B89\u4E61",712691:"\u5BFF\u4E30\u4E61",712692:"\u51E4\u6797\u9547",712693:"\u5149\u590D\u4E61",712694:"\u4E30\u6EE8\u4E61",712695:"\u745E\u7A57\u4E61",712696:"\u4E07\u8363\u4E61",712697:"\u7389\u91CC\u9547",712698:"\u5353\u6EAA\u4E61",712699:"\u5BCC\u91CC\u4E61",712794:"\u9A6C\u516C\u5E02",712795:"\u897F\u5C7F\u4E61",712796:"\u671B\u5B89\u4E61",712797:"\u4E03\u7F8E\u4E61",712798:"\u767D\u6C99\u4E61",712799:"\u6E56\u897F\u4E61",712896:"\u5357\u7AFF\u4E61",712897:"\u5317\u7AFF\u4E61",712898:"\u4E1C\u5F15\u4E61",712899:"\u8392\u5149\u4E61",810101:"\u4E2D\u897F\u533A",810102:"\u6E7E\u4ED4\u533A",810103:"\u4E1C\u533A",810104:"\u5357\u533A",810201:"\u4E5D\u9F99\u57CE\u533A",810202:"\u6CB9\u5C16\u65FA\u533A",810203:"\u6DF1\u6C34\u57D7\u533A",810204:"\u9EC4\u5927\u4ED9\u533A",810205:"\u89C2\u5858\u533A",810301:"\u5317\u533A",810302:"\u5927\u57D4\u533A",810303:"\u6C99\u7530\u533A",810304:"\u897F\u8D21\u533A",810305:"\u5143\u6717\u533A",810306:"\u5C6F\u95E8\u533A",810307:"\u8343\u6E7E\u533A",810308:"\u8475\u9752\u533A",810309:"\u79BB\u5C9B\u533A",820102:"\u82B1\u5730\u739B\u5802\u533A",820103:"\u82B1\u738B\u5802\u533A",820104:"\u671B\u5FB7\u5802\u533A",820105:"\u5927\u5802\u533A",820106:"\u98CE\u987A\u5802\u533A",820202:"\u5609\u6A21\u5802\u533A",820203:"\u8DEF\u6C39\u586B\u6D77\u533A",820204:"\u5723\u65B9\u6D4E\u5404\u5802\u533A"}};const addValidate=(o,e,n,r)=>{const{options:i}=e;n&&(o.prop=e.context&&e.context.parents.map((u,l)=>{let c="";if(!l)c=u.context.parent.indexOf(u);else{const d=u.context.parent;let h=[];d.columns?(h=d.columns,c+="columns."):d.list?(h=d.list,c+="list."):d.rows&&(h=d.rows,c+="rows."),c+=h.indexOf(u)}return c}).join(".")+".options.defaultValue");const s={},a=(...u)=>new Promise((...l)=>{const c=l[0],d=n?l[1]:p=>{s.message=p,l[0](!1)};let h=n?u[1]:u[0];/^(signature|radio|checkbox|select|html)$/.test(e.type)&&(h=i.defaultValue);const f=i.isShowTrim?h.trim():h;if(o.required&&(f===""||f===null||f===void 0||Array.isArray(f)&&!f.length)){d(r("er.validateMsg.required"));return}switch(e.type){case"input":switch(i.renderType){case 1:!!f&&i.isShowWordLimit&&f.length{const{t:s}=useI18n();return vue.computed(()=>{let a=r?e.config:e,u={};const l=n?"pc":"mobile";if(r)return n?(u.model=e.store,u.size=a.pc.size,u.labelPosition=a[l].labelPosition):u.labelAlign=a[l].labelPosition,u;vue.isRef(e)&&(a=e.value);const{options:c}=a;if(u={label:c.isShowLabel?a.label:"",disabled:c.disabled,placeholder:c.placeholder,clearable:c.clearable,required:c.required},o.mode==="preview"){const d=o.fieldsLogicState.get(a),h=lodash.get(d,"required",void 0),f=lodash.get(d,"readOnly",void 0);f===void 0?u.disabled=c.disabled:u.disabled=f===1,h===void 0?u.required=u.disabled?!1:u.required:u.required=u.disabled?!1:h===1}switch(addValidate(u,a,n,s),n&&(u.labelWidth=c.isShowLabel?c.labelWidth+"px":"auto"),a.type){case"input":c.isShowWordLimit&&(u.maxlength=c.max,u["show-word-limit"]=c.isShowWordLimit),n?(u.showPassword=c.showPassword,u.prepend=c.prepend,u.append=c.append):(c.showPassword&&(u.type="password"),c.renderType===4&&(u.type="tel"));break;case"textarea":c.isShowWordLimit&&(u.maxlength=c.max,u["show-word-limit"]=c.isShowWordLimit),u.type="textarea",u.rows=c.rows;break;case"number":n?(u.controls=c.controls,c.controls&&(u["controls-position"]=c.controlsPosition?"right":"")):(u.defaultValue=null,u.allowEmpty=!0),c.isShowWordLimit?(u.min=c.min,u.max=c.max):(u.min=Number.NEGATIVE_INFINITY,u.max=Number.POSITIVE_INFINITY),u.step=c.step,u.precision=c.precision;break;case"radio":case"checkbox":u.options=lodash.get(o,`data[${c.dataKey}].list`,[]);break;case"select":u.options=lodash.get(o,`data[${c.dataKey}].list`,[]),u.multiple=c.multiple,u.filterable=c.filterable;break;case"time":u.format=c.format,n&&(u.valueFormat=c.valueFormat);break;case"date":if(u.placeholder=c.placeholder,u.format=c.format,u.type=c.type,n)u.valueFormat="X",c.type==="daterange"&&(u.rangeSeparator="",u.startPlaceholder=c.placeholder),u.disabledDate=d=>{const{startTime:h,endTime:f,isShowWeeksLimit:p}=c,m=dayjs.unix(h),g=dayjs.unix(f),v=dayjs(d);let _=!1;return c.isShowWordLimit&&(_=v.isBefore(m)||v.isAfter(g)),_};else{const{startTime:d,endTime:h,isShowWeeksLimit:f}=c;switch(c.type){case"date":case"datetime":d&&c.isShowWordLimit?u.minDate=dayjs.unix(d).toDate():u.minDate=dayjs.unix(0).toDate(),h&&c.isShowWordLimit?u.maxDate=dayjs.unix(h).toDate():u.maxDate=dayjs().add(20,"year").toDate();break;case"dates":lodash.isEmpty(c.defaultValue)?u.defaultDate=null:c.defaultValue.map(p=>dayjs.unix(p).toDate()),d&&c.isShowWordLimit?u.minDate=dayjs.unix(d).toDate():u.minDate=dayjs().subtract(1,"year").toDate(),h&&c.isShowWordLimit?u.maxDate=dayjs.unix(h).toDate():u.maxDate=dayjs().add(1,"year").toDate();break;case"daterange":c.defaultValue?u.defaultDate=c.defaultValue.map(p=>dayjs.unix(p).toDate()):u.defaultDate=null,d&&c.isShowWordLimit?u.minDate=dayjs.unix(d).toDate():u.minDate=dayjs().subtract(1,"year").toDate(),h&&c.isShowWordLimit?u.maxDate=dayjs.unix(h).toDate():u.maxDate=dayjs().add(1,"year").toDate();break}}break;case"cascader":u.options=lodash.get(o,`data[${c.dataKey}].list`,[]),u.props={multiple:c.multiple,checkStrictly:c.checkStrictly};break;case"slider":u.step=c.step,u.min=c.min,u.max=c.max;break;case"divider":u.contentPosition=c.contentPosition;break;case"rate":u.allowHalf=c.allowHalf,n?u.max=c.max:u.count=c.max;break;case"html":u.type="textarea",u.rows=4,u.action=c.action,u.maxSize=c.size*1024*1024,u.config={placeholder:c.placeholder},n||(u.config.toolbar={items:["formattingOptions","|","uploadImage","bold","italic","underline","strikethrough","link","undo","redo"]},u.config.formattingOptions=["fontFamily","fontSize","fontColor","fontBackgroundColor","|","alignment","blockQuote","|","bulletedList","numberedList","|","outdent","indent","|","insertTable","removeFormat"]);break;case"uploadfile":u.multiple=c.multiple,u.action=c.action,u.accept=c.accept,u.maxSize=c.size*1024*1024,n?u.limit=c.limit:(u.maxCount=c.limit,u.onOversize=d=>{vant.showToast(s("er.validateMsg.fileSize",{size:c.size}))});break;case"region":if(n){const d=new Region(areaList,{isFilter:!1,selectType:c.selectType});u.options=d.getAll(),u.props={emitPath:!1},u.filterable=c.filterable}else u.areaList=areaList,u.columnsNum=c.selectType;break}return i&&i(a.type,u),u})},__vite_glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,useProps},Symbol.toStringTag,{value:"Module"})),useTarget=()=>{const{state:o,setSelection:e,props:n}=vue.inject("Everright"),r=vue.computed(()=>o.selected),i=vue.computed({get(){return o.selected!==o.config}}),s=vue.computed({get(){return o.selected===o.config}}),a=vue.computed(()=>o.selected.type),u=vue.computed({get(){return utils$4.checkIsField(o.selected)}}),l=vue.computed({get(){return o.selected}}),c=vue.computed({get(){return!lodash.isEmpty(o.selected)&&o.selected.context.col}}),d=(_=[],b)=>{let y=!1;if(!lodash.isEmpty(o.selected))if(a.value){const A=n.checkPropsBySelected(o.selected,b);y=A!==void 0?A:_.includes(a.value)}else y=_.includes(a.value);return y},h=vue.computed({get(){return d(["grid"])}}),f=vue.computed({get(){return d(["tabs"])}}),p=vue.computed({get(){return d(["collapse"])}}),m=vue.computed({get(){return d(["table"])}}),g=vue.computed({get(){return o.platform==="pc"}}),v=vue.computed({get(){return/^(edit|config)$/.test(o.mode)}});return{state:o,setSelection:e,type:a,col:c,selection:r,isSelectAnyElement:i,isSelectField:u,target:l,checkTypeBySelected:d,isSelectGrid:h,isSelectTabs:f,isSelectCollapse:p,isSelectTable:m,isSelectRoot:s,isPc:g,isEditModel:v}},__vite_glob_0_7$1=Object.freeze(Object.defineProperty({__proto__:null,useTarget},Symbol.toStringTag,{value:"Module"})),importModules$1=Object.assign({"./use-css/index.js":__vite_glob_0_0$3,"./use-fetch/index.js":__vite_glob_0_1$3,"./use-history/index.js":__vite_glob_0_2$1,"./use-i18n/index.js":__vite_glob_0_3$1,"./use-logic/index.js":__vite_glob_0_4$1,"./use-namespace/index.js":__vite_glob_0_5$1,"./use-props/index.js":__vite_glob_0_6$1,"./use-target/index.js":__vite_glob_0_7$1}),modules$1={};lodash.forIn(importModules$1,(o,e)=>{Object.keys(o).forEach(n=>{/^use[A-Z]\w/.test(n)&&(modules$1[n]=o[n])})});const hooks={...modules$1},__variableDynamicImportRuntimeHelper=(o,e)=>{const n=o[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+e)))})};function makeMap(o,e){const n=Object.create(null),r=o.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",isHTMLTag=makeMap(HTML_TAGS);/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT */function ownKeys(o,e){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),n.push.apply(n,r)}return n}function _objectSpread2(o){for(var e=1;e=0)&&(n[i]=o[i]);return n}function _objectWithoutProperties(o,e){if(o==null)return{};var n=_objectWithoutPropertiesLoose(o,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(o,r)||(n[r]=o[r]))}return n}var version$1="1.14.0";function userAgent$1(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var IE11OrLess=userAgent$1(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent$1(/Edge/i),FireFox=userAgent$1(/firefox/i),Safari=userAgent$1(/safari/i)&&!userAgent$1(/chrome/i)&&!userAgent$1(/android/i),IOS=userAgent$1(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent$1(/chrome/i)&&userAgent$1(/android/i),captureMode={capture:!1,passive:!1};function on(o,e,n){o.addEventListener(e,n,!IE11OrLess&&captureMode)}function off(o,e,n){o.removeEventListener(e,n,!IE11OrLess&&captureMode)}function matches$1(o,e){if(!!e){if(e[0]===">"&&(e=e.substring(1)),o)try{if(o.matches)return o.matches(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e)}catch{return!1}return!1}}function getParentOrHost(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function closest(o,e,n,r){if(o){n=n||document;do{if(e!=null&&(e[0]===">"?o.parentNode===n&&matches$1(o,e):matches$1(o,e))||r&&o===n)return o;if(o===n)break}while(o=getParentOrHost(o))}return null}var R_SPACE=/\s+/g;function toggleClass(o,e,n){if(o&&e)if(o.classList)o.classList[n?"add":"remove"](e);else{var r=(" "+o.className+" ").replace(R_SPACE," ").replace(" "+e+" "," ");o.className=(r+(n?" "+e:"")).replace(R_SPACE," ")}}function css$1(o,e,n){var r=o&&o.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(n=o.currentStyle),e===void 0?n:n[e];!(e in r)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),r[e]=n+(typeof n=="string"?"":"px")}}function matrix(o,e){var n="";if(typeof o=="string")n=o;else do{var r=css$1(o,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!e&&(o=o.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function find(o,e,n){if(o){var r=o.getElementsByTagName(e),i=0,s=r.length;if(n)for(;i=s:a=i<=s,!a)return r;if(r===getWindowScrollingElement$1())break;r=getParentAutoScrollElement$1(r,!1)}return!1}function getChild(o,e,n,r){for(var i=0,s=0,a=o.children;sr.pluginName===e.pluginName).length||(window.plugins=plugins,plugins.push(e))},pluginEvent:function(e,n,r){var i=this;this.eventCanceled=!1,r.cancel=function(){i.eventCanceled=!0};var s=e+"Global";plugins.forEach(function(a){!n[a.pluginName]||(n[a.pluginName][s]&&n[a.pluginName][s](_objectSpread2({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][e]&&n[a.pluginName][e](_objectSpread2({sortable:n},r)))})},initializePlugins:function(e,n,r,i){plugins.forEach(function(u){var l=u.pluginName;if(!(!e.options[l]&&!u.initializeByDefault)){var c=new u(e,n,e.options);c.sortable=e,c.options=e.options,e[l]=c,_extends(r,c.defaults)}});for(var s in e.options)if(!!e.options.hasOwnProperty(s)){var a=this.modifyOption(e,s,e.options[s]);typeof a<"u"&&(e.options[s]=a)}},getEventProperties:function(e,n){var r={};return plugins.forEach(function(i){typeof i.eventProperties=="function"&&_extends(r,i.eventProperties.call(n[i.pluginName],e))}),r},modifyOption:function(e,n,r){var i;return plugins.forEach(function(s){!e[s.pluginName]||s.optionListeners&&typeof s.optionListeners[n]=="function"&&(i=s.optionListeners[n].call(e[s.pluginName],r))}),i}};function dispatchEvent(o){var e=o.sortable,n=o.rootEl,r=o.name,i=o.targetEl,s=o.cloneEl,a=o.toEl,u=o.fromEl,l=o.oldIndex,c=o.newIndex,d=o.oldDraggableIndex,h=o.newDraggableIndex,f=o.originalEvent,p=o.putSortable,m=o.extraEventProperties;if(e=e||n&&n[expando],!!e){var g,v=e.options,_="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?g=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent(r,!0,!0)),g.to=a||n,g.from=u||n,g.item=i||n,g.clone=s,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=d,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=p?p.lastPutMode:void 0;var b=_objectSpread2(_objectSpread2({},m),PluginManager.getEventProperties(r,e));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),v[_]&&v[_].call(e,g)}}var _excluded=["evt"],pluginEvent=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,s=_objectWithoutProperties(r,_excluded);PluginManager.pluginEvent.bind(Sortable)(e,n,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:i,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(u){_dispatchEvent({sortable:n,name:u,originalEvent:i})}},s))};function _dispatchEvent(o){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},o))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!!documentExists){if(IE11OrLess)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}}(),_detectDirection=function(e,n){var r=css$1(e),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=getChild(e,0,n),a=getChild(e,1,n),u=s&&css$1(s),l=a&&css$1(a),c=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+getRect(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+getRect(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&u.float&&u.float!=="none"){var h=u.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===h)?"vertical":"horizontal"}return s&&(u.display==="block"||u.display==="flex"||u.display==="table"||u.display==="grid"||c>=i&&r[CSSFloatProperty]==="none"||a&&r[CSSFloatProperty]==="none"&&c+d>i)?"vertical":"horizontal"},_dragElInRowColumn=function(e,n,r){var i=r?e.left:e.top,s=r?e.right:e.bottom,a=r?e.width:e.height,u=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return i===u||s===l||i+a/2===u+c/2},_detectNearestEmptySortable=function(e,n){var r;return sortables.some(function(i){var s=i[expando].options.emptyInsertThreshold;if(!(!s||lastChild$1(i))){var a=getRect(i),u=e>=a.left-s&&e<=a.right+s,l=n>=a.top-s&&n<=a.bottom+s;if(u&&l)return r=i}}),r},_prepareGroup=function(e){function n(s,a){return function(u,l,c,d){var h=u.options.group.name&&l.options.group.name&&u.options.group.name===l.options.group.name;if(s==null&&(a||h))return!0;if(s==null||s===!1)return!1;if(a&&s==="clone")return s;if(typeof s=="function")return n(s(u,l,c,d),a)(u,l,c,d);var f=(a?u:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},i=e.group;(!i||_typeof(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,e.group=r},_hideGhostForTarget=function(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","none")},_unhideGhostForTarget=function(){!supportCssPointerEvents&&ghostEl&&css$1(ghostEl,"display","")};documentExists&&document.addEventListener("click",function(o){if(ignoreNextClick)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function(e){if(dragEl){e=e.touches?e.touches[0]:e;var n=_detectNearestEmptySortable(e.clientX,e.clientY);if(n){var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[expando]._onDragOver(r)}}},_checkOutsideTargetEl=function(e){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(e.target)};function Sortable(o,e){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=e=_extends({},e),o[expando]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,u){a.setData("Text",u.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,o,n);for(var r in n)!(r in e)&&(e[r]=n[r]);_prepareGroup(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?on(o,"pointerdown",this._onTapStart):(on(o,"mousedown",this._onTapStart),on(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(o,"dragover",this),on(o,"dragenter",this)),sortables.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(lastTarget=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,dragEl):this.options.direction},_onTapStart:function(e){if(!!e.cancelable){var n=this,r=this.el,i=this.options,s=i.preventOnFilter,a=e.type,u=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(u||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,d=i.filter;if(_saveInputCheckedState(r),!dragEl&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Safari&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=closest(l,i.draggable,r,!1),!(l&&l.animated)&&lastDownEl!==l)){if(oldIndex=index$2(l),oldDraggableIndex=index$2(l,i.draggable),typeof d=="function"){if(d.call(this,e,l,this)){_dispatchEvent({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),pluginEvent("filter",n,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(d&&(d=d.split(",").some(function(h){if(h=closest(c,h.trim(),r,!1),h)return _dispatchEvent({sortable:n,rootEl:h,name:"filter",targetEl:l,fromEl:r,toEl:r}),pluginEvent("filter",n,{evt:e}),!0}),d)){s&&e.cancelable&&e.preventDefault();return}i.handle&&!closest(c,i.handle,r,!1)||this._prepareDragStart(e,u,l)}}},_prepareDragStart:function(e,n,r){var i=this,s=i.el,a=i.options,u=s.ownerDocument,l;if(r&&!dragEl&&r.parentNode===s){var c=getRect(r);if(rootEl=s,dragEl=r,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=r,activeGroup=a.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(n||e).clientX,clientY:(n||e).clientY},tapDistanceLeft=tapEvt.clientX-c.left,tapDistanceTop=tapEvt.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,dragEl.style["will-change"]="all",l=function(){if(pluginEvent("delayEnded",i,{evt:e}),Sortable.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!FireFox&&i.nativeDraggable&&(dragEl.draggable=!0),i._triggerDragStart(e,n),_dispatchEvent({sortable:i,name:"choose",originalEvent:e}),toggleClass(dragEl,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){find(dragEl,d.trim(),_disableDraggable)}),on(u,"dragover",nearestEmptyInsertDetectEvent),on(u,"mousemove",nearestEmptyInsertDetectEvent),on(u,"touchmove",nearestEmptyInsertDetectEvent),on(u,"mouseup",i._onDrop),on(u,"touchend",i._onDrop),on(u,"touchcancel",i._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(u,"mouseup",i._disableDelayedDrag),on(u,"touchend",i._disableDelayedDrag),on(u,"touchcancel",i._disableDelayedDrag),on(u,"mousemove",i._delayedDragTouchMoveHandler),on(u,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&on(u,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;off(e,"mouseup",this._disableDelayedDrag),off(e,"touchend",this._disableDelayedDrag),off(e,"touchcancel",this._disableDelayedDrag),off(e,"mousemove",this._delayedDragTouchMoveHandler),off(e,"touchmove",this._delayedDragTouchMoveHandler),off(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):n?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:n}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var r=this.options;!e&&toggleClass(dragEl,r.dragClass,!1),toggleClass(dragEl,r.ghostClass,!0),Sortable.active=this,e&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var e=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),e!==n);)n=e;if(dragEl.parentNode[expando]._isOutsideThisEl(e),n)do{if(n[expando]){var r=void 0;if(r=n[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:e,rootEl:n}),r&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);_unhideGhostForTarget()}},_onTouchMove:function(e){if(tapEvt){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,s=e.touches?e.touches[0]:e,a=ghostEl&&matrix(ghostEl,!0),u=ghostEl&&a&&a.a,l=ghostEl&&a&&a.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),d=(s.clientX-tapEvt.clientX+i.x)/(u||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(u||1),h=(s.clientY-tapEvt.clientY+i.y)/(l||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(l||1);if(!Sortable.active&&!awaitingDragStarted){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:e}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:e}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:e}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:e})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:e}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:e})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(e){e.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(e),_globalDragOver(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,r=this.el.children,i=0,s=r.length,a=this.options;ir.right+i||o.clientX<=r.right&&o.clientY>r.bottom&&o.clientX>=r.left:o.clientX>r.right&&o.clientY>r.top||o.clientX<=r.right&&o.clientY>r.bottom+i}function _getSwapDirection(o,e,n,r,i,s,a,u){var l=r?o.clientY:o.clientX,c=r?n.height:n.width,d=r?n.top:n.left,h=r?n.bottom:n.right,f=!1;if(!a){if(u&&targetMoveDistanced+c*s/2:lh-targetMoveDistance)return-lastDirection}else if(l>d+c*(1-i)/2&&lh-c*s/2)?l>d+c/2?1:-1:0}function _getInsertDirection(o){return index$2(dragEl)o.replace(regex,(e,n)=>n.toUpperCase())),manageAndEmit$1=["Start","Add","Remove","Update","End"],emit$1=["Choose","Unchoose","Sort","Filter","Clone"],manage$1=["Move"],eventHandlerNames=[manage$1,manageAndEmit$1,emit$1].flatMap(o=>o).map(o=>`on${o}`),events={manage:manage$1,manageAndEmit:manageAndEmit$1,emit:emit$1};function isReadOnly(o){return eventHandlerNames.indexOf(o)!==-1}const tags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function isHtmlTag(o){return tags.includes(o)}function isTransition(o){return["transition-group","TransitionGroup"].includes(o)}function isHtmlAttribute(o){return["id","class","role","style"].includes(o)||o.startsWith("data-")||o.startsWith("aria-")||o.startsWith("on")}function project(o){return o.reduce((e,[n,r])=>(e[n]=r,e),{})}function getComponentAttributes({$attrs:o,componentData:e={}}){return{...project(Object.entries(o).filter(([r,i])=>isHtmlAttribute(r))),...e}}function createSortableOption({$attrs:o,callBackBuilder:e}){const n=project(getValidSortableEntries(o));Object.entries(e).forEach(([i,s])=>{events[i].forEach(a=>{n[`on${a}`]=s(a)})});const r=`[data-draggable]${n.draggable||""}`;return{...n,draggable:r}}function getValidSortableEntries(o){return Object.entries(o).filter(([e,n])=>!isHtmlAttribute(e)).map(([e,n])=>[camelize(e),n]).filter(([e,n])=>!isReadOnly(e))}const getHtmlElementFromNode=({el:o})=>o,addContext=(o,e)=>o.__draggable_context=e,getContext=o=>o.__draggable_context;class ComponentStructure{constructor({nodes:{header:e,default:n,footer:r},root:i,realList:s}){this.defaultNodes=n,this.children=[...e,...n,...r],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=s}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,n){const{tag:r,children:i,_isRootComponent:s}=this;return e(r,n,s?{default:()=>i}:i)}updated(){const{defaultNodes:e,realList:n}=this;e.forEach((r,i)=>{addContext(getHtmlElementFromNode(r),{element:n[i],index:i})})}getUnderlyingVm(e){return getContext(e)}getVmIndexFromDomIndex(e,n){const{defaultNodes:r}=this,{length:i}=r,s=n.children,a=s.item(e);if(a===null)return i;const u=getContext(a);if(u)return u.index;if(i===0)return 0;const l=getHtmlElementFromNode(r[0]),c=[...s].findIndex(d=>d===l);return egetSlot(o,l)),{item:a}=o;if(!a)throw new Error("draggable element must have an item slot");const u=r.flatMap((l,c)=>a({element:l,index:c}).map(d=>(d.key=n(l),d.props={...d.props||{},"data-draggable":!0},d)));if(u.length!==r.length)throw new Error("Item slot must have only one child");return{header:i,footer:s,default:u}}function getRootInformation(o){const e=isTransition(o),n=!isHtmlTag(o)&&!e;return{transition:e,externalComponent:n,tag:n?vue.resolveComponent(o):e?vue.TransitionGroup:o}}function computeComponentStructure({$slots:o,tag:e,realList:n,getKey:r}){const i=computeNodes({$slots:o,realList:n,getKey:r}),s=getRootInformation(e);return new ComponentStructure({nodes:i,root:s,realList:n})}function emit(o,e){vue.nextTick(()=>this.$emit(o.toLowerCase(),e))}function manage(o){return(e,n)=>{if(this.realList!==null)return this[`onDrag${o}`](e,n)}}function manageAndEmit(o){const e=manage.call(this,o);return(n,r)=>{e.call(this,n,r),emit.call(this,o,n)}}let draggingElement=null;const props={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:o=>o},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},emits=["update:modelValue","change",...[...events.manageAndEmit,...events.emit].map(o=>o.toLowerCase())],draggableComponent=vue.defineComponent({name:"draggable",inheritAttrs:!1,props,emits,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:o,$attrs:e,tag:n,componentData:r,realList:i,getKey:s}=this,a=computeComponentStructure({$slots:o,tag:n,realList:i,getKey:s});this.componentStructure=a;const u=getComponentAttributes({$attrs:e,componentData:r});return a.render(vue.h,u)}catch(o){return this.error=!0,vue.h("pre",{style:{color:"red"}},o.stack)}},created(){this.list!==null&&this.modelValue!==null&&console$1.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:o,$el:e,componentStructure:n}=this;n.updated();const r=createSortableOption({$attrs:o,callBackBuilder:{manageAndEmit:s=>manageAndEmit.call(this,s),emit:s=>emit.bind(this,s),manage:s=>manage.call(this,s)}}),i=e.nodeType===1?e:e.parentElement;Sortable.mount(o.plugins||[]),this._sortable=new Sortable(i,r),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:o}=this;return o||this.modelValue},getKey(){const{itemKey:o}=this;return typeof o=="function"?o:e=>e[o]}},watch:{$attrs:{handler(o){const{_sortable:e}=this;!e||getValidSortableEntries(o).forEach(([n,r])=>{e.option(n,r)})},deep:!0}},methods:{getUnderlyingVm(o){return this.componentStructure.getUnderlyingVm(o)||null},getUnderlyingPotencialDraggableComponent(o){return o.__draggable_component__},emitChanges(o){vue.nextTick(()=>this.$emit("change",o))},alterList(o){if(this.list){o(this.list);return}const e=[...this.modelValue];o(e),this.$emit("update:modelValue",e)},spliceList(){const o=e=>e.splice(...arguments);this.alterList(o)},updatePosition(o,e){const n=r=>r.splice(e,0,r.splice(o,1)[0]);this.alterList(n)},getRelatedContextFromMoveEvent({to:o,related:e}){const n=this.getUnderlyingPotencialDraggableComponent(o);if(!n)return{component:n};const r=n.realList,i={list:r,component:n};return o!==e&&r?{...n.getUnderlyingVm(e)||{},...i}:i},getVmIndexFromDomIndex(o){return this.componentStructure.getVmIndexFromDomIndex(o,this.targetDomElement)},onDragStart(o){this.context=this.getUnderlyingVm(o.item),o.item._underlying_vm_=this.clone(this.context.element),draggingElement=o.item},onDragAdd(o){const e=o.item._underlying_vm_;if(e===void 0)return;removeNode(o.item);const n=this.getVmIndexFromDomIndex(o.newIndex);this.spliceList(n,0,e);const r={element:e,newIndex:n};this.emitChanges({added:r})},onDragRemove(o){if(insertNodeAt(this.$el,o.item,o.oldIndex),o.pullMode==="clone"){removeNode(o.clone);return}const{index:e,element:n}=this.context;this.spliceList(e,1);const r={element:n,oldIndex:e};this.emitChanges({removed:r})},onDragUpdate(o){removeNode(o.item),insertNodeAt(o.from,o.item,o.oldIndex);const e=this.context.index,n=this.getVmIndexFromDomIndex(o.newIndex);this.updatePosition(e,n);const r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex(o,e){if(!o.element)return 0;const n=[...e.to.children].filter(a=>a.style.display!=="none"),r=n.indexOf(e.related),i=o.component.getVmIndexFromDomIndex(r);return n.indexOf(draggingElement)!==-1||!e.willInsertAfter?i:i+1},onDragMove(o,e){const{move:n,realList:r}=this;if(!n||!r)return!0;const i=this.getRelatedContextFromMoveEvent(o),s=this.computeFutureIndex(i,o),a={...this.context,futureIndex:s},u={...o,relatedContext:i,draggedContext:a};return n(u,e)},onDragEnd(){draggingElement=null}}}),_hoisted_1$32={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2_=vue.createElementVNode("g",{class:"ID"},[vue.createElementVNode("path",{d:"M2 3.167a.167.167 0 0 0-.167.166v9.334c0 .092.075.166.167.166h12a.167.167 0 0 0 .167-.166V3.333A.167.167 0 0 0 14 3.167H2Zm-1.167.166c0-.644.523-1.166 1.167-1.166h12c.645 0 1.167.522 1.167 1.166v9.334c0 .644-.522 1.166-1.167 1.166H2a1.167 1.167 0 0 1-1.167-1.166V3.333Zm3.537 2.37a1.833 1.833 0 0 1 2.653 2.53 2.5 2.5 0 0 1 1.143 2.1.5.5 0 0 1-1 0 1.5 1.5 0 1 0-3 0 .5.5 0 0 1-1 0 2.5 2.5 0 0 1 1.144-2.1 1.833 1.833 0 0 1 .06-2.53Zm1.297.464a.833.833 0 1 0 0 1.666.833.833 0 0 0 0-1.666Zm3.666 0a.5.5 0 1 0 0 1H12a.5.5 0 1 0 0-1H9.333ZM10 8.833a.5.5 0 1 0 0 1h2a.5.5 0 1 0 0-1h-2Z",class:"Union"})],-1),_hoisted_3$2T=[_hoisted_2$2_];function render$2T(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$32,_hoisted_3$2T)}const ID={render:render$2T},__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,render:render$2T,default:ID},Symbol.toStringTag,{value:"Module"})),_hoisted_1$31={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2Z=vue.createElementVNode("g",{class:"PC"},[vue.createElementVNode("path",{d:"M8.5 12v2h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H8.5ZM3 3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3Z",class:"Vector"})],-1),_hoisted_3$2S=[_hoisted_2$2Z];function render$2S(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$31,_hoisted_3$2S)}const PC={render:render$2S},__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,render:render$2S,default:PC},Symbol.toStringTag,{value:"Module"})),_hoisted_1$30={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2Y=vue.createElementVNode("g",{class:"Rank"},[vue.createElementVNode("path",{d:"m2.914 8.5.647.646a.5.5 0 0 1-.707.708l-1.5-1.5a.5.5 0 0 1 0-.708l1.5-1.5a.5.5 0 1 1 .707.708l-.647.646h4.544V2.913l-.648.648a.5.5 0 1 1-.707-.706l1.5-1.502a.5.5 0 0 1 .708 0l1.5 1.501a.5.5 0 0 1-.707.706l-.646-.645V7.5H13l-.646-.646a.5.5 0 1 1 .707-.708l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 1 1-.707-.708L13 8.5H8.458v4.585l.646-.645a.5.5 0 1 1 .707.707l-1.5 1.5a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.707l.647.647V8.5H2.914Z",class:"Vector"})],-1),_hoisted_3$2R=[_hoisted_2$2Y];function render$2R(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$30,_hoisted_3$2R)}const Rank={render:render$2R},__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,render:render$2R,default:Rank},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2$={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2X=vue.createElementVNode("g",{class:"arrowDown"},[vue.createElementVNode("path",{d:"M13 5.086 8 9.961 3 5.086a.45.45 0 0 0-.656 0 .45.45 0 0 0-.14.328c0 .125.041.23.125.313l5.328 5.187c.093.094.208.14.344.14.135 0 .25-.046.344-.14l5.328-5.172a.488.488 0 0 0 .125-.336c0-.13-.047-.24-.14-.328a.465.465 0 0 0-.657.008Z",class:"Union"})],-1),_hoisted_3$2Q=[_hoisted_2$2X];function render$2Q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2$,_hoisted_3$2Q)}const arrowDown={render:render$2Q},__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,render:render$2Q,default:arrowDown},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2_={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2W=vue.createElementVNode("g",{class:"arrowDownBold"},[vue.createElementVNode("path",{d:"M1.642 4.464a1 1 0 0 1 1.414 0l4.95 4.95 4.95-4.95a1 1 0 0 1 1.414 1.414l-5.657 5.657a1 1 0 0 1-1.414 0L1.642 5.878a1 1 0 0 1 0-1.414Z",class:"Vector"})],-1),_hoisted_3$2P=[_hoisted_2$2W];function render$2P(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2_,_hoisted_3$2P)}const arrowDownBold={render:render$2P},__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,render:render$2P,default:arrowDownBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2Z={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2V=vue.createElementVNode("g",{class:"arrowLeft"},[vue.createElementVNode("path",{d:"M10.258 2.328 5.086 7.656a.459.459 0 0 0-.14.336c0 .13.046.247.14.351l5.172 5.329a.478.478 0 0 0 .328.124.45.45 0 0 0 .328-.14.45.45 0 0 0 .14-.328.45.45 0 0 0-.14-.328L6.039 8l4.875-5a.45.45 0 0 0 .14-.328.45.45 0 0 0-.14-.328.45.45 0 0 0-.328-.14.478.478 0 0 0-.328.124Z",class:"Union"})],-1),_hoisted_3$2O=[_hoisted_2$2V];function render$2O(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2Z,_hoisted_3$2O)}const arrowLeft={render:render$2O},__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,render:render$2O,default:arrowLeft},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2Y={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2U=vue.createElementVNode("g",{class:"arrowLeftBold"},[vue.createElementVNode("path",{d:"M11.536 1.642a1 1 0 0 1 0 1.414l-4.95 4.95 4.95 4.95a1 1 0 0 1-1.414 1.414L4.465 8.713a1 1 0 0 1 0-1.414l5.657-5.657a1 1 0 0 1 1.414 0Z",class:"Vector"})],-1),_hoisted_3$2N=[_hoisted_2$2U];function render$2N(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2Y,_hoisted_3$2N)}const arrowLeftBold={render:render$2N},__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,render:render$2N,default:arrowLeftBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2X={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2T=vue.createElementVNode("g",{class:"arrowRight"},[vue.createElementVNode("path",{d:"M5.086 2.328a.504.504 0 0 0-.14.344.45.45 0 0 0 .14.328L9.96 8l-4.875 5a.45.45 0 0 0 0 .656.45.45 0 0 0 .328.14.478.478 0 0 0 .328-.124l5.172-5.328a.468.468 0 0 0 .14-.344.468.468 0 0 0-.14-.344L5.742 2.328a.478.478 0 0 0-.328-.125.478.478 0 0 0-.328.125Z",class:"Union"})],-1),_hoisted_3$2M=[_hoisted_2$2T];function render$2M(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2X,_hoisted_3$2M)}const arrowRight={render:render$2M},__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,render:render$2M,default:arrowRight},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2W={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2S=vue.createElementVNode("g",{class:"arrowRightBold"},[vue.createElementVNode("path",{d:"M4.465 1.642a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 1.414 1.414l5.657-5.657a1 1 0 0 0 0-1.414L5.879 1.642a1 1 0 0 0-1.414 0Z",class:"Vector"})],-1),_hoisted_3$2L=[_hoisted_2$2S];function render$2L(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2W,_hoisted_3$2L)}const arrowRightBold={render:render$2L},__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,render:render$2L,default:arrowRightBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2V={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2R=vue.createElementVNode("g",{class:"arrowUp"},[vue.createElementVNode("path",{d:"m7.64 4.86-5.312 5.577a.504.504 0 0 0-.14.344c0 .125.046.24.14.344v.016c.094.093.206.14.336.14.13 0 .242-.047.336-.14l5-5.25 5 5.25c.094.093.206.14.336.14.13 0 .242-.047.336-.14v-.016a.504.504 0 0 0 .14-.344.504.504 0 0 0-.14-.344L8.359 4.86A.487.487 0 0 0 8 4.72a.487.487 0 0 0-.36.14Z",class:"Union"})],-1),_hoisted_3$2K=[_hoisted_2$2R];function render$2K(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2V,_hoisted_3$2K)}const arrowUp={render:render$2K},__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,render:render$2K,default:arrowUp},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2U={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2Q=vue.createElementVNode("g",{class:"arrowUpBold"},[vue.createElementVNode("path",{d:"M1.642 11.535a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414-1.414L8.713 4.464a1 1 0 0 0-1.414 0l-5.657 5.657a1 1 0 0 0 0 1.414Z",class:"Vector"})],-1),_hoisted_3$2J=[_hoisted_2$2Q];function render$2J(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2U,_hoisted_3$2J)}const arrowUpBold_={render:render$2J},__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,render:render$2J,default:arrowUpBold_},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2T={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},_hoisted_2$2P=vue.createElementVNode("path",{fill:"#666",d:"M1.642 11.535a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414-1.414L8.713 4.464a1 1 0 0 0-1.414 0l-5.657 5.657a1 1 0 0 0 0 1.414Z","data-follow-fill":"#666"},null,-1),_hoisted_3$2I=[_hoisted_2$2P];function render$2I(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2T,_hoisted_3$2I)}const arrowUpBold={render:render$2I},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,render:render$2I,default:arrowUpBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2S={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2O=vue.createElementVNode("g",{class:"back"},[vue.createElementVNode("path",{d:"M3.672 8.766h9.97a.487.487 0 0 0 .359-.14.487.487 0 0 0 .14-.36.487.487 0 0 0-.14-.36.487.487 0 0 0-.36-.14H3.672l3.875-3.64a.494.494 0 0 0 .157-.36.46.46 0 0 0-.164-.352.533.533 0 0 0-.367-.148.58.58 0 0 0-.375.14l-4.782 4.5a.494.494 0 0 0-.156.36c0 .135.052.255.156.36l4.782 4.5a.58.58 0 0 0 .375.14c.135 0 .257-.05.367-.149a.46.46 0 0 0 .164-.351.494.494 0 0 0-.157-.36l-3.875-3.64Z",class:"primary"})],-1),_hoisted_3$2H=[_hoisted_2$2O];function render$2H(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2S,_hoisted_3$2H)}const back={render:render$2H},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,render:render$2H,default:back},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2R={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2N=vue.createElementVNode("g",{class:"bottom"},[vue.createElementVNode("path",{d:"M8.5 12.594V2.625a.487.487 0 0 0-.14-.36.487.487 0 0 0-.36-.14.487.487 0 0 0-.36.14.487.487 0 0 0-.14.36v9.969L3.86 8.719a.494.494 0 0 0-.36-.156.46.46 0 0 0-.352.163.533.533 0 0 0-.148.367c0 .136.047.26.14.376l4.5 4.781a.494.494 0 0 0 .36.156.494.494 0 0 0 .36-.156l4.5-4.781a.58.58 0 0 0 .14-.375.533.533 0 0 0-.149-.367.46.46 0 0 0-.351-.165.494.494 0 0 0-.36.157L8.5 12.594Z",class:"primary"})],-1),_hoisted_3$2G=[_hoisted_2$2N];function render$2G(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2R,_hoisted_3$2G)}const bottom={render:render$2G},__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,render:render$2G,default:bottom},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2Q={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2M=vue.createElementVNode("g",{class:"bottomLeft"},[vue.createElementVNode("path",{d:"M4.708 12H10.5a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.522V5.5a.5.5 0 1 1 1 0v5.792l7.646-7.646a.5.5 0 0 1 .708.708L4.708 12Z",class:"primary"})],-1),_hoisted_3$2F=[_hoisted_2$2M];function render$2F(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2Q,_hoisted_3$2F)}const bottomLeft_={render:render$2F},__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,render:render$2F,default:bottomLeft_},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2P={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2L=vue.createElementVNode("g",{class:"bottomRight"},[vue.createElementVNode("path",{d:"M12 11.292 4.354 3.646a.5.5 0 1 0-.708.708L11.292 12H5.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 .5-.528V5.5a.5.5 0 0 0-1 0v5.792Z",class:"primary"})],-1),_hoisted_3$2E=[_hoisted_2$2L];function render$2E(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2P,_hoisted_3$2E)}const bottomRight={render:render$2E},__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,render:render$2E,default:bottomRight},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2O={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2K=vue.createElementVNode("g",{class:"calendar","clip-path":"url(#a)"},[vue.createElementVNode("path",{d:"M6.167 1.333a.5.5 0 0 0-1 0v.834H2c-.644 0-1.167.522-1.167 1.166V14c0 .644.523 1.167 1.167 1.167h12c.645 0 1.167-.523 1.167-1.167V3.333c0-.644-.522-1.166-1.167-1.166h-3.166v-.834a.5.5 0 0 0-1 0v.834H6.167v-.834Zm-1 1.834V4a.5.5 0 0 0 1 0v-.833h3.667V4a.5.5 0 0 0 1 0v-.833H14c.092 0 .167.074.167.166v2.834H1.833V3.333c0-.092.075-.166.167-.166h3.167Zm-3.333 4h3.333v3H1.834v-3Zm0 4h3.333v3H2A.167.167 0 0 1 1.833 14v-2.833Zm9.512 3h-.512v-3h3.333V14a.167.167 0 0 1-.167.167h-2.654Zm2.82-4h-3.332v-3h3.333v3Zm-8 0v-3h3.668v3H6.167Zm0 1h3.668v3H6.167v-3Z",class:"Union"})],-1),_hoisted_3$2D=vue.createElementVNode("defs",null,[vue.createElementVNode("clipPath",{id:"a",class:"a"},[vue.createElementVNode("path",{d:"M0 0h16v16H0z"})])],-1),_hoisted_4$x=[_hoisted_2$2K,_hoisted_3$2D];function render$2D(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2O,_hoisted_4$x)}const calendar={render:render$2D},__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,render:render$2D,default:calendar},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2N={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2J=vue.createElementVNode("g",{class:"cascader"},[vue.createElementVNode("path",{d:"M4.167 2.333a.5.5 0 0 1 .5-.5H14a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H4.667a.5.5 0 0 1-.5-.5v-1.5H2.5v6.334h1.667v-1.5a.5.5 0 0 1 .5-.5H14a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H4.667a.5.5 0 0 1-.5-.5v-1.5H2a.5.5 0 0 1-.5-.5V4.333a.5.5 0 0 1 .5-.5h2.167v-1.5Zm1 3.5H13.5v-3H5.167v3Zm0 7.334H13.5v-3H5.167v3Z",class:"Vector (Stroke)"})],-1),_hoisted_3$2C=[_hoisted_2$2J];function render$2C(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2N,_hoisted_3$2C)}const cascader={render:render$2C},__vite_glob_0_17=Object.freeze(Object.defineProperty({__proto__:null,render:render$2C,default:cascader},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2M={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2I=vue.createElementVNode("g",{class:"cellphone"},[vue.createElementVNode("path",{d:"M4 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H4Zm0-1h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2Zm2 2h4a.5.5 0 0 1 0 1H6a.5.5 0 1 1 0-1Zm2 10a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",class:"Vector"})],-1),_hoisted_3$2B=[_hoisted_2$2I];function render$2B(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2M,_hoisted_3$2B)}const cellphone={render:render$2B},__vite_glob_0_18=Object.freeze(Object.defineProperty({__proto__:null,render:render$2B,default:cellphone},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2L={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2H=vue.createElementVNode("g",{class:"checkbox"},[vue.createElementVNode("path",{d:"M2.646 2.646A.5.5 0 0 1 3 2.5h7a.5.5 0 0 0 0-1H3A1.5 1.5 0 0 0 1.5 3v10A1.5 1.5 0 0 0 3 14.5h10a1.5 1.5 0 0 0 1.5-1.5V6.667a.5.5 0 0 0-1 0V13a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V3a.5.5 0 0 1 .146-.354Zm11.428-.022a.5.5 0 1 0-.814-.581l-4.693 6.57-2.921-2.337a.5.5 0 0 0-.625.781l3.333 2.667a.5.5 0 0 0 .72-.1l5-7Z",class:"Union"})],-1),_hoisted_3$2A=[_hoisted_2$2H];function render$2A(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2L,_hoisted_3$2A)}const checkbox={render:render$2A},__vite_glob_0_19=Object.freeze(Object.defineProperty({__proto__:null,render:render$2A,default:checkbox},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2K={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2G=vue.createElementVNode("g",{class:"circleClose"},[vue.createElementVNode("path",{d:"M7.297 8 5.875 6.593a.522.522 0 0 1-.14-.359.48.48 0 0 1 .148-.351.48.48 0 0 1 .351-.149c.136 0 .256.047.36.14l1.407 1.423 1.406-1.422a.487.487 0 0 1 .492-.125.48.48 0 0 1 .352.351.485.485 0 0 1-.125.492L8.704 8l1.421 1.406c.136.146.178.31.126.492a.482.482 0 0 1-.352.351.485.485 0 0 1-.492-.125l-1.406-1.42-1.407 1.421a.522.522 0 0 1-.36.141.48.48 0 0 1-.351-.149.48.48 0 0 1-.149-.351c0-.135.047-.255.141-.36L7.297 8ZM8 14c1.698-.042 3.112-.628 4.242-1.758S13.958 9.698 14 8c-.042-1.698-.628-3.112-1.758-4.242S9.698 2.042 8 2c-1.698.042-3.112.628-4.242 1.758S2.042 6.302 2 8c.042 1.698.628 3.112 1.758 4.242S6.302 13.958 8 14Zm0 1c-1.98-.052-3.628-.737-4.946-2.055C1.738 11.628 1.053 9.98 1 8c.052-1.98.737-3.628 2.054-4.946C4.373 1.738 6.021 1.053 8 1c1.98.052 3.628.737 4.945 2.054C14.263 4.373 14.948 6.021 15 8c-.052 1.98-.737 3.628-2.055 4.945C11.628 14.263 9.98 14.948 8 15Z",class:"Union"})],-1),_hoisted_3$2z=[_hoisted_2$2G];function render$2z(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2K,_hoisted_3$2z)}const circleClose={render:render$2z},__vite_glob_0_20=Object.freeze(Object.defineProperty({__proto__:null,render:render$2z,default:circleClose},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2J={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2F=vue.createElementVNode("g",{class:"circleMinus"},[vue.createElementVNode("path",{d:"M5.5 7.5h5a.49.49 0 0 1 .36.14A.49.49 0 0 1 11 8a.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14h-5a.487.487 0 0 1-.36-.14A.487.487 0 0 1 5 8a.49.49 0 0 1 .14-.36.487.487 0 0 1 .36-.14ZM8 14c1.698-.042 3.112-.628 4.242-1.758S13.958 9.698 14 8c-.042-1.698-.628-3.112-1.758-4.242S9.698 2.042 8 2c-1.698.042-3.112.628-4.242 1.758S2.042 6.302 2 8c.042 1.698.628 3.112 1.758 4.242S6.302 13.958 8 14Zm0 1c-1.98-.052-3.628-.737-4.946-2.055C1.738 11.628 1.053 9.98 1 8c.052-1.98.737-3.628 2.054-4.946C4.373 1.738 6.021 1.053 8 1c1.98.052 3.628.737 4.945 2.054C14.263 4.373 14.948 6.021 15 8c-.052 1.98-.737 3.628-2.055 4.945C11.628 14.263 9.98 14.948 8 15Z",class:"Union"})],-1),_hoisted_3$2y=[_hoisted_2$2F];function render$2y(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2J,_hoisted_3$2y)}const circleMinus={render:render$2y},__vite_glob_0_21=Object.freeze(Object.defineProperty({__proto__:null,render:render$2y,default:circleMinus},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2I={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2E=vue.createElementVNode("g",{class:"circlePlus"},[vue.createElementVNode("path",{d:"M10.296 13.543A6 6 0 1 1 5.704 2.456a6 6 0 0 1 4.592 11.087ZM3.05 12.95a7 7 0 1 0 9.9-9.9 7 7 0 0 0-9.9 9.9ZM7.5 10.5v-2h-2a.5.5 0 1 1 0-1h2v-2a.5.5 0 1 1 1 0v2h2a.5.5 0 0 1 0 1h-2v2a.5.5 0 0 1-1 0Z",class:"Union"})],-1),_hoisted_3$2x=[_hoisted_2$2E];function render$2x(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2I,_hoisted_3$2x)}const circlePlus={render:render$2x},__vite_glob_0_22=Object.freeze(Object.defineProperty({__proto__:null,render:render$2x,default:circlePlus},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2H={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2D=vue.createElementVNode("g",{class:"clear0"},[vue.createElementVNode("path",{d:"M6.167 1.971a.5.5 0 0 1 .5-.5h2.666a.5.5 0 0 1 .5.5v2.167h4.5a.5.5 0 0 1 .5.5v2.667a.5.5 0 0 1-.5.5h-.5v5.528a.5.5 0 0 1-.5.5H2.667a.5.5 0 0 1-.5-.5V7.805h-.5a.5.5 0 0 1-.5-.5V4.638a.5.5 0 0 1 .5-.5h4.5V1.971Zm1 .5v2.167a.5.5 0 0 1-.5.5h-4.5v1.667h11.666V5.138h-4.5a.5.5 0 0 1-.5-.5V2.471H7.166Zm-4 5.362v5h1.666v-1.528a.5.5 0 1 1 1 0v1.528H7.5V11.3a.5.5 0 0 1 1 0v1.534h1.667v-1.528a.5.5 0 1 1 1 0v1.528H12a.19.19 0 0 1 .008 0h.825v-5H3.167Z",class:"Union"})],-1),_hoisted_3$2w=[_hoisted_2$2D];function render$2w(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2H,_hoisted_3$2w)}const clear0={render:render$2w},__vite_glob_0_23=Object.freeze(Object.defineProperty({__proto__:null,render:render$2w,default:clear0},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2G={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2C=vue.createElementVNode("g",{class:"clear1"},[vue.createElementVNode("path",{"fill-rule":"evenodd",d:"M10.338 1.967a.5.5 0 0 1 .7.099l4.288 5.69a.5.5 0 0 1-.098.7l-4.642 3.498a.426.426 0 0 1-.015.011l-1.105.769-.154.123h5.543a.5.5 0 0 1 0 1H7.918l-.031.001H4.366a.5.5 0 0 1-.4-.2L.957 9.665a.5.5 0 0 1 .098-.7l3.351-2.526.006-.004 5.927-4.467Zm-2.625 10.89H4.615l-.716-.95-1.844-2.446 2.572-1.938 3.834 4.735-.748.6ZM5.426 6.921l3.836 4.736.73-.507 4.235-3.192-3.686-4.891L5.426 6.92Z",class:"Union","clip-rule":"evenodd"})],-1),_hoisted_3$2v=[_hoisted_2$2C];function render$2v(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2G,_hoisted_3$2v)}const clear1={render:render$2v},__vite_glob_0_24=Object.freeze(Object.defineProperty({__proto__:null,render:render$2v,default:clear1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2F={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2B=vue.createElementVNode("g",{class:"collapse"},[vue.createElementVNode("path",{d:"M1.5 3A1.5 1.5 0 0 1 3 1.5h10A1.5 1.5 0 0 1 14.5 3v10a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 13V3Zm12 0a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v3h11V3Zm0 4h-11v6a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V7Zm-3.189-3.752a.5.5 0 1 0-.707.707l.849.849a.8.8 0 0 0 1.13 0l.85-.849a.5.5 0 0 0-.708-.707l-.707.707-.707-.707Z",class:"Union"})],-1),_hoisted_3$2u=[_hoisted_2$2B];function render$2u(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2F,_hoisted_3$2u)}const collapse={render:render$2u},__vite_glob_0_25=Object.freeze(Object.defineProperty({__proto__:null,render:render$2u,default:collapse},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2E={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2A=vue.createElementVNode("g",{class:"copy"},[vue.createElementVNode("path",{d:"M6 2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H6Zm0-1h7a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2Zm6 12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2v1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1h1Zm-2-7h1.5a.5.5 0 0 1 0 1H10v1.5a.5.5 0 1 1-1 0V7H7.5a.5.5 0 1 1 0-1H9V4.5a.5.5 0 1 1 1 0V6Z",class:"Union"})],-1),_hoisted_3$2t=[_hoisted_2$2A];function render$2t(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2E,_hoisted_3$2t)}const copy={render:render$2t},__vite_glob_0_26=Object.freeze(Object.defineProperty({__proto__:null,render:render$2t,default:copy},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2D={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2z=vue.createElementVNode("g",{class:"delete"},[vue.createElementVNode("path",{d:"M2.5 4h-1a.487.487 0 0 1-.36-.14A.487.487 0 0 1 1 3.5a.49.49 0 0 1 .14-.36A.487.487 0 0 1 1.5 3h4V1.5a.49.49 0 0 1 .14-.36A.487.487 0 0 1 6 1h4a.49.49 0 0 1 .36.14.49.49 0 0 1 .14.36V3h4a.49.49 0 0 1 .36.14.49.49 0 0 1 .14.36.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14h-1v10.5a.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14H3a.487.487 0 0 1-.36-.14.487.487 0 0 1-.14-.36V4Zm7-1V2h-3v1h3Zm-6 11h9V4h-9v10Zm3-2a.487.487 0 0 1-.36-.14.487.487 0 0 1-.14-.36v-5a.49.49 0 0 1 .14-.36A.487.487 0 0 1 6.5 6a.49.49 0 0 1 .36.14.49.49 0 0 1 .14.36v5a.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14Zm3 0a.487.487 0 0 1-.36-.14.487.487 0 0 1-.14-.36v-5a.49.49 0 0 1 .14-.36A.487.487 0 0 1 9.5 6a.49.49 0 0 1 .36.14.49.49 0 0 1 .14.36v5a.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14Z",class:"Union"})],-1),_hoisted_3$2s=[_hoisted_2$2z];function render$2s(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2D,_hoisted_3$2s)}const _delete={render:render$2s},__vite_glob_0_27=Object.freeze(Object.defineProperty({__proto__:null,render:render$2s,default:_delete},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2C={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2y=vue.createElementVNode("g",{class:"divider"},[vue.createElementVNode("path",{d:"M1.167 3.333a.5.5 0 0 1 .5-.5h2a.5.5 0 1 1 0 1h-2a.5.5 0 0 1-.5-.5Zm5.333 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5Zm5.333 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5ZM1.167 8a.5.5 0 0 1 .5-.5h12.666a.5.5 0 0 1 0 1H1.667a.5.5 0 0 1-.5-.5Zm0 4.667a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm5.333 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5Zm5.333 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Z",class:"Vector (Stroke)"})],-1),_hoisted_3$2r=[_hoisted_2$2y];function render$2r(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2C,_hoisted_3$2r)}const divider={render:render$2r},__vite_glob_0_28=Object.freeze(Object.defineProperty({__proto__:null,render:render$2r,default:divider},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2B={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2x=vue.createElementVNode("g",{class:"dividerLocationP1"},[vue.createElementVNode("path",{d:"M6 24a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2H6Zm22 0a1 1 0 1 0 0 2h43a1 1 0 1 0 0-2H28Z",class:"secondary"}),vue.createElementVNode("path",{d:"M14 25a2 2 0 0 1 2-2h7a2 2 0 1 1 0 4h-7a2 2 0 0 1-2-2Z",class:"primary"})],-1),_hoisted_3$2q=[_hoisted_2$2x];function render$2q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2B,_hoisted_3$2q)}const dividerLocationP1={render:render$2q},__vite_glob_0_29=Object.freeze(Object.defineProperty({__proto__:null,render:render$2q,default:dividerLocationP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2A={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2w=vue.createElementVNode("g",{class:"dividerLocationP2"},[vue.createElementVNode("path",{d:"M6 24a1 1 0 1 0 0 2h24a1 1 0 1 0 0-2H6Zm41 0a1 1 0 1 0 0 2h24a1 1 0 1 0 0-2H47Z",class:"secondary"}),vue.createElementVNode("path",{d:"M33 25a2 2 0 0 1 2-2h7a2 2 0 1 1 0 4h-7a2 2 0 0 1-2-2Z",class:"primary"})],-1),_hoisted_3$2p=[_hoisted_2$2w];function render$2p(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2A,_hoisted_3$2p)}const dividerLocationP2={render:render$2p},__vite_glob_0_30=Object.freeze(Object.defineProperty({__proto__:null,render:render$2p,default:dividerLocationP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2z={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2v=vue.createElementVNode("g",{class:"dividerLocationP3"},[vue.createElementVNode("path",{d:"M52 25a2 2 0 0 1 2-2h7a2 2 0 1 1 0 4h-7a2 2 0 0 1-2-2Z",class:"primary"}),vue.createElementVNode("path",{d:"M6 24a1 1 0 1 0 0 2h43a1 1 0 1 0 0-2H6Zm60 0a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2h-5Z",class:"secondary"})],-1),_hoisted_3$2o=[_hoisted_2$2v];function render$2o(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2z,_hoisted_3$2o)}const dividerLocationP3={render:render$2o},__vite_glob_0_31=Object.freeze(Object.defineProperty({__proto__:null,render:render$2o,default:dividerLocationP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2y={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2u=vue.createElementVNode("g",{class:"doubleArrowLeft"},[vue.createElementVNode("path",{d:"M8.266 2.328a.478.478 0 0 1 .328-.125.45.45 0 0 1 .328.14.45.45 0 0 1 0 .656L4.047 8l4.875 5c.093.094.14.206.14.336 0 .13-.047.24-.14.329a.465.465 0 0 1-.328.133.475.475 0 0 1-.328-.126L3.094 8.345a.513.513 0 0 1-.14-.352.46.46 0 0 1 .14-.336l5.172-5.328Zm4 0a.478.478 0 0 1 .328-.125.45.45 0 0 1 .328.14.45.45 0 0 1 .14.329.45.45 0 0 1-.14.327L8.047 8l4.875 5c.093.094.14.206.14.336 0 .13-.047.24-.14.329a.465.465 0 0 1-.328.133.475.475 0 0 1-.328-.126L7.094 8.345a.513.513 0 0 1-.14-.352.46.46 0 0 1 .14-.336l5.172-5.328Z",class:"primary"})],-1),_hoisted_3$2n=[_hoisted_2$2u];function render$2n(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2y,_hoisted_3$2n)}const doubleArrowLeft={render:render$2n},__vite_glob_0_32=Object.freeze(Object.defineProperty({__proto__:null,render:render$2n,default:doubleArrowLeft},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2x={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2t=vue.createElementVNode("g",{class:"doubleArrowRight"},[vue.createElementVNode("path",{d:"M7.078 2.328a.478.478 0 0 1 .328-.125.48.48 0 0 1 .328.125l5.172 5.328c.094.094.14.208.14.344 0 .136-.046.25-.14.344l-5.172 5.328a.478.478 0 0 1-.328.125.45.45 0 0 1-.328-.14.45.45 0 0 1 0-.656l4.875-5-4.875-5a.45.45 0 0 1-.14-.329c0-.125.046-.24.14-.344Zm-4 0a.478.478 0 0 1 .328-.125.48.48 0 0 1 .328.125l5.172 5.328c.094.094.14.208.14.344 0 .136-.046.25-.14.344l-5.172 5.328a.478.478 0 0 1-.328.125.45.45 0 0 1-.328-.14.45.45 0 0 1 0-.656l4.875-5-4.875-5a.45.45 0 0 1-.14-.329c0-.125.046-.24.14-.344Z",class:"primary"})],-1),_hoisted_3$2m=[_hoisted_2$2t];function render$2m(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2x,_hoisted_3$2m)}const doubleArrowRight={render:render$2m},__vite_glob_0_33=Object.freeze(Object.defineProperty({__proto__:null,render:render$2m,default:doubleArrowRight},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2w={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2s=vue.createElementVNode("g",{class:"drag"},[vue.createElementVNode("path",{d:"M12.334.795a.5.5 0 1 0-.668.743l.698.629H7.67a.5.5 0 0 0 0 1h4.694l-.698.628a.5.5 0 1 0 .668.743l1.634-1.47a.5.5 0 0 0 0-.803L12.334.795ZM4.328 2.15a.572.572 0 0 0-.168.405v7.26a.5.5 0 0 1-1 0v-.036c-.205.278-.324.67-.324 1.222 0 .515.34 1.322.909 2.027.577.714 1.239 1.14 1.755 1.14h3.84c1.146 0 1.86-1.011 1.86-1.814V8.2a.584.584 0 0 0-.583-.584.578.578 0 0 0-.58.576v.142a.5.5 0 1 1-1 0V7.27a.435.435 0 0 0-.861-.083v.957c0 .03-.003.06-.009.09a.5.5 0 0 1-1-.014v-.95c0-.05.003-.101.009-.151v-.515a.435.435 0 0 0-.87 0V8a.5.5 0 0 1-1 0V2.554a.572.572 0 0 0-.977-.405Zm5.616 4.616A1.581 1.581 0 0 1 12.2 8.2v4.153c0 1.258-1.07 2.814-2.86 2.814H5.5c-.983 0-1.903-.731-2.533-1.512-.638-.79-1.13-1.816-1.13-2.655 0-1.012.327-1.84 1.075-2.352a.498.498 0 0 1 .248-.086V2.554a1.572 1.572 0 1 1 3.145 0v2.681a1.434 1.434 0 0 1 1.716.722 1.434 1.434 0 0 1 1.923.808Z",class:"Union"})],-1),_hoisted_3$2l=[_hoisted_2$2s];function render$2l(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2w,_hoisted_3$2l)}const drag={render:render$2l},__vite_glob_0_34=Object.freeze(Object.defineProperty({__proto__:null,render:render$2l,default:drag},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2v={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2r=vue.createElementVNode("g",{class:"dragWidth"},[vue.createElementVNode("path",{d:"M4.354 4.98a.5.5 0 0 1 0 .707L2.542 7.5h10.92L11.65 5.687a.5.5 0 1 1 .708-.707l2.662 2.665a.498.498 0 0 1 .147.354V8a.499.499 0 0 1-.174.38l-2.64 2.64a.5.5 0 1 1-.707-.707L13.458 8.5H2.538l1.812 1.813a.5.5 0 1 1-.708.707L.98 8.355a.498.498 0 0 1-.147-.354V8a.5.5 0 0 1 .174-.379l2.64-2.641a.5.5 0 0 1 .707 0Z",class:"Vector (Stroke)"})],-1),_hoisted_3$2k=[_hoisted_2$2r];function render$2k(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2v,_hoisted_3$2k)}const dragWidth={render:render$2k},__vite_glob_0_35=Object.freeze(Object.defineProperty({__proto__:null,render:render$2k,default:dragWidth},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2u={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2q=vue.createElementVNode("g",{class:"dropUp0"},[vue.createElementVNode("path",{d:"M13.333 13.833a.5.5 0 1 0 0-1H2.666a.5.5 0 1 0 0 1h10.667Zm0-2.666a.5.5 0 1 0 0-1H2.666a.5.5 0 1 0 0 1h10.667Zm-.3-3.434a.5.5 0 1 0 .6-.8l-5.333-4a.5.5 0 0 0-.6 0l-5.334 4a.5.5 0 0 0 .6.8L8 3.958l5.033 3.775Z",class:"Union"})],-1),_hoisted_3$2j=[_hoisted_2$2q];function render$2j(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2u,_hoisted_3$2j)}const dropUp0={render:render$2j},__vite_glob_0_36=Object.freeze(Object.defineProperty({__proto__:null,render:render$2j,default:dropUp0},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2p=vue.createElementVNode("g",{class:"dropdown0"},[vue.createElementVNode("path",{d:"M2.667 2.833a.5.5 0 0 0 0 1h10.666a.5.5 0 0 0 0-1H2.667Zm0 2.667a.5.5 0 0 0 0 1h10.666a.5.5 0 0 0 0-1H2.667Zm.3 3.433a.5.5 0 0 0-.6.8l5.333 4a.5.5 0 0 0 .6 0l5.333-4a.5.5 0 1 0-.6-.8L8 12.708 2.967 8.933Z",class:"Union"})],-1),_hoisted_3$2i=[_hoisted_2$2p];function render$2i(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2t,_hoisted_3$2i)}const dropdown0={render:render$2i},__vite_glob_0_37=Object.freeze(Object.defineProperty({__proto__:null,render:render$2i,default:dropdown0},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2s={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2o=vue.createElementVNode("g",{class:"email"},[vue.createElementVNode("path",{d:"M14.67 2.5a.5.5 0 0 1 .497.5v5a.5.5 0 1 1-1 0V3.99L8.359 8.296a.6.6 0 0 1-.714 0L1.834 3.992V12.5H8a.5.5 0 0 1 0 1H1.333a.5.5 0 0 1-.5-.5V3a.5.5 0 0 1 .5-.5h13.325a.55.55 0 0 1 .012 0Zm-11.82 1 5.152 3.815L13.149 3.5H2.85Zm10.504 5.48a.5.5 0 0 0-.683-.023l-2.667 2.333a.5.5 0 0 0-.17.377V13a.5.5 0 0 0 .5.5h1.333a.5.5 0 0 0 .33-.124l2.666-2.333a.5.5 0 0 0 .024-.73L13.354 8.98Zm-2.52 3.52v-.606l2.143-1.876.625.624-2.123 1.858h-.645Z",class:"Union"})],-1),_hoisted_3$2h=[_hoisted_2$2o];function render$2h(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2s,_hoisted_3$2h)}const email={render:render$2h},__vite_glob_0_38=Object.freeze(Object.defineProperty({__proto__:null,render:render$2h,default:email},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2r={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2n=vue.createElementVNode("g",{class:"grid"},[vue.createElementVNode("path",{d:"M2.9 1.5a1.4 1.4 0 0 0-1.4 1.4v10.2a1.4 1.4 0 0 0 1.4 1.4h10.2a1.4 1.4 0 0 0 1.4-1.4V2.9a1.4 1.4 0 0 0-1.4-1.4H2.9Zm4.6 1v11H2.9a.4.4 0 0 1-.4-.4V2.9a.4.4 0 0 1 .4-.4h4.6Zm1 11v-11h4.6a.4.4 0 0 1 .4.4v10.2a.4.4 0 0 1-.4.4H8.5Z",class:"Union"})],-1),_hoisted_3$2g=[_hoisted_2$2n];function render$2g(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2r,_hoisted_3$2g)}const grid={render:render$2g},__vite_glob_0_39=Object.freeze(Object.defineProperty({__proto__:null,render:render$2g,default:grid},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2q={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 37 24"},_hoisted_2$2m=vue.createElementVNode("g",{class:"horizontalLayoutP1"},[vue.createElementVNode("path",{d:"M3.5 7a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Zm30 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Z",class:"primary"}),vue.createElementVNode("path",{d:"M7 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H7Zm10 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Z",class:"secondary"})],-1),_hoisted_3$2f=[_hoisted_2$2m];function render$2f(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2q,_hoisted_3$2f)}const horizontalLayoutP1={render:render$2f},__vite_glob_0_40=Object.freeze(Object.defineProperty({__proto__:null,render:render$2f,default:horizontalLayoutP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2p={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 37 24"},_hoisted_2$2l=vue.createElementVNode("g",{class:"horizontalLayoutP2"},[vue.createElementVNode("path",{d:"M3.5 7a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Zm30 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Z",class:"primary"}),vue.createElementVNode("path",{d:"M14 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Zm10 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Z",class:"secondary"})],-1),_hoisted_3$2e=[_hoisted_2$2l];function render$2e(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2p,_hoisted_3$2e)}const horizontalLayoutP2={render:render$2e},__vite_glob_0_41=Object.freeze(Object.defineProperty({__proto__:null,render:render$2e,default:horizontalLayoutP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2o={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 37 24"},_hoisted_2$2k=vue.createElementVNode("g",{class:"horizontalLayoutP3"},[vue.createElementVNode("path",{d:"M3.5 7a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Zm30 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Z",class:"primary"}),vue.createElementVNode("path",{d:"M11 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Zm10 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Z",class:"secondary"})],-1),_hoisted_3$2d=[_hoisted_2$2k];function render$2d(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2o,_hoisted_3$2d)}const horizontalLayoutP3={render:render$2d},__vite_glob_0_42=Object.freeze(Object.defineProperty({__proto__:null,render:render$2d,default:horizontalLayoutP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2n={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 37 24"},_hoisted_2$2j=vue.createElementVNode("g",{class:"horizontalLayoutP4"},[vue.createElementVNode("path",{d:"M3.5 7a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Zm30 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Z",class:"primary"}),vue.createElementVNode("path",{d:"M9 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9Zm13 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Z",class:"secondary"})],-1),_hoisted_3$2c=[_hoisted_2$2j];function render$2c(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2n,_hoisted_3$2c)}const horizontalLayoutP4={render:render$2c},__vite_glob_0_43=Object.freeze(Object.defineProperty({__proto__:null,render:render$2c,default:horizontalLayoutP4},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2m={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 37 24"},_hoisted_2$2i=vue.createElementVNode("g",{class:"horizontalLayoutP5"},[vue.createElementVNode("path",{d:"M3.5 7a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Zm30 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 1 0v-9a.5.5 0 0 0-.5-.5Z",class:"primary"}),vue.createElementVNode("path",{d:"M7 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H7Zm17 0a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-6Z",class:"secondary"})],-1),_hoisted_3$2b=[_hoisted_2$2i];function render$2b(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2m,_hoisted_3$2b)}const horizontalLayoutP5={render:render$2b},__vite_glob_0_44=Object.freeze(Object.defineProperty({__proto__:null,render:render$2b,default:horizontalLayoutP5},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2l={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2h=vue.createElementVNode("g",{class:"html"},[vue.createElementVNode("path",{d:"M1.5 3A1.5 1.5 0 0 1 3 1.5h10A1.5 1.5 0 0 1 14.5 3v10a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 13V3Zm1 2.51V13a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V5.51h-11Zm11-1V3a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v1.51h11ZM5.018 7.368c0-.237.215-.43.48-.43h5.005c.264 0 .479.193.479.43 0 .238-.215.43-.48.43H8.48v4.675c0 .237-.214.43-.479.43s-.48-.193-.48-.43V7.797H5.498c-.264 0-.479-.192-.479-.43Z",class:"Union"})],-1),_hoisted_3$2a=[_hoisted_2$2h];function render$2a(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2l,_hoisted_3$2a)}const html={render:render$2a},__vite_glob_0_45=Object.freeze(Object.defineProperty({__proto__:null,render:render$2a,default:html},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2k={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2g=vue.createElementVNode("g",{class:"input"},[vue.createElementVNode("path",{d:"M3 1.5A1.5 1.5 0 0 0 1.5 3v10A1.5 1.5 0 0 0 3 14.5h10a1.5 1.5 0 0 0 1.5-1.5V3A1.5 1.5 0 0 0 13 1.5H3ZM2.5 3a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V3Zm3 2a.5.5 0 0 0 0 1h2.111v5.441a.5.5 0 1 0 1 0V6h2.112a.5.5 0 0 0 0-1H5.5Z",class:"Union"})],-1),_hoisted_3$29=[_hoisted_2$2g];function render$29(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2k,_hoisted_3$29)}const input$1={render:render$29},__vite_glob_0_46=Object.freeze(Object.defineProperty({__proto__:null,render:render$29,default:input$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2j={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2f=vue.createElementVNode("g",{class:"label"},[vue.createElementVNode("path",{d:"M1.5 3A1.5 1.5 0 0 1 3 1.5h10A1.5 1.5 0 0 1 14.5 3v10a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 13V3Zm12 0a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v2.46h11V3Zm0 3.46h-11V13a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V6.46ZM3.8 3.5a.5.5 0 0 0 0 1h2a.5.5 0 1 0 0-1h-2Zm3 .5a.5.5 0 0 1 .5-.5h1a.5.5 0 1 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z",class:"Union"})],-1),_hoisted_3$28=[_hoisted_2$2f];function render$28(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2j,_hoisted_3$28)}const label$1={render:render$28},__vite_glob_0_47=Object.freeze(Object.defineProperty({__proto__:null,render:render$28,default:label$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2i={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2e=vue.createElementVNode("g",{class:"labelStructureP1"},[vue.createElementVNode("path",{d:"M13 13a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h19a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H13Zm0 14a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h55a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H13Z",class:"secondary"}),vue.createElementVNode("path",{d:"M7 13.5a.5.5 0 0 1 1 0v23a.5.5 0 0 1-1 0v-23Z",class:"primary"})],-1),_hoisted_3$27=[_hoisted_2$2e];function render$27(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2i,_hoisted_3$27)}const labelStructureP1={render:render$27},__vite_glob_0_48=Object.freeze(Object.defineProperty({__proto__:null,render:render$27,default:labelStructureP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2h={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2d=vue.createElementVNode("g",{class:"labelStructureP2"},[vue.createElementVNode("path",{d:"M7 20.5a.5.5 0 0 1 1 0v9a.5.5 0 0 1-1 0v-9Z",class:"primary"}),vue.createElementVNode("path",{d:"M14 20a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H14Zm19 0a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h35a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H33Z",class:"secondary"})],-1),_hoisted_3$26=[_hoisted_2$2d];function render$26(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2h,_hoisted_3$26)}const labelStructureP2={render:render$26},__vite_glob_0_49=Object.freeze(Object.defineProperty({__proto__:null,render:render$26,default:labelStructureP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2g={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$2c=vue.createElementVNode("g",{class:"labelStructureP3"},[vue.createElementVNode("path",{d:"M26 20.5a.5.5 0 0 1 1 0v9a.5.5 0 0 1-1 0v-9Z",class:"primary"}),vue.createElementVNode("path",{d:"M9 20a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H9Zm24 0a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h35a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H33Z",class:"secondary"})],-1),_hoisted_3$25=[_hoisted_2$2c];function render$25(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2g,_hoisted_3$25)}const labelStructureP3={render:render$25},__vite_glob_0_50=Object.freeze(Object.defineProperty({__proto__:null,render:render$25,default:labelStructureP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2f={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2b=vue.createElementVNode("g",{class:"language"},[vue.createElementVNode("path",{d:"M5.185 1.524a.5.5 0 0 1 .628.324l.321 1.006a.498.498 0 0 1 0 .304h3.197a.5.5 0 0 1 0 1h-.924l-.014.049A16.26 16.26 0 0 1 8.03 5.27c-.248.65-.616 1.491-1.088 2.186a6.53 6.53 0 0 1-.857 1c.592.41 1.311.794 1.953 1.1a23.251 23.251 0 0 0 1.451.634l.021.008.005.002h.002a.5.5 0 0 1 .219.163l1.143-2.566a.5.5 0 0 1 .806-.154.49.49 0 0 1 .116.162l2.655 5.99a.5.5 0 1 1-.914.406l-.624-1.407-3.168-.007-.628 1.412a.5.5 0 0 1-.914-.407l1.17-2.626a.498.498 0 0 1-.217-.031l-.003-.001-.006-.003-.025-.01a12.447 12.447 0 0 1-.422-.17c-.28-.117-.667-.286-1.099-.492-.717-.343-1.587-.806-2.292-1.326-.418.337-.849.64-1.243.9a21.33 21.33 0 0 1-1.8 1.06l-.03.015-.008.004-.002.001H2.23l-.225-.446.225.447a.5.5 0 0 1-.449-.894h.002l.006-.004.025-.013a12.59 12.59 0 0 0 .477-.257 20.36 20.36 0 0 0 1.23-.747c.339-.224.69-.47 1.026-.734-.562-.588-.96-1.26-1.226-1.807a8.527 8.527 0 0 1-.463-1.17l-.006-.021-.001-.006v-.002l-.001-.001.482-.133.482-.132v.002l.004.012.017.055a7.528 7.528 0 0 0 .386.96c.246.507.604 1.098 1.088 1.593a5.74 5.74 0 0 0 .806-.92c.407-.6.743-1.358.98-1.98.115-.302.205-.566.266-.757H1.987a.5.5 0 1 1 0-1h3.195L4.86 2.152a.5.5 0 0 1 .324-.628Zm-1.37 3.669-.483.132-.482.133a.5.5 0 0 1 .964-.265Zm6.38 6.595 2.28.005-1.138-2.567-1.142 2.562Z",class:"Union"})],-1),_hoisted_3$24=[_hoisted_2$2b];function render$24(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2f,_hoisted_3$24)}const language={render:render$24},__vite_glob_0_51=Object.freeze(Object.defineProperty({__proto__:null,render:render$24,default:language},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$2a=vue.createElementVNode("g",{class:"lineThickness"},[vue.createElementVNode("path",{d:"M14 3.5c0 .276-.207.5-.461.5H2.462C2.207 4 2 3.776 2 3.5s.207-.5.462-.5h11.077c.254 0 .461.224.461.5ZM2 7a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm1.5 3a1.5 1.5 0 0 0 0 3h9a1.5 1.5 0 0 0 0-3h-9Z",class:"Union"})],-1),_hoisted_3$23=[_hoisted_2$2a];function render$23(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2e,_hoisted_3$23)}const lineThickness={render:render$23},__vite_glob_0_52=Object.freeze(Object.defineProperty({__proto__:null,render:render$23,default:lineThickness},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2d={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$29=vue.createElementVNode("g",{class:"location"},[vue.createElementVNode("path",{d:"M3.167 5.56C3.167 2.939 5.341.834 8 .834c2.658 0 4.833 2.105 4.833 4.728 0 1.842-1.206 3.492-2.308 4.628a15.142 15.142 0 0 1-2.196 1.859l-.04.027-.01.007-.004.002h-.001L8 11.668l-.274.418-.001-.001-.004-.002-.01-.007-.04-.027a13.917 13.917 0 0 1-.655-.48 15.14 15.14 0 0 1-1.542-1.379C4.373 9.053 3.166 7.403 3.166 5.561Zm4.559 6.525L8 11.667l.274.418a.502.502 0 0 1-.548 0ZM8 11.057a14.134 14.134 0 0 0 1.808-1.564c1.065-1.098 2.025-2.501 2.025-3.932 0-2.047-1.704-3.728-3.833-3.728-2.13 0-3.833 1.68-3.833 3.728 0 1.43.96 2.834 2.025 3.932A14.134 14.134 0 0 0 8 11.057Zm4.235-.282a.5.5 0 0 1 .623-.335c.629.189 1.175.424 1.574.707.387.274.735.668.735 1.186 0 .519-.348.912-.735 1.187-.4.283-.945.518-1.574.707-1.265.379-2.982.606-4.858.606-1.875 0-3.593-.227-4.858-.607-.629-.188-1.174-.423-1.574-.706-.386-.274-.735-.668-.735-1.187 0-.518.349-.912.735-1.186.4-.283.945-.518 1.574-.707a.5.5 0 0 1 .288.958c-.578.173-1.008.37-1.283.565-.289.204-.313.337-.313.37 0 .034.024.167.313.371.275.195.706.391 1.283.565 1.148.344 2.764.564 4.57.564 1.807 0 3.422-.22 4.57-.564.578-.174 1.008-.37 1.284-.565.288-.204.313-.337.313-.37 0-.034-.025-.167-.313-.371-.276-.196-.706-.392-1.284-.565a.5.5 0 0 1-.335-.623ZM8 3.5a2.167 2.167 0 1 0 0 4.333A2.167 2.167 0 0 0 8 3.5Zm-.825 1.342a1.167 1.167 0 1 1 1.65 1.65 1.167 1.167 0 0 1-1.65-1.65Z",class:"Union"})],-1),_hoisted_3$22=[_hoisted_2$29];function render$22(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2d,_hoisted_3$22)}const location={render:render$22},__vite_glob_0_53=Object.freeze(Object.defineProperty({__proto__:null,render:render$22,default:location},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2c={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$28=vue.createElementVNode("g",{class:"minus"},[vue.createElementVNode("path",{d:"M1.5 8a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z",class:"Union"})],-1),_hoisted_3$21=[_hoisted_2$28];function render$21(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2c,_hoisted_3$21)}const minus={render:render$21},__vite_glob_0_54=Object.freeze(Object.defineProperty({__proto__:null,render:render$21,default:minus},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2b={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$27=vue.createElementVNode("g",{class:"minusBold"},[vue.createElementVNode("path",{d:"M1.5 8a1 1 0 0 1 1-1h11a1 1 0 1 1 0 2h-11a1 1 0 0 1-1-1Z",class:"primary"})],-1),_hoisted_3$20=[_hoisted_2$27];function render$20(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2b,_hoisted_3$20)}const minusBold={render:render$20},__vite_glob_0_55=Object.freeze(Object.defineProperty({__proto__:null,render:render$20,default:minusBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$2a={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$26=vue.createElementVNode("g",{class:"move1"},[vue.createElementVNode("path",{d:"M5.5 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm5 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-4 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-4 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",class:"primary"})],-1),_hoisted_3$1$=[_hoisted_2$26];function render$1$(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$2a,_hoisted_3$1$)}const move1={render:render$1$},__vite_glob_0_56=Object.freeze(Object.defineProperty({__proto__:null,render:render$1$,default:move1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$29={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$25=vue.createElementVNode("g",{class:"numberButtonP1"},[vue.createElementVNode("path",{d:"M42 7a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h32ZM10 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H10Z",class:"secondary"}),vue.createElementVNode("path",{d:"M42 7a1 1 0 0 1 1 1v3.5H33V7h9Zm1 5.5V16a1 1 0 0 1-1 1h-9v-4.5h10ZM32 6v12h10a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H32Zm3.875 4.431a.375.375 0 0 1-.265-.64l2.12-2.121a.375.375 0 0 1 .53 0l2.122 2.121a.375.375 0 0 1-.53.53l-1.857-1.856-1.856 1.857a.375.375 0 0 1-.265.11Zm.006 3.133a.375.375 0 0 0-.265.64l2.121 2.122a.375.375 0 0 0 .53 0l2.122-2.122a.375.375 0 0 0-.53-.53l-1.857 1.856-1.856-1.856a.375.375 0 0 0-.265-.11Z",class:"primary"})],-1),_hoisted_3$1_=[_hoisted_2$25];function render$1_(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$29,_hoisted_3$1_)}const numberButtonP1={render:render$1_},__vite_glob_0_57=Object.freeze(Object.defineProperty({__proto__:null,render:render$1_,default:numberButtonP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$28={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$24=vue.createElementVNode("g",{class:"numberButtonP2"},[vue.createElementVNode("path",{d:"M44 7a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h36ZM8 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H8Z",class:"secondary"}),vue.createElementVNode("path",{d:"M15 7v10H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h7ZM8 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8V6H8Zm3 9.25a.5.5 0 0 1-.5-.5V12.5H8.25a.5.5 0 0 1 0-1h2.25V9.25a.5.5 0 0 1 1 0v2.25h2.25a.5.5 0 0 1 0 1H11.5v2.25a.5.5 0 0 1-.5.5Zm27.25-3.75a.5.5 0 0 0 0 1h5.5a.5.5 0 0 0 0-1h-5.5ZM37 7v10h7a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-7Zm-1-1h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8V6Z",class:"primary"})],-1),_hoisted_3$1Z=[_hoisted_2$24];function render$1Z(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$28,_hoisted_3$1Z)}const numberButtonP2={render:render$1Z},__vite_glob_0_58=Object.freeze(Object.defineProperty({__proto__:null,render:render$1Z,default:numberButtonP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$27={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$23=vue.createElementVNode("g",{class:"numbers"},[vue.createElementVNode("path",{d:"M2.08 4.728a.1.1 0 0 1 .16.08v6.81a.1.1 0 0 1-.1.1H.977a.3.3 0 0 0-.3.3v.51a.3.3 0 0 0 .3.3h3.469a.3.3 0 0 0 .3-.3v-.51a.3.3 0 0 0-.3-.3H3.283a.1.1 0 0 1-.1-.1V3.473a.3.3 0 0 0-.3-.3h-.438a.3.3 0 0 0-.188.067L.754 4.453a.3.3 0 0 0-.11.264l.07.661a.2.2 0 0 0 .32.139l1.046-.789Zm7.93 7.8a.3.3 0 0 1-.3.3H5.546a.3.3 0 0 1-.3-.3v-.676c0-.083.034-.161.094-.219a15.123 15.123 0 0 0 1.39-1.549c.255-.32.498-.655.73-1.001.234-.352.441-.703.62-1.054a6.7 6.7 0 0 0 .426-1.034c.11-.342.164-.663.164-.962 0-.303-.041-.561-.124-.774a1.448 1.448 0 0 0-.317-.526 1.164 1.164 0 0 0-.452-.3 1.528 1.528 0 0 0-.521-.09c-.152 0-.31.03-.472.09-.162.057-.32.14-.476.248a3.178 3.178 0 0 0-.515.464c-.12.136-.362.087-.398-.09l-.102-.508a.277.277 0 0 1 .033-.201 2.05 2.05 0 0 1 .332-.407 2.71 2.71 0 0 1 .526-.403c.195-.117.399-.206.61-.266a2.19 2.19 0 0 1 .636-.098c.297 0 .58.065.848.195.271.126.51.308.715.546.205.234.367.52.486.859.122.333.184.71.184 1.131 0 .364-.052.735-.154 1.112-.1.373-.233.743-.402 1.112a10 10 0 0 1-.576 1.066 15.48 15.48 0 0 1-.665.989 19.016 19.016 0 0 1-1.132 1.406.1.1 0 0 0 .075.167h1.737l.6-.013c.186-.009.49 0 .49 0h.074a.3.3 0 0 1 .3.3v.486Zm2.336-5.423c.248 0 .483-.045.704-.135a2.02 2.02 0 0 0 .581-.351c.169-.145.303-.311.402-.5.1-.187.149-.38.149-.581a1.198 1.198 0 0 0-.422-.946 1.17 1.17 0 0 0-.417-.224 1.411 1.411 0 0 0-.451-.077c-.192 0-.37.017-.536.051-.166.034-.323.09-.472.166a2.09 2.09 0 0 0-.55.418c-.123.126-.35.068-.377-.106l-.081-.507a.277.277 0 0 1 .052-.214 2.15 2.15 0 0 1 .291-.307c.143-.128.298-.236.467-.326a2.438 2.438 0 0 1 1.156-.294c.308 0 .599.051.873.153.278.103.521.25.73.442.208.187.374.417.496.69.122.273.184.58.184.921 0 .294-.05.565-.15.812a2.462 2.462 0 0 1-.892 1.113c-.12.076-.238.137-.352.184-.049.02-.047.104.003.12.058.02.118.041.18.067.139.055.276.13.412.224.135.09.266.2.392.332s.236.288.332.467c.1.179.177.384.233.614.06.226.09.482.09.767 0 .375-.075.731-.223 1.068a2.882 2.882 0 0 1-.591.876 2.841 2.841 0 0 1-.864.588 2.51 2.51 0 0 1-1.027.218 2.58 2.58 0 0 1-1.215-.288 3.11 3.11 0 0 1-.863-.674.285.285 0 0 1-.07-.216l.064-.702c.017-.187.266-.256.39-.116l.096.103c.156.162.321.3.497.416.178.115.367.204.565.268.199.06.41.09.636.09a1.646 1.646 0 0 0 1.101-.435 1.73 1.73 0 0 0 .387-.55c.1-.222.15-.48.15-.774 0-.26-.054-.496-.16-.71a1.6 1.6 0 0 0-.431-.556 1.978 1.978 0 0 0-.655-.364 2.519 2.519 0 0 0-.814-.128h-.048a.3.3 0 0 1-.3-.3v-.487a.3.3 0 0 1 .3-.3h.048Z",class:"Union"})],-1),_hoisted_3$1Y=[_hoisted_2$23];function render$1Y(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$27,_hoisted_3$1Y)}const numbers={render:render$1Y},__vite_glob_0_59=Object.freeze(Object.defineProperty({__proto__:null,render:render$1Y,default:numbers},Symbol.toStringTag,{value:"Module"})),_hoisted_1$26={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$22=vue.createElementVNode("g",{class:"plus"},[vue.createElementVNode("path",{d:"M8 1.5a.5.5 0 0 0-.5.5v5.5H2a.5.5 0 0 0 0 1h5.5V14a.5.5 0 0 0 1 0V8.5H14a.5.5 0 0 0 0-1H8.5V2a.5.5 0 0 0-.5-.5Z",class:"Union"})],-1),_hoisted_3$1X=[_hoisted_2$22];function render$1X(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$26,_hoisted_3$1X)}const plus$1={render:render$1X},__vite_glob_0_60=Object.freeze(Object.defineProperty({__proto__:null,render:render$1X,default:plus$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$25={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$21=vue.createElementVNode("g",{class:"plusBold"},[vue.createElementVNode("path",{d:"M7 13.5a1 1 0 1 0 2 0V9h4.5a1 1 0 1 0 0-2H9V2.5a1 1 0 1 0-2 0V7H2.5a1 1 0 0 0 0 2H7v4.5Z",class:"primary"})],-1),_hoisted_3$1W=[_hoisted_2$21];function render$1W(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$25,_hoisted_3$1W)}const plusBold={render:render$1W},__vite_glob_0_61=Object.freeze(Object.defineProperty({__proto__:null,render:render$1W,default:plusBold},Symbol.toStringTag,{value:"Module"})),_hoisted_1$24={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$20=vue.createElementVNode("g",{class:"preview"},[vue.createElementVNode("path",{d:"M8 3.5c-2.015 0-3.795 1.088-5.033 2.115A14.263 14.263 0 0 0 1.08 7.513a8.121 8.121 0 0 0-.107.135l-.03.038-.007.01-.002.003-.001.002a.501.501 0 0 0 0 .599l.003.004.008.01.029.038.107.135a14.258 14.258 0 0 0 1.886 1.898C4.207 11.412 5.986 12.5 8 12.5c2.015 0 3.794-1.088 5.033-2.115a14.25 14.25 0 0 0 1.886-1.898l.108-.135.029-.038.008-.01.002-.003.001-.002a.501.501 0 0 0 0-.599h-.001l-.002-.004-.008-.01-.03-.038a12.4 12.4 0 0 0-.513-.608 14.149 14.149 0 0 0-1.48-1.425C11.794 4.588 10.015 3.5 8 3.5ZM14.666 8l.401.3-.4-.3Zm.4-.3s.001.001-.4.3l.4-.3ZM1.334 8l-.4-.3.4.3Zm-.4.3.4-.3-.4.3Zm1.296-.01A12.53 12.53 0 0 1 1.976 8a13.263 13.263 0 0 1 1.63-1.615C4.779 5.412 6.333 4.5 8 4.5c1.667 0 3.22.912 4.395 1.885A13.264 13.264 0 0 1 14.025 8a13.264 13.264 0 0 1-1.63 1.615C11.22 10.588 9.667 11.5 8 11.5c-1.667 0-3.221-.912-4.395-1.885-.58-.48-1.05-.963-1.376-1.324ZM8 5.834a2.167 2.167 0 1 0 0 4.334 2.167 2.167 0 0 0 0-4.334Zm-.825 1.342a1.167 1.167 0 1 1 1.65 1.65 1.167 1.167 0 0 1-1.65-1.65Z",class:"Union"})],-1),_hoisted_3$1V=[_hoisted_2$20];function render$1V(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$24,_hoisted_3$1V)}const preview={render:render$1V},__vite_glob_0_62=Object.freeze(Object.defineProperty({__proto__:null,render:render$1V,default:preview},Symbol.toStringTag,{value:"Module"})),_hoisted_1$23={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1$=vue.createElementVNode("g",{class:"radio"},[vue.createElementVNode("path",{d:"M2.407 8a5.593 5.593 0 1 1 11.186 0A5.593 5.593 0 0 1 2.407 8ZM8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.035 8a1.965 1.965 0 1 1 3.93 0 1.965 1.965 0 0 1-3.93 0ZM8 5.128a2.872 2.872 0 1 0 0 5.744 2.872 2.872 0 0 0 0-5.744Z",class:"Union"})],-1),_hoisted_3$1U=[_hoisted_2$1$];function render$1U(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$23,_hoisted_3$1U)}const radio={render:render$1U},__vite_glob_0_63=Object.freeze(Object.defineProperty({__proto__:null,render:render$1U,default:radio},Symbol.toStringTag,{value:"Module"})),_hoisted_1$22={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1_=vue.createElementVNode("g",{class:"radius"},[vue.createElementVNode("path",{d:"M2.5 8.458A5.958 5.958 0 0 1 8.458 2.5h4.584a.458.458 0 0 1 0 .917H8.458a5.042 5.042 0 0 0-5.041 5.041v4.584a.458.458 0 0 1-.917 0V8.458Z",class:"Vector 1526 (Stroke)"})],-1),_hoisted_3$1T=[_hoisted_2$1_];function render$1T(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$22,_hoisted_3$1T)}const radius={render:render$1T},__vite_glob_0_64=Object.freeze(Object.defineProperty({__proto__:null,render:render$1T,default:radius},Symbol.toStringTag,{value:"Module"})),_hoisted_1$21={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1Z=vue.createElementVNode("g",{class:"rating"},[vue.createElementVNode("path",{d:"M7.999 1.167a.5.5 0 0 1 .449.277l1.947 3.925 4.344.633a.5.5 0 0 1 .278.852l-3.16 3.094.75 4.3a.5.5 0 0 1-.727.527L8 12.706l-3.88 2.069a.5.5 0 0 1-.728-.528l.756-4.3L.984 6.855a.5.5 0 0 1 .278-.852l4.367-.633 1.922-3.922a.5.5 0 0 1 .448-.28Zm.004 1.63L6.41 6.046a.5.5 0 0 1-.377.275l-3.627.525 2.629 2.571a.5.5 0 0 1 .143.444l-.624 3.549 3.21-1.711a.5.5 0 0 1 .47 0l3.212 1.711-.62-3.55a.5.5 0 0 1 .143-.442l2.626-2.572-3.604-.525a.5.5 0 0 1-.376-.273l-1.613-3.25Z",class:"Vector (Stroke)"})],-1),_hoisted_3$1S=[_hoisted_2$1Z];function render$1S(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$21,_hoisted_3$1S)}const rating={render:render$1S},__vite_glob_0_65=Object.freeze(Object.defineProperty({__proto__:null,render:render$1S,default:rating},Symbol.toStringTag,{value:"Module"})),_hoisted_1$20={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1Y=vue.createElementVNode("g",{class:"redo"},[vue.createElementVNode("path",{d:"M9.106 1.87a.5.5 0 0 1 .546.114L15.025 7.5a.5.5 0 0 1 .01.688l-5.373 5.819a.5.5 0 0 1-.868-.34v-3.13c-.953-.105-1.956-.048-3.011.176-1.089.23-2.444 1.24-4.063 3.217a.5.5 0 0 1-.884-.367c.238-2.345 1.138-4.325 2.705-5.913 1.458-1.478 3.217-2.284 5.253-2.41V2.333a.5.5 0 0 1 .312-.463Zm.688 1.693v2.16a.5.5 0 0 1-.496.5c-1.984.015-3.657.721-5.045 2.128a8.267 8.267 0 0 0-2.096 3.587c1.196-1.213 2.334-1.975 3.418-2.205 1.32-.28 2.587-.324 3.8-.126a.5.5 0 0 1 .42.494v2.287l4.183-4.53-4.184-4.295Z",class:"Vector (Stroke)"})],-1),_hoisted_3$1R=[_hoisted_2$1Y];function render$1R(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$20,_hoisted_3$1R)}const redo={render:render$1R},__vite_glob_0_66=Object.freeze(Object.defineProperty({__proto__:null,render:render$1R,default:redo},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1$={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1X=vue.createElementVNode("g",{class:"right"},[vue.createElementVNode("path",{d:"M11.797 7.5H2.5a.487.487 0 0 0-.36.14A.487.487 0 0 0 2 8a.49.49 0 0 0 .14.36.49.49 0 0 0 .36.14h9.297L8.14 12.14a.522.522 0 0 0-.14.36c0 .135.05.252.149.351A.48.48 0 0 0 8.5 13a.522.522 0 0 0 .36-.14l4.5-4.5A.522.522 0 0 0 13.5 8a.522.522 0 0 0-.14-.36l-4.5-4.5A.522.522 0 0 0 8.5 3a.48.48 0 0 0-.351.148A.48.48 0 0 0 8 3.5c0 .135.047.255.14.36l3.657 3.64Z",class:"primary"})],-1),_hoisted_3$1Q=[_hoisted_2$1X];function render$1Q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1$,_hoisted_3$1Q)}const right={render:render$1Q},__vite_glob_0_67=Object.freeze(Object.defineProperty({__proto__:null,render:render$1Q,default:right},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1_={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1W=vue.createElementVNode("g",{class:"save"},[vue.createElementVNode("path",{d:"M3 2.5h1.167v1.833a1.5 1.5 0 0 0 1.5 1.5h4a.5.5 0 1 0 0-1h-4a.5.5 0 0 1-.5-.5V2.5h4.945a.5.5 0 0 1 .354.147l2.888 2.887a.499.499 0 0 1 .146.354V13a.5.5 0 0 1-.5.5h-1.167V9.667a1.5 1.5 0 0 0-1.5-1.5H5.666a1.5 1.5 0 0 0-1.5 1.5V13.5H3a.5.5 0 0 1-.5-.5V3a.5.5 0 0 1 .5-.5Zm1.667-1H3A1.5 1.5 0 0 0 1.5 3v10A1.5 1.5 0 0 0 3 14.5h10a1.5 1.5 0 0 0 1.5-1.5V5.888a1.5 1.5 0 0 0-.44-1.06l-2.887-2.889a1.5 1.5 0 0 0-1.061-.439H4.666Zm1 7.667h4.666a.5.5 0 0 1 .5.5V13.5H5.166V9.667a.5.5 0 0 1 .5-.5Z",class:"Union"})],-1),_hoisted_3$1P=[_hoisted_2$1W];function render$1P(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1_,_hoisted_3$1P)}const save={render:render$1P},__vite_glob_0_68=Object.freeze(Object.defineProperty({__proto__:null,render:render$1P,default:save},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1Z={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1V=vue.createElementVNode("g",{class:"search"},[vue.createElementVNode("path",{d:"m12.672 11.969 1.952 1.952c.094.105.14.222.14.352 0 .13-.049.244-.148.344a.47.47 0 0 1-.343.148.515.515 0 0 1-.352-.14l-1.953-1.953c-1.385 1.135-2.92 1.653-4.608 1.554-1.687-.099-3.15-.789-4.39-2.07-1.187-1.343-1.765-2.858-1.734-4.546.031-1.687.667-3.176 1.906-4.468C4.434 1.903 5.923 1.268 7.61 1.236c1.688-.031 3.203.547 4.546 1.734 1.281 1.24 1.971 2.703 2.07 4.39.1 1.687-.419 3.223-1.554 4.608Zm-4.937 1.265c1.563-.042 2.86-.578 3.89-1.61 1.03-1.03 1.567-2.327 1.61-3.889-.042-1.562-.579-2.859-1.61-3.89-1.031-1.03-2.328-1.566-3.89-1.608-1.562.041-2.859.578-3.89 1.609-1.03 1.03-1.567 2.327-1.609 3.89.042 1.562.578 2.858 1.61 3.889 1.03 1.03 2.327 1.567 3.89 1.609Z",class:"Union"})],-1),_hoisted_3$1O=[_hoisted_2$1V];function render$1O(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1Z,_hoisted_3$1O)}const search={render:render$1O},__vite_glob_0_69=Object.freeze(Object.defineProperty({__proto__:null,render:render$1O,default:search},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1Y={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1U=vue.createElementVNode("g",{class:"signature"},[vue.createElementVNode("path",{d:"M11.646.98a.5.5 0 0 1 .707 0l2.667 2.666a.5.5 0 0 1 0 .707L13.354 6.02l-7.667 7.667a.5.5 0 0 1-.256.136l-3.333.667a.5.5 0 0 1-.588-.588l.666-3.334a.5.5 0 0 1 .137-.255L9.97 2.656a.515.515 0 0 1 .02-.02L11.646.98Zm-1.313 2.727L3.54 10.5l.627.626 6.793-6.793-.627-.626Zm1.687.272v.001l.98.98.96-.96L12 2.04l-.96.96.98.979Zm-.353 1.061-6.793 6.793.626.626 6.793-6.793-.626-.626Zm-7.07 7.93-1.568-1.567-.392 1.96 1.96-.393Z",class:"Vector (Stroke)"})],-1),_hoisted_3$1N=[_hoisted_2$1U];function render$1N(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1Y,_hoisted_3$1N)}const signature={render:render$1N},__vite_glob_0_70=Object.freeze(Object.defineProperty({__proto__:null,render:render$1N,default:signature},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1X={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1T=vue.createElementVNode("g",{class:"slider"},[vue.createElementVNode("path",{d:"M14.517 3.684a2.167 2.167 0 0 0-4.27-.524h-8.23a.5.5 0 1 0 0 1h8.22a2.167 2.167 0 0 0 4.28-.476ZM12.35 2.517a1.167 1.167 0 1 1 0 2.333 1.167 1.167 0 0 1 0-2.333ZM8 5.833a2.168 2.168 0 0 0-2.105 1.652H2a.5.5 0 1 0 0 1h3.888a2.167 2.167 0 0 0 4.217.03H14a.5.5 0 1 0 0-1h-3.888A2.167 2.167 0 0 0 8 5.833Zm6.483 6.507a.5.5 0 0 1-.5.5h-8.23a2.168 2.168 0 1 1 .011-1h8.22a.5.5 0 0 1 .5.5ZM9.167 8a1.167 1.167 0 1 1-2.333 0 1.167 1.167 0 0 1 2.333 0ZM3.65 11.15a1.167 1.167 0 1 0 0 2.333 1.167 1.167 0 0 0 0-2.333Z",class:"Union"})],-1),_hoisted_3$1M=[_hoisted_2$1T];function render$1M(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1X,_hoisted_3$1M)}const slider={render:render$1M},__vite_glob_0_71=Object.freeze(Object.defineProperty({__proto__:null,render:render$1M,default:slider},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1W={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1S=vue.createElementVNode("g",{class:"sort"},[vue.createElementVNode("path",{d:"M6 1.5a.49.49 0 0 1 .14-.36A.487.487 0 0 1 6.5 1a.49.49 0 0 1 .36.14.49.49 0 0 1 .14.36v12.297a.45.45 0 0 1-.086.273.555.555 0 0 1-.227.18.462.462 0 0 1-.289.031.504.504 0 0 1-.258-.14L1.5 9.501a.477.477 0 0 1-.14-.352c0-.14.046-.258.14-.351a.486.486 0 0 1 .351-.157c.13 0 .248.052.352.156L6 12.595V1.5Zm3 .703a.45.45 0 0 1 .086-.273.555.555 0 0 1 .226-.18.462.462 0 0 1 .29-.032.508.508 0 0 1 .257.141l4.64 4.64a.473.473 0 0 1 .141.352c0 .14-.046.258-.14.351a.486.486 0 0 1-.352.157.486.486 0 0 1-.351-.157L10 3.406v11.093a.487.487 0 0 1-.14.36.487.487 0 0 1-.36.14.487.487 0 0 1-.36-.14.487.487 0 0 1-.14-.36V2.204Z",class:"primary"})],-1),_hoisted_3$1L=[_hoisted_2$1S];function render$1L(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1W,_hoisted_3$1L)}const sort={render:render$1L},__vite_glob_0_72=Object.freeze(Object.defineProperty({__proto__:null,render:render$1L,default:sort},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1V={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1R=vue.createElementVNode("g",{class:"spaceBottom"},[vue.createElementVNode("path",{d:"M11.25 3.75h-6v6h6v-6Zm-6 7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6Zm-2.538 1.5c-.255 0-.462.224-.462.5s.207.5.462.5h11.077c.254 0 .461-.224.461-.5s-.207-.5-.461-.5H2.712Z",class:"Union"})],-1),_hoisted_3$1K=[_hoisted_2$1R];function render$1K(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1V,_hoisted_3$1K)}const spaceBottom={render:render$1K},__vite_glob_0_73=Object.freeze(Object.defineProperty({__proto__:null,render:render$1K,default:spaceBottom},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1U={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1Q=vue.createElementVNode("g",{class:"spaceLeft"},[vue.createElementVNode("path",{d:"M4 2.462C4 2.207 3.776 2 3.5 2s-.5.207-.5.462v11.077c0 .254.224.461.5.461s.5-.207.5-.461V2.462ZM12.5 11V5h-6v6h6Zm-7-6a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5Z",class:"Union"})],-1),_hoisted_3$1J=[_hoisted_2$1Q];function render$1J(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1U,_hoisted_3$1J)}const spaceLeft={render:render$1J},__vite_glob_0_74=Object.freeze(Object.defineProperty({__proto__:null,render:render$1J,default:spaceLeft},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1T={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1P=vue.createElementVNode("g",{class:"spaceRight"},[vue.createElementVNode("path",{d:"M12.5 13.539c0 .254.224.461.5.461s.5-.207.5-.461V2.462c0-.255-.224-.462-.5-.462s-.5.207-.5.462v11.077ZM4 5v6h6V5H4Zm7 6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6Z",class:"Union"})],-1),_hoisted_3$1I=[_hoisted_2$1P];function render$1I(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1T,_hoisted_3$1I)}const spaceRight={render:render$1I},__vite_glob_0_75=Object.freeze(Object.defineProperty({__proto__:null,render:render$1I,default:spaceRight},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1S={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1O=vue.createElementVNode("g",{class:"spaceTop"},[vue.createElementVNode("path",{d:"M13.789 3.75c.254 0 .461-.224.461-.5s-.207-.5-.461-.5H2.712c-.255 0-.462.224-.462.5s.207.5.462.5h11.077Zm-8.539 8.5h6v-6h-6v6Zm6-7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6Z",class:"Union"})],-1),_hoisted_3$1H=[_hoisted_2$1O];function render$1H(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1S,_hoisted_3$1H)}const spaceTop={render:render$1H},__vite_glob_0_76=Object.freeze(Object.defineProperty({__proto__:null,render:render$1H,default:spaceTop},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1R={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1N=vue.createElementVNode("g",{class:"switch"},[vue.createElementVNode("path",{d:"M2.352 2.352a2.899 2.899 0 0 1 2.05-.85h7.196a2.899 2.899 0 1 1 0 5.798H4.401a2.899 2.899 0 0 1-2.05-4.948Zm2.05.15a1.899 1.899 0 0 0 0 3.798h7.196a1.899 1.899 0 0 0 0-3.798H4.401ZM2.351 9.55a2.899 2.899 0 0 1 2.05-.85h7.196a2.899 2.899 0 1 1 0 5.799H4.401a2.899 2.899 0 0 1-2.05-4.95Zm2.05.15a1.899 1.899 0 1 0 0 3.799h7.196a1.9 1.9 0 0 0 0-3.799H4.401Zm8.096-5.297a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0ZM4.4 12.499a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z",class:"Union"})],-1),_hoisted_3$1G=[_hoisted_2$1N];function render$1G(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1R,_hoisted_3$1G)}const _switch={render:render$1G},__vite_glob_0_77=Object.freeze(Object.defineProperty({__proto__:null,render:render$1G,default:_switch},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1Q={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$1M=vue.createElementVNode("g",{class:"tabStyleP1"},[vue.createElementVNode("path",{d:"M8 22a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h17a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H8Zm.5 10a.5.5 0 0 0 0 1h16a.5.5 0 0 0 0-1h-16Z",class:"primary"}),vue.createElementVNode("path",{d:"M33 22a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H33Zm22 0a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H55Z",class:"secondary"})],-1),_hoisted_3$1F=[_hoisted_2$1M];function render$1F(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1Q,_hoisted_3$1F)}const tabStyleP1={render:render$1F},__vite_glob_0_78=Object.freeze(Object.defineProperty({__proto__:null,render:render$1F,default:tabStyleP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1P={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$1L=vue.createElementVNode("g",{class:"tabStyleP2"},[vue.createElementVNode("path",{d:"M39 22a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H39Zm19 0a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H58Z",class:"secondary"}),vue.createElementVNode("path",{d:"M6.5 23a3.5 3.5 0 0 1 3.5-3.5h18a3.5 3.5 0 0 1 3.5 3.5v7a.5.5 0 0 0 1 0v-7a4.5 4.5 0 0 0-4.5-4.5H10A4.5 4.5 0 0 0 5.5 23v7a.5.5 0 0 0 1 0v-7Zm4.5-1a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H11Z",class:"primary"})],-1),_hoisted_3$1E=[_hoisted_2$1L];function render$1E(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1P,_hoisted_3$1E)}const tabStyleP2={render:render$1E},__vite_glob_0_79=Object.freeze(Object.defineProperty({__proto__:null,render:render$1E,default:tabStyleP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1O={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 77 50"},_hoisted_2$1K=vue.createElementVNode("g",{class:"tabStyleP3"},[vue.createElementVNode("path",{d:"M9 24a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H11a2 2 0 0 1-2-2v-4Z",class:"primary"}),vue.createElementVNode("path",{d:"M6.5 23a3.5 3.5 0 0 1 3.5-3.5h57a3.5 3.5 0 0 1 3.5 3.5v7a.5.5 0 0 0 1 0v-7a4.5 4.5 0 0 0-4.5-4.5H10A4.5 4.5 0 0 0 5.5 23v7a.5.5 0 0 0 1 0v-7ZM34 24a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H36a2 2 0 0 1-2-2v-4Zm19 0a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H55a2 2 0 0 1-2-2v-4Z",class:"secondary"})],-1),_hoisted_3$1D=[_hoisted_2$1K];function render$1D(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1O,_hoisted_3$1D)}const tabStyleP3={render:render$1D},__vite_glob_0_80=Object.freeze(Object.defineProperty({__proto__:null,render:render$1D,default:tabStyleP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1N={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1J=vue.createElementVNode("g",{class:"table"},[vue.createElementVNode("path",{d:"M2.451 2.61v4.914h5.073V2.451H2.61a.159.159 0 0 0-.159.159Zm0 5.866v4.914c0 .088.071.159.159.159h4.914V8.476H2.451Zm6.025 5.073h4.914a.159.159 0 0 0 .159-.159V8.476H8.476v5.073Zm5.073-6.025V2.61a.159.159 0 0 0-.159-.159H8.476v5.073h5.073ZM14.5 8v5.39a1.11 1.11 0 0 1-1.11 1.11H2.61a1.11 1.11 0 0 1-1.11-1.11V2.61c0-.613.497-1.11 1.11-1.11h10.78c.613 0 1.11.497 1.11 1.11V8Z",class:"Union"})],-1),_hoisted_3$1C=[_hoisted_2$1J];function render$1C(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1N,_hoisted_3$1C)}const table$1={render:render$1C},__vite_glob_0_81=Object.freeze(Object.defineProperty({__proto__:null,render:render$1C,default:table$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1M={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1I=vue.createElementVNode("g",{class:"tableInsertCol"},[vue.createElementVNode("path",{d:"M11.5 2.5v11h2v-11h-2Zm-1 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-11Zm-6 6v1a.5.5 0 1 0 1 0v-1h1a.5.5 0 1 0 0-1h-1v-1a.5.5 0 1 0-1 0v1h-1a.5.5 0 1 0 0 1h1Zm.5 2a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Zm0 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z",class:"primary"})],-1),_hoisted_3$1B=[_hoisted_2$1I];function render$1B(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1M,_hoisted_3$1B)}const tableInsertCol={render:render$1B},__vite_glob_0_82=Object.freeze(Object.defineProperty({__proto__:null,render:render$1B,default:tableInsertCol},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1L={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1H=vue.createElementVNode("g",{class:"tableInsertRow"},[vue.createElementVNode("path",{d:"M13.5 11.5h-11v2h11v-2Zm0-1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h11Zm-6-6h-1a.5.5 0 1 0 0 1h1v1a.5.5 0 1 0 1 0v-1h1a.5.5 0 1 0 0-1h-1v-1a.5.5 0 1 0-1 0v1Zm-2 .5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Zm-1 0a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0Z",class:"primary"})],-1),_hoisted_3$1A=[_hoisted_2$1H];function render$1A(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1L,_hoisted_3$1A)}const tableInsertRow={render:render$1A},__vite_glob_0_83=Object.freeze(Object.defineProperty({__proto__:null,render:render$1A,default:tableInsertRow},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1K={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1G=vue.createElementVNode("g",{class:"tableOperation"},[vue.createElementVNode("path",{d:"M6.538 2.223h-4.25v4.25h4.25v-4.25Zm1 0v4.25h4.25v-4.25h-4.25Zm-1 5.25h-4.25v4.25h4.25v-4.25Zm5.75 0h-4.75v4.75a.5.5 0 0 1-.5.5h-4.75a1 1 0 0 1-1-1v-9.5a1 1 0 0 1 1-1h9.5a1 1 0 0 1 1 1v4.75a.5.5 0 0 1-.5.5Zm.915.676a1 1 0 0 0-1.414 0l-3.42 3.42a1 1 0 0 0-.275.52L7.81 13.59a1 1 0 0 0 1.169 1.169l1.5-.285A1 1 0 0 0 11 14.2l3.42-3.42a1 1 0 0 0 0-1.414L13.203 8.15Zm-2.91 5.343-1.5.284.284-1.5 3.42-3.42 1.215 1.217-3.419 3.419Z",class:"primary"})],-1),_hoisted_3$1z=[_hoisted_2$1G];function render$1z(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1K,_hoisted_3$1z)}const tableOperation={render:render$1z},__vite_glob_0_84=Object.freeze(Object.defineProperty({__proto__:null,render:render$1z,default:tableOperation},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1J={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1F=vue.createElementVNode("g",{class:"tableStokeP1"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"})],-1),_hoisted_3$1y=[_hoisted_2$1F];function render$1y(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1J,_hoisted_3$1y)}const tableStokeP1={render:render$1y},__vite_glob_0_85=Object.freeze(Object.defineProperty({__proto__:null,render:render$1y,default:tableStokeP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1I={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1E=vue.createElementVNode("g",{class:"tableStokeP2"},[vue.createElementVNode("path",{d:"M2 3v10a.997.997 0 0 0 1 1h10a.998.998 0 0 0 1-1V3a.998.998 0 0 0-1-1H3a.998.998 0 0 0-1 1Zm5.5 0v4.5H3v-4a.498.498 0 0 1 .5-.5h4Zm1 4.5V3h4a.498.498 0 0 1 .5.5v4H8.5Zm-1 1V13h-4a.5.5 0 0 1-.5-.5v-4h4.5Zm1 4.5V8.5H13v4a.499.499 0 0 1-.5.5h-4Z",class:"primary"})],-1),_hoisted_3$1x=[_hoisted_2$1E];function render$1x(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1I,_hoisted_3$1x)}const tableStokeP2={render:render$1x},__vite_glob_0_86=Object.freeze(Object.defineProperty({__proto__:null,render:render$1x,default:tableStokeP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1H={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1D=vue.createElementVNode("g",{class:"tableStokeP3"},[vue.createElementVNode("path",{d:"M8.5 3V2h-1v1h1Zm0 1.833v-1h-1v1h1Zm0 1.834v-1h-1v1h1Zm0 3.666v-1h-1v1h1Zm0 1.834v-1h-1v1h1ZM8.5 14v-1h-1v1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M2 3v10a.997.997 0 0 0 1 1h10a.998.998 0 0 0 1-1V3a.998.998 0 0 0-1-1H3a.998.998 0 0 0-1 1Zm1 .5a.498.498 0 0 1 .5-.5h9a.498.498 0 0 1 .5.5v9a.499.499 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9Z",class:"primary"})],-1),_hoisted_3$1w=[_hoisted_2$1D];function render$1w(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1H,_hoisted_3$1w)}const tableStokeP3={render:render$1w},__vite_glob_0_87=Object.freeze(Object.defineProperty({__proto__:null,render:render$1w,default:tableStokeP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1G={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1C=vue.createElementVNode("g",{class:"tableStokeP4"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z",class:"primary"})],-1),_hoisted_3$1v=[_hoisted_2$1C];function render$1v(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1G,_hoisted_3$1v)}const tableStokeP4={render:render$1v},__vite_glob_0_88=Object.freeze(Object.defineProperty({__proto__:null,render:render$1v,default:tableStokeP4},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1F={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1B=vue.createElementVNode("g",{class:"tableStokeP5"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M3 2.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0v-11Z",class:"primary"})],-1),_hoisted_3$1u=[_hoisted_2$1B];function render$1u(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1F,_hoisted_3$1u)}const tableStokeP5={render:render$1u},__vite_glob_0_89=Object.freeze(Object.defineProperty({__proto__:null,render:render$1u,default:tableStokeP5},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1E={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1A=vue.createElementVNode("g",{class:"tableStokeP6"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M14 2.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0v-11Z",class:"primary"})],-1),_hoisted_3$1t=[_hoisted_2$1A];function render$1t(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1E,_hoisted_3$1t)}const tableStokeP6={render:render$1t},__vite_glob_0_90=Object.freeze(Object.defineProperty({__proto__:null,render:render$1t,default:tableStokeP6},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1D={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1z=vue.createElementVNode("g",{class:"tableStokeP7"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M13.5 2h-11a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1Z",class:"primary"})],-1),_hoisted_3$1s=[_hoisted_2$1z];function render$1s(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1D,_hoisted_3$1s)}const tableStokeP7={render:render$1s},__vite_glob_0_91=Object.freeze(Object.defineProperty({__proto__:null,render:render$1s,default:tableStokeP7},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1C={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1y=vue.createElementVNode("g",{class:"tableStokeP8"},[vue.createElementVNode("path",{d:"M3 2v1H2V2h1Zm.833 0h1v1h-1V2Zm1.834 0h1v1h-1V2Zm4.666 0h-1v1h1V2Zm1.834 0h-1v1h1V2ZM13 2h1v1h-1V2ZM3 3.833v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 5.667v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 9.333v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 11.167v1H2v-1h1Zm11 0v1h-1v-1h1ZM3 13v1H2v-1h1Zm.833 0h1v1h-1v-1Zm1.834 0h1v1h-1v-1Zm4.666 0h-1v1h1v-1Zm.834 0h1v1h-1v-1ZM14 13v1h-1v-1h1ZM8.5 2v1h-1V2h1Zm0 1.833v1h-1v-1h1Zm0 1.834v1h-1v-1h1Zm0 3.666v1h-1v-1h1Zm0 1.834v1h-1v-1h1ZM8.5 13v1h-1v-1h1ZM3 7.5H2v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.833 0h-1v1h1v-1Zm1.834 0h-1v1h1v-1ZM14 7.5h-1v1h1v-1Z",class:"secondary"}),vue.createElementVNode("path",{d:"M13.5 13h-11a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1Z",class:"primary"})],-1),_hoisted_3$1r=[_hoisted_2$1y];function render$1r(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1C,_hoisted_3$1r)}const tableStokeP8={render:render$1r},__vite_glob_0_92=Object.freeze(Object.defineProperty({__proto__:null,render:render$1r,default:tableStokeP8},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1B={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$1x=vue.createElementVNode("g",{class:"tabsLocationP1"},[vue.createElementVNode("path",{d:"M6 12.5a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4Z",class:"secondary"}),vue.createElementVNode("path",{d:"M8 7a1.5 1.5 0 0 1 1.5-1.5h9a1.5 1.5 0 0 1 0 3h-9A1.5 1.5 0 0 1 8 7Zm13 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3A1.5 1.5 0 0 1 21 7Zm8.5-1.5a1.5 1.5 0 0 0 0 3h3a1.5 1.5 0 0 0 0-3h-3Z",class:"primary"})],-1),_hoisted_3$1q=[_hoisted_2$1x];function render$1q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1B,_hoisted_3$1q)}const tabsLocationP1={render:render$1q},__vite_glob_0_93=Object.freeze(Object.defineProperty({__proto__:null,render:render$1q,default:tabsLocationP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1A={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$1w=vue.createElementVNode("g",{class:"tabsLocationP2"},[vue.createElementVNode("path",{d:"M6 7.5a2 2 0 0 1 2-2h36a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4Z",class:"secondary"}),vue.createElementVNode("path",{d:"M8 17a1.5 1.5 0 0 1 1.5-1.5h9a1.5 1.5 0 0 1 0 3h-9A1.5 1.5 0 0 1 8 17Zm13 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3A1.5 1.5 0 0 1 21 17Zm8.5-1.5a1.5 1.5 0 0 0 0 3h3a1.5 1.5 0 0 0 0-3h-3Z",class:"primary"})],-1),_hoisted_3$1p=[_hoisted_2$1w];function render$1p(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1A,_hoisted_3$1p)}const tabsLocationP2={render:render$1p},__vite_glob_0_94=Object.freeze(Object.defineProperty({__proto__:null,render:render$1p,default:tabsLocationP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1z={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$1v=vue.createElementVNode("g",{class:"tabsLocationP3"},[vue.createElementVNode("path",{d:"M14 8a2 2 0 0 1 2-2h29a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V8Z",class:"secondary"}),vue.createElementVNode("path",{d:"M5 8a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8Zm0 5a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1 2a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2H6Z",class:"primary"})],-1),_hoisted_3$1o=[_hoisted_2$1v];function render$1o(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1z,_hoisted_3$1o)}const tabsLocationP3={render:render$1o},__vite_glob_0_95=Object.freeze(Object.defineProperty({__proto__:null,render:render$1o,default:tabsLocationP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1y={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 24"},_hoisted_2$1u=vue.createElementVNode("g",{class:"tabsLocationP4"},[vue.createElementVNode("path",{d:"M5 8a2 2 0 0 1 2-2h29a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8Z",class:"secondary"}),vue.createElementVNode("path",{d:"M40 8a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1V8Zm0 5a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm1 2a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2h-5Z",class:"primary"})],-1),_hoisted_3$1n=[_hoisted_2$1u];function render$1n(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1y,_hoisted_3$1n)}const tabsLocationP4={render:render$1n},__vite_glob_0_96=Object.freeze(Object.defineProperty({__proto__:null,render:render$1n,default:tabsLocationP4},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1x={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1t=vue.createElementVNode("g",{class:"textarea"},[vue.createElementVNode("path",{d:"M8 2.5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H8Zm0 3.333a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H8ZM2 9.167a.5.5 0 1 0 0 1h12a.5.5 0 0 0 0-1H2ZM2 12.5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H2Zm2.114-9.724a.5.5 0 0 0-.894 0L1.553 6.11a.5.5 0 1 0 .894.447l.195-.39h2.05l.194.39a.5.5 0 0 0 .895-.447L4.114 2.776Zm.077 2.39H3.142l.525-1.048.524 1.049Z",class:"Union"})],-1),_hoisted_3$1m=[_hoisted_2$1t];function render$1m(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1x,_hoisted_3$1m)}const textarea={render:render$1m},__vite_glob_0_97=Object.freeze(Object.defineProperty({__proto__:null,render:render$1m,default:textarea},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1w={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1s=vue.createElementVNode("g",{class:"time","clip-path":"url(#a)"},[vue.createElementVNode("path",{d:"M3.957 1.74a.5.5 0 0 0-.58-.814L1.042 2.593a.5.5 0 1 0 .581.814L3.957 1.74Zm8.667-.814a.5.5 0 0 0-.581.814l2.333 1.667a.5.5 0 0 0 .582-.814L12.623.926ZM8.42 5.118a.5.5 0 0 0-1 0v3.67a.5.5 0 0 0 .146.353l2.591 2.59a.5.5 0 1 0 .707-.706L8.42 8.58V5.118ZM8 2.056a6.611 6.611 0 1 0 0 13.222A6.611 6.611 0 0 0 8 2.056Zm-5.611 6.61a5.611 5.611 0 1 1 11.222.001 5.611 5.611 0 0 1-11.222 0Z",class:"Union"})],-1),_hoisted_3$1l=vue.createElementVNode("defs",null,[vue.createElementVNode("clipPath",{id:"a",class:"a"},[vue.createElementVNode("path",{d:"M0 0h16v16H0z"})])],-1),_hoisted_4$w=[_hoisted_2$1s,_hoisted_3$1l];function render$1l(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1w,_hoisted_4$w)}const time={render:render$1l},__vite_glob_0_98=Object.freeze(Object.defineProperty({__proto__:null,render:render$1l,default:time},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1v={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1r=vue.createElementVNode("g",{class:"title"},[vue.createElementVNode("path",{d:"M3.5 3a.5.5 0 0 0 0 1h4v8a.5.5 0 0 0 1 0V4h4a.5.5 0 0 0 0-1h-9Z",class:"Union"})],-1),_hoisted_3$1k=[_hoisted_2$1r];function render$1k(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1v,_hoisted_3$1k)}const title={render:render$1k},__vite_glob_0_99=Object.freeze(Object.defineProperty({__proto__:null,render:render$1k,default:title},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1u={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1q=vue.createElementVNode("g",{class:"top"},[vue.createElementVNode("path",{d:"M8.938 3.203v9.39a.455.455 0 0 1-.469.454.455.455 0 0 1-.47-.454v-9.39L4.563 6.859A.418.418 0 0 1 4.234 7a.432.432 0 0 1-.336-.149.51.51 0 0 1-.133-.351c0-.135.047-.255.14-.36l4.235-4.5a.418.418 0 0 1 .328-.14.42.42 0 0 1 .328.14l4.235 4.5c.093.105.14.225.14.36a.51.51 0 0 1-.133.351.423.423 0 0 1-.328.149.46.46 0 0 1-.336-.14L8.938 3.202Z",class:"primary"})],-1),_hoisted_3$1j=[_hoisted_2$1q];function render$1j(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1u,_hoisted_3$1j)}const top={render:render$1j},__vite_glob_0_100=Object.freeze(Object.defineProperty({__proto__:null,render:render$1j,default:top},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1p=vue.createElementVNode("g",{class:"topLeft"},[vue.createElementVNode("path",{d:"M4.708 4H10.5a.5.5 0 0 0 0-1H3.525a.496.496 0 0 0-.379.146.5.5 0 0 0-.146.376V10.5a.5.5 0 0 0 1 0V4.708l7.646 7.646a.5.5 0 1 0 .708-.708L4.708 4Z",class:"primary"})],-1),_hoisted_3$1i=[_hoisted_2$1p];function render$1i(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1t,_hoisted_3$1i)}const topLeft={render:render$1i},__vite_glob_0_101=Object.freeze(Object.defineProperty({__proto__:null,render:render$1i,default:topLeft},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1s={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1o=vue.createElementVNode("g",{class:"topRight"},[vue.createElementVNode("path",{d:"M11.292 4H5.525a.5.5 0 0 1 0-1h6.95a.497.497 0 0 1 .38.146.5.5 0 0 1 .145.384v6.97a.5.5 0 0 1-1 0V4.708l-7.646 7.646a.5.5 0 0 1-.816-.546.501.501 0 0 1 .108-.162L11.292 4Z",class:"primary"})],-1),_hoisted_3$1h=[_hoisted_2$1o];function render$1h(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1s,_hoisted_3$1h)}const topRight={render:render$1h},__vite_glob_0_102=Object.freeze(Object.defineProperty({__proto__:null,render:render$1h,default:topRight},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1r={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1n=vue.createElementVNode("g",{class:"undo"},[vue.createElementVNode("path",{d:"M6.894 1.87a.5.5 0 0 1 .312.463V5.24c2.037.126 3.795.932 5.253 2.41 1.568 1.588 2.468 3.567 2.705 5.913a.5.5 0 0 1-.884.367c-1.62-1.977-2.974-2.986-4.062-3.217-1.056-.224-2.059-.28-3.012-.175v3.13a.5.5 0 0 1-.867.339L.966 8.187a.5.5 0 0 1 .01-.688l5.372-5.515a.5.5 0 0 1 .546-.114ZM2.023 7.857l4.183 4.531v-2.287a.5.5 0 0 1 .42-.494c1.212-.198 2.48-.153 3.8.126 1.083.23 2.222.992 3.417 2.205a8.266 8.266 0 0 0-2.095-3.587c-1.39-1.407-3.061-2.113-5.046-2.129a.5.5 0 0 1-.496-.5V3.563L2.023 7.857Z",class:"Vector (Stroke)"})],-1),_hoisted_3$1g=[_hoisted_2$1n];function render$1g(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1r,_hoisted_3$1g)}const undo={render:render$1g},__vite_glob_0_103=Object.freeze(Object.defineProperty({__proto__:null,render:render$1g,default:undo},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1q={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1m=vue.createElementVNode("g",{class:"upload"},[vue.createElementVNode("path",{d:"M2.215 2.549a.167.167 0 0 1 .118-.049H6.1l1.517 1.82A.5.5 0 0 0 8 4.5h5.666a.167.167 0 0 1 .167.167v8.666a.167.167 0 0 1-.167.167H2.333a.167.167 0 0 1-.167-.167V2.667c0-.045.018-.087.05-.118ZM2.333 1.5a1.167 1.167 0 0 0-1.167 1.167v10.666A1.167 1.167 0 0 0 2.333 14.5h11.334a1.167 1.167 0 0 0 1.166-1.167V4.667A1.167 1.167 0 0 0 13.666 3.5H8.234L6.717 1.68a.5.5 0 0 0-.384-.18h-4Zm6.02 4.813a.5.5 0 0 0-.707 0l-2 2a.5.5 0 1 0 .708.707L7.5 7.874v3.46a.5.5 0 0 0 1 0V7.871l1.147 1.144a.5.5 0 1 0 .706-.708l-2-1.995Z",class:"Union"})],-1),_hoisted_3$1f=[_hoisted_2$1m];function render$1f(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1q,_hoisted_3$1f)}const upload={render:render$1f},__vite_glob_0_104=Object.freeze(Object.defineProperty({__proto__:null,render:render$1f,default:upload},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1p={xmlns:"http://www.w3.org/2000/svg",width:"400",height:"400",class:"icon",viewBox:"0 0 1024 1024"},_hoisted_2$1l=vue.createElementVNode("path",{d:"M640 864H192c-53 0-96-43.1-96-96V128.1c0-53 43.1-96 96-96h640c53 0 96 43.1 96 96v448c0 17.7-14.3 32-32 32s-32-14.3-32-32v-448c0-17.7-14.4-32-32-32H192c-17.7 0-32 14.4-32 32V768c0 17.7 14.4 32 32 32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"},null,-1),_hoisted_3$1e=vue.createElementVNode("path",{d:"M128 672c-8.2 0-16.4-3.1-22.6-9.4-12.5-12.5-12.5-32.8 0-45.3L264.8 458c29.2-29.2 73.7-36.5 110.7-18l173.6 86.8c12.3 6.2 27.1 3.8 36.8-6l287.4-287.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L631.2 566.1c-29.2 29.2-73.7 36.5-110.7 18l-173.6-86.8c-12.3-6.2-27.1-3.8-36.8 6L150.6 662.6c-6.2 6.3-14.4 9.4-22.6 9.4zM384 352c-52.9 0-96-43.1-96-96s43.1-96 96-96 96 43.1 96 96-43.1 96-96 96zm0-128c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zM768 864c-17.7 0-32-14.3-32-32V640c0-17.7 14.3-32 32-32s32 14.3 32 32v192c0 17.7-14.3 32-32 32z"},null,-1),_hoisted_4$v=vue.createElementVNode("path",{d:"M896 736c-7.9 0-15.7-2.9-21.9-8.7L768 627.7l-106.1 99.7c-12.9 12.1-33.1 11.5-45.2-1.4-12.1-12.9-11.5-33.1 1.4-45.2l112.2-105.4c9.2-11.3 23-17.9 37.7-17.9s28.5 6.6 37.7 17.9l112.2 105.4c12.9 12.1 13.5 32.4 1.4 45.2-6.3 6.6-14.8 10-23.3 10z"},null,-1),_hoisted_5$6=[_hoisted_2$1l,_hoisted_3$1e,_hoisted_4$v];function render$1e(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1p,_hoisted_5$6)}const uploadImg={render:render$1e},__vite_glob_0_105=Object.freeze(Object.defineProperty({__proto__:null,render:render$1e,default:uploadImg},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1o={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1k=vue.createElementVNode("g",{class:"url"},[vue.createElementVNode("path",{d:"M1.833 3.667a.5.5 0 0 1 .5-.5h11.334a.5.5 0 0 1 .5.5v2.5H1.833v-2.5Zm0 3.5h12.334v5.166a.5.5 0 0 1-.5.5H2.333a.5.5 0 0 1-.5-.5V7.167Zm-1-3.5v8.666a1.5 1.5 0 0 0 1.5 1.5h11.334a1.5 1.5 0 0 0 1.5-1.5V3.667a1.5 1.5 0 0 0-1.5-1.5H2.333a1.5 1.5 0 0 0-1.5 1.5Zm2.5.333a.667.667 0 1 0 0 1.333.667.667 0 0 0 0-1.333Zm2 0a.667.667 0 1 0 0 1.333.667.667 0 0 0 0-1.333Z",class:"Union"})],-1),_hoisted_3$1d=[_hoisted_2$1k];function render$1d(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1o,_hoisted_3$1d)}const url={render:render$1d},__vite_glob_0_106=Object.freeze(Object.defineProperty({__proto__:null,render:render$1d,default:url},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1n={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1j=vue.createElementVNode("g",{class:"widthRatioP1"},[vue.createElementVNode("path",{d:"M7.353 8.432a.313.313 0 0 0-.218.09 5.559 5.559 0 0 1-.99.75 5.43 5.43 0 0 1-.998.44.316.316 0 0 0-.226.298v.76c0 .2.192.343.38.276.462-.166.87-.379 1.226-.637.14-.103.35-.007.35.166V16.7a.3.3 0 0 0 .3.3h.804a.3.3 0 0 0 .3-.3V8.732a.3.3 0 0 0-.3-.3h-.628ZM14.07 7.16a.3.3 0 0 0-.28.194l-3.95 10.44a.3.3 0 0 0 .281.406h.547a.3.3 0 0 0 .28-.194l3.938-10.44a.3.3 0 0 0-.28-.406h-.536Zm5.856 1.272a.3.3 0 0 0-.237.116l-4.035 5.203a.3.3 0 0 0-.063.184v.929a.3.3 0 0 0 .3.3h3.54a.3.3 0 0 1 .3.3V16.7a.3.3 0 0 0 .3.3h.732a.3.3 0 0 0 .3-.3v-1.236a.3.3 0 0 1 .3-.3h.672a.3.3 0 0 0 .3-.3v-.516a.3.3 0 0 0-.3-.3h-.672a.3.3 0 0 1-.3-.3V8.732a.3.3 0 0 0-.3-.3h-.837Zm-.238 1.785a.024.024 0 0 1 .043.015v3.516a.3.3 0 0 1-.3.3h-2.293a.2.2 0 0 1-.158-.322l2.708-3.509Z",class:"primary"})],-1),_hoisted_3$1c=[_hoisted_2$1j];function render$1c(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1n,_hoisted_3$1c)}const widthRatioP1={render:render$1c},__vite_glob_0_107=Object.freeze(Object.defineProperty({__proto__:null,render:render$1c,default:widthRatioP1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1m={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1i=vue.createElementVNode("g",{class:"widthRatioP2"},[vue.createElementVNode("path",{d:"M7.353 8.432a.313.313 0 0 0-.218.09 5.559 5.559 0 0 1-.99.75 5.43 5.43 0 0 1-.998.44.316.316 0 0 0-.226.298v.76c0 .2.192.343.38.276a4.752 4.752 0 0 0 1.405-.775c.067-.055.171-.008.171.079v6.35a.3.3 0 0 0 .3.3h.804a.3.3 0 0 0 .3-.3V8.732a.3.3 0 0 0-.3-.3h-.628ZM14.07 7.16a.3.3 0 0 0-.28.194l-3.95 10.44a.3.3 0 0 0 .281.406h.547a.3.3 0 0 0 .28-.194l3.938-10.44a.3.3 0 0 0-.28-.406h-.536Zm4.977 1.104c-.84 0-1.536.228-2.076.708-.502.418-.803.982-.92 1.693a.283.283 0 0 0 .286.323h.78a.326.326 0 0 0 .313-.27c.075-.382.23-.676.465-.882.276-.252.66-.372 1.164-.372.492 0 .864.108 1.116.324.228.216.348.528.348.948 0 .42-.132.744-.384.96-.264.216-.648.324-1.152.324h-.3a.3.3 0 0 0-.3.3v.456a.3.3 0 0 0 .3.3h.3c.552 0 .972.108 1.26.348.288.228.444.588.444 1.08 0 .408-.144.744-.42 1.02-.312.3-.744.456-1.284.456-.492 0-.888-.144-1.188-.42-.275-.246-.438-.581-.5-.998a.327.327 0 0 0-.315-.286h-.817a.285.285 0 0 0-.289.322c.118.805.442 1.44.973 1.886.54.456 1.26.684 2.148.684.936 0 1.692-.264 2.268-.78.552-.504.828-1.152.828-1.944 0-.504-.144-.924-.432-1.248-.237-.28-.582-.493-1.015-.647-.046-.016-.046-.084-.001-.102.85-.326 1.28-.933 1.28-1.819 0-.744-.264-1.32-.78-1.74-.528-.42-1.236-.624-2.1-.624Z",class:"primary"})],-1),_hoisted_3$1b=[_hoisted_2$1i];function render$1b(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1m,_hoisted_3$1b)}const widthRatioP2={render:render$1b},__vite_glob_0_108=Object.freeze(Object.defineProperty({__proto__:null,render:render$1b,default:widthRatioP2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1l={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1h=vue.createElementVNode("g",{class:"widthRatioP3"},[vue.createElementVNode("path",{d:"M7.353 8.432a.313.313 0 0 0-.218.09 5.559 5.559 0 0 1-.99.75 5.43 5.43 0 0 1-.998.44.316.316 0 0 0-.226.298v.76c0 .2.192.343.38.276a4.752 4.752 0 0 0 1.405-.775c.067-.055.171-.008.171.079v6.35a.3.3 0 0 0 .3.3h.804a.3.3 0 0 0 .3-.3V8.732a.3.3 0 0 0-.3-.3h-.628ZM14.07 7.16a.3.3 0 0 0-.28.194l-3.95 10.44a.3.3 0 0 0 .281.406h.547a.3.3 0 0 0 .28-.194l3.938-10.44a.3.3 0 0 0-.28-.406h-.536Zm5.025 1.104c-.924 0-1.668.312-2.232.936-.492.525-.765 1.193-.827 2.013a.286.286 0 0 0 .291.303h.81a.314.314 0 0 0 .309-.289c.05-.532.188-.949.413-1.235.264-.36.66-.54 1.188-.54.492 0 .864.108 1.116.336.24.228.372.576.372 1.044 0 .48-.192.936-.564 1.356-.24.252-.624.576-1.176.96-.996.684-1.656 1.212-1.968 1.572a3.268 3.268 0 0 0-.84 1.98c-.013.166.123.3.288.3h5.376a.3.3 0 0 0 .3-.3v-.636a.3.3 0 0 0-.3-.3h-3.77c-.072 0-.12-.074-.083-.136.234-.401.74-.86 1.525-1.376.84-.564 1.44-1.02 1.776-1.38.552-.612.84-1.284.84-2.028 0-.768-.264-1.38-.792-1.86-.54-.48-1.224-.72-2.052-.72Z",class:"primary"})],-1),_hoisted_3$1a=[_hoisted_2$1h];function render$1a(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1l,_hoisted_3$1a)}const widthRatioP3={render:render$1a},__vite_glob_0_109=Object.freeze(Object.defineProperty({__proto__:null,render:render$1a,default:widthRatioP3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1k={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1g=vue.createElementVNode("g",{class:"widthRatioP4"},[vue.createElementVNode("path",{d:"M7.037 8.264c-.925 0-1.668.312-2.232.936-.493.525-.766 1.193-.827 2.013a.286.286 0 0 0 .29.303h.811a.314.314 0 0 0 .308-.289c.05-.532.189-.949.414-1.235.263-.36.66-.54 1.188-.54.492 0 .864.108 1.115.336.24.228.373.576.373 1.044 0 .48-.193.936-.565 1.356-.24.252-.623.576-1.175.96-.997.684-1.657 1.212-1.968 1.572a3.268 3.268 0 0 0-.841 1.98c-.013.166.123.3.288.3h5.376a.3.3 0 0 0 .3-.3v-.636a.3.3 0 0 0-.3-.3h-3.77c-.072 0-.12-.074-.083-.136.235-.401.74-.86 1.526-1.376.84-.564 1.44-1.02 1.776-1.38.551-.612.84-1.284.84-2.028 0-.768-.264-1.38-.793-1.86-.54-.48-1.223-.72-2.051-.72Zm8.17-1.104a.3.3 0 0 0-.28.194l-3.95 10.44a.3.3 0 0 0 .281.406h.546a.3.3 0 0 0 .281-.194l3.938-10.44a.3.3 0 0 0-.281-.406h-.535Zm4.977 1.104c-.84 0-1.536.228-2.076.708-.502.418-.804.982-.92 1.693a.283.283 0 0 0 .286.323h.78a.326.326 0 0 0 .312-.27c.076-.382.23-.676.466-.882.276-.252.66-.372 1.164-.372.492 0 .864.108 1.116.324.228.216.348.528.348.948 0 .42-.132.744-.384.96-.264.216-.648.324-1.152.324h-.3a.3.3 0 0 0-.3.3v.456a.3.3 0 0 0 .3.3h.3c.552 0 .972.108 1.26.348.288.228.444.588.444 1.08 0 .408-.144.744-.42 1.02-.312.3-.744.456-1.284.456-.492 0-.888-.144-1.188-.42-.276-.246-.438-.581-.501-.998a.326.326 0 0 0-.314-.286h-.818a.285.285 0 0 0-.288.322c.117.805.442 1.44.973 1.886.54.456 1.26.684 2.148.684.936 0 1.692-.264 2.268-.78.552-.504.828-1.152.828-1.944 0-.504-.144-.924-.432-1.248-.238-.28-.582-.493-1.015-.647-.046-.016-.047-.084-.002-.102.85-.326 1.28-.933 1.28-1.819 0-.744-.263-1.32-.78-1.74-.527-.42-1.235-.624-2.1-.624Z",class:"primary"})],-1),_hoisted_3$19=[_hoisted_2$1g];function render$19(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1k,_hoisted_3$19)}const widthRatioP4={render:render$19},__vite_glob_0_110=Object.freeze(Object.defineProperty({__proto__:null,render:render$19,default:widthRatioP4},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1j={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1f=vue.createElementVNode("g",{class:"widthRatioP5"},[vue.createElementVNode("path",{d:"M6.989 8.264c-.84 0-1.536.228-2.076.708-.502.418-.804.982-.92 1.693a.283.283 0 0 0 .286.323h.78a.326.326 0 0 0 .312-.27c.075-.382.23-.676.466-.882.276-.252.66-.372 1.164-.372.492 0 .864.108 1.116.324.228.216.348.528.348.948 0 .42-.132.744-.384.96-.264.216-.648.324-1.152.324h-.3a.3.3 0 0 0-.3.3v.456a.3.3 0 0 0 .3.3h.3c.552 0 .972.108 1.26.348.288.228.444.588.444 1.08 0 .408-.144.744-.42 1.02-.312.3-.744.456-1.284.456-.492 0-.888-.144-1.188-.42-.276-.246-.439-.581-.501-.998a.327.327 0 0 0-.315-.286h-.817a.285.285 0 0 0-.288.322c.117.805.441 1.44.973 1.886.54.456 1.26.684 2.148.684.936 0 1.692-.264 2.268-.78.552-.504.828-1.152.828-1.944 0-.504-.144-.924-.432-1.248-.238-.28-.582-.493-1.016-.647-.046-.016-.046-.084 0-.102.85-.326 1.28-.933 1.28-1.819 0-.744-.264-1.32-.78-1.74-.528-.42-1.236-.624-2.1-.624Zm8.218-1.104a.3.3 0 0 0-.28.194l-3.95 10.44a.3.3 0 0 0 .281.406h.547a.3.3 0 0 0 .28-.194l3.938-10.44a.3.3 0 0 0-.28-.406h-.536Zm5.856 1.272a.3.3 0 0 0-.237.116l-4.035 5.203a.3.3 0 0 0-.063.184v.929a.3.3 0 0 0 .3.3h3.54a.3.3 0 0 1 .3.3V16.7a.3.3 0 0 0 .3.3h.732a.3.3 0 0 0 .3-.3v-1.236a.3.3 0 0 1 .3-.3h.672a.3.3 0 0 0 .3-.3v-.516a.3.3 0 0 0-.3-.3H22.5a.3.3 0 0 1-.3-.3V8.732a.3.3 0 0 0-.3-.3h-.837Zm-.238 1.785a.024.024 0 0 1 .043.015v3.516a.3.3 0 0 1-.3.3h-2.497a.1.1 0 0 1-.079-.161l2.833-3.67Z",class:"primary"})],-1),_hoisted_3$18=[_hoisted_2$1f];function render$18(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1j,_hoisted_3$18)}const widthRatioP5={render:render$18},__vite_glob_0_111=Object.freeze(Object.defineProperty({__proto__:null,render:render$18,default:widthRatioP5},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1i={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 27 24"},_hoisted_2$1e=vue.createElementVNode("g",{class:"widthRatioP6"},[vue.createElementVNode("path",{d:"M13.95 8.432a.313.313 0 0 0-.217.09 5.56 5.56 0 0 1-.99.75 5.43 5.43 0 0 1-.999.44.316.316 0 0 0-.225.298v.76c0 .199.191.343.38.276a4.754 4.754 0 0 0 1.405-.775c.067-.055.171-.008.171.079v6.35a.3.3 0 0 0 .3.3h.804a.3.3 0 0 0 .3-.3V8.732a.3.3 0 0 0-.3-.3h-.628Z",class:"primary"})],-1),_hoisted_3$17=[_hoisted_2$1e];function render$17(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1i,_hoisted_3$17)}const widthRatioP6={render:render$17},__vite_glob_0_112=Object.freeze(Object.defineProperty({__proto__:null,render:render$17,default:widthRatioP6},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1h={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1d=vue.createElementVNode("g",{class:"zoomIn"},[vue.createElementVNode("path",{d:"m12.436 11.73 1.953 1.952a.5.5 0 0 1-.707.707l-1.953-1.953a6.5 6.5 0 1 1 .707-.707v.001ZM7.5 13a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11ZM7 7V5.5a.5.5 0 0 1 1 0V7h1.5a.5.5 0 1 1 0 1H8v1.5a.5.5 0 1 1-1 0V8H5.5a.5.5 0 0 1 0-1H7Z",class:"Vector"})],-1),_hoisted_3$16=[_hoisted_2$1d];function render$16(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1h,_hoisted_3$16)}const zoomIn={render:render$16},__vite_glob_0_113=Object.freeze(Object.defineProperty({__proto__:null,render:render$16,default:zoomIn},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1g={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},_hoisted_2$1c=vue.createElementVNode("g",{class:"zoomOut"},[vue.createElementVNode("path",{d:"m12.436 11.73 1.953 1.952a.5.5 0 0 1-.707.707l-1.953-1.953a6.5 6.5 0 1 1 .707-.707v.001ZM7.5 13a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Zm-2-6h4a.5.5 0 1 1 0 1h-4a.5.5 0 0 1 0-1Z",class:"Vector"})],-1),_hoisted_3$15=[_hoisted_2$1c];function render$15(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$1g,_hoisted_3$15)}const zoomOut={render:render$15},__vite_glob_0_114=Object.freeze(Object.defineProperty({__proto__:null,render:render$15,default:zoomOut},Symbol.toStringTag,{value:"Module"})),importModules=Object.assign({"./ID.svg":__vite_glob_0_0,"./PC.svg":__vite_glob_0_1,"./Rank.svg":__vite_glob_0_2,"./arrowDown.svg":__vite_glob_0_3,"./arrowDownBold.svg":__vite_glob_0_4,"./arrowLeft.svg":__vite_glob_0_5,"./arrowLeftBold.svg":__vite_glob_0_6,"./arrowRight.svg":__vite_glob_0_7,"./arrowRightBold.svg":__vite_glob_0_8,"./arrowUp.svg":__vite_glob_0_9,"./arrowUpBold .svg":__vite_glob_0_10,"./arrowUpBold.svg":__vite_glob_0_11,"./back.svg":__vite_glob_0_12,"./bottom.svg":__vite_glob_0_13,"./bottomLeft .svg":__vite_glob_0_14,"./bottomRight.svg":__vite_glob_0_15,"./calendar.svg":__vite_glob_0_16,"./cascader.svg":__vite_glob_0_17,"./cellphone.svg":__vite_glob_0_18,"./checkbox.svg":__vite_glob_0_19,"./circleClose.svg":__vite_glob_0_20,"./circleMinus.svg":__vite_glob_0_21,"./circlePlus.svg":__vite_glob_0_22,"./clear0.svg":__vite_glob_0_23,"./clear1.svg":__vite_glob_0_24,"./collapse.svg":__vite_glob_0_25,"./copy.svg":__vite_glob_0_26,"./delete.svg":__vite_glob_0_27,"./divider.svg":__vite_glob_0_28,"./dividerLocationP1.svg":__vite_glob_0_29,"./dividerLocationP2.svg":__vite_glob_0_30,"./dividerLocationP3.svg":__vite_glob_0_31,"./doubleArrowLeft.svg":__vite_glob_0_32,"./doubleArrowRight.svg":__vite_glob_0_33,"./drag.svg":__vite_glob_0_34,"./dragWidth.svg":__vite_glob_0_35,"./dropUp0.svg":__vite_glob_0_36,"./dropdown0.svg":__vite_glob_0_37,"./email.svg":__vite_glob_0_38,"./grid.svg":__vite_glob_0_39,"./horizontalLayoutP1.svg":__vite_glob_0_40,"./horizontalLayoutP2.svg":__vite_glob_0_41,"./horizontalLayoutP3.svg":__vite_glob_0_42,"./horizontalLayoutP4.svg":__vite_glob_0_43,"./horizontalLayoutP5.svg":__vite_glob_0_44,"./html.svg":__vite_glob_0_45,"./input.svg":__vite_glob_0_46,"./label.svg":__vite_glob_0_47,"./labelStructureP1.svg":__vite_glob_0_48,"./labelStructureP2.svg":__vite_glob_0_49,"./labelStructureP3.svg":__vite_glob_0_50,"./language.svg":__vite_glob_0_51,"./lineThickness.svg":__vite_glob_0_52,"./location.svg":__vite_glob_0_53,"./minus.svg":__vite_glob_0_54,"./minusBold.svg":__vite_glob_0_55,"./move1.svg":__vite_glob_0_56,"./numberButtonP1.svg":__vite_glob_0_57,"./numberButtonP2.svg":__vite_glob_0_58,"./numbers.svg":__vite_glob_0_59,"./plus.svg":__vite_glob_0_60,"./plusBold.svg":__vite_glob_0_61,"./preview.svg":__vite_glob_0_62,"./radio.svg":__vite_glob_0_63,"./radius.svg":__vite_glob_0_64,"./rating.svg":__vite_glob_0_65,"./redo.svg":__vite_glob_0_66,"./right.svg":__vite_glob_0_67,"./save.svg":__vite_glob_0_68,"./search.svg":__vite_glob_0_69,"./signature.svg":__vite_glob_0_70,"./slider.svg":__vite_glob_0_71,"./sort.svg":__vite_glob_0_72,"./spaceBottom.svg":__vite_glob_0_73,"./spaceLeft.svg":__vite_glob_0_74,"./spaceRight.svg":__vite_glob_0_75,"./spaceTop.svg":__vite_glob_0_76,"./switch.svg":__vite_glob_0_77,"./tabStyleP1.svg":__vite_glob_0_78,"./tabStyleP2.svg":__vite_glob_0_79,"./tabStyleP3.svg":__vite_glob_0_80,"./table.svg":__vite_glob_0_81,"./tableInsertCol.svg":__vite_glob_0_82,"./tableInsertRow.svg":__vite_glob_0_83,"./tableOperation.svg":__vite_glob_0_84,"./tableStokeP1.svg":__vite_glob_0_85,"./tableStokeP2.svg":__vite_glob_0_86,"./tableStokeP3.svg":__vite_glob_0_87,"./tableStokeP4.svg":__vite_glob_0_88,"./tableStokeP5.svg":__vite_glob_0_89,"./tableStokeP6.svg":__vite_glob_0_90,"./tableStokeP7.svg":__vite_glob_0_91,"./tableStokeP8.svg":__vite_glob_0_92,"./tabsLocationP1.svg":__vite_glob_0_93,"./tabsLocationP2.svg":__vite_glob_0_94,"./tabsLocationP3.svg":__vite_glob_0_95,"./tabsLocationP4.svg":__vite_glob_0_96,"./textarea.svg":__vite_glob_0_97,"./time.svg":__vite_glob_0_98,"./title.svg":__vite_glob_0_99,"./top.svg":__vite_glob_0_100,"./topLeft.svg":__vite_glob_0_101,"./topRight.svg":__vite_glob_0_102,"./undo.svg":__vite_glob_0_103,"./upload.svg":__vite_glob_0_104,"./uploadImg.svg":__vite_glob_0_105,"./url.svg":__vite_glob_0_106,"./widthRatioP1.svg":__vite_glob_0_107,"./widthRatioP2.svg":__vite_glob_0_108,"./widthRatioP3.svg":__vite_glob_0_109,"./widthRatioP4.svg":__vite_glob_0_110,"./widthRatioP5.svg":__vite_glob_0_111,"./widthRatioP6.svg":__vite_glob_0_112,"./zoomIn.svg":__vite_glob_0_113,"./zoomOut.svg":__vite_glob_0_114}),modules={};lodash.forIn(importModules,(o,e)=>{const n=/[a-zA-Z0-9_-]*(?=\.svg)/g;modules[e.match(n)[0]]=o});const __default__$R={name:"er-icon"},_sfc_main$R=Object.assign(__default__$R,{props:{disabled:{type:Boolean,default:!1},icon:{type:String,required:!0},fontSize:{type:Number}},setup(o){const e=o,n=vue.computed(()=>{const i={};return lodash.isUndefined(e.fontSize)||(i.fontSize=`${e.fontSize}px`),i}),r=vue.ref("");return(i,s)=>(vue.openBlock(),vue.createElementBlock("i",{ref_key:"element",ref:r,class:vue.normalizeClass(["ER-icon",e.disabled&&"is-disabled"]),style:vue.normalizeStyle(n.value)},[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(modules)[e.icon])))],6))}});function _isSlot$7(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const Selection$2={name:"SelectElement",inheritAttrs:!1,customOptions:{},props:{data:Object,tag:{type:String,default:"div"},parent:Object,hasMask:{type:Boolean,default:!1},hasDrag:{type:Boolean,default:!1},hasDel:{type:Boolean,default:!1},hasCopy:{type:Boolean,default:!1},hasTableCellOperator:{type:Boolean,default:!1},hasWidthScale:{type:Boolean,default:!1},hasInserColumn:{type:Boolean,default:!1},hasInserRow:{type:Boolean,default:!1},hasAddCol:{type:Boolean,default:!1}},setup(o){const e=vue.inject("Everright"),{t:n}=hooks.useI18n(),r=hooks.useNamespace("selectElement"),i=vue.ref(!1),s=utils$4.checkIslineChildren(o.data),{target:a,setSelection:u,state:l,isEditModel:c,isSelectRoot:d,isPc:h}=hooks.useTarget(),f=hooks.useCss(o.data,l.platform);vue.ref(!1);const p=vue.useSlots(),m=vue.ref(!1),g=utils$4.checkIsField(o.data),v=D=>{u(o.data)};o.data.type&&g&&l.validateStates.push({data:o.data,isWarning:m}),vue.onBeforeUnmount(()=>{const D=lodash.findIndex(l.validateStates,{data:{id:o.data.id}});D!==-1&&l.validateStates.splice(D,1)});const _=D=>{const[O,R]=D.split(" ");o.data.context[O](R)},b=vue.ref(!1),y=()=>{const D={dropdown:()=>{let O,R,N,I,x,T,V,U,M,z,W,G,J,X,K=vue.createVNode(vue.resolveComponent("el-dropdown-menu"),null,{default:()=>[vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"insert left"},_isSlot$7(O=n("er.selection.insertLeft"))?O:{default:()=>[O]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"insert right"},_isSlot$7(R=n("er.selection.insertRight"))?R:{default:()=>[R]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"insert top"},_isSlot$7(N=n("er.selection.insertTop"))?N:{default:()=>[N]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"insert bottom"},_isSlot$7(I=n("er.selection.insertBottom"))?I:{default:()=>[I]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge left",disabled:o.data.context.isDisableMargeLeft,divided:!0},_isSlot$7(x=n("er.selection.mergeLeft"))?x:{default:()=>[x]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge right",disabled:o.data.context.isDisableMargeRight},_isSlot$7(T=n("er.selection.mergeRight"))?T:{default:()=>[T]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge row",disabled:o.data.context.isDisableMargeRow},_isSlot$7(V=n("er.selection.mergeRow"))?V:{default:()=>[V]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge top",disabled:o.data.context.isDisableMargeTop,divided:!0},_isSlot$7(U=n("er.selection.mergeTop"))?U:{default:()=>[U]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge bottom",disabled:o.data.context.isDisableMargeBottom},_isSlot$7(M=n("er.selection.mergeBottom"))?M:{default:()=>[M]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"merge column",disabled:o.data.context.isDisableMargeColumn},_isSlot$7(z=n("er.selection.mergeColumn"))?z:{default:()=>[z]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"del row",divided:!0,disabled:o.data.context.isDisableDelRow},_isSlot$7(W=n("er.selection.delRow"))?W:{default:()=>[W]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"del column",disabled:o.data.context.isDisableDelColumn},_isSlot$7(G=n("er.selection.delColumn"))?G:{default:()=>[G]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"split column",disabled:o.data.context.isDisableSplitColumn,divided:!0},_isSlot$7(J=n("er.selection.splitColumn"))?J:{default:()=>[J]}),vue.createVNode(vue.resolveComponent("el-dropdown-item"),{command:"split row",disabled:o.data.context.isDisableSplitRow},_isSlot$7(X=n("er.selection.splitRow"))?X:{default:()=>[X]})]});return b.value||(K=""),K}};return vue.createVNode(vue.resolveComponent("el-dropdown"),{trigger:"hover",onCommand:_,"onVisible-change":O=>{b.value=O,O||(i.value=!1)}},{default:()=>[vue.createVNode(_sfc_main$R,{class:[r.e("tableOperator")],icon:"tableOperation"},null)],...D})},A=D=>{const O=D!==5&&o.parent.indexOf(o.data);switch(D){case 1:if(e.props.delHandle(o.data)===!1)return!1;o.data.context.delete(),utils$4.deepTraversal(o.data,I=>{utils$4.checkIsField(I)&&e.delField(I)}),/^(radio|checkbox|select)$/.test(o.data.type)&&delete l.data[o.data.options.dataKey],o.parent.length>0?O===o.parent.length?u(o.parent[O-1]):u(o.parent[O]):u("root");break;case 2:if(e.props.copyHandle(o.data)===!1)return!1;o.data.context.copy();const R=o.parent[O+1];u(R),utils$4.deepTraversal(R,I=>{e.addFieldData(I,!0),utils$4.checkIsField(I)&&e.addField(I)});break;case 3:lodash.last(o.data.context.columns[0]).context.insert("bottom");break;case 4:lodash.last(o.data.context.columns)[0].context.insert("right");break;case 5:let N=o.data.context.parent;/^(inline|tr)$/.test(N.type)&&(N=N.context.parent),u(Array.isArray(N)?"root":N);break;case 6:o.data.context.appendCol();break}},k=vue.ref(),C=vue.ref(),E=vue.ref(!1),F=vue.computed(()=>o.hasWidthScale&&!(e.props.layoutType===1&&!h.value));vue.onMounted(()=>{if(!vue.unref(c))return!1;const D=k.value.$el||k.value,O=C.value;D.addEventListener("mouseover",R=>{l.widthScaleLock||(i.value=!0),R.stopPropagation()}),D.addEventListener("mouseout",R=>{if(b.value)return!1;i.value=!1,R.stopPropagation()}),F.value&&O.addEventListener("mousedown",R=>{const N=D.offsetParent.offsetWidth/24;l.widthScaleLock=E.value=!0;const I=R.clientX,x=D.offsetWidth;document.ondragstart=document.onselectstart=()=>!1,document.onmouseup=function(){document.ondragstart=document.onselectstart=document.onmousemove=null,l.widthScaleLock=E.value=!1},document.onmousemove=T=>{if(s){const V=x+T.clientX-I;let U=Math.round(V/D.parentNode.offsetWidth*100);U<=25&&(U=25),utils$4.syncWidthByPlatform(o.data,l.platform,!1,U)}else{let V=Math.ceil((x+Math.round((T.clientX-I)/N)*N)/N);V>=24&&(V=24),V<=6&&(V=6),o.data.options.span=V}}})});const S=isHTMLTag(o.tag)?o.tag:vue.resolveComponent(o.tag),B=vue.computed(()=>a.value.id===o.data.id&&r.is("Selected")),P=vue.createVNode("div",{class:[r.e("mask")]},null),L=vue.computed(()=>s?o.hasCopy&&o.data.context.parent.columns.lengthvue.createVNode(S,vue.mergeProps({class:f.value},vue.useAttrs(),{class:[r.b(),!g&&r.e("borderless"),vue.unref(c)&&r.e("editor"),vue.unref(c)&&B.value,vue.unref(c)&&i.value&&r.e("hover"),vue.unref(c)&&E.value&&r.e("isScale"),vue.unref(c)&&m.value&&r.is("Warning")],ref:k,onClick:vue.unref(c)&&vue.withModifiers(v,["stop"])}),{default:()=>[p.default(),vue.createVNode("span",null,null),vue.unref(c)&&vue.createVNode("div",{class:[r.e("topLeft")]},[o.hasDrag&&vue.createVNode(_sfc_main$R,{class:["handle",r.e("dragIcon")],icon:"Rank"},null)]),vue.unref(c)&&vue.createVNode("div",{class:[r.e("bottomRight")]},[vue.createVNode(_sfc_main$R,{class:["handle",r.e("selectParent")],onClick:vue.withModifiers(D=>{A(5)},["stop"]),icon:"top"},null),o.hasDel&&vue.createVNode(_sfc_main$R,{class:[r.e("copy")],onClick:vue.withModifiers(D=>{A(1)},["stop"]),icon:"delete"},null),o.hasInserColumn&&vue.createVNode(_sfc_main$R,{class:[r.e("charulieIcon")],onClick:vue.withModifiers(D=>{A(4)},["stop"]),icon:"tableInsertCol"},null),o.hasInserRow&&vue.createVNode(_sfc_main$R,{class:[r.e("charuhangIcon")],onClick:vue.withModifiers(D=>{A(3)},["stop"]),icon:"tableInsertRow"},null),o.hasAddCol&&vue.createVNode(_sfc_main$R,{class:[r.e("addCol")],onClick:vue.withModifiers(D=>{A(6)},["stop"]),icon:"plus"},null),L.value&&vue.createVNode(_sfc_main$R,{class:[r.e("copyIcon")],onClick:vue.withModifiers(D=>{A(2)},["stop"]),icon:"copy"},null),F.value&&vue.createVNode("div",{ref:C},[vue.createVNode(_sfc_main$R,{class:[r.e("widthScale")],icon:"dragWidth"},null)]),o.hasTableCellOperator&&y()]),vue.unref(c)&&o.hasMask&&P]})}};function _isSlot$6(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const LayoutGridLayout=vue.defineComponent({name:"GridLayout",inheritAttrs:!1,customOptions:{},props:{data:Object,parent:Array},setup(o){const e=hooks.useNamespace("GridLayout");hooks.useTarget();const n=vue.resolveComponent("el-row");return()=>{let r;return vue.createVNode(Selection$2,vue.mergeProps(vue.useAttrs(),{hasWidthScale:!0,hasCopy:!0,hasAddCol:!0,hasDel:!0,hasDrag:!0,data:o.data,parent:o.parent}),{default:()=>[vue.createVNode(n,vue.mergeProps({"data-layout-type":"grid"},{gutter:o.data.options.gutter,justify:o.data.options.justify,align:o.data.options.align},{class:[e.b()]}),_isSlot$6(r=o.data.columns.map((s,a)=>vue.createVNode(Selection$2,{key:s.id,hasCopy:!0,hasDel:o.data.columns.length>1,hasWidthScale:!0,"data-layout-type":"grid-col",tag:"el-col",class:[e.e("area")],span:s.options.span,offset:s.options.offset,pull:s.options.pull,push:s.options.push,data:s,parent:o.data.columns},{default:()=>[vue.createVNode(LayoutDragGable,{data:s.list,"data-layout-type":"grid-col",parent:s,ControlInsertion:!0},null)]})))?r:{default:()=>[r]})]})}}});function _isSlot$5(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const LayoutTabsLayout=vue.defineComponent({name:"TabsLayout",inheritAttrs:!1,customOptions:{},props:{data:Object,parent:Array},setup(o){const e=hooks.useNamespace("TabsLayout");return()=>{let n;return vue.createVNode(Selection$2,vue.mergeProps(vue.useAttrs(),{data:o.data,parent:o.parent,hasCopy:!0,hasDel:!0,hasDrag:!0,hasWidthScale:!0}),{default:()=>[vue.createVNode(vue.resolveComponent("el-tabs"),{class:[e.b()],modelValue:o.data.options.defaultValue,"onUpdate:modelValue":r=>o.data.options.defaultValue=r,type:o.data.options.type,tabPosition:o.data.options.tabPosition},_isSlot$5(n=o.data.columns.map((r,i)=>vue.createVNode(Selection$2,{class:[e.e("area")],tag:"el-tab-pane",label:r.label,name:r.value,data:r,parent:o.data},{default:()=>[vue.createVNode(LayoutDragGable,{"data-layout-type":"tabs-col",data:r.list,ControlInsertion:!0,parent:r},null)]})))?n:{default:()=>[n]})]})}}});function _isSlot$4(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const LayoutCollapseLayout=vue.defineComponent({name:"CollapseLayout",inheritAttrs:!1,customOptions:{},props:{data:Object,parent:Array},setup(o){const e=hooks.useNamespace("CollapseLayout");return o.data.options.defaultValue.length||o.data.options.defaultValue.push(o.data.columns[0].id),()=>{let n;return vue.createVNode(Selection$2,vue.mergeProps(vue.useAttrs(),{hasCopy:!0,hasDel:!0,hasDrag:!0,hasWidthScale:!0,data:o.data,parent:o.parent}),{default:()=>[vue.createVNode(vue.resolveComponent("el-collapse"),{modelValue:o.data.options.defaultValue,"onUpdate:modelValue":r=>o.data.options.defaultValue=r,accordion:o.data.options.accordion},_isSlot$4(n=o.data.columns.map((r,i)=>vue.createVNode(vue.resolveComponent("el-collapse-item"),{title:r.label,name:r.id},{default:()=>[vue.createVNode(Selection$2,{class:[e.e("area")],data:r,parent:o.data},{default:()=>[vue.createVNode(LayoutDragGable,{data:r.list,"data-layout-type":"collapse-col",parent:r},null)]})]})))?n:{default:()=>[n]})]})}}}),isTrTag=o=>o.toLocaleLowerCase()==="td",LayoutTableLayout=vue.defineComponent({name:"TableLayout",inheritAttrs:!1,customOptions:{},props:{data:Object,parent:Array},setup(o){const e=hooks.useNamespace("TableLayout"),{isEditModel:n}=hooks.useTarget();return()=>{const r=(s,a)=>{if(!isTrTag(s.target.tagName))return!1;let u="";s.target.offsetWidth-s.offsetX<10&&(u=s.target,u.initClientX=s.clientX,u.initWidth=u.offsetWidth),document.ondragstart=document.onselectstart=()=>!1,document.onmousemove=l=>{u.initWidth+(l.clientX-u.initClientX)>0&&(a.style.width=u.initWidth+(l.clientX-u.initClientX))},document.onmouseup=function(){document.ondragstart=document.onselectstart=document.onmousemove=null}},i=s=>{if(!isTrTag(s.target.tagName))return!1;s.target.offsetWidth-s.offsetX<10?s.target.style.cursor="col-resize":s.target.style.cursor="default"};return vue.createVNode(Selection$2,vue.mergeProps({class:e.b()},vue.useAttrs(),{hasWidthScale:!0,hasCopy:!0,hasDel:!0,hasDrag:!0,hasInserColumn:!0,hasInserRow:!0,data:o.data,parent:o.parent}),{default:()=>[vue.createVNode("table",null,[vue.createVNode("tbody",null,[o.data.rows.map((s,a)=>vue.createVNode("tr",{key:s.id},[s.columns.map((u,l)=>!u.options.isMerged&&vue.createVNode(Selection$2,{tag:"td",class:[e.e("area")],key:u.id,data:u,parent:s,hasTableCellOperator:!0,colspan:u.options.colspan,rowspan:u.options.rowspan,onMousedown:d=>!a&&vue.unref(n)&&r(d,u),onMousemove:!a&&vue.unref(n)&&i,width:u.style&&u.style.width},{default:()=>[vue.createVNode(LayoutDragGable,{"data-layout-type":"td",data:u.list,parent:u},null)]}))]))])])]})}}});let prevEl="",prevSortable="",inserRowIndex="",inserColIndex="";function getWindowScrollingElement(){const o=document.scrollingElement;return o||document.documentElement}function getParentAutoScrollElement(o,e){if(!o||!o.getBoundingClientRect)return getWindowScrollingElement();let n=o,r=!1;do if(n.clientWidth{let n=0,r=o;for(;r;)n+=r[e],r=r.offsetParent;return n};function matches(o,e){if(!!e){if(e[0]===">"&&(e=e.substring(1)),o)try{if(o.matches)return o.matches(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e)}catch{return!1}return!1}}function css(o,e,n){const r=o&&o.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(n=o.currentStyle),e===void 0?n:n[e];!(e in r)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),r[e]=n+(typeof n=="string"?"":"px")}}function lastChild(o,e){let n=o.lastElementChild;for(;n&&(css(n,"display")==="none"||e&&!matches(n,e));)n=n.previousElementSibling;return n||null}const disableBothSides=o=>o.props.layoutType===1&&o.state.platform==="mobile",getDirection1=(o,e)=>{let n="";const r=getOffset(o,"offsetTop"),i=getParentAutoScrollElement(o,!0),s=e.clientY+i.scrollTop,a=o.offsetHeight;return s>r&&s{let n="";const r=getOffset(o,"offsetLeft"),i=getOffset(o,"offsetTop"),s=getParentAutoScrollElement(o,!0),a=e.clientX,u=e.clientY+s.scrollTop,l=o.offsetWidth,c=o.offsetHeight,d=r,h=-i,f=d+l,p=h-c,m=(d+f)/2,g=(h+p)/2,v=(p-h)/(f-d),_=a,b=-u,y=(b-g)/(_-m);return vm?n=2:n=4:b>g?n=1:n=3,n},clearBorder=o=>{["top","bottom","left","right"].forEach(n=>{o.classList.remove(`drag-line-${n}`)})},setBorder=(o,e)=>{clearBorder(o),o.classList.add(e)},getDragElement=o=>o.__draggable_context.element,setStates=(o,e,n)=>{const{activeSortable:{constructor:{utils:r},options:{dataSource:i},el:{__draggable_component__:{list:s}}},activeSortable:a,target:u,originalEvent:l,dragEl:c,sortable:{el:d,el:{__draggable_component__:{list:h}}},sortable:f}=e,p=d.parentNode,m=disableBothSides(n)?getDirection1(o,l):getDirection0(o,l),g=o.parentNode.children,v=r.index(o),_=p.parentNode.children,b=r.index(p);if(/^(2|4)$/.test(m)&&h.length===n.props.inlineMax&&!d.contains(c)||/^(1)$/.test(m)&&n.state.store.length>0&&/^(root)$/.test(d.dataset.layoutType))return!1;switch(m){case 1:if(s.length===1&&_[b-1]&&_[b-1].contains(c)||!f.el.parentNode.parentNode.__draggable_component__)return prevEl="",!1;prevSortable=f.el.parentNode.parentNode.__draggable_component__._sortable,prevEl=p,inserRowIndex=r.index(prevEl),setBorder(prevEl,"drag-line-top");break;case 2:g[r.index(u)+1]!==c&&(v===h.length-1?(prevEl=o,prevSortable=f,inserColIndex=r.index(prevEl)+1,setBorder(prevEl,"drag-line-right")):(prevSortable=f,prevEl=g[v+1],inserColIndex=r.index(prevEl),setBorder(prevEl,"drag-line-left")));break;case 3:if(f.el.dataset.layoutType==="root")return!1;if(prevSortable=f.el.parentNode.parentNode.__draggable_component__._sortable,b===_.length-1)prevEl=p,setBorder(prevEl,"drag-line-bottom");else{if(prevEl=_[b+1],s.length===1&&_[b+1].contains(c))return prevEl="",!1;setBorder(prevEl,"drag-line-top")}inserRowIndex=r.index(p)+1;break;case 4:g[r.index(u)-1]!==c&&(prevEl=o,prevSortable=f,inserColIndex=r.index(prevEl),setBorder(prevEl,"drag-line-left"));break;case 5:if(h.length===n.props.inlineMax&&!d.contains(c))return!1;g[r.index(u)-1]!==c&&(prevEl=o,prevSortable=f,inserColIndex=r.index(prevEl),setBorder(prevEl,"drag-line-top"));break;case 6:if(h.length===n.props.inlineMax&&!d.contains(c))return!1;g[r.index(u)+1]!==c&&(v===h.length-1?(prevEl=o,prevSortable=f,inserColIndex=r.index(prevEl)+1,setBorder(prevEl,"drag-line-bottom")):(prevSortable=f,prevEl=g[v+1],inserColIndex=r.index(prevEl),setBorder(prevEl,"drag-line-top")));break}},resetStates=()=>{prevEl&&clearBorder(prevEl),prevEl=prevSortable=inserColIndex=inserRowIndex=""};function ControlInsertionPlugin(o){function e(n){}return e.prototype={dragStart(n){},drop(n){if(!prevEl||!n.activeSortable)return!1;const r=lodash.get(n,"activeSortable.options.dataSource",!1)==="block",{dragEl:i,target:s}=n,a=getDragElement(i),u=o.wrapElement(lodash.cloneDeep(a),inserRowIndex!=="",!0,r);if(r||a.context&&(a.context.delete(),utils$4.deepTraversal(a,l=>{utils$4.checkIsField(l)&&o.delField(l)})),inserRowIndex!==""){const l=Array.isArray(prevSortable.options.parent)?prevSortable.options.parent:prevSortable.options.parent.list;l.splice(inserRowIndex,0,u),utils$4.addContext(l[inserRowIndex],prevSortable.options.parent)}if(inserColIndex!==""){const{el:{__draggable_component__:{list:l}},el:c,constructor:{utils:d}}=prevSortable;l.splice(inserColIndex,0,u),utils$4.addContext(u,prevSortable.options.parent[d.index(prevSortable.el.parentNode)])}(inserColIndex!==""||inserRowIndex!=="")&&(utils$4.deepTraversal(u,l=>{utils$4.checkIsField(l)&&o.addField(l)}),vue.nextTick(()=>{o.setSelection(u)})),resetStates()},dragOver(n){n.cancel(),resetStates();const{activeSortable:{constructor:{utils:r},options:{dataSource:i},el:{__draggable_component__:{list:s}}},activeSortable:a,target:u,originalEvent:l,dragEl:c,sortable:{el:d,el:{__draggable_component__:{list:h}}},sortable:f}=n;if(f.options.dataSource==="block"||u.dataset.layoutType==="grid")return!1;l.stopPropagation&&l.stopPropagation(),d.parentNode,h.length;let p=r.closest(u,this.options.draggable,f.el);if(c.contains(p))return!1;if(/^(grid-col|tabs-col|td|collapse-col|root|inline)$/.test(u.dataset.layoutType)){p=u;const m=p.__draggable_component__||p.children[0].__draggable_component__;if(!m.list.length)prevEl=u.dataset.layoutType==="root"?u:p.__draggable_component__?p.children[0]:p.parentNode,prevSortable=m._sortable,inserRowIndex=0,setBorder(prevEl,"drag-line-top");else{if(/^(root|grid-col)$/.test(u.dataset.layoutType)){const g=d.children;if(prevEl=lastChild(d),prevEl===c.parentNode.parentNode&&s.length===1)return prevEl="",!1;setBorder(prevEl,"drag-line-bottom"),inserRowIndex=g.length,prevSortable=m._sortable}if(u.dataset.layoutType==="inline"){if(disableBothSides(o))return!1;const g=d.children;if(prevEl=lastChild(d),prevEl.contains(c)&&s.length===1)return prevEl="",!1;inserColIndex=g.length,prevSortable=m._sortable,setBorder(prevEl,"drag-line-right")}}}else setStates(p,n,o)}},Object.assign(e,{pluginName:"ControlInsertion",initializeByDefault:!0})}const LayoutInlineLayout=vue.defineComponent({name:"InlineLayout",props:{data:Object,parent:Array},setup(o){const e=vue.inject("Everright"),n=hooks.useNamespace("InlineLayout");vue.watch(()=>o.data.columns.length,(i,s)=>{i||o.data.context.delete(),i!==s&&utils$4.syncWidthByPlatform(o.data.columns,e.state.platform,e.props.layoutType===1)});const r={direction:"horizontal"};return()=>vue.createVNode("div",{class:[n.b()]},[vue.createVNode(LayoutDragGable,vue.mergeProps({"data-layout-type":"inline",class:"",type:"inline"},r,{data:o.data.columns,parent:o.parent}),null)])}});function _isSlot$3(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const dragGableWrap=vue.defineComponent({inheritAttrs:!1,name:"customDragGable",customOptions:{},components:{DragGable:draggableComponent},setup(o){const{isEditModel:e}=hooks.useTarget();return()=>{const n=vue.useAttrs();let r="";if(vue.unref(e)){let i;r=vue.createVNode(vue.resolveComponent("dragGable"),n,_isSlot$3(i=vue.useSlots())?i:{default:()=>[i]})}else{let i;const s=isHTMLTag(n.tag)?n.tag:vue.resolveComponent(n.tag),{item:a}=vue.useSlots();r=vue.createVNode(s,n.componentData,_isSlot$3(i=n.list.map(u=>a({element:u})))?i:{default:()=>[i]})}return r}}}),LayoutDragGable=vue.defineComponent({name:"DragGableLayout",components:{},props:{isRoot:{type:Boolean,default:!1},data:Object,parent:Object,tag:{type:String,default:"div"},type:{type:String}},setup(o){const e=vue.inject("Everright");o.type;const n=hooks.useNamespace("DragGableLayout"),{state:r,isEditModel:i,isPc:s,setSelection:a}=hooks.useTarget(),u=f=>!0,l={swapThreshold:1,group:{name:"er-Canves"},parent:o.parent,plugins:[ControlInsertionPlugin(e)],ControlInsertion:!0},d=(()=>{let f={};return vue.watch(()=>r.platform,()=>{f={}}),{findComponent(p,m){let g=f[p+m];return g||(g=f[p+m]=vue.defineAsyncComponent(()=>__variableDynamicImportRuntimeHelper(Object.assign({"../FormTypes/Cascader/mobile.vue":()=>Promise.resolve().then(()=>mobile$h),"../FormTypes/Cascader/pc.vue":()=>Promise.resolve().then(()=>pc$h),"../FormTypes/Checkbox/mobile.vue":()=>Promise.resolve().then(()=>mobile$g),"../FormTypes/Checkbox/pc.vue":()=>Promise.resolve().then(()=>pc$g),"../FormTypes/Date/mobile.vue":()=>Promise.resolve().then(()=>mobile$f),"../FormTypes/Date/pc.vue":()=>Promise.resolve().then(()=>pc$f),"../FormTypes/Divider/mobile.vue":()=>Promise.resolve().then(()=>mobile$e),"../FormTypes/Divider/pc.vue":()=>Promise.resolve().then(()=>pc$e),"../FormTypes/Html/mobile.vue":()=>Promise.resolve().then(()=>mobile$d),"../FormTypes/Html/pc.vue":()=>Promise.resolve().then(()=>pc$d),"../FormTypes/Input/mobile.vue":()=>Promise.resolve().then(()=>mobile$c),"../FormTypes/Input/pc.vue":()=>Promise.resolve().then(()=>pc$c),"../FormTypes/Number/mobile.vue":()=>Promise.resolve().then(()=>mobile$b),"../FormTypes/Number/pc.vue":()=>Promise.resolve().then(()=>pc$b),"../FormTypes/Radio/mobile.vue":()=>Promise.resolve().then(()=>mobile$a),"../FormTypes/Radio/pc.vue":()=>Promise.resolve().then(()=>pc$a),"../FormTypes/Rate/mobile.vue":()=>Promise.resolve().then(()=>mobile$9),"../FormTypes/Rate/pc.vue":()=>Promise.resolve().then(()=>pc$9),"../FormTypes/Region/mobile.vue":()=>Promise.resolve().then(()=>mobile$8),"../FormTypes/Region/pc.vue":()=>Promise.resolve().then(()=>pc$8),"../FormTypes/Select/mobile.vue":()=>Promise.resolve().then(()=>mobile$7),"../FormTypes/Select/pc.vue":()=>Promise.resolve().then(()=>pc$7),"../FormTypes/Signature/mobile.vue":()=>Promise.resolve().then(()=>mobile$6),"../FormTypes/Signature/pc.vue":()=>Promise.resolve().then(()=>pc$6),"../FormTypes/Slider/mobile.vue":()=>Promise.resolve().then(()=>mobile$5),"../FormTypes/Slider/pc.vue":()=>Promise.resolve().then(()=>pc$5),"../FormTypes/Switch/mobile.vue":()=>Promise.resolve().then(()=>mobile$4),"../FormTypes/Switch/pc.vue":()=>Promise.resolve().then(()=>pc$4),"../FormTypes/Textarea/mobile.vue":()=>Promise.resolve().then(()=>mobile$3),"../FormTypes/Textarea/pc.vue":()=>Promise.resolve().then(()=>pc$3),"../FormTypes/Time/mobile.vue":()=>Promise.resolve().then(()=>mobile$2),"../FormTypes/Time/pc.vue":()=>Promise.resolve().then(()=>pc$2),"../FormTypes/Uploadfile/mobile.vue":()=>Promise.resolve().then(()=>mobile$1),"../FormTypes/Uploadfile/pc.vue":()=>Promise.resolve().then(()=>pc$1),"../FormTypes/Uploadimg/mobile.vue":()=>Promise.resolve().then(()=>mobile),"../FormTypes/Uploadimg/pc.vue":()=>Promise.resolve().then(()=>pc),"../Panels/Config/index.vue":()=>Promise.resolve().then(()=>index$1)}),`../${p}/${lodash.startCase(m)}/${r.platform}.vue`))),g}}})(),h={item:({element:f})=>{let p="";switch(f.type){case"grid":p=vue.createVNode(LayoutGridLayout,{key:f.id,data:f,parent:o.data},null);break;case"table":p=vue.createVNode(LayoutTableLayout,{key:f.id,data:f,parent:o.data},null);break;case"tabs":p=vue.createVNode(LayoutTabsLayout,{key:f.id,data:f,parent:o.data},null);break;case"collapse":p=vue.createVNode(LayoutCollapseLayout,{key:f.id,data:f,parent:o.data},null);break;case"inline":p=vue.createVNode(LayoutInlineLayout,{key:f.id,data:f,parent:o.data},null);break;default:let m="";if(vue.unref(i)||lodash.get(r.fieldsLogicState.get(f),"visible",void 0)!==0){const g=hooks.useProps(r,f,vue.unref(s));m=d.findComponent("FormTypes",f.type);const v={data:f,parent:o.data};process.env.NODE_ENV==="test"&&(v["data-field-id"]=`${f.id}`),vue.unref(s)?p=vue.createVNode(Selection$2,vue.mergeProps({hasWidthScale:!0,hasCopy:!0,hasDel:!0,hasDrag:!0,hasMask:!0},v),{default:()=>[f.type!=="divider"?vue.createVNode(vue.resolveComponent("el-form-item"),g.value,{default:()=>[vue.createVNode(m,{data:f,params:g.value},null)]}):vue.createVNode(m,{data:f,params:g.value},null)]}):p=vue.createVNode(Selection$2,vue.mergeProps({hasWidthScale:!0,hasCopy:!0,hasDel:!0,hasDrag:!0,hasMask:!0},v),{default:()=>[vue.createVNode(m,{data:f,params:g.value},null)]})}break}return p},footer(){let f="";return lodash.isEmpty(o.data)&&(o.isRoot||(f=vue.createVNode("div",{class:n.e("dropHere")},[vue.createTextVNode("Drop here")]))),f}};return()=>vue.createVNode(dragGableWrap,vue.mergeProps({list:o.data,handle:".handle",class:[n.b(),vue.unref(i)&&n.e("edit")],tag:o.tag,"item-key":"id",move:u},l,{componentData:vue.useAttrs()}),h)}});function _isSlot$2(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const FieldsPanel={name:"Fields",inheritAttrs:!1,customOptions:{},props:{type:{type:Number,default:1},visible:{}},setup(o){const e=vue.inject("Everright"),n=hooks.useNamespace("Fields"),{t:r}=hooks.useI18n(),{state:i,setSelection:s}=hooks.useTarget(),a=h=>{const f=vue.reactive(e.wrapElement(lodash.cloneDeep(h)));i.store.push(f),utils$4.addContext(f,i.store),vue.nextTick(()=>{s(f),setTimeout(()=>{e.canvesScrollRef.value.setScrollTop(e.canvesScrollRef.value.wrapRef.scrollHeight)},100)})},u={item:({element:h})=>vue.createVNode("li",{onClick:()=>a(h)},[vue.createVNode(_sfc_main$R,{class:[n.e("icon")],icon:h.icon},null),vue.createVNode("span",null,[utils$4.fieldLabel(r,h)])])},l=h=>lodash.cloneDeep(h),c=(h,f)=>!0,d={ControlInsertion:!0,dataSource:"block",direction:"horizontal",scroll:!1,plugins:[ControlInsertionPlugin(e)]};return()=>{let h;return vue.createVNode(vue.resolveComponent("ElAside"),{class:[n.b()],width:e.props.fieldsPanelWidth},{default:()=>[vue.createVNode(vue.resolveComponent("el-scrollbar"),null,{default:()=>[vue.createVNode(vue.resolveComponent("el-menu"),{"default-openeds":e.props.fieldsPanelDefaultOpeneds},_isSlot$2(h=e.props.fieldsConfig.map((f,p)=>vue.createVNode(vue.resolveComponent("el-sub-menu"),{index:f.id},{title(){return r(`er.fields.${f.id}`)},default(){return vue.createVNode(dragGableWrap,vue.mergeProps({class:[n.e("dragContent")],list:f.list,clone:l,tag:"ul",sort:!1,move:c},d,{group:{name:"er-Canves",pull:"clone",put:!1},"item-key":"null"}),u)}})))?h:{default:()=>[h]})]})]})}}},_hoisted_1$1f={key:0,style:{"text-align":"center"}},_hoisted_2$1b={key:1},__default__$Q={name:"er-CompleteButton"},_sfc_main$Q=Object.assign(__default__$Q,{props:{handle:{type:Object},mode:{type:String,default:"edit"}},setup(o){const e=o,n=vue.inject("Everright");hooks.useNamespace("CompleteButton");const{state:r,isPc:i}=hooks.useTarget();vue.ref("");const s=async u=>{if(e.mode==="preview")return!1;try{await Promise.resolve(vue.unref(e.handle).validate()),n.fireEvent("submit",n.getData())}catch(l){console.log(l)}},a=process.env.NODE_ENV==="test"?{"data-test":"er-complete-button"}:{};return(u,l)=>{const c=vue.resolveComponent("el-button"),d=vue.resolveComponent("van-button");return vue.openBlock(),vue.createElementBlock("div",vue.normalizeProps(vue.guardReactiveProps(vue.unref(a))),[vue.unref(i)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1f,[vue.createVNode(c,{onClick:s,color:vue.unref(r).config[vue.unref(r).platform].completeButton.backgroundColor,type:"primary"},{default:vue.withCtx(()=>[vue.createElementVNode("span",{style:vue.normalizeStyle({color:vue.unref(r).config[vue.unref(r).platform].completeButton.color})},vue.toDisplayString(vue.unref(r).config[vue.unref(r).platform].completeButton.text),5)]),_:1},8,["color"])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1b,[vue.createVNode(d,{onClick:s,round:"",block:"",type:"primary",color:vue.unref(r).config[vue.unref(r).platform].completeButton.backgroundColor},{default:vue.withCtx(()=>[vue.createElementVNode("span",{style:vue.normalizeStyle({color:vue.unref(r).config[vue.unref(r).platform].completeButton.color})},vue.toDisplayString(vue.unref(r).config[vue.unref(r).platform].completeButton.text),5)]),_:1},8,["color"])]))],16)}}}),CanvesPanel=vue.defineComponent({name:"Canves",inheritAttrs:!1,customOptions:{},setup(){const o=vue.inject("Everright"),e=hooks.useNamespace("Canves"),{state:n,setSelection:r,isEditModel:i,isPc:s}=hooks.useTarget(),a=vue.ref(""),u=c=>{r("root")},l=()=>{const c=vue.resolveComponent(vue.unref(s)?"el-form":"van-form"),d=hooks.useProps(n,n,vue.unref(s),!0),h=vue.createVNode(LayoutDragGable,{"data-layout-type":"root",class:[vue.unref(i)&&e.e("wrap")],data:n.store,parent:n.store,isRoot:!0},null);return vue.createVNode("div",null,[vue.createVNode(c,vue.mergeProps({ref:a,onClick:vue.unref(i)&&u},d.value),{default:()=>[(vue.unref(i),h)]}),!vue.unref(i)&&!lodash.isEmpty(n.config)&&o.props.isShowCompleteButton&&vue.createVNode(_sfc_main$Q,{handle:a},null)])};return()=>vue.createVNode(vue.resolveComponent("ElMain"),{class:[e.b(),i.value&&e.e("editModel"),!vue.unref(s)&&e.e("mobile"),!vue.unref(s)&&e.e(`mobile_layoutType${o.props.layoutType}`)]},{default:()=>[vue.unref(i)?vue.createVNode("div",{class:[e.e("container")]},[vue.createVNode(vue.resolveComponent("el-scrollbar"),{ref:o.canvesScrollRef},{default:()=>[vue.createVNode("div",{class:[e.e("subject")]},[l()])]})]):l()]})}}),__default__$P={name:"ConfigCheckboxComponent",inheritAttrs:!1,customOptions:{}},_sfc_main$P=Object.assign(__default__$P,{props:{field:{type:String,required:!0},label:{type:String,required:!0}},setup(o){const{target:e}=hooks.useTarget(),n=hooks.useNamespace("ConfigCheckboxComponent");return(r,i)=>{const s=vue.resolveComponent("el-checkbox");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(n).b(),vue.unref(e).options[o.field]&&vue.unref(n).e("open")])},[vue.createVNode(s,{modelValue:vue.unref(e).options[o.field],"onUpdate:modelValue":i[0]||(i[0]=a=>vue.unref(e).options[o.field]=a),onChange:i[1]||(i[1]=a=>r.$emit("change",a)),label:o.label},null,8,["modelValue","label"]),r.$slots.default?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass([vue.unref(n).e("slot")])},[vue.renderSlot(r.$slots,"default")],2)),[[vue.vShow,vue.unref(e).options[o.field]]]):vue.createCommentVNode("",!0)],2)}}}),__default__$O={name:"ConfigCollapseComponent",inheritAttrs:!1,customOptions:{}},_sfc_main$O=Object.assign(__default__$O,{props:{field:{type:String,required:!0},operationKey:{type:String,required:!0},label:{type:String,required:!0}},setup(o){const{target:e}=hooks.useTarget(),n=hooks.useNamespace("ConfigCollapseComponent");return(r,i)=>{const s=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(vue.unref(n).b())},[vue.createVNode(s,null,{label:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(n).e("label"))},[vue.createElementVNode("div",null,[vue.createElementVNode("div",null,vue.toDisplayString(o.label),1),vue.unref(e)[o.operationKey][o.field]?vue.renderSlot(r.$slots,"subSelect",{key:0}):vue.createCommentVNode("",!0)]),vue.createVNode(vue.unref(_sfc_main$R),{icon:vue.unref(e)[o.operationKey][o.field]?"minus":"plus",onClick:i[0]||(i[0]=a=>vue.unref(e)[o.operationKey][o.field]=!vue.unref(e)[o.operationKey][o.field])},null,8,["icon"])],2)]),default:vue.withCtx(()=>[vue.unref(e)[o.operationKey][o.field]?vue.renderSlot(r.$slots,"content",{key:0}):vue.createCommentVNode("",!0)]),_:3})],2)}}}),_hoisted_1$1e=["onClick"],__default__$N={name:"ConfigTypeComponent"},_sfc_main$N=Object.assign(__default__$N,{props:{label:{type:String},nodes:{type:Array},height:{type:Number},property:{type:String},val:{type:[String,Number,Boolean]},fontSize:{type:Number},layoutType:{type:Number,default:1}},emits:["listener"],setup(o,{emit:e}){hooks.useTarget(),hooks.useI18n();const n=hooks.useNamespace("ConfigTypeComponent"),r=(i,s)=>{e("listener",{property:i,data:s})};return(i,s)=>{const a=vue.resolveComponent("el-radio-button"),u=vue.resolveComponent("el-radio-group"),l=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(vue.unref(n).b())},[vue.createVNode(l,null,vue.createSlots({default:vue.withCtx(()=>[o.layoutType===1?(vue.openBlock(),vue.createElementBlock("ul",{key:0,ref:"elements",class:vue.normalizeClass([vue.unref(n).e("content")]),style:vue.normalizeStyle({height:o.height+2+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.nodes,c=>(vue.openBlock(),vue.createElementBlock("li",{onClick:()=>!c.disabled&&r(o.property,c),key:c.value,class:vue.normalizeClass([o.val!==void 0&&c.value===o.val&&vue.unref(n).is("Selected"),c.disabled&&vue.unref(n).is("Disabled")])},[vue.createVNode(vue.unref(_sfc_main$R),{icon:c.icon,fontSize:o.fontSize},null,8,["icon","fontSize"])],10,_hoisted_1$1e))),128))],6)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(n).e("slot")])},[o.layoutType===0?vue.renderSlot(i.$slots,"default",{key:0}):vue.createCommentVNode("",!0)],2)]),_:2},[o.label?{name:"label",fn:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(n).e("label"))},[vue.createElementVNode("div",null,[vue.createElementVNode("div",null,vue.toDisplayString(o.label),1)]),o.layoutType===2?(vue.openBlock(),vue.createBlock(u,{key:0,size:"small",modelValue:o.val,onChange:s[0]||(s[0]=c=>r(o.property,{value:c}))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.nodes,c=>(vue.openBlock(),vue.createBlock(a,{label:c.value,key:c.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(c.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])):vue.createCommentVNode("",!0)],2)]),key:"0"}:void 0]),1024)],2)}}}),_hoisted_1$1d={key:0},_hoisted_2$1a={key:1},__default__$M={name:"ConfigBorder",inheritAttrs:!1,customOptions:{}},_sfc_main$M=Object.assign(__default__$M,{setup(o){const{target:e,checkTypeBySelected:n}=hooks.useTarget(),{t:r}=hooks.useI18n(),i=hooks.useNamespace("ConfigBorder");vue.reactive({default:0});const s=new Array(8).fill("tableStokeP").map((u,l)=>({value:l,icon:u+(l+1)}));n(["table"])?(!lodash.has(e.value.style,"borderColor")||!lodash.has(e.value.style,"borderWidth")||!lodash.has(e.value.style,"borderType"))&&(e.value.style.borderColor="#000",e.value.style.borderWidth=e.value.style.borderType=1):e.value.style.border||(e.value.style.borderRadius=0,e.value.style.border={width:1,style:"solid",color:"#4285f4"});const a=({property:u,data:l})=>{u==="borderType"&&(e.value.style.borderType=l.value)};return(u,l)=>{const c=vue.resolveComponent("el-color-picker"),d=vue.resolveComponent("el-col"),h=vue.resolveComponent("el-input-number"),f=vue.resolveComponent("el-form-item"),p=vue.resolveComponent("el-row");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(i).b()])},[vue.unref(n)(["table"])?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1d,[vue.createVNode(_sfc_main$N,{onListener:a,property:"borderType",height:30,fontSize:18,val:vue.unref(e).style.borderType,nodes:vue.unref(s)},null,8,["val","nodes"]),vue.createVNode(p,{justify:"space-between",align:"middle"},{default:vue.withCtx(()=>[vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:vue.unref(e).style.borderColor,"onUpdate:modelValue":l[0]||(l[0]=m=>vue.unref(e).style.borderColor=m)},null,8,["modelValue"])]),_:1}),vue.createVNode(d,{span:18},{default:vue.withCtx(()=>[vue.createVNode(f,{size:"default",label:vue.unref(r)("er.config.borderComponent.borderWidth")},{default:vue.withCtx(()=>[vue.createVNode(h,{style:{width:"100%"},min:0,modelValue:vue.unref(e).style.borderWidth,"onUpdate:modelValue":l[1]||(l[1]=m=>vue.unref(e).style.borderWidth=m),"controls-position":"right"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1a,[vue.createVNode(p,{justify:"space-between",align:"middle"},{default:vue.withCtx(()=>[vue.createVNode(d,{span:3},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:vue.unref(e).style.border.color,"onUpdate:modelValue":l[2]||(l[2]=m=>vue.unref(e).style.border.color=m)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:10},{default:vue.withCtx(()=>[vue.createVNode(f,null,{label:vue.withCtx(()=>[vue.createVNode(vue.unref(_sfc_main$R),{icon:"lineThickness"})]),default:vue.withCtx(()=>[vue.createVNode(h,{step:1,min:0,modelValue:vue.unref(e).style.border.width,"onUpdate:modelValue":l[3]||(l[3]=m=>vue.unref(e).style.border.width=m),"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:10},{default:vue.withCtx(()=>[vue.createVNode(f,null,{label:vue.withCtx(()=>[vue.createVNode(vue.unref(_sfc_main$R),{icon:"radius"})]),default:vue.withCtx(()=>[vue.createVNode(h,{step:1,min:0,modelValue:vue.unref(e).style.borderRadius,"onUpdate:modelValue":l[4]||(l[4]=m=>vue.unref(e).style.borderRadius=m),"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]))],2)}}}),__default__$L={name:"ConfigLimitComponent",inheritAttrs:!1,customOptions:{}},_sfc_main$L=Object.assign(__default__$L,{setup(o){const{t:e}=hooks.useI18n(),{target:n}=hooks.useTarget();return hooks.useNamespace("ConfigLimitComponent"),(r,i)=>{const s=vue.resolveComponent("el-date-picker"),a=vue.resolveComponent("el-form-item"),u=vue.resolveComponent("el-col"),l=vue.resolveComponent("el-row");return vue.openBlock(),vue.createBlock(l,{align:"middle",gutter:8},{default:vue.withCtx(()=>[vue.createVNode(u,{span:11},{default:vue.withCtx(()=>[vue.createVNode(a,{label:vue.unref(e)("er.public.min")},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:vue.unref(n).options.startTime,"onUpdate:modelValue":i[0]||(i[0]=c=>vue.unref(n).options.startTime=c),"value-format":"X",type:"date","disabled-date":c=>vue.unref(n).options&&vue.unref(n).options.endTime&&vue.unref(dayjs).unix(c).isAfter(vue.unref(dayjs).unix(vue.unref(n).options.endTime)),placeholder:""},null,8,["modelValue","disabled-date"])]),_:1},8,["label"])]),_:1}),vue.createVNode(u,{span:2},{default:vue.withCtx(()=>[vue.createTextVNode("~")]),_:1}),vue.createVNode(u,{span:11},{default:vue.withCtx(()=>[vue.createVNode(a,{label:vue.unref(e)("er.public.max")},{default:vue.withCtx(()=>[vue.createVNode(s,{"value-format":"X",modelValue:vue.unref(n).options.endTime,"onUpdate:modelValue":i[1]||(i[1]=c=>vue.unref(n).options.endTime=c),type:"date",placeholder:"","disabled-date":c=>vue.unref(n).options&&vue.unref(n).options.startTime&&vue.unref(dayjs).unix(c).isBefore(vue.unref(dayjs).unix(vue.unref(n).options.startTime))},null,8,["modelValue","disabled-date"])]),_:1},8,["label"])]),_:1})]),_:1})}}}),__default__$K={name:"ConfigAllsides",inheritAttrs:!1,customOptions:{}},_sfc_main$K=Object.assign(__default__$K,{props:{field:{type:String,required:!0},min:{type:Number,default:0}},setup(o){const e=o;hooks.useI18n();const{target:n}=hooks.useTarget(),r=hooks.useNamespace("ConfigAllsides");if(!n.value.style[e.field]){const i=e.field==="margin"?0:16;n.value.style[e.field]={top:i,right:i,bottom:i,left:i}}return(i,s)=>{const a=vue.resolveComponent("el-input-number"),u=vue.resolveComponent("el-col"),l=vue.resolveComponent("el-row");return vue.openBlock(),vue.createElementBlock("div",null,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).b()])},[vue.createVNode(l,{gutter:14,justify:"center"},{default:vue.withCtx(()=>[vue.createVNode(u,{span:12},{default:vue.withCtx(()=>[vue.createVNode(a,{step:10,min:e.min,modelValue:vue.unref(n).style[e.field].left,"onUpdate:modelValue":s[0]||(s[0]=c=>vue.unref(n).style[e.field].left=c),"controls-position":"right"},null,8,["min","modelValue"])]),_:1}),vue.createVNode(u,{span:12},{default:vue.withCtx(()=>[vue.createVNode(a,{step:10,min:e.min,modelValue:vue.unref(n).style[e.field].top,"onUpdate:modelValue":s[1]||(s[1]=c=>vue.unref(n).style[e.field].top=c),"controls-position":"right"},null,8,["min","modelValue"])]),_:1})]),_:1}),vue.createVNode(l,{gutter:14,justify:"center"},{default:vue.withCtx(()=>[vue.createVNode(u,{span:12},{default:vue.withCtx(()=>[vue.createVNode(a,{step:10,min:e.min,modelValue:vue.unref(n).style[e.field].right,"onUpdate:modelValue":s[2]||(s[2]=c=>vue.unref(n).style[e.field].right=c),"controls-position":"right"},null,8,["min","modelValue"])]),_:1}),vue.createVNode(u,{span:12},{default:vue.withCtx(()=>[vue.createVNode(a,{step:10,min:e.min,modelValue:vue.unref(n).style[e.field].bottom,"onUpdate:modelValue":s[3]||(s[3]=c=>vue.unref(n).style[e.field].bottom=c),"controls-position":"right"},null,8,["min","modelValue"])]),_:1})]),_:1})],2)])}}}),_hoisted_1$1c={style:{width:"100%"}},_hoisted_2$19={key:0},_hoisted_3$14=["data-value"],_hoisted_4$u={key:0},_hoisted_5$5=vue.createElementVNode("div",null,"Reapeat",-1),_hoisted_6=vue.createElementVNode("div",null,"Position",-1),_hoisted_7=vue.createElementVNode("div",null,"Attachment",-1),_hoisted_8=vue.createElementVNode("div",null,"Size",-1),__default__$J={name:"ConfigBackground",inheritAttrs:!1,customOptions:{}},_sfc_main$J=Object.assign(__default__$J,{setup(o){const{t:e}=hooks.useI18n(),{target:n}=hooks.useTarget();vue.reactive([0,0,0,0]);const r=hooks.useNamespace("ConfigBackground");vue.ref([]);const i=vue.ref(),s=vue.reactive({visible:!1,value0:!1,color:"",defaultBackground:{}}),a=vue.inject("Everright"),u=vue.inject("Everright-propsPanel");vue.watch(u.bgStatus,b=>{s.value0=b},{immediate:!0});const l=a.props.quickColors,c=vue.ref(a.props.quickImages);vue.watch(c.value,b=>{b.length>=a.props.quickImageLimit&&c.value.pop()});const d=[["repeat","repeat-x","repeat-y","no-repeat"],["left top","left center","left bottom","right top","right center","right bottom","center top","center center","center bottom"],["scroll","fixed","local"],["auto","cover","contain"]];n.value.style.background||(n.value.style.background={color:"",image:"",repeat:"repeat",position:"center center",attachment:"scroll",size:"auto"}),!n.value.style.background.color&&!n.value.style.background.image||(n.value.style.background.color?s.defaultBackground.backgroundColor=n.value.style.background.color:s.defaultBackground.backgroundImage=n.value.style.background.image,u.bgStatus.value=!n.value.style.background.color);const h=(b,y)=>{const A=["color","image"];let k=0;for(;k!==A.length;){const C=A[k];C===b?n.value.style.background[C]=y:n.value.style.background[C]="",k++}};vue.onMounted(()=>{i.value.addEventListener("click",b=>{/[LI, IMG]/.test(b.target.tagName)&&(s.value0?b.target.dataset.value&&(h("image",b.target.dataset.value),s.defaultBackground={backgroundImage:b.target.dataset.value}):(h("color",b.target.dataset.value),s.defaultBackground={backgroundColor:b.target.dataset.value}))}),i.value.addEventListener("mousemove",b=>{/[LI, IMG]/.test(b.target.tagName)&&b.target.dataset.value&&(s.value0?h("image",b.target.dataset.value):h("color",b.target.dataset.value))}),i.value.addEventListener("mouseleave",b=>{s.defaultBackground.backgroundColor?h("color",s.defaultBackground.backgroundColor):h("image",s.defaultBackground.backgroundImage)})});const f=b=>{n.value.style.background.color=b,b?n.value.style.backgroundImage="":s.defaultBackground.backgroundColor?h("color",s.defaultBackground.backgroundColor):h("image",s.defaultBackground.backgroundImage)},p=b=>{b&&(s.defaultBackground={backgroundColor:b})},m=b=>{const y=s.value0?s.defaultBackground.backgroundImage:s.defaultBackground.backgroundColor;return b===y},g=b=>b.size>2*1024*1024?(elementPlus.ElMessage({message:e("er.validateMsg.fileSize",{size:2}),type:"warning"}),!1):!0,v=b=>{elementPlus.ElMessage.error(b.toString())},_=(b,y)=>{c.value.unshift(b.data[0].url),vue.nextTick(()=>{i.value.children[1].click()})};return(b,y)=>{const A=vue.resolveComponent("el-color-picker"),k=vue.resolveComponent("Plus"),C=vue.resolveComponent("el-icon"),E=vue.resolveComponent("el-upload"),F=vue.resolveComponent("el-image"),S=vue.resolveComponent("el-option"),B=vue.resolveComponent("el-select"),P=vue.resolveComponent("el-col"),L=vue.resolveComponent("el-row");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1c,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).e("background")])},[s.value0?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$19,[vue.createVNode(A,{size:"large",onActiveChange:f,onChange:p,modelValue:vue.unref(n).style.background.color,"onUpdate:modelValue":y[0]||(y[0]=D=>vue.unref(n).style.background.color=D),"show-alpha":""},null,8,["modelValue"])])),vue.createElementVNode("ul",{class:vue.normalizeClass([s.value0?vue.unref(r).e("quickImage"):vue.unref(r).e("quickColor")]),ref_key:"element",ref:i},[s.value0?(vue.openBlock(),vue.createElementBlock("li",{key:0,class:vue.normalizeClass(vue.unref(r).e("uploadFile"))},[vue.createVNode(E,{accept:".png,.jpg",action:vue.unref(a).props.fileUploadURI,"list-type":"picture-card",ref_key:"element",ref:i,"show-file-list":!1,"before-upload":g,"on-success":_,"on-error":v},{default:vue.withCtx(()=>[vue.createVNode(C,null,{default:vue.withCtx(()=>[vue.createVNode(k)]),_:1})]),_:1},8,["action"])],2)):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(s.value0?c.value:vue.unref(l),(D,O)=>(vue.openBlock(),vue.createElementBlock("li",{key:O,"data-value":D,style:vue.normalizeStyle(!s.value0&&{backgroundColor:D}),class:vue.normalizeClass([m(D)&&"selectedBg","selectColorFirst"])},[s.value0?(vue.openBlock(),vue.createBlock(F,{key:0,"data-value":D,src:D,lazy:""},null,8,["data-value","src"])):vue.createCommentVNode("",!0)],14,_hoisted_3$14))),128))],2)],2),s.defaultBackground.backgroundImage?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$u,[vue.createVNode(L,{gutter:14},{default:vue.withCtx(()=>[vue.createVNode(P,{span:12},{default:vue.withCtx(()=>[_hoisted_5$5,vue.createVNode(B,{modelValue:vue.unref(n).style.background.repeat,"onUpdate:modelValue":y[1]||(y[1]=D=>vue.unref(n).style.background.repeat=D),placeholder:"Select",size:"large"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d[0],D=>(vue.openBlock(),vue.createBlock(S,{key:D,label:D,value:D},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(P,{span:12},{default:vue.withCtx(()=>[_hoisted_6,vue.createVNode(B,{modelValue:vue.unref(n).style.background.position,"onUpdate:modelValue":y[2]||(y[2]=D=>vue.unref(n).style.background.position=D),placeholder:"Select",size:"large"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d[1],D=>(vue.openBlock(),vue.createBlock(S,{key:D,label:D,value:D},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(L,{gutter:14},{default:vue.withCtx(()=>[vue.createVNode(P,{span:12},{default:vue.withCtx(()=>[_hoisted_7,vue.createVNode(B,{modelValue:vue.unref(n).style.background.attachment,"onUpdate:modelValue":y[3]||(y[3]=D=>vue.unref(n).style.background.attachment=D),placeholder:"Select",size:"large"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d[2],D=>(vue.openBlock(),vue.createBlock(S,{key:D,label:D,value:D},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(P,{span:12},{default:vue.withCtx(()=>[_hoisted_8,vue.createVNode(B,{modelValue:vue.unref(n).style.background.size,"onUpdate:modelValue":y[4]||(y[4]=D=>vue.unref(n).style.background.size=D),placeholder:"Select",size:"large"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d[3],D=>(vue.openBlock(),vue.createBlock(S,{key:D,label:D,value:D},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})])):vue.createCommentVNode("",!0)])}}});function _isSlot$1(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!vue.isVNode(o)}const PanelsConfigComponentsDataComponent1=vue.defineComponent({name:"ConfigData1",inheritAttrs:!1,customOptions:{},data(){return{checkList:[],data:[]}},computed:{isMultiple(){let o=!1;const{state:e,target:n,type:r}=hooks.useTarget();switch(r.value){case"checkbox":o=!0;break;case"select":case"cascader":o=n.value.options.multiple;break;case"tabs":case"radio":o=!1;break}return o}},created(){const{state:o,target:e}=hooks.useTarget();o.mode==="config"?this.data=e.value.options.data=e.value.options.data||[...utils$4.generateOptions(3)]:this.data=lodash.cloneDeep(o.data[e.value.options.dataKey].list),this.isMultiple?this.checkList=lodash.cloneDeep(e.value.options.defaultValue):this.checkList=[e.value.options.defaultValue]},methods:{getData(){return new Promise((o,e)=>{this.$refs.form.validate(n=>{if(n){const r={data:lodash.cloneDeep(this.data),defaultValue:""};this.isMultiple?r.defaultValue=lodash.intersection(r.data.map(i=>i.value),vue.unref(this.checkList)):lodash.find(r.data,{value:vue.unref(this.checkList)[0]})!==-1&&(r.defaultValue=vue.unref(this.checkList)[0]),o(r)}else e()})})}},render(o){let e;const{t:n}=hooks.useI18n(),r=hooks.useNamespace("ConfigData1"),i=({field:l},c,d)=>{const h=c.trim();if(h===""||h===null||h===void 0)return d(new Error(n("er.validateMsg.required"))),!1;if(l.includes("value")){if(this.data.filter(f=>f.value===h).length>1)return d(new Error(n("er.validateMsg.idUnique"))),!1;d()}else d()},s={item:({element:l,index:c})=>vue.createVNode("tr",null,[vue.createVNode("td",null,[vue.createVNode(vue.resolveComponent("el-checkbox"),{onChange:d=>u(d,l),label:l.value},null)]),vue.createVNode("td",null,[vue.createVNode(vue.resolveComponent("el-form-item"),{prop:`${c}.value`,rules:{validator:i}},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{clearable:!0,modelValue:l.value,"onUpdate:modelValue":d=>l.value=d},null)]})]),vue.createVNode("td",null,[vue.createVNode(vue.resolveComponent("el-form-item"),{prop:`${c}.label`,rules:{validator:i}},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{clearable:!0,modelValue:l.label,"onUpdate:modelValue":d=>l.label=d},null)]})]),vue.createVNode("td",null,[vue.createVNode("div",{class:r.e("operate")},[vue.createVNode(_sfc_main$R,{class:[r.e("icon")],onClick:()=>this.data.splice(c,1),icon:"delete"},null),vue.createVNode(_sfc_main$R,{class:[r.e("icon"),"handle"],icon:"move1"},null)])])])},a=l=>{switch(l){case 1:this.data.push(...utils$4.generateOptions(1)),vue.nextTick(()=>{this.$refs.scrollbar.setScrollTop(this.$refs.scrollbar.wrapRef.scrollHeight)});break}},u=(l,c)=>{if(!this.isMultiple){if(!l)return!1;vue.unref(this.checkList).filter(d=>d!==c.value).forEach(d=>{vue.unref(this.checkList).splice(vue.unref(this.checkList).indexOf(d),1)})}};return vue.createVNode("div",null,[vue.createVNode("table",{class:[r.e("tableThead")]},[vue.createVNode("thead",null,[vue.createVNode("tr",null,[vue.createVNode("th",{width:"42"},[n("er.config.dataComponent1.defaultLabel")]),vue.createVNode("th",null,[n("er.config.dataComponent1.unique")]),vue.createVNode("th",null,[n("er.config.dataComponent1.name")]),vue.createVNode("th",{width:"80"},[n("er.config.dataComponent1.operate")])])])]),vue.createVNode(vue.resolveComponent("el-scrollbar"),{ref:"scrollbar",height:"400px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-form"),{ref:"form",model:this.data},{default:()=>[vue.createVNode(vue.resolveComponent("el-checkbox-group"),{modelValue:this.checkList,"onUpdate:modelValue":l=>this.checkList=l},{default:()=>[vue.createVNode("table",{className:[r.e("table")]},[vue.createVNode("thead",null,[vue.createVNode("tr",null,[vue.createVNode("th",{width:"42"},null),vue.createVNode("th",null,null),vue.createVNode("th",null,null),vue.createVNode("th",{width:"80"},null)])]),vue.createVNode(dragGableWrap,{tag:"tbody",list:this.data,handle:".handle","item-key":"null"},s)])]})]})]}),vue.createVNode("div",{class:r.e("button")},[vue.createVNode(vue.resolveComponent("el-button"),{onClick:()=>a(1)},_isSlot$1(e=n("er.config.dataComponent1.add"))?e:{default:()=>[e]})])])}});var utils$3={},REG_NUMBER=/^([+-])?0*(\d+)(\.(\d+))?$/,REG_E=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,e2ten=utils$3.e2ten=function(o){var e=REG_E.exec(o.toString());if(!e)return o;var n=e[2],r=e[4]||"",i=e[5]?+e[5]:0;if(i>0){var s=r.substr(0,i);s=s.length2){var r=[].slice.call(arguments,2);r.unshift(e),o.apply(null,r)}return e};var hasAttr=utils$3.hasAttr=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)};utils$3.extend=function(o){for(var e,n=arguments[0]||{},r=Array.prototype.slice.call(arguments,1),i=0;i=5?(o-4)*4+4:o},utils$3.unshiftZero=function(o,e){if(e==null&&(e=1),!(e<=0))for(;e--;)o.unshift(0)},utils$3.clearZero=function(o,e,n){if(o==null)return"";var r=~"*.?+$^[](){}|\\/".indexOf(e)?"\\"+e:e,i=new RegExp("^"+r+"+"),s=new RegExp(r+"+$"),a=new RegExp(r+"{2}","g");return o=o.toString(),n=="^"&&(o=o.replace(i,"")),(!n||n=="$")&&(o=o.replace(s,"")),(!n||n=="nto1")&&(o=o.replace(a,e)),o};var utils$2=utils$3;function CL(o,e){var n=utils$2.getNumbResult(o);if(!n)return o;e=e||{};var r=this.ch,i=this.ch_u,s=this.ch_f||"",a=this.ch_d||".",u=r.charAt(0),l=n.int,c=n.decimal,d=n.minus,h="",f="",p=d?s:"",m=function y(A,k,C){A=utils$2.getNumbResult(A).int;var E="",F=arguments.length>1?arguments[1]:e.tenMin,S=A.length;if(S==1)return r.charAt(+A);if(S<=4)for(var B=0,P=S;P--;){var L=+A.charAt(B);E+=F&&S==2&&B==0&&L==1?"":r.charAt(L),E+=L&&P?i.charAt(P):"",B++}else{for(var D=A.length/4>>0,O=A.length%4;O==0||!i.charAt(3+D);)O+=4,D--;var R=A.substr(0,O),N=A.substr(O);E=y(R,F)+i.charAt(3+D)+(N.charAt(0)=="0"?u:"")+y(N,N.length>4?F:!1)}return E=utils$2.clearZero(E,u),E};if(c){c=utils$2.clearZero(c,"0","$");for(var g=0;g5){var v=i.charAt(4),_=i.charAt(5),b=h.lastIndexOf(_);~b&&(h=h.substring(0,b).replace(new RegExp(_,"g"),v+v)+h.substring(b))}return p+h+f}function unCL(o){o=o.toString();var e=o.split(this.ch_d),n=e[0].replace(this.ch_f,""),r=e[1],i=!!~e[0].indexOf(this.ch_f),s=this.ch_u.charAt(1),a=this.ch_u.charAt(4),u=this.ch_u.charAt(5);n=n.replace(new RegExp(a+"{2}","g"),u);for(var l=n.split(""),c=0,d=0,h=[],f=[],p=[],m=0;m0&&p.unshift(v);else if(~(_=this.ch_u.indexOf(g))){var b=utils$2.getDigit(_);c>_?(utils$2.unshiftZero(p,b),utils$2.centerArray(f,p)):_>=d?(m==0&&(p=[1]),utils$2.centerArray(h,f,p),h.length>0&&utils$2.unshiftZero(h,b),d=_):(p.length==0&&s==g&&(p=[1]),utils$2.centerArray(f,p),utils$2.unshiftZero(f,utils$2.getDigit(_)),c=_)}}utils$2.centerArray(h,f,p).reverse(),h.length==0&&h.push(0);var y=0;if(r){h.push("."),y="0.";for(var m=0;m{o({data:lodash.cloneDeep(this.data[0])})})}},render(o){const{t:e,lang:n}=hooks.useI18n(),r=hooks.useNamespace("ConfigData2"),i=(a,u,l)=>{switch(a){case 1:l.push(...utils$4.generateOptions(1)),vue.nextTick(()=>{this.scrollbars[u].setScrollTop(this.scrollbars[u].wrapRef.scrollHeight)});break;case 2:if(u>=this.len)return!1;this.selected[u]=l.value,this.shows.forEach((c,d)=>{d>u+1&&(this.shows[d]=!1,this.data[d]=[]),d>u&&(this.selected[d]="")}),this.shows[u+1]=!0,l.children||(l.children=[]),this.data[u+1]=l.children;break;case 3:l.disabled=!l.disabled,this.shows.forEach((c,d)=>{d>u&&(this.shows[d]=!1,this.data[d]=[],this.selected[d]="")});break}},s=({items:a,index:u})=>{let l,c;return vue.createVNode("div",{class:[r.e("item")]},[vue.createVNode("div",{class:r.e("title")},[n.value==="zh-cn"?`${cn$1.encodeS(u+1)}${e("er.config.dataComponent2.level")}`:`${e("er.config.dataComponent2.level")} ${u+1}`]),vue.createVNode("div",null,[vue.createVNode(vue.resolveComponent("el-scrollbar"),{ref:d=>this.scrollbars.push(d),tag:"ul","max-height":"320px"},_isSlot(l=a.map((d,h)=>vue.createVNode("li",null,[vue.createVNode("div",{class:[r.e("input"),this.selected.includes(d.value)&&r.is("Selected")]},[vue.createVNode(vue.resolveComponent("el-input"),{clearable:!0,size:"default",disabled:d.disabled,onClick:()=>i(2,u,d),modelValue:d.label,"onUpdate:modelValue":f=>d.label=f},null),vue.createVNode(vue.resolveComponent("el-icon"),{onClick:()=>a.splice(h,1),color:"#fff",size:10,class:r.e("del")},{default:()=>[vue.createVNode(vue.resolveComponent("Minus"),null,null)]}),vue.createVNode(vue.resolveComponent("el-icon"),{onClick:()=>i(3,u,d),color:"#409eff",size:20,class:[r.e("hide"),d.disabled&&r.e("show")]},{default:()=>[d.disabled?vue.createVNode(vue.resolveComponent("Hide"),null,null):vue.createVNode(vue.resolveComponent("View"),null,null)]})])])))?l:{default:()=>[l]})]),this.shows[u]&&vue.createVNode("div",{class:[r.e("control")]},[vue.createVNode(vue.resolveComponent("el-button"),{icon:"CirclePlus",onClick:()=>i(1,u,a),text:!0},_isSlot(c=e("er.config.dataComponent2.add"))?c:{default:()=>[c]})])])};return vue.createVNode(vue.resolveComponent("el-scrollbar"),{ref:"scrollbar"},{default:()=>[vue.createVNode("div",{class:[r.b()]},[this.data.map((a,u)=>vue.createVNode(s,{ref:"listComponent",items:a,index:u},null))])]})}}),_hoisted_1$1b={class:"el-form-item__label"},_hoisted_2$18={style:{width:"100%"}},__default__$I={name:"ConfigData3"},_sfc_main$I=Object.assign(__default__$I,{setup(o){const{checkTypeBySelected:e,target:n}=hooks.useTarget(),{t:r}=hooks.useI18n(),i=hooks.useNamespace("ConfigData3"),s=a=>{const u=utils$4.renderFieldData(`${n.value.type}Col`);u.label=`Tab ${vue.unref(n).columns.length+1}`,vue.unref(n).columns.push(u),utils$4.addContext(u,n.value)};return(a,u)=>{const l=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-input"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,null,{label:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(i).e("title")])},[vue.createElementVNode("span",_hoisted_1$1b,vue.toDisplayString(vue.unref(r)("er.config.dataComponent3.panel")),1),vue.createVNode(l,{text:"",onClick:s},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(r)("er.config.dataComponent3.add")),1)]),_:1})],2)]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$18,[vue.createVNode(vue.unref(dragGableWrap),{list:vue.unref(n).columns,"item-key":"id",tag:"ul",handle:".handle",class:vue.normalizeClass([vue.unref(i).e("content")])},{item:vue.withCtx(({element:h,index:f})=>[vue.createElementVNode("li",null,[vue.createVNode(c,{size:"default",clearable:"",modelValue:h.label,"onUpdate:modelValue":p=>h.label=p},null,8,["modelValue","onUpdate:modelValue"]),vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(i).e("operate"))},[vue.createVNode(vue.unref(_sfc_main$R),{class:vue.normalizeClass([vue.unref(i).e("icon")]),onClick:p=>vue.unref(n).columns.splice(f,1),icon:"delete"},null,8,["class","onClick"]),vue.createVNode(vue.unref(_sfc_main$R),{class:vue.normalizeClass([vue.unref(i).e("icon"),"handle"]),icon:"Rank"},null,8,["class"])],2)])]),_:1},8,["list","class"])])]),_:1})}}}),_hoisted_1$1a={key:12},_hoisted_2$17={key:13},_hoisted_3$13={class:"dialog-footer"},__default__$H={name:"ConfigPropsPanel",inheritAttrs:!1,customOptions:{}},_sfc_main$H=Object.assign(__default__$H,{props:{optionsList:{type:Object,default:()=>{}}},emits:["changePanel"],setup(__props){const props=__props,ER=vue.inject("Everright"),ns=hooks.useNamespace("PropsPanel"),dictOptions=vue.ref([]),documentOptions=vue.ref([]),fieldOptions=vue.ref([]),{t}=hooks.useI18n(),{type,state,checkTypeBySelected,target,isSelectField,isSelectGrid,isSelectTabs,isSelectCollapse,isSelectTable,isPc}=hooks.useTarget(),bgStatus=vue.ref(!1);vue.provide("Everright-propsPanel",{bgStatus});const dialogVisible=vue.ref(!1),dataRef=vue.ref(),titleRef=vue.ref(),options=[{value:"date",label:"date"},{value:"dates",label:"dates"},{value:"datetime",label:"datetime"},{value:"daterange",label:"daterange"}],options0=vue.computed(()=>{let o=[];return checkTypeBySelected(["time"])&&(o=[{label:"HH:mm:ss",value:"HH:mm:ss"},{label:"HH\u65F6mm\u5206ss\u79D2",value:"HH\u65F6mm\u5206ss\u79D2"}]),checkTypeBySelected(["date"])&&(target.value.options.type==="datetime"?o=[{label:"YYYY-MM-DD HH:mm:ss",value:"YYYY-MM-DD HH:mm:ss"},{label:"YYYY-MM-DD hh:mm:ss",value:"YYYY-MM-DD hh:mm:ss"}]:o=[{label:"YYYY-MM-DD",value:"YYYY-MM-DD"},{label:"YYYY/MM/DD",value:"YYYY/MM/DD"},{label:"YYYY\u5E74MM\u6708DD\u65E5",value:"YYYY\u5E74MM\u6708DD\u65E5"}]),o}),widthOptions=["1/4","1/3","1/2","2/3","3/4","1"],options1=vue.computed(()=>widthOptions.map((o,e)=>{const n={value:o,disabled:!1,icon:`widthRatioP${e+1}`};switch(target.value.context.parent.columns.length){case 2:n.disabled=/^(1)$/.test(n.value);break;case 3:n.disabled=/^(1|3\/4|2\/3|1\/4)$/.test(n.value);break}return n})),options2=["none","solid","dotted","dashed","double","groove","ridge","inset","outset"],options4=vue.computed(()=>[{label:t("er.config.tabsLayout.style.options[0]"),value:"",icon:"tabStyleP1"},{label:t("er.config.tabsLayout.style.options[1]"),value:"card",icon:"tabStyleP2"},{label:t("er.config.tabsLayout.style.options[2]"),value:"border-card",icon:"tabStyleP3"}]),options5=vue.computed(()=>[{label:t("er.config.tabsLayout.tabPosition.options[0]"),value:"top",icon:"tabsLocationP1"},{label:t("er.config.tabsLayout.tabPosition.options[1]"),value:"bottom",icon:"tabsLocationP2"},{label:t("er.config.tabsLayout.tabPosition.options[2]"),value:"left",icon:"tabsLocationP3"},{label:t("er.config.tabsLayout.tabPosition.options[3]"),value:"right",icon:"tabsLocationP4"}]),options6=vue.computed(()=>[{label:t("er.config.gridLayout.justify.options[0]"),value:"start",icon:"horizontalLayoutP1"},{label:t("er.config.gridLayout.justify.options[1]"),value:"end",icon:"horizontalLayoutP2"},{label:t("er.config.gridLayout.justify.options[2]"),value:"center",icon:"horizontalLayoutP3"},{label:t("er.config.gridLayout.justify.options[3]"),value:"space-around",icon:"horizontalLayoutP4"},{label:t("er.config.gridLayout.justify.options[4]"),value:"space-between",icon:"horizontalLayoutP5"}]),options7=vue.computed(()=>[{label:t("er.config.propsPanel.layout.options[0]"),value:"block"},{label:t("er.config.propsPanel.layout.options[1]"),value:"inline"}]),options8=vue.computed(()=>[{label:t("er.config.propsPanel.region.options[0]"),value:1},{label:t("er.config.propsPanel.region.options[1]"),value:2},{label:t("er.config.propsPanel.region.options[2]"),value:3}]),options9=vue.computed(()=>[{icon:"numberButtonP2",value:!1},{icon:"numberButtonP1",value:!0}]),options10=vue.computed(()=>[{icon:"dividerLocationP1",value:"left"},{icon:"dividerLocationP2",value:"center"},{icon:"dividerLocationP3",value:"right"}]),typeProps=hooks.useProps(state,target,!0,!1,(o,e)=>{switch(o){case"time":case"cascader":case"number":case"date":case"rate":case"switch":case"slider":delete e.disabled;break}}),checkLogicData=()=>{utils$4.checkIdExistInLogic(target.value.id,state.logic)&&(elementPlus.ElMessage({showClose:!0,duration:4e3,message:t("er.logic.logicSuggests"),type:"warning"}),utils$4.removeLogicDataByid(target.value.id,state.logic))},handleDocumentChange=o=>{checkLogicData(),o&&(fieldOptions.value=[],props.optionsList.fieldOptions.forEach(e=>{e.docId===o&&(console.log(e,"======documentItem"),(e.type===0&&checkTypeBySelected(["input","number","textarea","select"])||e.type===1&&checkTypeBySelected(["input","number","textarea","select"])||e.type===2&&checkTypeBySelected(["date"])||e.type===3&&checkTypeBySelected(["uploadfile"]))&&fieldOptions.value.push(e))}),console.log(target,fieldOptions.value,"=====target"),target.value.documentId=o)},handleFieldChange=o=>{checkLogicData(),o&&(fieldOptions.value.forEach(e=>{e.fieldId===o&&(console.log(e,"======fieldItem"),target.value.fieldId=o,target.value.label=e.fieldName,target.value.options.defaultValue=e.defaultValue,target.value.options.placeholder="\u8BF7\u8F93\u5165"+e.fieldName,target.value.options.required=e.allowNull===0)}),console.log(target,"=====target"))},handleChange0=o=>{checkLogicData(),/^(dates|datarange)$/.test(o)?target.value.options.defaultValue=[]:target.value.options.defaultValue="",options0.value.includes(o)||(target.value.options.format=options0.value[0].value)},handleChange1=()=>{checkLogicData(),target.value.options.defaultValue=""},handleMultipleChange=o=>{checkLogicData(),o?target.value.options.defaultValue=[]:target.value.options.defaultValue=""},handleAction=(o,e)=>{switch(o){case 1:if(state.mode==="config")return vue.unref(dataRef).getData().then(({data:n})=>{dialogVisible.value=!1}),!1;checkTypeBySelected(["cascader"])?vue.unref(dataRef).getData().then(({data:n})=>{state.data[target.value.options.dataKey].list=n,dialogVisible.value=!1}):vue.unref(dataRef).getData().then(({data:n,defaultValue:r})=>{state.data[target.value.options.dataKey].list=n,target.value.options.defaultValue=r,dialogVisible.value=!1});break;case 2:dialogVisible.value=!1;break}},handleTypeListener=({property,data})=>{switch(property){case"width":const val=Number((eval(data.value)*100).toFixed(2));utils$4.syncWidthByPlatform(target.value,state.platform,!1,val);break;case"type":target.value.options.type=data.value;break;case"tabPosition":target.value.options.tabPosition=data.value;break;case"justify":target.value.options.justify=data.value;break;case"displayStyle":target.value.options.displayStyle=data.value;break;case"selectType":target.value.options.selectType=data.value,target.value.options.defaultValue="";break;case"controlsPosition":target.value.options.controlsPosition=data.value;break;case"contentPosition":target.value.options.contentPosition=data.value;break}};return vue.onMounted(()=>{titleRef.value&&titleRef.value.focus(),dictOptions.value=props.optionsList.dictOptions,documentOptions.value=props.optionsList.documentOptions}),(o,e)=>{const n=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),i=vue.resolveComponent("el-form-item"),s=vue.resolveComponent("el-col"),a=vue.resolveComponent("el-row"),u=vue.resolveComponent("el-input"),l=vue.resolveComponent("el-input-number"),c=vue.resolveComponent("el-cascader"),d=vue.resolveComponent("el-time-picker"),h=vue.resolveComponent("el-date-picker"),f=vue.resolveComponent("el-rate"),p=vue.resolveComponent("el-button"),m=vue.resolveComponent("el-switch"),g=vue.resolveComponent("el-slider"),v=vue.resolveComponent("el-color-picker"),_=vue.resolveComponent("arrow-down"),b=vue.resolveComponent("el-icon"),y=vue.resolveComponent("el-dropdown-item"),A=vue.resolveComponent("el-dropdown-menu"),k=vue.resolveComponent("el-dropdown"),C=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(ns).b())},[vue.createElementVNode("div",null,[vue.renderSlot(o.$slots,"empty")]),vue.unref(isSelectField)?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:0,label:vue.unref(t)("er.config.propsPanel.fieldBind"),operationKey:"options",field:"isShowLabel"},{content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(ns).e("collapseWrap"),vue.unref(ns).e("collapseWrap-left")])},[vue.createVNode(a,{align:"middle"},{default:vue.withCtx(()=>[vue.createVNode(s,{span:24},{default:vue.withCtx(()=>[vue.createVNode(i,null,{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:vue.unref(target).documentId,"onUpdate:modelValue":e[0]||(e[0]=E=>vue.unref(target).documentId=E),onChange:handleDocumentChange,placeholder:"\u8BF7\u9009\u62E9\u6587\u79CD",style:{width:"100%","margin-bottom":"10px"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(documentOptions.value,E=>(vue.openBlock(),vue.createBlock(n,{key:E.docId,label:E.docName,value:E.docId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(s,{span:24},{default:vue.withCtx(()=>[vue.createVNode(i,null,{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:vue.unref(target).fieldId,"onUpdate:modelValue":e[1]||(e[1]=E=>vue.unref(target).fieldId=E),onChange:handleFieldChange,placeholder:"\u8BF7\u9009\u62E9\u5B57\u6BB5",style:{width:"100%","margin-bottom":"10px"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(fieldOptions.value,E=>(vue.openBlock(),vue.createBlock(n,{key:E.fieldId,label:E.fieldName,value:E.fieldId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],2)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(isSelectField)?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:1,label:vue.unref(t)("er.config.propsPanel.title"),operationKey:"options",field:"isShowLabel"},{content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(ns).e("collapseWrap"),vue.unref(ns).e("collapseWrap-left")])},[vue.createVNode(a,{justify:"space-between",align:"middle"},{default:vue.withCtx(()=>[vue.createVNode(s,{span:vue.unref(isPc)?11:24},{default:vue.withCtx(()=>[vue.createVNode(i,null,{label:vue.withCtx(()=>[vue.createVNode(vue.unref(_sfc_main$R),{icon:"title"})]),default:vue.withCtx(()=>[vue.createVNode(u,{ref_key:"titleRef",ref:titleRef,clearable:"",modelValue:vue.unref(target).label,"onUpdate:modelValue":e[2]||(e[2]=E=>vue.unref(target).label=E)},null,8,["modelValue"])]),_:1})]),_:1},8,["span"]),vue.unref(isPc)?(vue.openBlock(),vue.createBlock(s,{key:0,span:12},{default:vue.withCtx(()=>[vue.createVNode(i,null,{label:vue.withCtx(()=>[vue.createVNode(vue.unref(_sfc_main$R),{icon:"dragWidth"})]),default:vue.withCtx(()=>[vue.createVNode(l,{"controls-position":"right",modelValue:vue.unref(target).options.labelWidth,"onUpdate:modelValue":e[3]||(e[3]=E=>vue.unref(target).options.labelWidth=E)},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:1})],2)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input","textarea","time","date","number","rate","color","switch","slider","button","divider","cascader","region"],"defaultValue")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:2,label:vue.unref(t)("er.config.propsPanel.defaultContent"),layoutType:0},{default:vue.withCtx(()=>[vue.unref(checkTypeBySelected)(["cascader","region"],"defaultValue")?(vue.openBlock(),vue.createBlock(c,vue.mergeProps({key:0,modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[4]||(e[4]=E=>vue.unref(target).options.defaultValue=E)},vue.unref(typeProps),{clearable:"",style:{width:"100%"}}),null,16,["modelValue"])):vue.unref(checkTypeBySelected)(["textarea"],"defaultValue")?(vue.openBlock(),vue.createBlock(u,{key:1,type:"textarea",rows:"4",modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[5]||(e[5]=E=>vue.unref(target).options.defaultValue=E)},null,8,["modelValue"])):vue.unref(checkTypeBySelected)(["input","divider"],"defaultValue")?(vue.openBlock(),vue.createBlock(u,{key:2,modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[6]||(e[6]=E=>vue.unref(target).options.defaultValue=E),clearable:""},null,8,["modelValue"])):vue.unref(checkTypeBySelected)(["number"],"defaultValue")?(vue.openBlock(),vue.createBlock(l,vue.mergeProps({key:3,style:{width:"100%"}},vue.unref(typeProps),{modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[7]||(e[7]=E=>vue.unref(target).options.defaultValue=E)}),null,16,["modelValue"])):vue.unref(checkTypeBySelected)(["time"],"defaultValue")?(vue.openBlock(),vue.createBlock(d,vue.mergeProps({key:4},vue.unref(typeProps),{style:{width:"100%"},clearable:"",modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[8]||(e[8]=E=>vue.unref(target).options.defaultValue=E)}),null,16,["modelValue"])):vue.unref(checkTypeBySelected)(["date"],"defaultValue")?(vue.openBlock(),vue.createBlock(h,vue.mergeProps({key:5},vue.unref(typeProps),{style:{width:"100%"},modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[9]||(e[9]=E=>vue.unref(target).options.defaultValue=E),clearable:""}),null,16,["modelValue"])):vue.unref(checkTypeBySelected)(["rate"],"defaultValue")?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:6},[vue.createVNode(f,vue.mergeProps(vue.unref(typeProps),{modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[10]||(e[10]=E=>vue.unref(target).options.defaultValue=E)}),null,16,["modelValue"]),vue.unref(target).options.defaultValue>0?(vue.openBlock(),vue.createBlock(p,{key:0,link:"",onClick:e[11]||(e[11]=E=>vue.unref(target).options.defaultValue=0)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.clear")),1)]),_:1})):vue.createCommentVNode("",!0)],64)):vue.unref(checkTypeBySelected)(["switch"],"defaultValue")?(vue.openBlock(),vue.createBlock(m,vue.mergeProps({key:7},vue.unref(typeProps),{modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[12]||(e[12]=E=>vue.unref(target).options.defaultValue=E)}),null,16,["modelValue"])):vue.unref(checkTypeBySelected)(["slider"],"defaultValue")?(vue.openBlock(),vue.createBlock(g,vue.mergeProps({key:8},vue.unref(typeProps),{modelValue:vue.unref(target).options.defaultValue,"onUpdate:modelValue":e[13]||(e[13]=E=>vue.unref(target).options.defaultValue=E),style:{padding:"0 14px"}}),null,16,["modelValue"])):vue.createCommentVNode("",!0)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["select","radio","checkbox","cascader"],"dataEntry")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:3,label:vue.unref(t)("er.public.Data"),layoutType:0},{default:vue.withCtx(()=>[vue.createVNode(p,{style:{width:"100%"},type:"primary",onClick:e[14]||(e[14]=E=>dialogVisible.value=!0)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.dataEntry")),1)]),_:1})]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["rate"],"star")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:4,label:vue.unref(t)("er.config.propsPanel.star"),layoutType:0},{default:vue.withCtx(()=>[vue.createVNode(l,{min:1,"controls-position":"right",modelValue:vue.unref(target).options.max,"onUpdate:modelValue":e[15]||(e[15]=E=>vue.unref(target).options.max=E)},null,8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input","textarea","select","cascader","time","date","html","region"],"placeholder")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:5,layoutType:0,label:vue.unref(t)("er.config.propsPanel.placeholder")},{default:vue.withCtx(()=>[vue.unref(checkTypeBySelected)(["input","select","cascader","time","date","html","region"],"placeholder")?(vue.openBlock(),vue.createBlock(u,{key:0,modelValue:vue.unref(target).options.placeholder,"onUpdate:modelValue":e[16]||(e[16]=E=>vue.unref(target).options.placeholder=E),clearable:""},null,8,["modelValue"])):vue.unref(checkTypeBySelected)(["textarea"],"placeholder")?(vue.openBlock(),vue.createBlock(u,{key:1,type:"textarea",modelValue:vue.unref(target).options.placeholder,"onUpdate:modelValue":e[17]||(e[17]=E=>vue.unref(target).options.placeholder=E),clearable:""},null,8,["modelValue"])):vue.createCommentVNode("",!0)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["signature"],"brushColor")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:6,layoutType:0,label:vue.unref(t)("er.config.propsPanel.brushColor")},{default:vue.withCtx(()=>[vue.createVNode(v,{"color-format":"rgb",modelValue:vue.unref(target).options.penColor,"onUpdate:modelValue":e[18]||(e[18]=E=>vue.unref(target).options.penColor=E)},null,8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["time","date"],"format")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:7,layoutType:0,label:vue.unref(t)("er.config.propsPanel.format")},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:vue.unref(target).options.format,"onUpdate:modelValue":e[19]||(e[19]=E=>vue.unref(target).options.format=E),style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(options0.value,E=>(vue.openBlock(),vue.createBlock(n,{key:E.value,label:E.label,value:E.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["date"],"dateType")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:8,layoutType:0,label:vue.unref(t)("er.config.propsPanel.dateType")},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:vue.unref(target).options.type,"onUpdate:modelValue":e[20]||(e[20]=E=>vue.unref(target).options.type=E),onChange:handleChange0,style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(options,E=>vue.createVNode(n,{key:E.value,label:E.label,value:E.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["radio","checkbox"],"displayStyle")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:9,onListener:handleTypeListener,property:"displayStyle",label:vue.unref(t)("er.config.propsPanel.layout.label"),val:vue.unref(target).options.displayStyle,nodes:options7.value,layoutType:2},null,8,["label","val","nodes"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["divider"],"contentPosition")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:10,label:vue.unref(t)("er.config.propsPanel.contentPosition.label"),onListener:handleTypeListener,property:"contentPosition",height:50,fontSize:80,nodes:options10.value,val:vue.unref(target).options.contentPosition},null,8,["label","nodes","val"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["textarea"],"textareaHeight")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:11,layoutType:0,label:vue.unref(t)("er.config.propsPanel.textareaHeight")},{default:vue.withCtx(()=>[vue.createVNode(g,{modelValue:vue.unref(target).options.rows,"onUpdate:modelValue":e[21]||(e[21]=E=>vue.unref(target).options.rows=E),max:10,"show-input":""},null,8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["uploadfile"],"uploadfile")?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1a,[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.uploadfile.fileType")},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:vue.unref(target).options.accept,"onUpdate:modelValue":e[22]||(e[22]=E=>vue.unref(target).options.accept=E),placeholder:"\u8F93\u5165\u53EA\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B\u540E\u7F00\u3002\u4F8B\u5982 .png,.jpg"},null,8,["modelValue"])]),_:1},8,["label"]),vue.createVNode(a,{gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.uploadfile.uploadLimit")},{default:vue.withCtx(()=>[vue.createVNode(l,{style:{width:"100%"},min:1,"controls-position":"right",modelValue:vue.unref(target).options.limit,"onUpdate:modelValue":e[23]||(e[23]=E=>vue.unref(target).options.limit=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:`${vue.unref(t)("er.config.propsPanel.uploadfile.fileSize")}(MB)`},{default:vue.withCtx(()=>[vue.createVNode(l,{style:{width:"100%"},modelValue:vue.unref(target).options.size,"onUpdate:modelValue":e[24]||(e[24]=E=>vue.unref(target).options.size=E),"controls-position":"right",min:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["uploadimg"],"uploadimg")?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$17,[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.uploadImg.fileType")},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:vue.unref(target).options.accept,"onUpdate:modelValue":e[25]||(e[25]=E=>vue.unref(target).options.accept=E),placeholder:"\u8F93\u5165\u53EA\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B\u540E\u7F00\u3002\u4F8B\u5982 .png,.jpg"},null,8,["modelValue"])]),_:1},8,["label"]),vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.uploadimg.customField")},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:vue.unref(target).options.customField,"onUpdate:modelValue":e[26]||(e[26]=E=>vue.unref(target).options.customField=E),placeholder:"\u8BF7\u8F93\u5165\u81EA\u5B9A\u4E49\u5B57\u6BB5"},null,8,["modelValue"])]),_:1},8,["label"]),vue.createVNode(a,{gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.uploadimg.uploadLimit")},{default:vue.withCtx(()=>[vue.createVNode(l,{style:{width:"100%"},min:1,"controls-position":"right",modelValue:vue.unref(target).options.limit,"onUpdate:modelValue":e[27]||(e[27]=E=>vue.unref(target).options.limit=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:`${vue.unref(t)("er.config.propsPanel.uploadimg.fileSize")}(MB)`},{default:vue.withCtx(()=>[vue.createVNode(l,{style:{width:"100%"},modelValue:vue.unref(target).options.size,"onUpdate:modelValue":e[28]||(e[28]=E=>vue.unref(target).options.size=E),"controls-position":"right",min:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input"],"affix")&&vue.unref(target).options.renderType===1&&vue.unref(isPc)?(vue.openBlock(),vue.createBlock(a,{key:14,gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.prepend")},{default:vue.withCtx(()=>[vue.createVNode(u,{style:{width:"100%"},modelValue:vue.unref(target).options.prepend,"onUpdate:modelValue":e[29]||(e[29]=E=>vue.unref(target).options.prepend=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.append")},{default:vue.withCtx(()=>[vue.createVNode(u,{style:{width:"100%"},modelValue:vue.unref(target).options.append,"onUpdate:modelValue":e[30]||(e[30]=E=>vue.unref(target).options.append=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["number","slider"],"step")?(vue.openBlock(),vue.createBlock(a,{key:15,gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:vue.unref(type)!=="slider"?12:24},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.config.propsPanel.step")},{default:vue.withCtx(()=>[vue.createVNode(l,{min:0,style:{width:"100%"},"controls-position":"right",modelValue:vue.unref(target).options.step,"onUpdate:modelValue":e[31]||(e[31]=E=>vue.unref(target).options.step=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["span"]),vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.unref(type)!=="slider"?(vue.openBlock(),vue.createBlock(i,{key:0,label:vue.unref(t)("er.config.propsPanel.precision")},{default:vue.withCtx(()=>[vue.createVNode(l,{min:0,"controls-position":"right",modelValue:vue.unref(target).options.precision,"onUpdate:modelValue":e[32]||(e[32]=E=>vue.unref(target).options.precision=E)},null,8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["slider"],"sliderCount")?(vue.openBlock(),vue.createBlock(a,{key:16,gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.public.max")},{default:vue.withCtx(()=>[vue.createVNode(l,{"controls-position":"right",modelValue:vue.unref(target).options.max,"onUpdate:modelValue":e[33]||(e[33]=E=>vue.unref(target).options.max=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),vue.createVNode(s,{span:12},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.public.min")},{default:vue.withCtx(()=>[vue.createVNode(l,{"controls-position":"right",modelValue:vue.unref(target).options.min,"onUpdate:modelValue":e[34]||(e[34]=E=>vue.unref(target).options.min=E)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["region"],"regionType")?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:17,label:vue.unref(t)("er.config.propsPanel.region.label"),layoutType:0},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:vue.unref(target).options.selectType,"onUpdate:modelValue":e[35]||(e[35]=E=>vue.unref(target).options.selectType=E),onChange:handleChange1},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(options8.value,E=>(vue.openBlock(),vue.createBlock(n,{key:E.value,label:E.label,value:E.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(utils$4).checkIslineChildren(vue.unref(target))&&vue.unref(target).context.parent.columns.length!==4&&!(vue.unref(ER).props.layoutType===1&&!vue.unref(isPc))?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:18,onListener:handleTypeListener,property:"width",label:vue.unref(t)("er.public.width"),height:40,fontSize:28,nodes:options1.value},null,8,["label","nodes"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input","textarea"],"isShowTrim")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:19,label:vue.unref(t)("er.config.propsPanel.trim"),field:"isShowTrim"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input"],"wordLimit")&&vue.unref(target).options.renderType===1||vue.unref(checkTypeBySelected)(["textarea","number"],"wordLimit")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:20,label:vue.unref(t)("er.config.propsPanel.wordLimit"),field:"isShowWordLimit"},{default:vue.withCtx(()=>[vue.createVNode(a,{align:"middle",gutter:8},{default:vue.withCtx(()=>[vue.createVNode(s,{span:11},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.public.min")},{default:vue.withCtx(()=>[vue.createVNode(l,{"controls-position":"right",max:vue.unref(target).options.max===null||vue.unref(target).options.max===void 0?void 0:vue.unref(target).options.max-1,modelValue:vue.unref(target).options.min,"onUpdate:modelValue":e[36]||(e[36]=E=>vue.unref(target).options.min=E)},null,8,["max","modelValue"])]),_:1},8,["label"])]),_:1}),vue.createVNode(s,{span:2},{default:vue.withCtx(()=>[vue.createTextVNode("~")]),_:1}),vue.createVNode(s,{span:11},{default:vue.withCtx(()=>[vue.createVNode(i,{label:vue.unref(t)("er.public.max")},{default:vue.withCtx(()=>[vue.createVNode(l,{min:vue.unref(target).options.min+1,"controls-position":"right",step:10,modelValue:vue.unref(target).options.max,"onUpdate:modelValue":e[37]||(e[37]=E=>vue.unref(target).options.max=E)},null,8,["min","modelValue"])]),_:1},8,["label"])]),_:1})]),_:1})]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["date"],"dateRange")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:21,label:vue.unref(t)("er.config.propsPanel.dateRange"),field:"isShowWordLimit"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$L)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(isSelectField)&&!vue.unref(checkTypeBySelected)(["rate","switch","slider","divider"],"required")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:22,label:vue.unref(t)("er.validateMsg.required"),field:"required"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(isSelectGrid)?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:23,onListener:handleTypeListener,property:"justify",label:vue.unref(t)("er.config.gridLayout.justify.label"),height:40,fontSize:40,val:vue.unref(target).options.justify,nodes:options6.value},null,8,["label","val","nodes"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["collapse","tabs"],"Data3")?(vue.openBlock(),vue.createBlock(_sfc_main$I,{key:24})):vue.createCommentVNode("",!0),vue.unref(isSelectTabs)?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:25,onListener:handleTypeListener,property:"type",label:vue.unref(t)("er.config.tabsLayout.style.label"),height:66,fontSize:70,val:vue.unref(target).options.type,nodes:options4.value},null,8,["label","val","nodes"])):vue.createCommentVNode("",!0),vue.unref(isSelectTabs)?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:26,onListener:handleTypeListener,property:"tabPosition",label:vue.unref(t)("er.config.tabsLayout.tabPosition.label"),height:40,fontSize:66,val:vue.unref(target).options.tabPosition,nodes:options5.value},null,8,["label","val","nodes"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["table","grid","col","collapse","collapseCol","tabs","tabsCol"],"margin")?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:27,label:vue.unref(t)("er.public.margin"),operationKey:"style",field:"isShowMargin"},{content:vue.withCtx(()=>[vue.createVNode(_sfc_main$K,{field:"margin"})]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["grid","col","collapse","collapseCol","tabs","tabsCol","td"],"padding")?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:28,label:vue.unref(t)("er.public.padding"),operationKey:"style",field:"isShowPadding"},{content:vue.withCtx(()=>[vue.createVNode(_sfc_main$K,{field:"padding"})]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["grid","col","collapse","collapseCol","tabs","tabsCol","td","table"],"background")?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:29,label:vue.unref(t)("er.public.background"),operationKey:"style",field:"isShowBackground"},{subSelect:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(ns).e("collapseSubSelect")])},[vue.createVNode(k,{onCommand:e[38]||(e[38]=E=>{bgStatus.value=E})},{dropdown:vue.withCtx(()=>[vue.createVNode(A,null,{default:vue.withCtx(()=>[vue.createVNode(y,{command:0},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.color")),1)]),_:1}),vue.createVNode(y,{command:1},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.image")),1)]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createTextVNode(vue.toDisplayString(bgStatus.value?vue.unref(t)("er.public.image"):vue.unref(t)("er.public.color")),1),vue.createVNode(b,{class:"el-icon--right"},{default:vue.withCtx(()=>[vue.createVNode(_)]),_:1})])]),_:1})],2)]),content:vue.withCtx(()=>[vue.createVNode(_sfc_main$J)]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["grid","col","collapse","collapseCol","tabs","tabsCol","table"],"borderLine")?(vue.openBlock(),vue.createBlock(_sfc_main$O,{key:30,label:vue.unref(t)("er.config.borderComponent.borderLine"),operationKey:"style",field:"isShowBorder"},vue.createSlots({content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(ns).e("collapseWrap"),vue.unref(ns).e("collapseWrap-left")])},[vue.createVNode(_sfc_main$M)],2)]),_:2},[vue.unref(checkTypeBySelected)(["table","borderLine"])?void 0:{name:"subSelect",fn:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(ns).e("collapseSubSelect")])},[vue.createVNode(k,{onCommand:e[39]||(e[39]=E=>vue.unref(target).style.border.style=E)},{dropdown:vue.withCtx(()=>[vue.createVNode(A,null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(options2,E=>vue.createVNode(y,{command:E,key:E},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(E),1)]),_:2},1032,["command"])),64))]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createTextVNode(vue.toDisplayString(vue.unref(target).style.border&&vue.unref(target).style.border.style),1),vue.createVNode(b,{class:"el-icon--right"},{default:vue.withCtx(()=>[vue.createVNode(_)]),_:1})])]),_:1})],2)]),key:"0"}]),1032,["label"])):vue.createCommentVNode("",!0),vue.unref(isSelectCollapse)?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:31,label:vue.unref(t)("er.config.propsPanel.accordion"),field:"accordion"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(isSelectField)&&!vue.unref(checkTypeBySelected)(["divider"])?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:32},[vue.createVNode(_sfc_main$P,{label:vue.unref(t)("er.public.disabled"),field:"disabled"},null,8,["label"]),vue.unref(checkTypeBySelected)(["input"],"showPassword")&&vue.unref(target).options.renderType===1?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:0,label:vue.unref(t)("er.config.propsPanel.showPassword"),field:"showPassword"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["select","cascader","uploadfile"],"multiple")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:1,label:vue.unref(t)("er.config.propsPanel.multiple"),onChange:handleMultipleChange,field:"multiple"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["select","cascader","transfer","region"],"filterable")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:2,label:vue.unref(t)("er.config.propsPanel.filterable"),field:"filterable"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(isPc)&&vue.unref(checkTypeBySelected)(["number"],"controls")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:3,label:vue.unref(t)("er.config.propsPanel.numberControls.label"),field:"controls"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$N,{onListener:handleTypeListener,property:"controlsPosition",height:30,fontSize:50,nodes:options9.value,val:vue.unref(target).options.controlsPosition},null,8,["nodes","val"])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["rate"],"allowHalf")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:4,label:vue.unref(t)("er.config.propsPanel.allowHalf"),field:"allowHalf"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["color"],"alpha")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:5,label:vue.unref(t)("er.config.propsPanel.alpha"),field:"showAlpha"},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["cascader"],"anyNode")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:6,label:vue.unref(t)("er.config.propsPanel.anyNode"),field:"checkStrictly",onChange:checkLogicData},null,8,["label"])):vue.createCommentVNode("",!0),vue.unref(checkTypeBySelected)(["input","select","time","date","cascader","region"],"clearable")?(vue.openBlock(),vue.createBlock(_sfc_main$P,{key:7,label:vue.unref(t)("er.config.propsPanel.clearable"),field:"clearable"},null,8,["label"])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],2),vue.createVNode(C,{modelValue:dialogVisible.value,"onUpdate:modelValue":e[42]||(e[42]=E=>dialogVisible.value=E),title:vue.unref(t)("er.public.dataEntry"),"destroy-on-close":!0,"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":"",width:"80%",draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$13,[vue.createVNode(p,{onClick:e[40]||(e[40]=E=>handleAction(2))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.cancel")),1)]),_:1}),vue.createVNode(p,{type:"primary",onClick:e[41]||(e[41]=E=>handleAction(1))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(t)("er.public.confirm")),1)]),_:1})])]),default:vue.withCtx(()=>[vue.unref(checkTypeBySelected)(["cascader"],"data2")?(vue.openBlock(),vue.createBlock(vue.unref(PanelsConfigComponentsDataComponent2),{key:0,ref_key:"dataRef",ref:dataRef},null,512)):(vue.openBlock(),vue.createBlock(vue.unref(PanelsConfigComponentsDataComponent1),{key:1,ref_key:"dataRef",ref:dataRef},null,512))]),_:1},8,["modelValue","title"])],64)}}}),__default__$G={name:"er-DeviceSwitch"},_sfc_main$G=Object.assign(__default__$G,{props:{modelValue:{type:String,default:"pc"}},emits:["update:modelValue"],setup(o,{emit:e}){const n=o,r=hooks.useNamespace("DeviceSwitch");return(i,s)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(r).b()])},[vue.createVNode(vue.unref(_sfc_main$R),{onClick:s[0]||(s[0]=()=>e("update:modelValue","pc")),icon:"PC",class:vue.normalizeClass([vue.unref(r).e("icon"),n.modelValue==="pc"&&"active"])},null,8,["class"]),vue.createVNode(vue.unref(_sfc_main$R),{onClick:s[1]||(s[1]=()=>e("update:modelValue","mobile")),icon:"cellphone",class:vue.normalizeClass([vue.unref(r).e("icon"),n.modelValue==="mobile"&&"active"])},null,8,["class"])],2))}}),generateIfFilterOptionsData=(o,e)=>{const n={options:[],operators:{}};return e.forEach(r=>{const i={label:r.label,value:r.id};switch(r.type){case"textarea":case"input":case"html":i.renderType="TEXT",i.operatorKey="Text";break;case"region":i.renderType="REGION",i.operatorKey="Region",i.selectType=r.options.selectType;break;case"date":i.renderType="DATE",i.operatorKey="Number",i.includeOperator={dateOperator:["date"]},i.datePanel={excludeShortcuts:-1,excludeManuals:-1},r.options.type==="datetime"&&(i.renderType="DATE",i.operatorKey="Number"),r.options.type==="dates"&&(i.renderType="DATE",i.operatorKey="Text"),r.options.type==="daterange"&&(i.renderType="DATE",i.operatorKey="Text",i.excludeOperator={operator:["contains","not_contain"]}),i.datePanel.pickerType=r.options.type||"date";break;case"number":i.renderType="NUMBER",i.operatorKey="Number";break;case"rate":i.renderType="NUMBER",i.operatorKey="Number";break;case"slider":i.renderType="NUMBER",i.operatorKey="Number",i.excludeOperator={operator:["not_empty","empty"]};break;case"radio":i.renderType="SELECT",i.operatorKey="Text";break;case"checkbox":i.renderType="SELECT",i.operatorKey="Text",i.multiple=!0;break;case"select":i.renderType="SELECT",i.operatorKey="Text",i.multiple=r.options.multiple;break;case"switch":i.renderType="SELECT",i.operatorKey="Text",i.excludeOperator={operator:["contains","not_contain","not_empty","empty"]};break;case"cascader":i.renderType="CASCADER",i.operatorKey="Text",i.multiple=r.options.multiple,i.customProps={onChange:()=>{},props:{multiple:r.options.multiple,emitPath:!0,checkStrictly:r.options.checkStrictly,disabled:"disabled"}},i.excludeOperator={operator:["contains","not_contain"]};break;case"time":i.renderType="TIME",i.operatorKey="Number",i.format="HH:mm:ss";break;case"signature":case"uploadfile":i.renderType="NONE",i.operatorKey="Text",i.includeOperator={operator:["empty","not_empty"]};break}if(!n.operators[i.operatorKey])switch(i.operatorKey){case"Text":n.operators.Text=[{value:"equal",style:"noop"},{value:"not_equal",style:"noop"},{value:"contains",style:"tags"},{value:"not_contain",style:"tags"},{value:"empty",style:"none"},{value:"not_empty",style:"none"}].map(s=>(s.label=utils$4.transferData("zh-cn",`er.logic.filter.${s.value}`,modules$2),s.en_label=utils$4.transferData("en",`er.logic.filter.${s.value}`,modules$2),s));break;case"Number":n.operators.Number=[{value:"equal",style:"noop"},{value:"not_equal",style:"noop"},{value:"greater_than",style:"noop"},{value:"greater_than_equal",style:"noop"},{value:"less_than",style:"noop"},{value:"less_than_equal",style:"noop"},{value:"between",style:"range"},{value:"empty",style:"none"},{value:"not_empty",style:"none"}].map(s=>(s.label=utils$4.transferData("zh-cn",`er.logic.filter.${s.value}`,modules$2),s.en_label=utils$4.transferData("en",`er.logic.filter.${s.value}`,modules$2),s));break;case"Region":n.operators.Region=[{value:"one_of",style:"tags"},{value:"not_one_of",style:"tags"},{value:"belong_one_of",style:"tags"},{value:"not_belong_one_of",style:"tags"},{value:"empty",style:"none"},{value:"not_empty",style:"none"}].map(s=>(s.label=utils$4.transferData("zh-cn",`er.logic.filter.${s.value}`,modules$2),s.en_label=utils$4.transferData("en",`er.logic.filter.${s.value}`,modules$2),s));break}n.options.push(i)}),n},generateIfFilterConditionsData=(o,e,n)=>{let r={};const i=lodash.find(e.fields,{id:n});return lodash.isEmpty(i)||(i.type==="switch"?r=[{label:utils$4.transferData("zh-cn","er.logic.filter.on",modules$2),en_label:utils$4.transferData("en","er.logic.filter.on",modules$2),value:1},{label:utils$4.transferData("zh-cn","er.logic.filter.off",modules$2),en_label:utils$4.transferData("en","er.logic.filter.off",modules$2),value:0}]:r=e.mode==="edit"?lodash.get(e.data,`${i.options.dataKey}.list`,[]):lodash.get(i,"options.data",[])),r},generateThenFilterOptionsData=(o,e)=>{let n={};switch(o){case"visible":n={options:[{label:utils$4.transferData("zh-cn","er.logic.filter.show",modules$2),en_label:utils$4.transferData("en","er.logic.filter.show",modules$2),value:"show",renderType:"SELECT",operatorKey:"Text"},{label:utils$4.transferData("zh-cn","er.logic.filter.hide",modules$2),en_label:utils$4.transferData("en","er.logic.filter.hide",modules$2),value:"hide",renderType:"SELECT",operatorKey:"Text"}],operators:{Text:[{label:utils$4.transferData("zh-cn","er.logic.filter.field",modules$2),en_label:utils$4.transferData("en","er.logic.filter.field",modules$2),value:"field",style:"tags"}]}};break;case"required":n={options:[{label:"",value:"required",renderType:"SELECT",operatorKey:"Text",multiple:!0}],operators:{Text:[{label:utils$4.transferData("zh-cn","er.logic.filter.required",modules$2),en_label:utils$4.transferData("en","er.logic.filter.required",modules$2),value:"required",style:"noop"},{label:utils$4.transferData("zh-cn","er.logic.filter.not_required",modules$2),en_label:utils$4.transferData("en","er.logic.filter.not_required",modules$2),value:"not_required",style:"noop"}]}};break;case"readOnly":n={options:[{label:"",value:"readOnly",renderType:"SELECT",operatorKey:"Text",multiple:!0}],operators:{Text:[{label:utils$4.transferData("zh-cn","er.logic.filter.readOnly",modules$2),en_label:utils$4.transferData("en","er.logic.filter.readOnly",modules$2),value:"readOnly",style:"noop"},{label:utils$4.transferData("zh-cn","er.logic.filter.editable",modules$2),en_label:utils$4.transferData("en","er.logic.filter.editable",modules$2),value:"editable",style:"noop"}]}};break}return n},generateThenFilterConditionsData=(o,e)=>e.map(n=>({label:n.label,value:n.id}));var yr=Object.defineProperty,Er=(o,e,n)=>e in o?yr(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Lt=(o,e,n)=>(Er(o,typeof e!="symbol"?e+"":e,n),n);const w={EVERRIGHTFILTER:"EverrightFilter",FILTERITEM:"FilterItem",FILTERRULE:"FilterRule",PICKERCOMPONENT:"PickerComponent",TRIGGERCOMPONENT:"TriggerComponent",OPERATORCOMPONENT:"OperatorComponent",NUMBERTYPE:"NumberType",SELECTTYPE:"SelectType",TEXTTYPE:"TextType",TIMETYPE:"TimeType",DATETYPE:"DateType",REGIONTYPE:"RegionType",CASCADERTYPE:"CascaderType",DATECOMPONENT:"DateComponent",CONSTRAINTCOMPONENT:"ConstraintComponent",DAYHOURCOMPONENT:"DayHourComponent"};function Dn(o,e){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),n.push.apply(n,r)}return n}function Ae(o){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(o).reduce((n,r)=>(e.includes(r)||(n[r]=vue.unref(o[r])),n),{})}function Et(o){return typeof o=="function"}function Cr(o){return vue.isReactive(o)||vue.isReadonly(o)}function E1(o,e,n){let r=o;const i=e.split(".");for(let s=0;so.some(r=>E1(e,r,{[n]:!1})[n]))}function An(o,e,n){return vue.computed(()=>o.reduce((r,i)=>{const s=E1(e,i,{[n]:!1})[n]||[];return r.concat(s)},[]))}function b1(o,e,n,r){return o.call(r,vue.unref(e),vue.unref(n),r)}function $1(o){return o.$valid!==void 0?!o.$valid:!o}function Pr(o,e,n,r,i,s,a){let{$lazy:u,$rewardEarly:l}=i,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],d=arguments.length>8?arguments[8]:void 0,h=arguments.length>9?arguments[9]:void 0,f=arguments.length>10?arguments[10]:void 0;const p=vue.ref(!!r.value),m=vue.ref(0);n.value=!1;const g=vue.watch([e,r].concat(c,f),()=>{if(u&&!r.value||l&&!h.value&&!n.value)return;let v;try{v=b1(o,e,d,a)}catch(_){v=Promise.reject(_)}m.value++,n.value=!!m.value,p.value=!1,Promise.resolve(v).then(_=>{m.value--,n.value=!!m.value,s.value=_,p.value=$1(_)}).catch(_=>{m.value--,n.value=!!m.value,s.value=_,p.value=!0})},{immediate:!0,deep:typeof e=="object"});return{$invalid:p,$unwatch:g}}function kr(o,e,n,r,i,s,a,u){let{$lazy:l,$rewardEarly:c}=r;const d=()=>({}),h=vue.computed(()=>{if(l&&!n.value||c&&!u.value)return!1;let f=!0;try{const p=b1(o,e,a,s);i.value=p,f=$1(p)}catch(p){i.value=p}return f});return{$unwatch:d,$invalid:h}}function Dr(o,e,n,r,i,s,a,u,l,c,d){const h=vue.ref(!1),f=o.$params||{},p=vue.ref(null);let m,g;o.$async?{$invalid:m,$unwatch:g}=Pr(o.$validator,e,h,n,r,p,i,o.$watchTargets,l,c,d):{$invalid:m,$unwatch:g}=kr(o.$validator,e,n,r,p,i,l,c);const v=o.$message;return{$message:Et(v)?vue.computed(()=>v(Nn({$pending:h,$invalid:m,$params:Nn(f),$model:e,$response:p,$validator:s,$propertyPath:u,$property:a}))):v||"",$params:f,$pending:h,$invalid:m,$response:p,$unwatch:g}}function Nr(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=vue.unref(o),n=Object.keys(e),r={},i={},s={};let a=null;return n.forEach(u=>{const l=e[u];switch(!0){case Et(l.$validator):r[u]=l;break;case Et(l):r[u]={$validator:l};break;case u==="$validationGroups":a=l;break;case u.startsWith("$"):s[u]=l;break;default:i[u]=l}}),{rules:r,nestedValidators:i,config:s,validationGroups:a}}const Ar="__root";function Lr(o,e,n,r,i,s,a,u,l){const c=Object.keys(o),d=r.get(i,o),h=vue.ref(!1),f=vue.ref(!1),p=vue.ref(0);if(d){if(!d.$partial)return d;d.$unwatch(),h.value=d.$dirty.value}const m={$dirty:h,$path:i,$touch:()=>{h.value||(h.value=!0)},$reset:()=>{h.value&&(h.value=!1)},$commit:()=>{}};return c.length?(c.forEach(g=>{m[g]=Dr(o[g],e,m.$dirty,s,a,g,n,i,l,f,p)}),m.$externalResults=vue.computed(()=>u.value?[].concat(u.value).map((g,v)=>({$propertyPath:i,$property:n,$validator:"$externalResults",$uid:`${i}-externalResult-${v}`,$message:g,$params:{},$response:null,$pending:!1})):[]),m.$invalid=vue.computed(()=>{const g=c.some(v=>vue.unref(m[v].$invalid));return f.value=g,!!m.$externalResults.value.length||g}),m.$pending=vue.computed(()=>c.some(g=>vue.unref(m[g].$pending))),m.$error=vue.computed(()=>m.$dirty.value?m.$pending.value||m.$invalid.value:!1),m.$silentErrors=vue.computed(()=>c.filter(g=>vue.unref(m[g].$invalid)).map(g=>{const v=m[g];return vue.reactive({$propertyPath:i,$property:n,$validator:g,$uid:`${i}-${g}`,$message:v.$message,$params:v.$params,$response:v.$response,$pending:v.$pending})}).concat(m.$externalResults.value)),m.$errors=vue.computed(()=>m.$dirty.value?m.$silentErrors.value:[]),m.$unwatch=()=>c.forEach(g=>{m[g].$unwatch()}),m.$commit=()=>{f.value=!0,p.value=Date.now()},r.set(i,o,m),m):(d&&r.set(i,o,m),m)}function Ir(o,e,n,r,i,s,a){const u=Object.keys(o);return u.length?u.reduce((l,c)=>(l[c]=Ut({validations:o[c],state:e,key:c,parentKey:n,resultsCache:r,globalConfig:i,instance:s,externalResults:a}),l),{}):{}}function Vr(o,e,n){const r=vue.computed(()=>[e,n].filter(m=>m).reduce((m,g)=>m.concat(Object.values(vue.unref(g))),[])),i=vue.computed({get(){return o.$dirty.value||(r.value.length?r.value.every(m=>m.$dirty):!1)},set(m){o.$dirty.value=m}}),s=vue.computed(()=>{const m=vue.unref(o.$silentErrors)||[],g=r.value.filter(v=>(vue.unref(v).$silentErrors||[]).length).reduce((v,_)=>v.concat(..._.$silentErrors),[]);return m.concat(g)}),a=vue.computed(()=>{const m=vue.unref(o.$errors)||[],g=r.value.filter(v=>(vue.unref(v).$errors||[]).length).reduce((v,_)=>v.concat(..._.$errors),[]);return m.concat(g)}),u=vue.computed(()=>r.value.some(m=>m.$invalid)||vue.unref(o.$invalid)||!1),l=vue.computed(()=>r.value.some(m=>vue.unref(m.$pending))||vue.unref(o.$pending)||!1),c=vue.computed(()=>r.value.some(m=>m.$dirty)||r.value.some(m=>m.$anyDirty)||i.value),d=vue.computed(()=>i.value?l.value||u.value:!1),h=()=>{o.$touch(),r.value.forEach(m=>{m.$touch()})},f=()=>{o.$commit(),r.value.forEach(m=>{m.$commit()})},p=()=>{o.$reset(),r.value.forEach(m=>{m.$reset()})};return r.value.length&&r.value.every(m=>m.$dirty)&&h(),{$dirty:i,$errors:a,$invalid:u,$anyDirty:c,$error:d,$pending:l,$touch:h,$reset:p,$silentErrors:s,$commit:f}}function Ut(o){let{validations:e,state:n,key:r,parentKey:i,childResults:s,resultsCache:a,globalConfig:u={},instance:l,externalResults:c}=o;const d=i?`${i}.${r}`:r,{rules:h,nestedValidators:f,config:p,validationGroups:m}=Nr(e),g=Ae(Ae({},u),p),v=r?vue.computed(()=>{const V=vue.unref(n);return V?vue.unref(V[r]):void 0}):n,_=Ae({},vue.unref(c)||{}),b=vue.computed(()=>{const V=vue.unref(c);return r?V?vue.unref(V[r]):void 0:V}),y=Lr(h,v,r,a,d,g,l,b,n),A=Ir(f,v,d,a,g,l,b),k={};m&&Object.entries(m).forEach(V=>{let[U,M]=V;k[U]={$invalid:It(M,A,"$invalid"),$error:It(M,A,"$error"),$pending:It(M,A,"$pending"),$errors:An(M,A,"$errors"),$silentErrors:An(M,A,"$silentErrors")}});const{$dirty:C,$errors:E,$invalid:F,$anyDirty:S,$error:B,$pending:P,$touch:L,$reset:D,$silentErrors:O,$commit:R}=Vr(y,A,s),N=r?vue.computed({get:()=>vue.unref(v),set:V=>{C.value=!0;const U=vue.unref(n),M=vue.unref(c);M&&(M[r]=_[r]),vue.isRef(U[r])?U[r].value=V:U[r]=V}}):null;r&&g.$autoDirty&&vue.watch(v,()=>{C.value||L();const V=vue.unref(c);V&&(V[r]=_[r])},{flush:"sync"});async function I(){return L(),g.$rewardEarly&&(R(),await vue.nextTick()),await vue.nextTick(),new Promise(V=>{if(!P.value)return V(!F.value);const U=vue.watch(P,()=>{V(!F.value),U()})})}function x(V){return(s.value||{})[V]}function T(){vue.isRef(c)?c.value=_:Object.keys(_).length===0?Object.keys(c).forEach(V=>{delete c[V]}):Object.assign(c,_)}return vue.reactive(Ae(Ae(Ae({},y),{},{$model:N,$dirty:C,$error:B,$errors:E,$invalid:F,$anyDirty:S,$pending:P,$touch:L,$reset:D,$path:d||Ar,$silentErrors:O,$validate:I,$commit:R},s&&{$getResultsForChild:x,$clearExternalResults:T,$validationGroups:k}),A))}class Br{constructor(){this.storage=new Map}set(e,n,r){this.storage.set(e,{rules:n,result:r})}checkRulesValidity(e,n,r){const i=Object.keys(r),s=Object.keys(n);return s.length!==i.length||!s.every(a=>i.includes(a))?!1:s.every(a=>n[a].$params?Object.keys(n[a].$params).every(u=>vue.unref(r[a].$params[u])===vue.unref(n[a].$params[u])):!0)}get(e,n){const r=this.storage.get(e);if(!r)return;const{rules:i,result:s}=r,a=this.checkRulesValidity(e,n,i),u=s.$unwatch?s.$unwatch:()=>({});return a?s:{$dirty:s.$dirty,$partial:!0,$unwatch:u}}}const ft={COLLECT_ALL:!0,COLLECT_NONE:!1},Ln=Symbol("vuelidate#injectChildResults"),In=Symbol("vuelidate#removeChildResults");function Fr(o){let{$scope:e,instance:n}=o;const r={},i=vue.ref([]),s=vue.computed(()=>i.value.reduce((d,h)=>(d[h]=vue.unref(r[h]),d),{}));function a(d,h){let{$registerAs:f,$scope:p,$stopPropagation:m}=h;m||e===ft.COLLECT_NONE||p===ft.COLLECT_NONE||e!==ft.COLLECT_ALL&&e!==p||(r[f]=d,i.value.push(f))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],a);function u(d){i.value=i.value.filter(h=>h!==d),delete r[d]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],u);const l=vue.inject(Ln,[]);vue.provide(Ln,n.__vuelidateInjectInstances);const c=vue.inject(In,[]);return vue.provide(In,n.__vuelidateRemoveInstances),{childResults:s,sendValidationResultsToParent:l,removeValidationResultsFromParent:c}}function S1(o){return new Proxy(o,{get(e,n){return typeof e[n]=="object"?S1(e[n]):vue.computed(()=>e[n])}})}let Vn=0;function jr(o,e){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=o,o=void 0,e=void 0);let{$registerAs:i,$scope:s=ft.COLLECT_ALL,$stopPropagation:a,$externalResults:u,currentVueInstance:l}=r;const c=l||((n=vue.getCurrentInstance())===null||n===void 0?void 0:n.proxy),d=c?c.$options:{};i||(Vn+=1,i=`_vuelidate_${Vn}`);const h=vue.ref({}),f=new Br,{childResults:p,sendValidationResultsToParent:m,removeValidationResultsFromParent:g}=c?Fr({$scope:s,instance:c}):{childResults:vue.ref({})};if(!o&&d.validations){const v=d.validations;e=vue.ref({}),vue.onBeforeMount(()=>{e.value=c,vue.watch(()=>Et(v)?v.call(e.value,new S1(e.value)):v,_=>{h.value=Ut({validations:_,state:e,childResults:p,resultsCache:f,globalConfig:r,instance:c,externalResults:u||c.vuelidateExternalResults})},{immediate:!0})}),r=d.validationsConfig||r}else{const v=vue.isRef(o)||Cr(o)?o:vue.reactive(o||{});vue.watch(v,_=>{h.value=Ut({validations:_,state:e,childResults:p,resultsCache:f,globalConfig:r,instance:c!=null?c:{},externalResults:u})},{immediate:!0})}return c&&(m.forEach(v=>v(h,{$registerAs:i,$scope:s,$stopPropagation:a})),vue.onBeforeUnmount(()=>g.forEach(v=>v(i)))),vue.computed(()=>Ae(Ae({},vue.unref(h.value)),p.value))}const w1=o=>{if(o=vue.unref(o),Array.isArray(o))return!!o.length;if(o==null)return!1;if(o===!1)return!0;if(o instanceof Date)return!isNaN(o.getTime());if(typeof o=="object"){for(let e in o)return!0;return!1}return!!String(o).length};function qe(){for(var o=arguments.length,e=new Array(o),n=0;n(r=vue.unref(r),!w1(r)||e.every(i=>(i.lastIndex=0,i.test(r))))}qe(/^[a-zA-Z]*$/),qe(/^[a-zA-Z0-9]*$/),qe(/^\d*(\.\d+)?$/);const qr=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;qe(qr);function Mr(o){return typeof o=="string"&&(o=o.trim()),w1(o)}var ye={$validator:Mr,$message:"Value is required",$params:{type:"required"}};const zr=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;qe(zr),qe(/(^[0-9]*$)|(^-[0-9]+$)/),qe(/^[-]?\d*(\.\d+)?$/);const Fe=o=>o===1?"days":"hours",ut=o=>o==="days"?1:2,Ur=new RegExp(`^(${[w.PICKERCOMPONENT,w.NUMBERTYPE,w.TEXTTYPE,w.SELECTTYPE,w.TIMETYPE,w.DATETYPE,w.DATECOMPONENT,w.REGIONTYPE,w.CASCADERTYPE].join("|")})$`);class Re{constructor(e){this.handle="",this.state={name:e,fn:new Promise((n,r)=>{this.handle=n})}}finished(){this.handle()}}const xe=()=>lodash.uniqueId("types_"),Xe=o=>o===""||o===null||o===void 0||Array.isArray(o)&&(!o.length||o.some(e=>Xe(e))),Hr=(o,e={})=>{const n=o===w.EVERRIGHTFILTER?"":vue.inject("Everright");let r=()=>{},i=()=>{},s=()=>{},a=()=>{};switch(o){case w.EVERRIGHTFILTER:r=(c=!0)=>{if(c&&!e.children.value.map(h=>h.validate()).every(h=>!!h))return{};const d={filters:e.itemRef.value.map(h=>h.getData()).filter(h=>h!==!1),logicalOperator:e.logicalOperator.value};return d.filters.length?lodash.cloneDeep(d):{}},i=c=>{if(e.loading.value=!0,/^(linear|matrix)$/.test(e.props.type)&&setTimeout(()=>{e.transitionName.value="",e.store.value.filters=[],vue.nextTick(()=>{const d=(h=>{const f=[],p=(m,g)=>{let v=[];m.filters&&(v=m.filters),m.conditions&&(v=m.conditions),lodash.get(m,"constraint.props",!1)&&(v=m.constraint.props),v.forEach(_=>{const b=lodash.uniqueId();f.push({id:b,parentId:g,data:_}),p(_,b)})};return p(h),{findData(m,g){let v=[];if(g==="children"&&(m?v=f.filter(_=>_.parentId===m):v=f.filter(_=>!_.parentId)),g==="data"){const _=lodash.find(f,{id:m});return lodash.isEmpty(_)?!1:_}return v}}})(c);e.remoteData.value=d,e.store.value.filters=d.findData("","children").map(h=>h.id),e.logicalOperator.value=c.logicalOperator})},100),/^(quick-filter)$/.test(e.props.type)){const d=e.children.value.filter(h=>h.name===w.PICKERCOMPONENT);lodash.get(c,"filters[0].conditions",[]).forEach(h=>{const f=lodash.find(d,{state:{property:h.property}});lodash.isEmpty(f)||vue.nextTick(()=>{f.state.componentRef.setData(h),/^(static|dynamic)$/.test(lodash.get(h,"value.dateType",!1))&&f.state.componentRef.Datecomponent.setData(h)})})}};break;case w.FILTERITEM:r=()=>{let c={conditions:e.ruleRef.value.map(d=>d.getData()).filter(d=>d!==!1),logicalOperator:e.logicalOperator.value};return c.conditions.length||(c=!1),c},i=c=>{e.logicalOperator.value=c.logicalOperator,e.rules.value=n.state.remoteData.findData(e.id.value,"children").map(d=>d.id)};break;case w.FILTERRULE:r=()=>{let c=!1;const d=e.pickerRef.value.getData();return lodash.isObject(d)&&d.value===!1?c=!1:d!==!1&&(c=Object.assign(d,e.isShowConstraint.value?e.constraintRef.value.getData():{})),c},i=c=>{const d=lodash.get(c,"constraint",!1);e.isShowConstraint.value=!!d};break;case w.CONSTRAINTCOMPONENT:r=()=>{const c={};if(e.value0.value.indexOf("date")!==-1&&(c.date=e.dateRef.value.getData(),c.date===!1&&delete c.date),e.value0.value.indexOf("times")!==-1&&(c.times=e.timesRef.value.getData(),c.times===!1&&delete c.times),e.value0.value.indexOf("props")!==-1){const d=e.itemRef.value.getData();c.props=d.conditions,d===!1&&delete c.props}return lodash.isEmpty(c)?!1:{constraint:c}},i=c=>{const d=new Re(xe());n.readied.push(d.state),c.constraint.times&&e.value0.value.push("times"),c.constraint.props?(e.value0.value.push("props"),vue.watch(e.options,h=>{h.length&&d.finished()})):d.finished()};break;case w.PICKERCOMPONENT:r=()=>{let c={operator:e.operator.value[1]};return e.isConstraint.value||(c.property=e.property.value),e.isDateType.value&&(c.dateOperator=e.operator.value[0]),!e.isShowOperator.value&&!e.isConstraint.value&&!/^quick-(search|filter)$/.test(n.props.type)&&delete c.operator,e.operatorStyle.value!=="none"&&e.isShowComponent.value&&(c.value=e.componentRef.value.getData(),Xe(c.value)&&(c=!1)),c},i=c=>{const d=new Re(xe());n.readied.push(d.state),e.property.value=!e.isConstraint.value&&c.property,e.isDateType.value&&(e.operator.value[0]=c.dateOperator),e.operator.value[1]=e.isConstraint.value?c.constraint.times.operator:c.operator,e.emit("listener",{type:"change",data:{property:e.property.value,params:e.params.value,operatorStyle:e.operatorStyle.value,dateOperator:e.operator[0],isReRender:!1}}),d.finished()},a=()=>{let c={};return e.isConstraint.value||(c={property:{required:ye}}),c};break;case w.NUMBERTYPE:s=()=>{e.value0.value=e.value1.value=null},r=()=>e.isRange.value?[e.value0.value,e.value1.value].sort((c,d)=>c-d):e.value0.value,i=c=>{const d=lodash.get(vue.getCurrentInstance(),"parent.props.sign",!1)==="times",h=new Re(xe()),f=d?c.constraint.times:c;e.isRange.value?(e.value0.value=f.value[0],e.value1.value=f.value[1]):e.value0.value=f.value,h.finished()},a=()=>{const c={value0:{required:ye}};return e.isRange.value&&(c.value1={required:ye}),c};break;case w.TEXTTYPE:s=()=>{e.value0.value="",e.value1.value=[]},r=()=>e.isTags.value?e.value1.value:e.value0.value,i=c=>{const d=new Re(xe());n.readied.push(d.state),e.isTags.value?e.value1.value=c.value:e.value0.value=c.value,d.finished()},a=()=>{const c={};return e.isTags.value?c.value1={required:ye}:c.value0={required:ye},c};break;case w.SELECTTYPE:s=()=>{e.value0.value=e.isMultiple.value?[]:""},r=()=>e.value0.value,i=c=>{const d=new Re(xe());n.readied.push(d.state),e.value0.value=c.value,d.finished()},a=()=>({value0:{required:ye}});break;case w.TIMETYPE:s=()=>{e.value0.value=e.isRange.value?[]:""},r=()=>e.value0.value,i=c=>{const d=new Re(xe());n.readied.push(d.state),e.value0.value=c.value,d.finished()},a=()=>({value0:{required:ye}});break;case w.DATETYPE:s=()=>{e.value0.value=e.value1.value=""},r=()=>{let c="";return e.dateOperator.value==="date"?c=e.Datecomponent.value.getData():c=e.isRange.value?[e.value0.value,e.value1.value].sort((d,h)=>d-h):e.value0.value,c},i=c=>{const d=new Re(xe());n.readied.push(d.state),e.dateOperator.value!=="date"&&(e.isRange.value?(e.value0.value=c.value[0],e.value1.value=c.value[1]):e.value0.value=c.value),d.finished()},a=()=>{let c={};return e.dateOperator.value!=="date"&&(c={value0:{required:ye}},e.isRange.value&&(c.value1={required:ye})),c};break;case w.REGIONTYPE:s=()=>{e.value0.value=[]},r=()=>e.value0.value,i=c=>{const d=new Re(xe());n.readied.push(d.state),e.value0.value=c.value,d.finished()},a=()=>({value0:{required:ye}});break;case w.CASCADERTYPE:s=()=>{e.value0.value=[]},r=()=>e.value0.value,i=c=>{const d=new Re(xe());n.readied.push(d.state),e.value0.value=c.value,d.finished()},a=()=>({value0:{required:ye}});break;case w.DATECOMPONENT:s=()=>{e.staticDate.value="";for(const c in e.dynamicDate.value)e.dynamicDate.value[c]="";e.isRange.value===!0&&/^(quick-filter)$/.test(n.props.type)||vue.nextTick(()=>{e.absolute.value=!1})},r=()=>{let c={};if(e.absolute.value)c.dateType="static",c.value=e.staticDate.value,Xe(c.value)&&(c=!1);else{const d=e.dynamicDate.value;if(c.dateType="dynamic",d.shortcut){const h=e.shortcuts.value,[f,p]=lodash.find(h,{value:d.shortcut}).value.split("/");c.dateFrom=f,c.dateTo=p}d.intervalBefore.value&&(c.dateFrom=`- ${d.intervalBefore.value} ${Fe(d.intervalBefore.type)}`,c.dateTo=`- ${e.hasToday.value?"0":"1"} ${Fe(d.intervalBefore.type)}`),d.afterBefore.value&&(c.dateFrom=`+ ${e.hasToday.value?"0":"1"} ${Fe(d.afterBefore.type)}`,c.dateTo=`+ ${d.afterBefore.value} ${Fe(d.afterBefore.type)}`),d.erenowBefore.value&&(c.dateTo=`- ${d.erenowBefore.value} ${Fe(d.erenowBefore.type)}`),d.intervalBetween.value&&d.intervalBetween.value.every(h=>h!==null)&&(c.dateFrom=`- ${d.intervalBetween.value[1]} ${Fe(d.intervalBetween.type)}`,c.dateTo=`- ${d.intervalBetween.value[0]} ${Fe(d.intervalBetween.type)}`),(Xe(c.dateFrom)||Xe(c.dateTo))&&(c=!1)}return c},i=c=>{const d=new Re(xe());n.readied.push(d.state);let h={};if(e.isConstraint.value?h={value:c.constraint.date}:h=c,h.value.dateType==="static")e.absolute.value=!0,e.staticDate.value=h.value.value,vue.nextTick(()=>{e.handleEvent("staticDate","",!1)});else{const{dateFrom:f,dateTo:p}=h.value,m=lodash.find(e.shortcuts.value,{value:`${f}/${p}`});if(m)e.handleEvent("shortcuts",m);else{const g=/^(\-|\+)\s{1}(\d+)\s{1}(days|hours)/,v=e.dynamicDate.value;vue.nextTick(()=>{p.match(g)[1]==="-"&&(/^- (0|1) (days|hours)$/.test(p)?(v.intervalBefore={value:Number(f.match(g)[2]),type:ut(f.match(g)[3])},e.isShowIncludeToday.value=f.match(g)[3]==="days",e.hasToday.value=p==="- 0 days"?1:0):f?v.intervalBetween={value:[Number(p.match(g)[2]),Number(f.match(g)[2])],type:ut(p.match(g)[3])}:v.erenowBefore={value:Number(p.match(g)[2]),type:ut(p.match(g)[3])}),p.match(g)[1]==="+"&&(v.afterBefore={value:Number(p.match(g)[2]),type:ut(f.match(g)[3])},e.isShowIncludeToday.value=f.match(g)[3]==="days",e.hasToday.value=f==="+ 0 days"?1:0)})}}d.finished()},a=()=>{const c={};return e.isShowSwitchButton.value&&(c.dynamicDate={required:{$required(){return e.buttonText.value!=="\u8BF7\u9009\u62E9..."}}},e.isShowSwitchButton.value&&e.isRange.value&&e.absolute.value&&(c.staticDate={required:{$required(){return e.absolute.value?!lodash.isEmpty(e.staticDate.value):!0}}}),e.isShowSwitchButton.value&&e.isRange.value&&!e.absolute.value&&(c.staticDate={required:{$required(){return e.absolute.value?!lodash.isEmpty(e.staticDate.value):!0}}}),e.isShowSwitchButton.value&&!e.isRange.value&&!e.absolute.value&&(c.staticDate={required:{$required(){return e.absolute.value?!lodash.isEmpty(e.staticDate.value):!0}}}),e.isShowSwitchButton.value&&!e.isRange.value&&e.absolute.value&&(c.staticDate={required:{$required(){return!0}}})),!e.isShowSwitchButton.value&&e.isRange.value&&e.absolute.value&&(c.staticDate={required:{$required(){return!lodash.isEmpty(e.staticDate.value)}}}),c};break}if(o!==w.EVERRIGHTFILTER&&!lodash.isEmpty(n.state.remoteData)){const c=n.state.remoteData;let d={};lodash.get(e,"id.value",!1)&&(d=c.findData(e.id.value,"data").data),i(d)}const u=jr(vue.computed(a),e),l=()=>{const c=!u.value.$invalid;return c||(u.value.$reset(),setTimeout(()=>{u.value.$touch()},0)),c};if(Ur.test(o)){const c={name:o,validate:l,state:e,v$:u,clearData:s};n.state.children.push(c),vue.onBeforeUnmount(()=>{n.state.children.splice(n.state.children.indexOf(c),1)})}return{getData:r,setData:i,clearData:s,v$:u}},Yr=Object.freeze(Object.defineProperty({__proto__:null,useCommon:Hr},Symbol.toStringTag,{value:"Module"}));function _1(o,e){return function(){return o.apply(e,arguments)}}const{toString:R1}=Object.prototype,{getPrototypeOf:un}=Object,cn=(o=>e=>{const n=R1.call(e);return o[n]||(o[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ke=o=>(o=o.toLowerCase(),e=>cn(e)===o),xt=o=>e=>typeof e===o,{isArray:Ge}=Array,rt=xt("undefined");function Gr(o){return o!==null&&!rt(o)&&o.constructor!==null&&!rt(o.constructor)&&Le(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const x1=ke("ArrayBuffer");function Wr(o){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(o):e=o&&o.buffer&&x1(o.buffer),e}const Kr=xt("string"),Le=xt("function"),T1=xt("number"),dn=o=>o!==null&&typeof o=="object",Jr=o=>o===!0||o===!1,pt=o=>{if(cn(o)!=="object")return!1;const e=un(o);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)},Xr=ke("Date"),Zr=ke("File"),Qr=ke("Blob"),e0=ke("FileList"),t0=o=>dn(o)&&Le(o.pipe),n0=o=>{const e="[object FormData]";return o&&(typeof FormData=="function"&&o instanceof FormData||R1.call(o)===e||Le(o.toString)&&o.toString()===e)},r0=ke("URLSearchParams"),a0=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function it(o,e,{allOwnKeys:n=!1}={}){if(o===null||typeof o>"u")return;let r,i;if(typeof o!="object"&&(o=[o]),Ge(o))for(r=0,i=o.length;r0;)if(i=n[r],e===i.toLowerCase())return i;return null}const C1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),P1=o=>!rt(o)&&o!==C1;function Ht(){const{caseless:o}=P1(this)&&this||{},e={},n=(r,i)=>{const s=o&&O1(e,i)||i;pt(e[s])&&pt(r)?e[s]=Ht(e[s],r):pt(r)?e[s]=Ht({},r):Ge(r)?e[s]=r.slice():e[s]=r};for(let r=0,i=arguments.length;r(it(e,(i,s)=>{n&&Le(i)?o[s]=_1(i,n):o[s]=i},{allOwnKeys:r}),o),s0=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),o0=(o,e,n,r)=>{o.prototype=Object.create(e.prototype,r),o.prototype.constructor=o,Object.defineProperty(o,"super",{value:e.prototype}),n&&Object.assign(o.prototype,n)},l0=(o,e,n,r)=>{let i,s,a;const u={};if(e=e||{},o==null)return e;do{for(i=Object.getOwnPropertyNames(o),s=i.length;s-- >0;)a=i[s],(!r||r(a,o,e))&&!u[a]&&(e[a]=o[a],u[a]=!0);o=n!==!1&&un(o)}while(o&&(!n||n(o,e))&&o!==Object.prototype);return e},u0=(o,e,n)=>{o=String(o),(n===void 0||n>o.length)&&(n=o.length),n-=e.length;const r=o.indexOf(e,n);return r!==-1&&r===n},c0=o=>{if(!o)return null;if(Ge(o))return o;let e=o.length;if(!T1(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=o[e];return n},d0=(o=>e=>o&&e instanceof o)(typeof Uint8Array<"u"&&un(Uint8Array)),f0=(o,e)=>{const n=(o&&o[Symbol.iterator]).call(o);let r;for(;(r=n.next())&&!r.done;){const i=r.value;e.call(o,i[0],i[1])}},p0=(o,e)=>{let n;const r=[];for(;(n=o.exec(e))!==null;)r.push(n);return r},h0=ke("HTMLFormElement"),m0=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),Bn=(({hasOwnProperty:o})=>(e,n)=>o.call(e,n))(Object.prototype),v0=ke("RegExp"),k1=(o,e)=>{const n=Object.getOwnPropertyDescriptors(o),r={};it(n,(i,s)=>{e(i,s,o)!==!1&&(r[s]=i)}),Object.defineProperties(o,r)},g0=o=>{k1(o,(e,n)=>{if(Le(o)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=o[n];if(Le(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},y0=(o,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Ge(o)?r(o):r(String(o).split(e)),n},E0=()=>{},b0=(o,e)=>(o=+o,Number.isFinite(o)?o:e),Vt="abcdefghijklmnopqrstuvwxyz",Fn="0123456789",D1={DIGIT:Fn,ALPHA:Vt,ALPHA_DIGIT:Vt+Vt.toUpperCase()+Fn},$0=(o=16,e=D1.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;o--;)n+=e[Math.random()*r|0];return n};function S0(o){return!!(o&&Le(o.append)&&o[Symbol.toStringTag]==="FormData"&&o[Symbol.iterator])}const w0=o=>{const e=new Array(10),n=(r,i)=>{if(dn(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const s=Ge(r)?[]:{};return it(r,(a,u)=>{const l=n(a,i+1);!rt(l)&&(s[u]=l)}),e[i]=void 0,s}}return r};return n(o,0)},$={isArray:Ge,isArrayBuffer:x1,isBuffer:Gr,isFormData:n0,isArrayBufferView:Wr,isString:Kr,isNumber:T1,isBoolean:Jr,isObject:dn,isPlainObject:pt,isUndefined:rt,isDate:Xr,isFile:Zr,isBlob:Qr,isRegExp:v0,isFunction:Le,isStream:t0,isURLSearchParams:r0,isTypedArray:d0,isFileList:e0,forEach:it,merge:Ht,extend:i0,trim:a0,stripBOM:s0,inherits:o0,toFlatObject:l0,kindOf:cn,kindOfTest:ke,endsWith:u0,toArray:c0,forEachEntry:f0,matchAll:p0,isHTMLForm:h0,hasOwnProperty:Bn,hasOwnProp:Bn,reduceDescriptors:k1,freezeMethods:g0,toObjectSet:y0,toCamelCase:m0,noop:E0,toFiniteNumber:b0,findKey:O1,global:C1,isContextDefined:P1,ALPHABET:D1,generateString:$0,isSpecCompliantForm:S0,toJSONObject:w0};function Z(o,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=o,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}$.inherits(Z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const N1=Z.prototype,A1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(o=>{A1[o]={value:o}}),Object.defineProperties(Z,A1),Object.defineProperty(N1,"isAxiosError",{value:!0}),Z.from=(o,e,n,r,i,s)=>{const a=Object.create(N1);return $.toFlatObject(o,a,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),Z.call(a,o.message,e,n,r,i),a.cause=o,a.name=o.name,s&&Object.assign(a,s),a};const _0=null;function Yt(o){return $.isPlainObject(o)||$.isArray(o)}function L1(o){return $.endsWith(o,"[]")?o.slice(0,-2):o}function jn(o,e,n){return o?o.concat(e).map(function(r,i){return r=L1(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function R0(o){return $.isArray(o)&&!o.some(Yt)}const x0=$.toFlatObject($,{},null,function(o){return/^is[A-Z]/.test(o)});function Tt(o,e,n){if(!$.isObject(o))throw new TypeError("target must be an object");e=e||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!$.isUndefined(m[p])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(e);if(!$.isFunction(i))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if($.isDate(p))return p.toISOString();if(!u&&$.isBlob(p))throw new Z("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(p)||$.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,m,g){let v=p;if(p&&!g&&typeof p=="object"){if($.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if($.isArray(p)&&R0(p)||($.isFileList(p)||$.endsWith(m,"[]"))&&(v=$.toArray(p)))return m=L1(m),v.forEach(function(_,b){!($.isUndefined(_)||_===null)&&e.append(a===!0?jn([m],b,s):a===null?m:m+"[]",l(_))}),!1}return Yt(p)?!0:(e.append(jn(g,m,s),l(p)),!1)}const d=[],h=Object.assign(x0,{defaultVisitor:c,convertValue:l,isVisitable:Yt});function f(p,m){if(!$.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),$.forEach(p,function(g,v){(!($.isUndefined(g)||g===null)&&i.call(e,g,$.isString(v)?v.trim():v,m,h))===!0&&f(g,m?m.concat(v):[v])}),d.pop()}}if(!$.isObject(o))throw new TypeError("data must be an object");return f(o),e}function qn(o){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function fn(o,e){this._pairs=[],o&&Tt(o,this,e)}const I1=fn.prototype;I1.append=function(o,e){this._pairs.push([o,e])},I1.toString=function(o){const e=o?function(n){return o.call(this,n,qn)}:qn;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function T0(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function V1(o,e,n){if(!e)return o;const r=n&&n.encode||T0,i=n&&n.serialize;let s;if(i?s=i(e,n):s=$.isURLSearchParams(e)?e.toString():new fn(e,n).toString(r),s){const a=o.indexOf("#");a!==-1&&(o=o.slice(0,a)),o+=(o.indexOf("?")===-1?"?":"&")+s}return o}class O0{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){$.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Mn=O0,B1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},C0=typeof URLSearchParams<"u"?URLSearchParams:fn,P0=typeof FormData<"u"?FormData:null,k0=typeof Blob<"u"?Blob:null,D0=(()=>{let o;return typeof navigator<"u"&&((o=navigator.product)==="ReactNative"||o==="NativeScript"||o==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),N0=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Te={isBrowser:!0,classes:{URLSearchParams:C0,FormData:P0,Blob:k0},isStandardBrowserEnv:D0,isStandardBrowserWebWorkerEnv:N0,protocols:["http","https","file","blob","url","data"]};function A0(o,e){return Tt(o,new Te.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Te.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function L0(o){return $.matchAll(/\w+|\[(\w*)]/g,o).map(e=>e[0]==="[]"?"":e[1]||e[0])}function I0(o){const e={},n=Object.keys(o);let r;const i=n.length;let s;for(r=0;r=n.length;return a=!a&&$.isArray(i)?i.length:a,l?($.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!u):((!i[a]||!$.isObject(i[a]))&&(i[a]=[]),e(n,r,i[a],s)&&$.isArray(i[a])&&(i[a]=I0(i[a])),!u)}if($.isFormData(o)&&$.isFunction(o.entries)){const n={};return $.forEachEntry(o,(r,i)=>{e(L0(r),i,n,0)}),n}return null}const V0={"Content-Type":void 0};function B0(o,e,n){if($.isString(o))try{return(e||JSON.parse)(o),$.trim(o)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(o)}const Ot={transitional:B1,adapter:["xhr","http"],transformRequest:[function(o,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=$.isObject(o);if(i&&$.isHTMLForm(o)&&(o=new FormData(o)),$.isFormData(o))return r&&r?JSON.stringify(F1(o)):o;if($.isArrayBuffer(o)||$.isBuffer(o)||$.isStream(o)||$.isFile(o)||$.isBlob(o))return o;if($.isArrayBufferView(o))return o.buffer;if($.isURLSearchParams(o))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return A0(o,this.formSerializer).toString();if((s=$.isFileList(o))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Tt(s?{"files[]":o}:o,a&&new a,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),B0(o)):o}],transformResponse:[function(o){const e=this.transitional||Ot.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(o&&$.isString(o)&&(n&&!this.responseType||r)){const i=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(o)}catch(s){if(i)throw s.name==="SyntaxError"?Z.from(s,Z.ERR_BAD_RESPONSE,this,null,this.response):s}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Te.classes.FormData,Blob:Te.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$.forEach(["delete","get","head"],function(o){Ot.headers[o]={}}),$.forEach(["post","put","patch"],function(o){Ot.headers[o]=$.merge(V0)});const pn=Ot,F0=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),j0=o=>{const e={};let n,r,i;return o&&o.split(` `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||e[n]&&F0[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},zn=Symbol("internals");function Ke(o){return o&&String(o).trim().toLowerCase()}function ht(o){return o===!1||o==null?o:$.isArray(o)?o.map(ht):String(o)}function q0(o){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(o);)e[r[1]]=r[2];return e}const M0=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function Bt(o,e,n,r,i){if($.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!$.isString(e)){if($.isString(r))return e.indexOf(r)!==-1;if($.isRegExp(r))return r.test(e)}}function z0(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function U0(o,e){const n=$.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(o,r+n,{value:function(i,s,a){return this[r].call(this,e,i,s,a)},configurable:!0})})}class Ct{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(u,l,c){const d=Ke(l);if(!d)throw new Error("header name must be a non-empty string");const h=$.findKey(i,d);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=ht(u))}const a=(u,l)=>$.forEach(u,(c,d)=>s(c,d,l));return $.isPlainObject(e)||e instanceof this.constructor?a(e,n):$.isString(e)&&(e=e.trim())&&!M0(e)?a(j0(e),n):e!=null&&s(n,e,r),this}get(e,n){if(e=Ke(e),e){const r=$.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return q0(i);if($.isFunction(n))return n.call(this,i,r);if($.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ke(e),e){const r=$.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Bt(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(a){if(a=Ke(a),a){const u=$.findKey(r,a);u&&(!n||Bt(r,r[u],u,n))&&(delete r[u],i=!0)}}return $.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||Bt(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return $.forEach(this,(i,s)=>{const a=$.findKey(r,s);if(a){n[a]=ht(i),delete n[s];return}const u=e?z0(s):String(s).trim();u!==s&&delete n[s],n[u]=ht(i),r[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return $.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const n=(this[zn]=this[zn]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Ke(s);n[a]||(U0(r,s),n[a]=!0)}return $.isArray(e)?e.forEach(i):i(e),this}}Ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.freezeMethods(Ct.prototype),$.freezeMethods(Ct);const Ce=Ct;function Ft(o,e){const n=this||pn,r=e||n,i=Ce.from(r.headers);let s=r.data;return $.forEach(o,function(a){s=a.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function j1(o){return!!(o&&o.__CANCEL__)}function st(o,e,n){Z.call(this,o==null?"canceled":o,Z.ERR_CANCELED,e,n),this.name="CanceledError"}$.inherits(st,Z,{__CANCEL__:!0});function H0(o,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?o(n):e(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Y0=Te.isStandardBrowserEnv?function(){return{write:function(o,e,n,r,i,s){const a=[];a.push(o+"="+encodeURIComponent(e)),$.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$.isString(r)&&a.push("path="+r),$.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(o){const e=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(o){this.write(o,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function G0(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function W0(o,e){return e?o.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):o}function q1(o,e){return o&&!G0(e)?W0(o,e):e}const K0=Te.isStandardBrowserEnv?function(){const o=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(i){let s=i;return o&&(e.setAttribute("href",s),s=e.href),e.setAttribute("href",s),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(i){const s=$.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function J0(o){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return e&&e[1]||""}function X0(o,e){o=o||10;const n=new Array(o),r=new Array(o);let i=0,s=0,a;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),c=r[s];a||(a=l),n[i]=u,r[i]=l;let d=s,h=0;for(;d!==i;)h+=n[d++],d=d%o;if(i=(i+1)%o,i===s&&(s=(s+1)%o),l-a{const s=i.loaded,a=i.lengthComputable?i.total:void 0,u=s-n,l=r(u),c=s<=a;n=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&c?(a-s)/l:void 0,event:i};d[e?"download":"upload"]=!0,o(d)}}const Z0=typeof XMLHttpRequest<"u",Q0=Z0&&function(o){return new Promise(function(e,n){let r=o.data;const i=Ce.from(o.headers).normalize(),s=o.responseType;let a;function u(){o.cancelToken&&o.cancelToken.unsubscribe(a),o.signal&&o.signal.removeEventListener("abort",a)}$.isFormData(r)&&(Te.isStandardBrowserEnv||Te.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let l=new XMLHttpRequest;if(o.auth){const f=o.auth.username||"",p=o.auth.password?unescape(encodeURIComponent(o.auth.password)):"";i.set("Authorization","Basic "+btoa(f+":"+p))}const c=q1(o.baseURL,o.url);l.open(o.method.toUpperCase(),V1(c,o.params,o.paramsSerializer),!0),l.timeout=o.timeout;function d(){if(!l)return;const f=Ce.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),p={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:f,config:o,request:l};H0(function(m){e(m),u()},function(m){n(m),u()},p),l=null}if("onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(d)},l.onabort=function(){!l||(n(new Z("Request aborted",Z.ECONNABORTED,o,l)),l=null)},l.onerror=function(){n(new Z("Network Error",Z.ERR_NETWORK,o,l)),l=null},l.ontimeout=function(){let f=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const p=o.transitional||B1;o.timeoutErrorMessage&&(f=o.timeoutErrorMessage),n(new Z(f,p.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,o,l)),l=null},Te.isStandardBrowserEnv){const f=(o.withCredentials||K0(c))&&o.xsrfCookieName&&Y0.read(o.xsrfCookieName);f&&i.set(o.xsrfHeaderName,f)}r===void 0&&i.setContentType(null),"setRequestHeader"in l&&$.forEach(i.toJSON(),function(f,p){l.setRequestHeader(p,f)}),$.isUndefined(o.withCredentials)||(l.withCredentials=!!o.withCredentials),s&&s!=="json"&&(l.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&l.addEventListener("progress",Un(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Un(o.onUploadProgress)),(o.cancelToken||o.signal)&&(a=f=>{!l||(n(!f||f.type?new st(null,o,l):f),l.abort(),l=null)},o.cancelToken&&o.cancelToken.subscribe(a),o.signal&&(o.signal.aborted?a():o.signal.addEventListener("abort",a)));const h=J0(c);if(h&&Te.protocols.indexOf(h)===-1){n(new Z("Unsupported protocol "+h+":",Z.ERR_BAD_REQUEST,o));return}l.send(r||null)})},mt={http:_0,xhr:Q0};$.forEach(mt,(o,e)=>{if(o){try{Object.defineProperty(o,"name",{value:e})}catch{}Object.defineProperty(o,"adapterName",{value:e})}});const ea={getAdapter:o=>{o=$.isArray(o)?o:[o];const{length:e}=o;let n,r;for(let i=0;io instanceof Ce?o.toJSON():o;function He(o,e){e=e||{};const n={};function r(c,d,h){return $.isPlainObject(c)&&$.isPlainObject(d)?$.merge.call({caseless:h},c,d):$.isPlainObject(d)?$.merge({},d):$.isArray(d)?d.slice():d}function i(c,d,h){if($.isUndefined(d)){if(!$.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!$.isUndefined(d))return r(void 0,d)}function a(c,d){if($.isUndefined(d)){if(!$.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function u(c,d,h){if(h in e)return r(c,d);if(h in o)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(c,d)=>i(Yn(c),Yn(d),!0)};return $.forEach(Object.keys(o).concat(Object.keys(e)),function(c){const d=l[c]||i,h=d(o[c],e[c],c);$.isUndefined(h)&&d!==u||(n[c]=h)}),n}const M1="1.3.5",hn={};["object","boolean","number","function","string","symbol"].forEach((o,e)=>{hn[o]=function(n){return typeof n===o||"a"+(e<1?"n ":" ")+o}});const Gn={};hn.transitional=function(o,e,n){function r(i,s){return"[Axios v"+M1+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(o===!1)throw new Z(r(s," has been removed"+(e?" in "+e:"")),Z.ERR_DEPRECATED);return e&&!Gn[s]&&(Gn[s]=!0,console.warn(r(s," has been deprecated since v"+e+" and will be removed in the near future"))),o?o(i,s,a):!0}};function ta(o,e,n){if(typeof o!="object")throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(o);let i=r.length;for(;i-- >0;){const s=r[i],a=e[s];if(a){const u=o[s],l=u===void 0||a(u,s,o);if(l!==!0)throw new Z("option "+s+" must be "+l,Z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Z("Unknown option "+s,Z.ERR_BAD_OPTION)}}const Gt={assertOptions:ta,validators:hn},Ne=Gt.validators;class bt{constructor(e){this.defaults=e,this.interceptors={request:new Mn,response:new Mn}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=He(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Gt.assertOptions(r,{silentJSONParsing:Ne.transitional(Ne.boolean),forcedJSONParsing:Ne.transitional(Ne.boolean),clarifyTimeoutError:Ne.transitional(Ne.boolean)},!1),i!=null&&($.isFunction(i)?n.paramsSerializer={serialize:i}:Gt.assertOptions(i,{encode:Ne.function,serialize:Ne.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=s&&$.merge(s.common,s[n.method]),a&&$.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=Ce.concat(a,s);const u=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,u.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let d,h=0,f;if(!l){const m=[Hn.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,c),f=m.length,d=Promise.resolve(n);h{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(u=>{r.subscribe(u),s=u}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},e(function(i,s,a){r.reason||(r.reason=new st(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new mn(function(n){e=n}),cancel:e}}}const na=mn;function ra(o){return function(e){return o.apply(null,e)}}function aa(o){return $.isObject(o)&&o.isAxiosError===!0}const Wt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wt).forEach(([o,e])=>{Wt[e]=o});const ia=Wt;function z1(o){const e=new vt(o),n=_1(vt.prototype.request,e);return $.extend(n,vt.prototype,e,{allOwnKeys:!0}),$.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return z1(He(o,r))},n}const de=z1(pn);de.Axios=vt,de.CanceledError=st,de.CancelToken=na,de.isCancel=j1,de.VERSION=M1,de.toFormData=Tt,de.AxiosError=Z,de.Cancel=de.CanceledError,de.all=function(o){return Promise.all(o)},de.spread=ra,de.isAxiosError=aa,de.mergeConfig=He,de.AxiosHeaders=Ce,de.formToJSON=o=>F1($.isHTMLForm(o)?new FormData(o):o),de.HttpStatusCode=ia,de.default=de;const sa=de,oa=sa.create({baseURL:"http://localhost:8000",timeout:2e4}),la=(o,e={})=>new Promise((n,r)=>{oa({url:o,...e}).then(({data:{data:i,code:s,msg:a}})=>{switch(s){case 0:n({code:s,msg:a,data:i});break;default:elementPlus.ElMessage.error(a),r(new Error(a));break}}).catch(i=>{lodash.get(i,"code","")!=="ERR_CANCELED"&&elementPlus.ElMessage.error(i),r(i)})}),ua=Object.freeze(Object.defineProperty({__proto__:null,useFetch:la},Symbol.toStringTag,{value:"Module"})),ca={er:{public:{and:"And",or:"Or",select:"Select\u2026",Date:"Date",year:"year",month:"month",day:"day",time:"time",TypeIn:"Type in\u2026",PleaseEnter:"Press the enter button to save it",beginingDate:"Start Date",endDate:"End Date",days:"Days",hours:"Hours"},FilterItem:{itemLabel:"Condition Group",addCondition:"Add a Condition",addProp:"Add an Attribute"},EverrightFilter:{addGroupLabel:"Add Condition Group"},ConstraintComponent:{date:"Duration",times:"Limit Times",props:"Limit Attributes"},DateComponent:{today_today:"Today",today_thisWeek:"This Week",today_thisMonth:"This Month",today_thisYear:"This Year",yesterday_onlineToday:"Released So Far",yesterday_yesterday:"Yesterday",yesterday_lastWeek:"Last Week",yesterday_lastMonth:"Last Month",yesterday_lastYear:"Last Year",yesterday_inPast30Days:"Last 30 Days",days:"Days",last:"Last",next:"Next",ago:"ago",absolute:"Exact Date",today:"Include Today",verify:"Maximum time span support 90 days"}}},da={er:{public:{and:"\u4E14",or:"\u6216",select:"\u8BF7\u9009\u62E9\u2026",Date:"\u65E5\u671F",year:"\u5E74",month:"\u6708",day:"\u65E5",time:"\u65F6\u95F4",TypeIn:"\u8BF7\u8F93\u5165\u2026",PleaseEnter:"\u6309\u56DE\u8F66\u952E\u4FDD\u5B58",beginingDate:"\u5F00\u59CB\u65E5\u671F",endDate:"\u7ED3\u675F\u65E5\u671F",days:"\u5929",hours:"\u65F6"},FilterItem:{itemLabel:"\u6761\u4EF6\u7EC4",addCondition:"\u6DFB\u52A0\u6761\u4EF6",addProp:"\u6DFB\u52A0\u5C5E\u6027"},EverrightFilter:{addGroupLabel:"\u6DFB\u52A0\u6761\u4EF6\u7EC4"},ConstraintComponent:{date:"\u8D77\u6B62\u65F6\u95F4",times:"\u9650\u5236\u6B21\u6570",props:"\u9650\u5236\u5C5E\u6027"},DateComponent:{today_today:"\u4ECA\u65E5",today_thisWeek:"\u672C\u5468",today_thisMonth:"\u672C\u6708",today_thisYear:"\u4ECA\u5E74",yesterday_onlineToday:"\u4E0A\u7EBF\u81F3\u4ECA",yesterday_yesterday:"\u6628\u65E5",yesterday_lastWeek:"\u4E0A\u5468",yesterday_lastMonth:"\u4E0A\u6708",yesterday_lastYear:"\u53BB\u5E74",yesterday_inPast30Days:"\u8FC7\u53BB30\u5929",days:"\u5929",last:"\u8FC7\u53BB",next:"\u672A\u6765",ago:"\u524D",absolute:"\u7EDD\u5BF9\u65F6\u95F4",today:"\u542B\u4ECA\u5929",verify:"\u6700\u957F\u65F6\u95F4\u8DE8\u5EA6\u652F\u630190\u5929"}}},fa=Object.assign({"./en.js":ca,"./zh-cn.js":da}),U1={};lodash.forIn(fa,(o,e)=>{const n=/[a-zA-Z0-9_-]*(?=\.js)/g;U1[e.match(n)[0]]=o});var Oe={},Wn=/^([+-])?0*(\d+)(\.(\d+))?$/,H1=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,pa=Oe.e2ten=function(o){var e=H1.exec(o.toString());if(!e)return o;var n=e[2],r=e[4]||"",i=e[5]?+e[5]:0;if(i>0){var s=r.substr(0,i);s=s.length2){var r=[].slice.call(arguments,2);r.unshift(e),o.apply(null,r)}return e};var ha=Oe.hasAttr=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)};Oe.extend=function(o){for(var e,n=arguments[0]||{},r=Array.prototype.slice.call(arguments,1),i=0;i=5?(o-4)*4+4:o},Oe.unshiftZero=function(o,e){if(e==null&&(e=1),!(e<=0))for(;e--;)o.unshift(0)},Oe.clearZero=function(o,e,n){if(o==null)return"";var r=~"*.?+$^[](){}|\\/".indexOf(e)?"\\"+e:e,i=new RegExp("^"+r+"+"),s=new RegExp(r+"+$"),a=new RegExp(r+"{2}","g");return o=o.toString(),n=="^"&&(o=o.replace(i,"")),(!n||n=="$")&&(o=o.replace(s,"")),(!n||n=="nto1")&&(o=o.replace(a,e)),o};var me=Oe;function Ze(o,e){var n=me.getNumbResult(o);if(!n)return o;e=e||{};var r=this.ch,i=this.ch_u,s=this.ch_f||"",a=this.ch_d||".",u=r.charAt(0),l=n.int,c=n.decimal,d=n.minus,h="",f="",p=d?s:"",m=function y(A,k,C){A=me.getNumbResult(A).int;var E="",F=arguments.length>1?arguments[1]:e.tenMin,S=A.length;if(S==1)return r.charAt(+A);if(S<=4)for(var B=0,P=S;P--;){var L=+A.charAt(B);E+=F&&S==2&&B==0&&L==1?"":r.charAt(L),E+=L&&P?i.charAt(P):"",B++}else{for(var D=A.length/4>>0,O=A.length%4;O==0||!i.charAt(3+D);)O+=4,D--;var R=A.substr(0,O),N=A.substr(O);E=y(R,F)+i.charAt(3+D)+(N.charAt(0)=="0"?u:"")+y(N,N.length>4?F:!1)}return E=me.clearZero(E,u),E};if(c){c=me.clearZero(c,"0","$");for(var g=0;g5){var v=i.charAt(4),_=i.charAt(5),b=h.lastIndexOf(_);~b&&(h=h.substring(0,b).replace(new RegExp(_,"g"),v+v)+h.substring(b))}return p+h+f}function ma(o){o=o.toString();var e=o.split(this.ch_d),n=e[0].replace(this.ch_f,""),r=e[1],i=!!~e[0].indexOf(this.ch_f),s=this.ch_u.charAt(1),a=this.ch_u.charAt(4),u=this.ch_u.charAt(5);n=n.replace(new RegExp(a+"{2}","g"),u);for(var l=n.split(""),c=0,d=0,h=[],f=[],p=[],m=0;m0&&p.unshift(v);else if(~(_=this.ch_u.indexOf(g))){var b=me.getDigit(_);c>_?(me.unshiftZero(p,b),me.centerArray(f,p)):_>=d?(m==0&&(p=[1]),me.centerArray(h,f,p),h.length>0&&me.unshiftZero(h,b),d=_):(p.length==0&&s==g&&(p=[1]),me.centerArray(f,p),me.unshiftZero(f,me.getDigit(_)),c=_)}}me.centerArray(h,f,p).reverse(),h.length==0&&h.push(0);var y=0;if(r){h.push("."),y="0.";for(var m=0;m-1&&(g.useBaseExceptionWhenNoTrailingNumbers?_===0&&k.length:!0);B?k.push(F>1&&g.plural?g.plural:g.singular):k.push(y[F*p[_]]||b[F*p[_]]);continue}var P;if(typeof g=="string"?P=g:F===1||g.useSingularEnding&&F%10===1&&(!g.avoidEndingRules||g.avoidEndingRules.indexOf(F)<0)?P=g.singular:g.few&&(F>1&&F<5||g.useFewEnding&&F%10>1&&F%10<5&&(!g.avoidEndingRules||g.avoidEndingRules.indexOf(F)<0))?P=g.few:(P=g.plural&&(!g.avoidInNumberPlural||!A)?g.plural:g.singular,P=F===2&&g.dual?g.dual:P,P=F>10&&g.restrictedPlural?g.singular:P),g.avoidPrefixException&&g.avoidPrefixException.indexOf(F)>-1){k.push(P);continue}var L=f.unitExceptions[F],D=L||l(F,n.defaults({noAnd:!(f.andException&&f.andException[F]||g.andException)&&!0,alternativeBase:g.useAlternativeBase},h));d-=F*p[_],k.push(D+" "+P)}}var O=C*Math.floor(d/C),R=d-O;if(f.andWhenTrailing&&C&&0wa.cn.encodeS(o),Bs=o=>lodash.startCase(Is(o)),Fs=Object.freeze(Object.defineProperty({__proto__:null,digitalToChinese:Vs,digitalToEnglish:Bs},Symbol.toStringTag,{value:"Module"})),js=(o=1)=>{const e=[];for(;o--;)e.push(lodash.uniqueId());return e},qs=Object.freeze(Object.defineProperty({__proto__:null,generateItems:js},Symbol.toStringTag,{value:"Module"})),Ms=(o,e,n,r={})=>{const i=[],s=lodash.get(n,`${o}.url`,"");s&&(i[0]=s);const a=lodash.get(n,`${o}.${e}`,"");if(a){const u={method:e},l=e==="get"?"query":"body";u[e==="get"?"params":"data"]=a[l],i[1]=u,lodash.merge(u,r)}return i},zs=Object.freeze(Object.defineProperty({__proto__:null,apiParams:Ms},Symbol.toStringTag,{value:"Module"})),Us=(o,e)=>e==="zh-cn"?o.label:o.en_label||o.label,K1=(o,e)=>o.reduce((n,r,i)=>{n.push(r),e&&e(o,r,i);const s=r.children||[];return n=n.concat(K1(s,e)),n},[]),Hs=(o,e)=>{const n=lodash.cloneDeep(o);return K1(n,(r,i)=>{e!=="zh-cn"&&(i.label=i.en_label||i.label)}),n},Ys=Object.freeze(Object.defineProperty({__proto__:null,getLableByLang:Us,convertDataByLang:Hs},Symbol.toStringTag,{value:"Module"})),Gs=Object.assign({"./digitalConversionWords.js":Fs,"./generateItems.js":qs,"./httpPrams.js":zs,"./i18n.js":Ys}),J1={};lodash.forIn(Gs,(o,e)=>{Object.keys(o).forEach(n=>{J1[n]=o[n]})});const pe={...J1},Ws=(o,e,n,r={})=>{let i="";return lodash.isEmpty(r)?i=lodash.get(n[o],e,""):i=lodash.template(lodash.get(n[o],e,""))(r),i},Ks=o=>{const e=vue.inject("Everright",{props:o}),n=vue.computed(()=>e.props.lang);return{lang:n,t(r,i){return Ws(n.value,r,U1,i)}}},Js=Object.freeze(Object.defineProperty({__proto__:null,useI18n:Ks},Symbol.toStringTag,{value:"Module"})),Kn=(o,e,n,r,i)=>{let s=`${o}-${e}`;return r&&(s+=`__${r}`),i&&(s+=`--${i}`),s},Xs="is-",Zs=(o,e)=>{const n=`Everright-${e||vue.inject("Everright").state.Namespace}`;return{namespace:n,b:(r="")=>Kn(n,o,r,"",""),e:r=>r?Kn(n,o,"",r,""):"",is:(r,...i)=>{const s=i.length>=1?i[0]:!0;return r&&s?`${Xs}${r}`:""}}},Qs=Object.freeze(Object.defineProperty({__proto__:null,useNamespace:Zs},Symbol.toStringTag,{value:"Module"})),eo=Object.assign({"./use-common/index.js":Yr,"./use-fetch/index.js":ua,"./use-i18n/index.js":Js,"./use-namespace/index.js":Qs}),X1={};lodash.forIn(eo,(o,e)=>{const n=lodash.head(Object.keys(o));X1[n]=o[n]});const j={...X1},to={name:"LogicalOperatorComponent"},Z1=Object.assign(to,{props:["modelValue","height"],emits:["update:modelValue"],setup(o,{emit:e}){const n=o,{t:r,lang:i}=j.useI18n(),s=j.useNamespace("LogicalOperatorComponent"),a=vue.computed({get(){return n.modelValue},set(u){e("update:modelValue",u)}});return(u,l)=>{const c=vue.resolveComponent("el-switch");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(s).b()]),style:vue.normalizeStyle({height:o.height+"px"})},[vue.createVNode(c,{modelValue:vue.unref(a),"onUpdate:modelValue":l[0]||(l[0]=d=>vue.isRef(a)?a.value=d:null),"inline-prompt":"",style:{"--el-switch-on-color":"#FF7B48","--el-switch-off-color":"#4176FF"},"active-text":vue.unref(r)("er.public.and"),"active-value":"and","inactive-text":vue.unref(r)("er.public.or"),"inactive-value":"or"},null,8,["modelValue","active-text","inactive-text"])],6)}}});function no(o,...e){return(...n)=>o(...e,...n)}function ot(o){return function(...e){var n=e.pop();return o.call(this,e,n)}}var ro=typeof queueMicrotask=="function"&&queueMicrotask,Q1=typeof setImmediate=="function"&&setImmediate,er=typeof process=="object"&&typeof process.nextTick=="function";function tr(o){setTimeout(o,0)}function nr(o){return(e,...n)=>o(()=>e(...n))}var Qe;ro?Qe=queueMicrotask:Q1?Qe=setImmediate:er?Qe=process.nextTick:Qe=tr;var je=nr(Qe);function Jt(o){return lt(o)?function(...e){const n=e.pop(),r=o.apply(this,e);return Jn(r,n)}:ot(function(e,n){var r;try{r=o.apply(this,e)}catch(i){return n(i)}if(r&&typeof r.then=="function")return Jn(r,n);n(null,r)})}function Jn(o,e){return o.then(n=>{Xn(e,null,n)},n=>{Xn(e,n&&n.message?n:new Error(n))})}function Xn(o,e,n){try{o(e,n)}catch(r){je(i=>{throw i},r)}}function lt(o){return o[Symbol.toStringTag]==="AsyncFunction"}function ao(o){return o[Symbol.toStringTag]==="AsyncGenerator"}function io(o){return typeof o[Symbol.asyncIterator]=="function"}function Y(o){if(typeof o!="function")throw new Error("expected a function");return lt(o)?Jt(o):o}function H(o,e=o.length){if(!e)throw new Error("arity is undefined");function n(...r){return typeof r[e-1]=="function"?o.apply(this,r):new Promise((i,s)=>{r[e-1]=(a,...u)=>{if(a)return s(a);i(u.length>1?u:u[0])},o.apply(this,r)})}return n}function rr(o){return function(e,...n){return H(function(r){var i=this;return o(e,(s,a)=>{Y(s).apply(i,n.concat(a))},r)})}}function vn(o,e,n,r){e=e||[];var i=[],s=0,a=Y(n);return o(e,(u,l,c)=>{var d=s++;a(u,(h,f)=>{i[d]=f,c(h)})},u=>{r(u,i)})}function kt(o){return o&&typeof o.length=="number"&&o.length>=0&&o.length%1===0}const Dt={};function Ie(o){function e(...n){if(o!==null){var r=o;o=null,r.apply(this,n)}}return Object.assign(e,o),e}function so(o){return o[Symbol.iterator]&&o[Symbol.iterator]()}function oo(o){var e=-1,n=o.length;return function(){return++e=e||a||i||(a=!0,o.next().then(({value:f,done:p})=>{if(!(s||i)){if(a=!1,p){i=!0,u<=0&&r(null);return}u++,n(f,l,d),l++,c()}}).catch(h))}function d(f,p){if(u-=1,!s){if(f)return h(f);if(f===!1){i=!0,s=!0;return}if(p===Dt||i&&u<=0)return i=!0,r(null);c()}}function h(f){s||(a=!1,i=!0,r(f))}c()}var $e=o=>(e,n,r)=>{if(r=Ie(r),o<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return r(null);if(ao(e))return Zn(e,o,n,r);if(io(e))return Zn(e[Symbol.asyncIterator](),o,n,r);var i=co(e),s=!1,a=!1,u=0,l=!1;function c(h,f){if(!a)if(u-=1,h)s=!0,r(h);else if(h===!1)s=!0,a=!0;else{if(f===Dt||s&&u<=0)return s=!0,r(null);l||d()}}function d(){for(l=!0;u1?i:i[0])}return n[We]=new Promise((r,i)=>{o=r,e=i}),n}function ir(o,e,n){typeof e!="number"&&(n=e,e=null),n=Ie(n||Ye());var r=Object.keys(o).length;if(!r)return n(null);e||(e=r);var i={},s=0,a=!1,u=!1,l=Object.create(null),c=[],d=[],h={};Object.keys(o).forEach(y=>{var A=o[y];if(!Array.isArray(A)){f(y,[A]),d.push(y);return}var k=A.slice(0,A.length-1),C=k.length;if(C===0){f(y,A),d.push(y);return}h[y]=C,k.forEach(E=>{if(!o[E])throw new Error("async.auto task `"+y+"` has a non-existent dependency `"+E+"` in "+k.join(", "));m(E,()=>{C--,C===0&&f(y,A)})})}),_(),p();function f(y,A){c.push(()=>v(y,A))}function p(){if(!a){if(c.length===0&&s===0)return n(null,i);for(;c.length&&sk()),p()}function v(y,A){if(!u){var k=Ve((E,...F)=>{if(s--,E===!1){a=!0;return}if(F.length<2&&([F]=F),E){var S={};if(Object.keys(i).forEach(B=>{S[B]=i[B]}),S[y]=F,u=!0,l=Object.create(null),a)return;n(E,S)}else i[y]=F,g(y)});s++;var C=Y(A[A.length-1]);A.length>1?C(i,k):C(k)}}function _(){for(var y,A=0;d.length;)y=d.pop(),A++,b(y).forEach(k=>{--h[k]===0&&d.push(k)});if(A!==r)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function b(y){var A=[];return Object.keys(o).forEach(k=>{const C=o[k];Array.isArray(C)&&C.indexOf(y)>=0&&A.push(k)}),A}return n[We]}var $o=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,So=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,wo=/,/,_o=/(=.+)?(\s*)$/;function Ro(o){let e="",n=0,r=o.indexOf("*/");for(;ni.replace(_o,"").trim())}function To(o,e){var n={};return Object.keys(o).forEach(r=>{var i=o[r],s,a=lt(i),u=!a&&i.length===1||a&&i.length===0;if(Array.isArray(i))s=[...i],i=s.pop(),n[r]=s.concat(s.length>0?l:i);else if(u)n[r]=i;else{if(s=xo(i),i.length===0&&!a&&s.length===0)throw new Error("autoInject task functions require explicit parameters.");a||s.pop(),n[r]=s.concat(l)}function l(c,d){var h=s.map(f=>c[f]);h.push(d),Y(i)(...h)}}),ir(n,e)}class Oo{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,n){n.prev=e,n.next=e.next,e.next?e.next.prev=n:this.tail=n,e.next=n,this.length+=1}insertBefore(e,n){n.prev=e.prev,n.next=e,e.prev?e.prev.next=n:this.head=n,e.prev=n,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):Qn(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):Qn(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var n=this.head;n;){var{next:r}=n;e(n)&&this.removeLink(n),n=r}return this}}function Qn(o,e){o.length=1,o.head=o.tail=e}function yn(o,e,n){if(e==null)e=1;else if(e===0)throw new RangeError("Concurrency must not be zero");var r=Y(o),i=0,s=[];const a={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function u(b,y){a[b].push(y)}function l(b,y){const A=(...k)=>{c(b,A),y(...k)};a[b].push(A)}function c(b,y){if(!b)return Object.keys(a).forEach(A=>a[A]=[]);if(!y)return a[b]=[];a[b]=a[b].filter(A=>A!==y)}function d(b,...y){a[b].forEach(A=>A(...y))}var h=!1;function f(b,y,A,k){if(k!=null&&typeof k!="function")throw new Error("task callback must be a function");_.started=!0;var C,E;function F(B,...P){if(B)return A?E(B):C();if(P.length<=1)return C(P[0]);C(P)}var S=_._createTaskItem(b,A?F:k||F);if(y?_._tasks.unshift(S):_._tasks.push(S),h||(h=!0,je(()=>{h=!1,_.process()})),A||!k)return new Promise((B,P)=>{C=B,E=P})}function p(b){return function(y,...A){i-=1;for(var k=0,C=b.length;k0&&s.splice(F,1),E.callback(y,...A),y!=null&&d("error",y,E.data)}i<=_.concurrency-_.buffer&&d("unsaturated"),_.idle()&&d("drain"),_.process()}}function m(b){return b.length===0&&_.idle()?(je(()=>d("drain")),!0):!1}const g=b=>y=>{if(!y)return new Promise((A,k)=>{l(b,(C,E)=>{if(C)return k(C);A(E)})});c(b),u(b,y)};var v=!1,_={_tasks:new Oo,_createTaskItem(b,y){return{data:b,callback:y}},*[Symbol.iterator](){yield*_._tasks[Symbol.iterator]()},concurrency:e,payload:n,buffer:e/4,started:!1,paused:!1,push(b,y){return Array.isArray(b)?m(b)?void 0:b.map(A=>f(A,!1,!1,y)):f(b,!1,!1,y)},pushAsync(b,y){return Array.isArray(b)?m(b)?void 0:b.map(A=>f(A,!1,!0,y)):f(b,!1,!0,y)},kill(){c(),_._tasks.empty()},unshift(b,y){return Array.isArray(b)?m(b)?void 0:b.map(A=>f(A,!0,!1,y)):f(b,!0,!1,y)},unshiftAsync(b,y){return Array.isArray(b)?m(b)?void 0:b.map(A=>f(A,!0,!0,y)):f(b,!0,!0,y)},remove(b){_._tasks.remove(b)},process(){if(!v){for(v=!0;!_.paused&&i<_.concurrency&&_._tasks.length;){var b=[],y=[],A=_._tasks.length;_.payload&&(A=Math.min(A,_.payload));for(var k=0;k{i(e,s,(l,c)=>{e=c,u(l)})},s=>r(s,e))}var et=H(ko,4);function sr(...o){var e=o.map(Y);return function(...n){var r=this,i=n[n.length-1];return typeof i=="function"?n.pop():i=Ye(),et(e,n,(s,a,u)=>{a.apply(r,s.concat((l,...c)=>{u(l,c)}))},(s,a)=>i(s,...a)),i[We]}}function Do(...o){return sr(...o.reverse())}function No(o,e,n,r){return vn($e(e),o,n,r)}var Nt=H(No,4);function Ao(o,e,n,r){var i=Y(n);return Nt(o,e,(s,a)=>{i(s,(u,...l)=>u?a(u):a(u,l))},(s,a)=>{for(var u=[],l=0;l{var a=!1,u;const l=Y(i);n(r,(c,d,h)=>{l(c,(f,p)=>{if(f||f===!1)return h(f);if(o(p)&&!u)return a=!0,u=e(!0,c),h(null,Dt);h()})},c=>{if(c)return s(c);s(null,a?u:e(!1))})}}function Bo(o,e,n){return De(r=>r,(r,i)=>i)(be,o,e,n)}var n1=H(Bo,3);function Fo(o,e,n,r){return De(i=>i,(i,s)=>s)($e(e),o,n,r)}var r1=H(Fo,4);function jo(o,e,n){return De(r=>r,(r,i)=>i)($e(1),o,e,n)}var a1=H(jo,3);function or(o){return(e,...n)=>Y(e)(...n,(r,...i)=>{typeof console=="object"&&(r?console.error&&console.error(r):console[o]&&i.forEach(s=>console[o](s)))})}var qo=or("dir");function Mo(o,e,n){n=Ve(n);var r=Y(o),i=Y(e),s;function a(l,...c){if(l)return n(l);l!==!1&&(s=c,i(...c,u))}function u(l,c){if(l)return n(l);if(l!==!1){if(!c)return n(null,...s);r(a)}}return u(null,!0)}var Xt=H(Mo,3);function zo(o,e,n){const r=Y(e);return Xt(o,(...i)=>{const s=i.pop();r(...i,(a,u)=>s(a,!u))},n)}function lr(o){return(e,n,r)=>o(e,r)}function Uo(o,e,n){return be(o,lr(Y(e)),n)}var i1=H(Uo,3);function Ho(o,e,n,r){return $e(e)(o,lr(Y(n)),r)}var Zt=H(Ho,4);function Yo(o,e,n){return Zt(o,1,e,n)}var Qt=H(Yo,3);function ur(o){return lt(o)?o:function(...e){var n=e.pop(),r=!0;e.push((...i)=>{r?je(()=>n(...i)):n(...i)}),o.apply(this,e),r=!1}}function Go(o,e,n){return De(r=>!r,r=>!r)(be,o,e,n)}var s1=H(Go,3);function Wo(o,e,n,r){return De(i=>!i,i=>!i)($e(e),o,n,r)}var o1=H(Wo,4);function Ko(o,e,n){return De(r=>!r,r=>!r)(Pe,o,e,n)}var l1=H(Ko,3);function Jo(o,e,n,r){var i=new Array(e.length);o(e,(s,a,u)=>{n(s,(l,c)=>{i[a]=!!c,u(l)})},s=>{if(s)return r(s);for(var a=[],u=0;u{n(s,(l,c)=>{if(l)return u(l);c&&i.push({index:a,value:s}),u(l)})},s=>{if(s)return r(s);r(null,i.sort((a,u)=>a.index-u.index).map(a=>a.value))})}function At(o,e,n,r){var i=kt(e)?Jo:Xo;return i(o,e,Y(n),r)}function Zo(o,e,n){return At(be,o,e,n)}var u1=H(Zo,3);function Qo(o,e,n,r){return At($e(e),o,n,r)}var c1=H(Qo,4);function el(o,e,n){return At(Pe,o,e,n)}var d1=H(el,3);function tl(o,e){var n=Ve(e),r=Y(ur(o));function i(s){if(s)return n(s);s!==!1&&r(i)}return i()}var nl=H(tl,2);function rl(o,e,n,r){var i=Y(n);return Nt(o,e,(s,a)=>{i(s,(u,l)=>u?a(u):a(u,{key:l,val:s}))},(s,a)=>{for(var u={},{hasOwnProperty:l}=Object.prototype,c=0;c{s(a,u,(c,d)=>{if(c)return l(c);i[u]=d,l(c)})},a=>r(a,i))}var bn=H(ol,4);function ll(o,e,n){return bn(o,1/0,e,n)}function ul(o,e,n){return bn(o,1,e,n)}function cl(o,e=n=>n){var n=Object.create(null),r=Object.create(null),i=Y(o),s=ot((a,u)=>{var l=e(...a);l in n?je(()=>u(null,...n[l])):l in r?r[l].push(u):(r[l]=[u],i(...a,(c,...d)=>{c||(n[l]=d);var h=r[l];delete r[l];for(var f=0,p=h.length;f{var r=kt(e)?[]:{};o(e,(i,s,a)=>{Y(i)((u,...l)=>{l.length<2&&([l]=l),r[s]=l,a(u)})},i=>n(i,r))},3);function fl(o,e){return $n(be,o,e)}function pl(o,e,n){return $n($e(e),o,n)}function cr(o,e){var n=Y(o);return yn((r,i)=>{n(r[0],i)},e,1)}class hl{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let n;for(;e>0&&zt(this.heap[e],this.heap[n=f1(e)]);){let r=this.heap[e];this.heap[e]=this.heap[n],this.heap[n]=r,e=n}}percDown(e){let n;for(;(n=ml(e))=0;r--)this.percDown(r);return this}}function ml(o){return(o<<1)+1}function f1(o){return(o+1>>1)-1}function zt(o,e){return o.priority!==e.priority?o.priority({data:a,priority:u,callback:l});function s(a,u){return Array.isArray(a)?a.map(l=>({data:l,priority:u})):{data:a,priority:u}}return n.push=function(a,u=0,l){return r(s(a,u),l)},n.pushAsync=function(a,u=0,l){return i(s(a,u),l)},delete n.unshift,delete n.unshiftAsync,n}function gl(o,e){if(e=Ie(e),!Array.isArray(o))return e(new TypeError("First argument to race must be an array of functions"));if(!o.length)return e();for(var n=0,r=o.length;n{let a={};if(i&&(a.error=i),s.length>0){var u=s;s.length<=1&&([u]=s),a.value=u}r(null,a)}),e.apply(this,n)})}function El(o){var e;return Array.isArray(o)?e=o.map(en):(e={},Object.keys(o).forEach(n=>{e[n]=en.call(this,o[n])})),e}function Sn(o,e,n,r){const i=Y(n);return At(o,e,(s,a)=>{i(s,(u,l)=>{a(u,!l)})},r)}function bl(o,e,n){return Sn(be,o,e,n)}var $l=H(bl,3);function Sl(o,e,n,r){return Sn($e(e),o,n,r)}var wl=H(Sl,4);function _l(o,e,n){return Sn(Pe,o,e,n)}var Rl=H(_l,3);function dr(o){return function(){return o}}const tn=5,fr=0;function nn(o,e,n){var r={times:tn,intervalFunc:dr(fr)};if(arguments.length<3&&typeof o=="function"?(n=e||Ye(),e=o):(xl(r,o),n=n||Ye()),typeof e!="function")throw new Error("Invalid arguments for async.retry");var i=Y(e),s=1;function a(){i((u,...l)=>{u!==!1&&(u&&s++{(i.lengthr)(be,o,e,n)}var h1=H(Cl,3);function Pl(o,e,n,r){return De(Boolean,i=>i)($e(e),o,n,r)}var m1=H(Pl,4);function kl(o,e,n){return De(Boolean,r=>r)(Pe,o,e,n)}var v1=H(kl,3);function Dl(o,e,n){var r=Y(e);return gn(o,(s,a)=>{r(s,(u,l)=>{if(u)return a(u);a(u,{value:s,criteria:l})})},(s,a)=>{if(s)return n(s);n(null,a.sort(i).map(u=>u.value))});function i(s,a){var u=s.criteria,l=a.criteria;return ul?1:0}}var Nl=H(Dl,3);function Al(o,e,n){var r=Y(o);return ot((i,s)=>{var a=!1,u;function l(){var c=o.name||"anonymous",d=new Error('Callback function "'+c+'" timed out.');d.code="ETIMEDOUT",n&&(d.info=n),a=!0,s(d)}i.push((...c)=>{a||(s(...c),clearTimeout(u))}),u=setTimeout(l,e),r(...i)})}function Ll(o){for(var e=Array(o);o--;)e[o]=o;return e}function wn(o,e,n,r){var i=Y(n);return Nt(Ll(o),e,i,r)}function Il(o,e,n){return wn(o,1/0,e,n)}function Vl(o,e,n){return wn(o,1,e,n)}function Bl(o,e,n,r){arguments.length<=3&&typeof e=="function"&&(r=n,n=e,e=Array.isArray(o)?[]:{}),r=Ie(r||Ye());var i=Y(n);return be(o,(s,a,u)=>{i(e,s,a,u)},s=>r(s,e)),r[We]}function Fl(o,e){var n=null,r;return Qt(o,(i,s)=>{Y(i)((a,...u)=>{if(a===!1)return s(a);u.length<2?[r]=u:r=u,n=a,s(a?null:{})})},()=>e(n,r))}var jl=H(Fl);function ql(o){return(...e)=>(o.unmemoized||o)(...e)}function Ml(o,e,n){n=Ve(n);var r=Y(e),i=Y(o),s=[];function a(l,...c){if(l)return n(l);s=c,l!==!1&&i(u)}function u(l,c){if(l)return n(l);if(l!==!1){if(!c)return n(null,...s);r(a)}}return i(u)}var rn=H(Ml,3);function zl(o,e,n){const r=Y(o);return rn(i=>r((s,a)=>i(s,!a)),e,n)}function Ul(o,e){if(e=Ie(e),!Array.isArray(o))return e(new Error("First argument to waterfall must be an array of functions"));if(!o.length)return e();var n=0;function r(s){var a=Y(o[n++]);a(...s,Ve(i))}function i(s,...a){if(s!==!1){if(s||n===o.length)return e(s,...a);r(a)}}r([])}var Hl=H(Ul),Yl={apply:no,applyEach:go,applyEachSeries:bo,asyncify:Jt,auto:ir,autoInject:To,cargo:Co,cargoQueue:Po,compose:Do,concat:e1,concatLimit:St,concatSeries:t1,constant:Vo,detect:n1,detectLimit:r1,detectSeries:a1,dir:qo,doUntil:zo,doWhilst:Xt,each:i1,eachLimit:Zt,eachOf:be,eachOfLimit:$t,eachOfSeries:Pe,eachSeries:Qt,ensureAsync:ur,every:s1,everyLimit:o1,everySeries:l1,filter:u1,filterLimit:c1,filterSeries:d1,forever:nl,groupBy:al,groupByLimit:En,groupBySeries:il,log:sl,map:gn,mapLimit:Nt,mapSeries:ar,mapValues:ll,mapValuesLimit:bn,mapValuesSeries:ul,memoize:cl,nextTick:dl,parallel:fl,parallelLimit:pl,priorityQueue:vl,queue:cr,race:yl,reduce:et,reduceRight:p1,reflect:en,reflectAll:El,reject:$l,rejectLimit:wl,rejectSeries:Rl,retry:nn,retryable:Tl,seq:sr,series:Ol,setImmediate:je,some:h1,someLimit:m1,someSeries:v1,sortBy:Nl,timeout:Al,times:Il,timesLimit:wn,timesSeries:Vl,transform:Bl,tryEach:jl,unmemoize:ql,until:zl,waterfall:Hl,whilst:rn,all:s1,allLimit:o1,allSeries:l1,any:h1,anyLimit:m1,anySeries:v1,find:n1,findLimit:r1,findSeries:a1,flatMap:e1,flatMapLimit:St,flatMapSeries:t1,forEach:i1,forEachSeries:Qt,forEachLimit:Zt,forEachOf:be,forEachOfSeries:Pe,forEachOfLimit:$t,inject:et,foldl:et,foldr:p1,select:u1,selectLimit:c1,selectSeries:d1,wrapSync:Jt,during:rn,doDuring:Xt};const Gl={name:w.TRIGGERCOMPONENT},Wl=Object.assign(Gl,{props:["options","modelValue"],emits:["update:modelValue"],setup(o,{expose:e,emit:n}){const r=o;vue.inject("Everright");const i=vue.ref(),s=j.useNamespace(w.TRIGGERCOMPONENT),{t:a,lang:u}=j.useI18n(),l=vue.computed(()=>pe.convertDataByLang(r.options,u.value)),c=h=>{n("update:modelValue",h)};e({ref:i});const d=(h,f)=>h.text.toLowerCase().includes(f.toLowerCase());return(h,f)=>{const p=vue.resolveComponent("el-cascader");return vue.openBlock(),vue.createBlock(p,{class:vue.normalizeClass([vue.unref(s).b()]),ref_key:"element",ref:i,checkStrictly:!0,"model-value":o.modelValue,filterable:"","filter-method":d,onChange:c,props:{emitPath:!1},options:vue.unref(l)},null,8,["class","model-value","options"])}}}),Kl={name:w.OPERATORCOMPONENT},Jl=Object.assign(Kl,{props:["options","modelValue","isDateType","property"],emits:["update:modelValue"],setup(o,{emit:e}){const n=o;vue.inject("Everright");const r=j.useNamespace(w.OPERATORCOMPONENT),i=vue.reactive({value0:"",value1:""});vue.watch(i,()=>{e("update:modelValue",[i.value0,i.value1])});const{t:s,lang:a}=j.useI18n();return vue.watch(()=>n.modelValue,(u,l)=>{i.value0=u[0],i.value1=u[1]},{immediate:!0}),(u,l)=>{const c=vue.resolveComponent("el-option"),d=vue.resolveComponent("el-select");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[o.isDateType?vue.withDirectives((vue.openBlock(),vue.createBlock(d,{key:0,class:vue.normalizeClass([vue.unref(r).e("width")]),modelValue:i.value0,"onUpdate:modelValue":l[0]||(l[0]=h=>i.value0=h),filterable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.options[0],h=>(vue.openBlock(),vue.createBlock(c,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["class","modelValue"])),[[vue.vShow,o.options[0].length!==1]]):vue.createCommentVNode("",!0),vue.createVNode(d,{modelValue:i.value1,"onUpdate:modelValue":l[1]||(l[1]=h=>i.value1=h),class:vue.normalizeClass([vue.unref(r).e("width")]),filterable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.options[1],h=>(vue.openBlock(),vue.createBlock(c,{key:h.value,label:vue.unref(pe).getLableByLang(h,vue.unref(a)),value:h.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","class"])],64)}}}),Xl={name:w.CASCADERTYPE},Zl=Object.assign(Xl,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=!!vue.inject("EverrightConstraint",""),i=vue.inject("Everright"),{t:s,lang:a}=j.useI18n(),u=vue.ref(),l=j.useNamespace(w.CASCADERTYPE),c=vue.reactive({loading:!0,value0:"",isChanged:!0,options:[]}),d=vue.computed(()=>n.params.multiple||n.operatorStyle==="tags");vue.watch(d,A=>{c.value0=[],c.isChanged=!1,vue.nextTick(()=>{c.isChanged=!0})});const h=vue.computed(()=>{const A={checkStrictly:d.value,multiple:d.value,emitPath:!1};return A.multiple&&(A.disabled=(k,C)=>{let E=!1;if(C.parent){const F=C.parent;E=F.isDisabled||F.checked}return E}),A}),f=(A,k=!1)=>A.reduce((C,E)=>(E.isLeaf?C.push(E):(!k&&C.push(E),C=C.concat(f(E.children,k))),C),[]);(async()=>{const A={property:n.property};try{const{data:k}=await(r?i.api.getPropValues(A):i.api.getConditions(A));c.options=k}finally{c.loading=!1}})();const{getData:p,setData:m,clearData:g,v$:v}=j.useCommon(w.CASCADERTYPE,{...vue.toRefs(c),...vue.toRefs(n),isMultiple:d});e({getData:p,setData:m,clearData:g});const _=A=>{if(vue.unref(d)){const k=A;k.forEach(C=>{const E=f([lodash.find(u.value.$refs.cascaderPanelRef.getCheckedNodes(),{valueByOption:C})]).map(F=>F.valueByOption).filter(F=>F!==C);lodash.intersectionBy(u.value.$refs.cascaderPanelRef.getCheckedNodes(),E.map(F=>({valueByOption:F})),"valueByOption").forEach(F=>{k.splice(k.indexOf(F.valueByOption),1),u.value.$refs.cascaderPanelRef.handleCheckChange(F,!1)})})}},b=vue.computed(()=>{const A={placeholder:s("er.public.select"),clearable:!0,filterable:!0,"collapse-tags":!0,checkStrictly:!0,props:h.value,onChange:_};return lodash.merge(A,lodash.get(n,"params.customProps",{}))}),y=(A,k)=>A.text.toLowerCase().includes(k.toLowerCase());return(A,k)=>{const C=vue.resolveComponent("el-cascader"),E=vue.resolveDirective("loading");return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",null,[c.isChanged?(vue.openBlock(),vue.createBlock(C,vue.mergeProps({key:0,"filter-method":y,modelValue:c.value0,"onUpdate:modelValue":k[0]||(k[0]=F=>c.value0=F),options:c.options,collapseTagsTooltip:"",class:[vue.unref(l).b(),vue.unref(l).e("width"),vue.unref(v).value0.$error&&vue.unref(i).props.isShowValidateState&&"ERFILTER-ERROR"],ref_key:"element",ref:u},vue.unref(b)),null,16,["modelValue","options","class"])):vue.createCommentVNode("",!0)])),[[E,c.loading]])}}}),Ql=Object.freeze(Object.defineProperty({__proto__:null,default:Zl},Symbol.toStringTag,{value:"Module"})),eu=vue.createElementVNode("div",{style:{padding:"10px 11px"}},"-",-1),tu={name:w.DayHourComponent,inheritAttrs:!1},ct=Object.assign(tu,{props:["modelValue","type","prependLabel","appendLabel","isRange"],emits:["update:modelValue","change"],setup(o,{emit:e}){const n=o;vue.inject("Everright");const r=j.useNamespace("DayHourComponent"),{t:i,lang:s}=j.useI18n(),a=vue.reactive({visible:!0,value0:null,value1:null,value2:1,value3:1}),u=vue.computed(()=>[{label:i("er.public.days").slice(0,1),value:1},{label:i("er.public.hours").slice(0,1),value:2}]),l=d=>{const h={};switch(d?h.value=[null,null]:h.value=null,n.type){case 1:h.type=1;break;case 2:h.type=2;break;case 3:h.type=1;break}return h};n.isRange?e("update:modelValue",l(!0)):e("update:modelValue",l()),vue.watch(()=>n.modelValue,(d,h)=>{const f=d||l(n.isRange);n.isRange?(a.value0=f.value[0],a.value1=f.value[1],a.value2=a.value3=f.type):(a.value0=f.value,a.value2=f.type)},{deep:!0});const c=(d,h)=>{const f={};if(n.isRange){if(d==="select"&&(a.value2=a.value3=h),f.value=[a.value0,a.value1].sort((p,m)=>p-m),f.value[0]===null||f.value[1]===null)return!1}else if(f.value=a.value0,f.value===null)return!1;f.type=a.value2,e("update:modelValue",f),e("change",f)};return(d,h)=>{const f=vue.resolveComponent("el-input-number"),p=vue.resolveComponent("el-option"),m=vue.resolveComponent("el-select");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(r).b()])},[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).e("content")])},[o.prependLabel?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:vue.normalizeClass([vue.unref(r).e("prependLabel")])},vue.toDisplayString(o.prependLabel),3)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).e("wrap")])},[vue.createVNode(f,{modelValue:a.value0,"onUpdate:modelValue":h[0]||(h[0]=g=>a.value0=g),min:1,controls:!1,onChange:h[1]||(h[1]=g=>c("input",g))},null,8,["modelValue"]),o.type===1?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:vue.normalizeClass([vue.unref(r).e("suffix")])},vue.toDisplayString(vue.unref(i)("er.public.days")),3)):o.type===2?(vue.openBlock(),vue.createElementBlock("span",{key:1,class:vue.normalizeClass([vue.unref(r).e("suffix")])},vue.toDisplayString(vue.unref(i)("er.public.hours")),3)):(vue.openBlock(),vue.createBlock(m,{key:2,modelValue:a.value2,"onUpdate:modelValue":h[2]||(h[2]=g=>a.value2=g),teleported:!1,onChange:h[3]||(h[3]=g=>c("select",g)),class:vue.normalizeClass([vue.unref(r).e("suffix")])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),g=>(vue.openBlock(),vue.createBlock(p,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","class"]))],2),o.appendLabel?(vue.openBlock(),vue.createElementBlock("span",{key:1,class:vue.normalizeClass([vue.unref(r).e("appendLabel")])},vue.toDisplayString(o.appendLabel),3)):vue.createCommentVNode("",!0)],2),o.isRange?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[eu,vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).e("content")])},[o.prependLabel?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:vue.normalizeClass([vue.unref(r).e("prependLabel")])},vue.toDisplayString(o.prependLabel),3)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(r).e("wrap")])},[vue.createVNode(f,{modelValue:a.value1,"onUpdate:modelValue":h[4]||(h[4]=g=>a.value1=g),min:1,controls:!1,onChange:h[5]||(h[5]=g=>c("input",g))},null,8,["modelValue"]),o.type===1?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:vue.normalizeClass([vue.unref(r).e("suffix")])},vue.toDisplayString(vue.unref(i)("er.public.days")),3)):o.type===2?(vue.openBlock(),vue.createElementBlock("span",{key:1,class:vue.normalizeClass([vue.unref(r).e("suffix")])},vue.toDisplayString(vue.unref(i)("er.public.hours")),3)):(vue.openBlock(),vue.createBlock(m,{key:2,modelValue:a.value3,"onUpdate:modelValue":h[6]||(h[6]=g=>a.value3=g),teleported:!1,onChange:h[7]||(h[7]=g=>c("select",g)),class:vue.normalizeClass([vue.unref(r).e("suffix")])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),g=>(vue.openBlock(),vue.createBlock(p,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","class"]))],2),o.appendLabel?(vue.openBlock(),vue.createElementBlock("span",{key:1,class:vue.normalizeClass([vue.unref(r).e("appendLabel")])},vue.toDisplayString(o.appendLabel),3)):vue.createCommentVNode("",!0)],2)],64)):vue.createCommentVNode("",!0)],2)}}}),nu={name:w.DATECOMPONENT},pr=Object.assign(nu,{props:["isRange","params","isShowSwitchButton","defaultValue","id","isConstraint"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright"),i=j.useNamespace(w.DATECOMPONENT),s=vue.ref(),{t:a,lang:u}=j.useI18n(),l=vue.reactive({hasToday:1,isShowIncludeToday:!1,absolute:!1,staticDate:"",dynamicDate:{shortcut:"",intervalBefore:"",afterBefore:"",erenowBefore:"",intervalBetween:""}}),c=vue.ref(),d=vue.ref();vue.watch(()=>n.isRange,S=>{n.isShowSwitchButton||(l.absolute=S)},{immediate:!0});const h=vue.computed(()=>[{label:a(`er.${w.DATECOMPONENT}.today_today`),active:!1,value:"- 0 days/- 0 days",key:"today_today"},{label:a(`er.${w.DATECOMPONENT}.today_thisWeek`),active:!1,value:"- 0 weeks/- 0 weeks",key:"today_thisWeek"},{label:a(`er.${w.DATECOMPONENT}.today_thisMonth`),active:!1,value:"- 0 months/- 0 months",key:"today_thisMonth"},{label:a(`er.${w.DATECOMPONENT}.today_thisYear`),active:!1,value:"- 0 years/- 0 years",key:"today_thisYear"},{label:a(`er.${w.DATECOMPONENT}.yesterday_onlineToday`),active:!1,value:"release_time/- 0 days",key:"yesterday_onlineToday"},{label:a(`er.${w.DATECOMPONENT}.yesterday_yesterday`),active:!1,value:"- 1 days/- 1 days",key:"yesterday_yesterday"},{label:a(`er.${w.DATECOMPONENT}.yesterday_lastWeek`),active:!1,value:"- 1 weeks/- 1 weeks",key:"yesterday_lastWeek"},{label:a(`er.${w.DATECOMPONENT}.yesterday_lastMonth`),active:!1,value:"- 1 months/- 1 months",key:"yesterday_lastMonth"},{label:a(`er.${w.DATECOMPONENT}.yesterday_lastYear`),active:!1,value:"- 1 years/- 1 years",key:"yesterday_lastYear"}]),f=["intervalBefore","afterBefore","erenowBefore","intervalBetween"],p=vue.computed(()=>{const S=lodash.get(vue.unref(n.params),"datePanel.excludeShortcuts",[]);return S===-1?[]:h.value.map(B=>(B.active=l.dynamicDate.shortcut===B.value,B)).filter(B=>S.indexOf(B.key)===-1)}),m=vue.computed(()=>{const S=lodash.get(vue.unref(n.params),"datePanel.excludeManuals",[]);return S===-1?[]:f.filter(B=>S.indexOf(B)===-1)});!m.value.length&&!p.value.length&&(l.absolute=!0);const g=vue.computed(()=>lodash.get(vue.unref(n.params),"datePanel.manualType",3)),v=S=>a(S===1?"er.public.days":"er.public.hours"),_=vue.computed(()=>{let S=a("er.public.select");if(l.absolute)S=a(`er.${w.DATECOMPONENT}.absolute`);else{const B=l.dynamicDate;for(const P in B)if(P==="shortcut")B[P]&&(S=lodash.find(vue.unref(p),{value:B.shortcut}).label);else if(B[P].value)switch(P){case"intervalBefore":S=`${a(`er.${w.DATECOMPONENT}.last`)} ${B[P].value} ${v(B[P].type)}`;break;case"afterBefore":S=`${a(`er.${w.DATECOMPONENT}.next`)} ${B[P].value} ${v(B[P].type)}`;break;case"erenowBefore":S=`${B[P].value} ${v(B[P].type)} ${a(`er.${w.DATECOMPONENT}.ago`)}`;break;case"intervalBetween":B[P].value.every(L=>L!==null)&&(S=`${a(`er.${w.DATECOMPONENT}.last`)} ${B[P].value[0]} - ${B[P].value[1]} ${v(B[P].type)}`);break}}return S}),b=(S,B,P=!0)=>{S==="shortcuts"?(l.dynamicDate.shortcut=B.value,vue.unref(d)&&vue.unref(d).hide(),y("shortcut")):S==="staticDate"?(l.absolute=!0,vue.unref(d).hide(),P&&vue.nextTick(()=>{vue.unref(s).focus()}),y("staticDate")):y(S),/^(intervalBefore|afterBefore)$/.test(S)?(l.isShowIncludeToday=l.dynamicDate[S].type===1,l.hasToday=1):l.isShowIncludeToday=!1},y=S=>{for(const B in l.dynamicDate)B!==S&&(l.dynamicDate[B]="");S!=="staticDate"&&(l.absolute=!1,l.staticDate="")},{getData:A,setData:k,clearData:C,v$:E}=j.useCommon(w.DATECOMPONENT,{...vue.toRefs(l),...vue.toRefs(n),buttonText:_,shortcuts:p,handleEvent:b});e({getData:A,setData:k,clearData:C}),lodash.isEmpty(r.state.remoteData)&&vue.onMounted(()=>{n.defaultValue&&(l.dynamicDate.intervalBefore.value=90)});const F=vue.computed(()=>n.isRange?"daterange":lodash.get(vue.unref(n.params),"datePanel.pickerType","date"));return(S,B)=>{const P=vue.resolveComponent("el-button"),L=vue.resolveComponent("el-checkbox"),D=vue.resolveComponent("Calendar"),O=vue.resolveComponent("el-icon"),R=vue.resolveComponent("el-popover"),N=vue.resolveComponent("el-date-picker");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(R,{placement:"bottom",width:720,ref_key:"popoverRef",ref:d,trigger:"click","virtual-ref":c.value,"virtual-triggering":""},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(i).e("shortcuts")])},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(p),(I,x)=>vue.withDirectives((vue.openBlock(),vue.createBlock(P,{onClick:()=>b("shortcuts",I),class:vue.normalizeClass([!!I.active&&vue.unref(i).is("active")]),key:x},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(I.label),1)]),_:2},1032,["onClick","class"])),[[vue.vShow,!I.isShow]])),128))],2),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(i).e("manuals")])},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(m),I=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:I},[I==="intervalBefore"?(vue.openBlock(),vue.createBlock(ct,{key:0,modelValue:l.dynamicDate.intervalBefore,"onUpdate:modelValue":B[0]||(B[0]=x=>l.dynamicDate.intervalBefore=x),onChange:B[1]||(B[1]=()=>b("intervalBefore")),prependLabel:vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.last`),type:vue.unref(g)},null,8,["modelValue","prependLabel","type"])):vue.createCommentVNode("",!0),I==="afterBefore"?(vue.openBlock(),vue.createBlock(ct,{key:1,modelValue:l.dynamicDate.afterBefore,"onUpdate:modelValue":B[2]||(B[2]=x=>l.dynamicDate.afterBefore=x),onChange:B[3]||(B[3]=()=>b("afterBefore")),prependLabel:vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.next`),type:vue.unref(g)},null,8,["modelValue","prependLabel","type"])):vue.createCommentVNode("",!0),I==="erenowBefore"?(vue.openBlock(),vue.createBlock(ct,{key:2,appendLabel:vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.ago`),modelValue:l.dynamicDate.erenowBefore,"onUpdate:modelValue":B[4]||(B[4]=x=>l.dynamicDate.erenowBefore=x),onChange:B[5]||(B[5]=()=>b("erenowBefore")),type:vue.unref(g)},null,8,["appendLabel","modelValue","type"])):vue.createCommentVNode("",!0),I==="intervalBetween"?(vue.openBlock(),vue.createBlock(ct,{key:3,prependLabel:vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.last`),isRange:!0,modelValue:l.dynamicDate.intervalBetween,"onUpdate:modelValue":B[6]||(B[6]=x=>l.dynamicDate.intervalBetween=x),onChange:B[7]||(B[7]=()=>b("intervalBetween")),type:vue.unref(g)},null,8,["prependLabel","modelValue","type"])):vue.createCommentVNode("",!0)],64))),128)),vue.withDirectives(vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(i).e("includeToday")])},[vue.createVNode(L,{modelValue:l.hasToday,"onUpdate:modelValue":B[8]||(B[8]=I=>l.hasToday=I),label:vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.today`),"true-label":1,"false-label":0,size:"large"},null,8,["modelValue","label"])],2),[[vue.vShow,l.isShowIncludeToday]])],2),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(i).e("absolute")])},[vue.createVNode(P,{link:"",text:"",onClick:B[9]||(B[9]=()=>b("staticDate"))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(a)(`er.${vue.unref(w).DATECOMPONENT}.absolute`)),1),vue.createVNode(O,null,{default:vue.withCtx(()=>[vue.createVNode(D)]),_:1})]),_:1})],2)]),_:1},8,["virtual-ref"]),!(!vue.unref(m).length&&!vue.unref(p).length)&&(o.isShowSwitchButton||!o.isRange)?(vue.openBlock(),vue.createBlock(P,{key:0,class:vue.normalizeClass([vue.unref(i).e("button"),vue.unref(E).dynamicDate.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),ref_key:"buttonRef",ref:c},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(_)),1),vue.createVNode(O,null,{default:vue.withCtx(()=>[vue.createVNode(D)]),_:1})]),_:1},8,["class"])):vue.createCommentVNode("",!0),l.absolute?(vue.openBlock(),vue.createBlock(N,{key:1,class:vue.normalizeClass([vue.unref(i).e("width"),vue.unref(E).staticDate.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),ref_key:"staticDateRef",ref:s,type:vue.unref(F),clearable:"",valueFormat:"X",modelValue:l.staticDate,"onUpdate:modelValue":B[10]||(B[10]=I=>l.staticDate=I)},null,8,["class","type","modelValue"])):vue.createCommentVNode("",!0)],64)}}}),ru=vue.createElementVNode("span",null,"-",-1),au={name:w.DATETYPE},iu=Object.assign(au,{props:["id","operatorStyle","params","property","dateOperator"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright"),i=j.useNamespace(w.DATETYPE),s=vue.ref(),a=vue.reactive({value0:"",value1:"",isChanged:!0,Datecomponent:s}),u=vue.computed(()=>n.operatorStyle==="range");vue.watch([u,()=>n.dateOperator],g=>{a.value0=a.value1="",a.isChanged=!1,vue.nextTick(()=>{a.isChanged=!0})});const{getData:l,setData:c,clearData:d,v$:h}=j.useCommon(w.DATETYPE,{...vue.toRefs(a),...vue.toRefs(n),isRange:u}),{t:f,lang:p}=j.useI18n();e({getData:l,setData:c,clearData:d,Datecomponent:s});const m=vue.computed(()=>{let g=[];return n.dateOperator!=="Date"&&(g=new Array(n.dateOperator==="year"?new Date().getFullYear()-1899:n.dateOperator==="month"?12:31).fill("").map((v,_)=>{const b=n.dateOperator==="year"?1900+_:_+1;return{label:b,value:b}}).sort((v,_)=>n.dateOperator==="year"?_.value-v.value:v.value-_.value)),g});return(g,v)=>{const _=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select");return o.dateOperator==="date"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[a.isChanged?(vue.openBlock(),vue.createBlock(pr,{key:0,ref_key:"Datecomponent",ref:s,isRange:vue.unref(u),isShowSwitchButton:!vue.unref(u),params:o.params,id:o.id},null,8,["isRange","isShowSwitchButton","params","id"])):vue.createCommentVNode("",!0)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[a.isChanged?(vue.openBlock(),vue.createBlock(b,{key:0,placeholder:vue.unref(f)("er.public.select"),class:vue.normalizeClass([vue.unref(i).e("width"),vue.unref(h).value0.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR",vue.unref(u)&&vue.unref(i).is("range")]),modelValue:a.value0,"onUpdate:modelValue":v[0]||(v[0]=y=>a.value0=y),filterable:"",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(m),y=>(vue.openBlock(),vue.createBlock(_,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:1},8,["placeholder","class","modelValue"])):vue.createCommentVNode("",!0),vue.unref(u)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[ru,a.isChanged?(vue.openBlock(),vue.createBlock(b,{key:0,placeholder:vue.unref(f)("er.public.select"),class:vue.normalizeClass([vue.unref(i).e("width"),vue.unref(h).value1.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR",vue.unref(u)&&vue.unref(i).is("range")]),modelValue:a.value1,"onUpdate:modelValue":v[1]||(v[1]=y=>a.value1=y),filterable:"",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(m),y=>(vue.openBlock(),vue.createBlock(_,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:1},8,["placeholder","class","modelValue"])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],64))}}}),su=Object.freeze(Object.defineProperty({__proto__:null,default:iu},Symbol.toStringTag,{value:"Module"})),ou=vue.createElementVNode("div",null,"-",-1),lu={name:w.NUMBERTYPE,inheritAttrs:!1},uu=Object.assign(lu,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright");vue.ref();const i=j.useNamespace(w.NUMBERTYPE),s=vue.reactive({loading:!0,value0:null,value1:null}),a=vue.computed(()=>n.operatorStyle==="range"),{t:u,lang:l}=j.useI18n(),{getData:c,setData:d,clearData:h,v$:f}=j.useCommon(w.NUMBERTYPE,{...vue.toRefs(s),isRange:a,...vue.toRefs(n)});return e({getData:c,setData:d,clearData:h}),(p,m)=>{const g=vue.resolveComponent("el-input-number");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(g,{class:vue.normalizeClass([vue.unref(i).e("width"),vue.unref(f).value0.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR",vue.unref(a)&&vue.unref(i).is("range")]),onBlur:m[0]||(m[0]=v=>vue.unref(f).value0.$touch()),modelValue:s.value0,"onUpdate:modelValue":m[1]||(m[1]=v=>s.value0=v),max:o.params.max,min:o.params.min,step:o.params.step,precision:o.params.precision,placeholder:vue.unref(u)("er.public.TypeIn"),"controls-position":"right"},null,8,["class","modelValue","max","min","step","precision","placeholder"]),vue.unref(a)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[ou,vue.createVNode(g,{onBlur:m[2]||(m[2]=v=>vue.unref(f).value1.$touch()),class:vue.normalizeClass([vue.unref(i).e("width"),vue.unref(f).value1.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR",vue.unref(a)&&vue.unref(i).is("range")]),modelValue:s.value1,"onUpdate:modelValue":m[3]||(m[3]=v=>s.value1=v),max:o.params.max,min:o.params.min,step:o.params.step,placeholder:vue.unref(u)("er.public.TypeIn"),precision:o.params.precision,"controls-position":"right"},null,8,["class","modelValue","max","min","step","placeholder","precision"])],64)):vue.createCommentVNode("",!0)],64)}}}),cu=Object.freeze(Object.defineProperty({__proto__:null,default:uu},Symbol.toStringTag,{value:"Module"}));var du={province_list:{11e4:"\u5317\u4EAC\u5E02",12e4:"\u5929\u6D25\u5E02",13e4:"\u6CB3\u5317\u7701",14e4:"\u5C71\u897F\u7701",15e4:"\u5185\u8499\u53E4\u81EA\u6CBB\u533A",21e4:"\u8FBD\u5B81\u7701",22e4:"\u5409\u6797\u7701",23e4:"\u9ED1\u9F99\u6C5F\u7701",31e4:"\u4E0A\u6D77\u5E02",32e4:"\u6C5F\u82CF\u7701",33e4:"\u6D59\u6C5F\u7701",34e4:"\u5B89\u5FBD\u7701",35e4:"\u798F\u5EFA\u7701",36e4:"\u6C5F\u897F\u7701",37e4:"\u5C71\u4E1C\u7701",41e4:"\u6CB3\u5357\u7701",42e4:"\u6E56\u5317\u7701",43e4:"\u6E56\u5357\u7701",44e4:"\u5E7F\u4E1C\u7701",45e4:"\u5E7F\u897F\u58EE\u65CF\u81EA\u6CBB\u533A",46e4:"\u6D77\u5357\u7701",5e5:"\u91CD\u5E86\u5E02",51e4:"\u56DB\u5DDD\u7701",52e4:"\u8D35\u5DDE\u7701",53e4:"\u4E91\u5357\u7701",54e4:"\u897F\u85CF\u81EA\u6CBB\u533A",61e4:"\u9655\u897F\u7701",62e4:"\u7518\u8083\u7701",63e4:"\u9752\u6D77\u7701",64e4:"\u5B81\u590F\u56DE\u65CF\u81EA\u6CBB\u533A",65e4:"\u65B0\u7586\u7EF4\u543E\u5C14\u81EA\u6CBB\u533A",71e4:"\u53F0\u6E7E\u7701",81e4:"\u9999\u6E2F\u7279\u522B\u884C\u653F\u533A",82e4:"\u6FB3\u95E8\u7279\u522B\u884C\u653F\u533A"},city_list:{110100:"\u5317\u4EAC\u5E02",120100:"\u5929\u6D25\u5E02",130100:"\u77F3\u5BB6\u5E84\u5E02",130200:"\u5510\u5C71\u5E02",130300:"\u79E6\u7687\u5C9B\u5E02",130400:"\u90AF\u90F8\u5E02",130500:"\u90A2\u53F0\u5E02",130600:"\u4FDD\u5B9A\u5E02",130700:"\u5F20\u5BB6\u53E3\u5E02",130800:"\u627F\u5FB7\u5E02",130900:"\u6CA7\u5DDE\u5E02",131e3:"\u5ECA\u574A\u5E02",131100:"\u8861\u6C34\u5E02",140100:"\u592A\u539F\u5E02",140200:"\u5927\u540C\u5E02",140300:"\u9633\u6CC9\u5E02",140400:"\u957F\u6CBB\u5E02",140500:"\u664B\u57CE\u5E02",140600:"\u6714\u5DDE\u5E02",140700:"\u664B\u4E2D\u5E02",140800:"\u8FD0\u57CE\u5E02",140900:"\u5FFB\u5DDE\u5E02",141e3:"\u4E34\u6C7E\u5E02",141100:"\u5415\u6881\u5E02",150100:"\u547C\u548C\u6D69\u7279\u5E02",150200:"\u5305\u5934\u5E02",150300:"\u4E4C\u6D77\u5E02",150400:"\u8D64\u5CF0\u5E02",150500:"\u901A\u8FBD\u5E02",150600:"\u9102\u5C14\u591A\u65AF\u5E02",150700:"\u547C\u4F26\u8D1D\u5C14\u5E02",150800:"\u5DF4\u5F66\u6DD6\u5C14\u5E02",150900:"\u4E4C\u5170\u5BDF\u5E03\u5E02",152200:"\u5174\u5B89\u76DF",152500:"\u9521\u6797\u90ED\u52D2\u76DF",152900:"\u963F\u62C9\u5584\u76DF",210100:"\u6C88\u9633\u5E02",210200:"\u5927\u8FDE\u5E02",210300:"\u978D\u5C71\u5E02",210400:"\u629A\u987A\u5E02",210500:"\u672C\u6EAA\u5E02",210600:"\u4E39\u4E1C\u5E02",210700:"\u9526\u5DDE\u5E02",210800:"\u8425\u53E3\u5E02",210900:"\u961C\u65B0\u5E02",211e3:"\u8FBD\u9633\u5E02",211100:"\u76D8\u9526\u5E02",211200:"\u94C1\u5CAD\u5E02",211300:"\u671D\u9633\u5E02",211400:"\u846B\u82A6\u5C9B\u5E02",220100:"\u957F\u6625\u5E02",220200:"\u5409\u6797\u5E02",220300:"\u56DB\u5E73\u5E02",220400:"\u8FBD\u6E90\u5E02",220500:"\u901A\u5316\u5E02",220600:"\u767D\u5C71\u5E02",220700:"\u677E\u539F\u5E02",220800:"\u767D\u57CE\u5E02",222400:"\u5EF6\u8FB9\u671D\u9C9C\u65CF\u81EA\u6CBB\u5DDE",230100:"\u54C8\u5C14\u6EE8\u5E02",230200:"\u9F50\u9F50\u54C8\u5C14\u5E02",230300:"\u9E21\u897F\u5E02",230400:"\u9E64\u5C97\u5E02",230500:"\u53CC\u9E2D\u5C71\u5E02",230600:"\u5927\u5E86\u5E02",230700:"\u4F0A\u6625\u5E02",230800:"\u4F73\u6728\u65AF\u5E02",230900:"\u4E03\u53F0\u6CB3\u5E02",231e3:"\u7261\u4E39\u6C5F\u5E02",231100:"\u9ED1\u6CB3\u5E02",231200:"\u7EE5\u5316\u5E02",232700:"\u5927\u5174\u5B89\u5CAD\u5730\u533A",310100:"\u4E0A\u6D77\u5E02",320100:"\u5357\u4EAC\u5E02",320200:"\u65E0\u9521\u5E02",320300:"\u5F90\u5DDE\u5E02",320400:"\u5E38\u5DDE\u5E02",320500:"\u82CF\u5DDE\u5E02",320600:"\u5357\u901A\u5E02",320700:"\u8FDE\u4E91\u6E2F\u5E02",320800:"\u6DEE\u5B89\u5E02",320900:"\u76D0\u57CE\u5E02",321e3:"\u626C\u5DDE\u5E02",321100:"\u9547\u6C5F\u5E02",321200:"\u6CF0\u5DDE\u5E02",321300:"\u5BBF\u8FC1\u5E02",330100:"\u676D\u5DDE\u5E02",330200:"\u5B81\u6CE2\u5E02",330300:"\u6E29\u5DDE\u5E02",330400:"\u5609\u5174\u5E02",330500:"\u6E56\u5DDE\u5E02",330600:"\u7ECD\u5174\u5E02",330700:"\u91D1\u534E\u5E02",330800:"\u8862\u5DDE\u5E02",330900:"\u821F\u5C71\u5E02",331e3:"\u53F0\u5DDE\u5E02",331100:"\u4E3D\u6C34\u5E02",340100:"\u5408\u80A5\u5E02",340200:"\u829C\u6E56\u5E02",340300:"\u868C\u57E0\u5E02",340400:"\u6DEE\u5357\u5E02",340500:"\u9A6C\u978D\u5C71\u5E02",340600:"\u6DEE\u5317\u5E02",340700:"\u94DC\u9675\u5E02",340800:"\u5B89\u5E86\u5E02",341e3:"\u9EC4\u5C71\u5E02",341100:"\u6EC1\u5DDE\u5E02",341200:"\u961C\u9633\u5E02",341300:"\u5BBF\u5DDE\u5E02",341500:"\u516D\u5B89\u5E02",341600:"\u4EB3\u5DDE\u5E02",341700:"\u6C60\u5DDE\u5E02",341800:"\u5BA3\u57CE\u5E02",350100:"\u798F\u5DDE\u5E02",350200:"\u53A6\u95E8\u5E02",350300:"\u8386\u7530\u5E02",350400:"\u4E09\u660E\u5E02",350500:"\u6CC9\u5DDE\u5E02",350600:"\u6F33\u5DDE\u5E02",350700:"\u5357\u5E73\u5E02",350800:"\u9F99\u5CA9\u5E02",350900:"\u5B81\u5FB7\u5E02",360100:"\u5357\u660C\u5E02",360200:"\u666F\u5FB7\u9547\u5E02",360300:"\u840D\u4E61\u5E02",360400:"\u4E5D\u6C5F\u5E02",360500:"\u65B0\u4F59\u5E02",360600:"\u9E70\u6F6D\u5E02",360700:"\u8D63\u5DDE\u5E02",360800:"\u5409\u5B89\u5E02",360900:"\u5B9C\u6625\u5E02",361e3:"\u629A\u5DDE\u5E02",361100:"\u4E0A\u9976\u5E02",370100:"\u6D4E\u5357\u5E02",370200:"\u9752\u5C9B\u5E02",370300:"\u6DC4\u535A\u5E02",370400:"\u67A3\u5E84\u5E02",370500:"\u4E1C\u8425\u5E02",370600:"\u70DF\u53F0\u5E02",370700:"\u6F4D\u574A\u5E02",370800:"\u6D4E\u5B81\u5E02",370900:"\u6CF0\u5B89\u5E02",371e3:"\u5A01\u6D77\u5E02",371100:"\u65E5\u7167\u5E02",371300:"\u4E34\u6C82\u5E02",371400:"\u5FB7\u5DDE\u5E02",371500:"\u804A\u57CE\u5E02",371600:"\u6EE8\u5DDE\u5E02",371700:"\u83CF\u6CFD\u5E02",410100:"\u90D1\u5DDE\u5E02",410200:"\u5F00\u5C01\u5E02",410300:"\u6D1B\u9633\u5E02",410400:"\u5E73\u9876\u5C71\u5E02",410500:"\u5B89\u9633\u5E02",410600:"\u9E64\u58C1\u5E02",410700:"\u65B0\u4E61\u5E02",410800:"\u7126\u4F5C\u5E02",410900:"\u6FEE\u9633\u5E02",411e3:"\u8BB8\u660C\u5E02",411100:"\u6F2F\u6CB3\u5E02",411200:"\u4E09\u95E8\u5CE1\u5E02",411300:"\u5357\u9633\u5E02",411400:"\u5546\u4E18\u5E02",411500:"\u4FE1\u9633\u5E02",411600:"\u5468\u53E3\u5E02",411700:"\u9A7B\u9A6C\u5E97\u5E02",419e3:"\u7701\u76F4\u8F96\u53BF",420100:"\u6B66\u6C49\u5E02",420200:"\u9EC4\u77F3\u5E02",420300:"\u5341\u5830\u5E02",420500:"\u5B9C\u660C\u5E02",420600:"\u8944\u9633\u5E02",420700:"\u9102\u5DDE\u5E02",420800:"\u8346\u95E8\u5E02",420900:"\u5B5D\u611F\u5E02",421e3:"\u8346\u5DDE\u5E02",421100:"\u9EC4\u5188\u5E02",421200:"\u54B8\u5B81\u5E02",421300:"\u968F\u5DDE\u5E02",422800:"\u6069\u65BD\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",429e3:"\u7701\u76F4\u8F96\u53BF",430100:"\u957F\u6C99\u5E02",430200:"\u682A\u6D32\u5E02",430300:"\u6E58\u6F6D\u5E02",430400:"\u8861\u9633\u5E02",430500:"\u90B5\u9633\u5E02",430600:"\u5CB3\u9633\u5E02",430700:"\u5E38\u5FB7\u5E02",430800:"\u5F20\u5BB6\u754C\u5E02",430900:"\u76CA\u9633\u5E02",431e3:"\u90F4\u5DDE\u5E02",431100:"\u6C38\u5DDE\u5E02",431200:"\u6000\u5316\u5E02",431300:"\u5A04\u5E95\u5E02",433100:"\u6E58\u897F\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",440100:"\u5E7F\u5DDE\u5E02",440200:"\u97F6\u5173\u5E02",440300:"\u6DF1\u5733\u5E02",440400:"\u73E0\u6D77\u5E02",440500:"\u6C55\u5934\u5E02",440600:"\u4F5B\u5C71\u5E02",440700:"\u6C5F\u95E8\u5E02",440800:"\u6E5B\u6C5F\u5E02",440900:"\u8302\u540D\u5E02",441200:"\u8087\u5E86\u5E02",441300:"\u60E0\u5DDE\u5E02",441400:"\u6885\u5DDE\u5E02",441500:"\u6C55\u5C3E\u5E02",441600:"\u6CB3\u6E90\u5E02",441700:"\u9633\u6C5F\u5E02",441800:"\u6E05\u8FDC\u5E02",441900:"\u4E1C\u839E\u5E02",442e3:"\u4E2D\u5C71\u5E02",445100:"\u6F6E\u5DDE\u5E02",445200:"\u63ED\u9633\u5E02",445300:"\u4E91\u6D6E\u5E02",450100:"\u5357\u5B81\u5E02",450200:"\u67F3\u5DDE\u5E02",450300:"\u6842\u6797\u5E02",450400:"\u68A7\u5DDE\u5E02",450500:"\u5317\u6D77\u5E02",450600:"\u9632\u57CE\u6E2F\u5E02",450700:"\u94A6\u5DDE\u5E02",450800:"\u8D35\u6E2F\u5E02",450900:"\u7389\u6797\u5E02",451e3:"\u767E\u8272\u5E02",451100:"\u8D3A\u5DDE\u5E02",451200:"\u6CB3\u6C60\u5E02",451300:"\u6765\u5BBE\u5E02",451400:"\u5D07\u5DE6\u5E02",460100:"\u6D77\u53E3\u5E02",460200:"\u4E09\u4E9A\u5E02",460300:"\u4E09\u6C99\u5E02",460400:"\u510B\u5DDE\u5E02",469e3:"\u7701\u76F4\u8F96\u53BF",500100:"\u91CD\u5E86\u5E02",500200:"\u53BF",510100:"\u6210\u90FD\u5E02",510300:"\u81EA\u8D21\u5E02",510400:"\u6500\u679D\u82B1\u5E02",510500:"\u6CF8\u5DDE\u5E02",510600:"\u5FB7\u9633\u5E02",510700:"\u7EF5\u9633\u5E02",510800:"\u5E7F\u5143\u5E02",510900:"\u9042\u5B81\u5E02",511e3:"\u5185\u6C5F\u5E02",511100:"\u4E50\u5C71\u5E02",511300:"\u5357\u5145\u5E02",511400:"\u7709\u5C71\u5E02",511500:"\u5B9C\u5BBE\u5E02",511600:"\u5E7F\u5B89\u5E02",511700:"\u8FBE\u5DDE\u5E02",511800:"\u96C5\u5B89\u5E02",511900:"\u5DF4\u4E2D\u5E02",512e3:"\u8D44\u9633\u5E02",513200:"\u963F\u575D\u85CF\u65CF\u7F8C\u65CF\u81EA\u6CBB\u5DDE",513300:"\u7518\u5B5C\u85CF\u65CF\u81EA\u6CBB\u5DDE",513400:"\u51C9\u5C71\u5F5D\u65CF\u81EA\u6CBB\u5DDE",520100:"\u8D35\u9633\u5E02",520200:"\u516D\u76D8\u6C34\u5E02",520300:"\u9075\u4E49\u5E02",520400:"\u5B89\u987A\u5E02",520500:"\u6BD5\u8282\u5E02",520600:"\u94DC\u4EC1\u5E02",522300:"\u9ED4\u897F\u5357\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",522600:"\u9ED4\u4E1C\u5357\u82D7\u65CF\u4F97\u65CF\u81EA\u6CBB\u5DDE",522700:"\u9ED4\u5357\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",530100:"\u6606\u660E\u5E02",530300:"\u66F2\u9756\u5E02",530400:"\u7389\u6EAA\u5E02",530500:"\u4FDD\u5C71\u5E02",530600:"\u662D\u901A\u5E02",530700:"\u4E3D\u6C5F\u5E02",530800:"\u666E\u6D31\u5E02",530900:"\u4E34\u6CA7\u5E02",532300:"\u695A\u96C4\u5F5D\u65CF\u81EA\u6CBB\u5DDE",532500:"\u7EA2\u6CB3\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u5DDE",532600:"\u6587\u5C71\u58EE\u65CF\u82D7\u65CF\u81EA\u6CBB\u5DDE",532800:"\u897F\u53CC\u7248\u7EB3\u50A3\u65CF\u81EA\u6CBB\u5DDE",532900:"\u5927\u7406\u767D\u65CF\u81EA\u6CBB\u5DDE",533100:"\u5FB7\u5B8F\u50A3\u65CF\u666F\u9887\u65CF\u81EA\u6CBB\u5DDE",533300:"\u6012\u6C5F\u5088\u50F3\u65CF\u81EA\u6CBB\u5DDE",533400:"\u8FEA\u5E86\u85CF\u65CF\u81EA\u6CBB\u5DDE",540100:"\u62C9\u8428\u5E02",540200:"\u65E5\u5580\u5219\u5E02",540300:"\u660C\u90FD\u5E02",540400:"\u6797\u829D\u5E02",540500:"\u5C71\u5357\u5E02",540600:"\u90A3\u66F2\u5E02",542500:"\u963F\u91CC\u5730\u533A",610100:"\u897F\u5B89\u5E02",610200:"\u94DC\u5DDD\u5E02",610300:"\u5B9D\u9E21\u5E02",610400:"\u54B8\u9633\u5E02",610500:"\u6E2D\u5357\u5E02",610600:"\u5EF6\u5B89\u5E02",610700:"\u6C49\u4E2D\u5E02",610800:"\u6986\u6797\u5E02",610900:"\u5B89\u5EB7\u5E02",611e3:"\u5546\u6D1B\u5E02",620100:"\u5170\u5DDE\u5E02",620200:"\u5609\u5CEA\u5173\u5E02",620300:"\u91D1\u660C\u5E02",620400:"\u767D\u94F6\u5E02",620500:"\u5929\u6C34\u5E02",620600:"\u6B66\u5A01\u5E02",620700:"\u5F20\u6396\u5E02",620800:"\u5E73\u51C9\u5E02",620900:"\u9152\u6CC9\u5E02",621e3:"\u5E86\u9633\u5E02",621100:"\u5B9A\u897F\u5E02",621200:"\u9647\u5357\u5E02",622900:"\u4E34\u590F\u56DE\u65CF\u81EA\u6CBB\u5DDE",623e3:"\u7518\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",630100:"\u897F\u5B81\u5E02",630200:"\u6D77\u4E1C\u5E02",632200:"\u6D77\u5317\u85CF\u65CF\u81EA\u6CBB\u5DDE",632300:"\u9EC4\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",632500:"\u6D77\u5357\u85CF\u65CF\u81EA\u6CBB\u5DDE",632600:"\u679C\u6D1B\u85CF\u65CF\u81EA\u6CBB\u5DDE",632700:"\u7389\u6811\u85CF\u65CF\u81EA\u6CBB\u5DDE",632800:"\u6D77\u897F\u8499\u53E4\u65CF\u85CF\u65CF\u81EA\u6CBB\u5DDE",640100:"\u94F6\u5DDD\u5E02",640200:"\u77F3\u5634\u5C71\u5E02",640300:"\u5434\u5FE0\u5E02",640400:"\u56FA\u539F\u5E02",640500:"\u4E2D\u536B\u5E02",650100:"\u4E4C\u9C81\u6728\u9F50\u5E02",650200:"\u514B\u62C9\u739B\u4F9D\u5E02",650400:"\u5410\u9C81\u756A\u5E02",650500:"\u54C8\u5BC6\u5E02",652300:"\u660C\u5409\u56DE\u65CF\u81EA\u6CBB\u5DDE",652700:"\u535A\u5C14\u5854\u62C9\u8499\u53E4\u81EA\u6CBB\u5DDE",652800:"\u5DF4\u97F3\u90ED\u695E\u8499\u53E4\u81EA\u6CBB\u5DDE",652900:"\u963F\u514B\u82CF\u5730\u533A",653e3:"\u514B\u5B5C\u52D2\u82CF\u67EF\u5C14\u514B\u5B5C\u81EA\u6CBB\u5DDE",653100:"\u5580\u4EC0\u5730\u533A",653200:"\u548C\u7530\u5730\u533A",654e3:"\u4F0A\u7281\u54C8\u8428\u514B\u81EA\u6CBB\u5DDE",654200:"\u5854\u57CE\u5730\u533A",654300:"\u963F\u52D2\u6CF0\u5730\u533A",659e3:"\u81EA\u6CBB\u533A\u76F4\u8F96\u53BF\u7EA7\u884C\u653F\u533A\u5212",710100:"\u53F0\u5317\u5E02",710200:"\u9AD8\u96C4\u5E02",710300:"\u53F0\u5357\u5E02",710400:"\u53F0\u4E2D\u5E02",710500:"\u91D1\u95E8\u53BF",710600:"\u5357\u6295\u53BF",710700:"\u57FA\u9686\u5E02",710800:"\u65B0\u7AF9\u5E02",710900:"\u5609\u4E49\u5E02",711100:"\u65B0\u5317\u5E02",711200:"\u5B9C\u5170\u53BF",711300:"\u65B0\u7AF9\u53BF",711400:"\u6843\u56ED\u5E02",711500:"\u82D7\u6817\u53BF",711700:"\u5F70\u5316\u53BF",711900:"\u5609\u4E49\u53BF",712100:"\u4E91\u6797\u53BF",712400:"\u5C4F\u4E1C\u53BF",712500:"\u53F0\u4E1C\u53BF",712600:"\u82B1\u83B2\u53BF",712700:"\u6F8E\u6E56\u53BF",712800:"\u8FDE\u6C5F\u53BF",810100:"\u9999\u6E2F\u5C9B",810200:"\u4E5D\u9F99",810300:"\u65B0\u754C",820100:"\u6FB3\u95E8\u534A\u5C9B",820200:"\u79BB\u5C9B"},county_list:{110101:"\u4E1C\u57CE\u533A",110102:"\u897F\u57CE\u533A",110105:"\u671D\u9633\u533A",110106:"\u4E30\u53F0\u533A",110107:"\u77F3\u666F\u5C71\u533A",110108:"\u6D77\u6DC0\u533A",110109:"\u95E8\u5934\u6C9F\u533A",110111:"\u623F\u5C71\u533A",110112:"\u901A\u5DDE\u533A",110113:"\u987A\u4E49\u533A",110114:"\u660C\u5E73\u533A",110115:"\u5927\u5174\u533A",110116:"\u6000\u67D4\u533A",110117:"\u5E73\u8C37\u533A",110118:"\u5BC6\u4E91\u533A",110119:"\u5EF6\u5E86\u533A",120101:"\u548C\u5E73\u533A",120102:"\u6CB3\u4E1C\u533A",120103:"\u6CB3\u897F\u533A",120104:"\u5357\u5F00\u533A",120105:"\u6CB3\u5317\u533A",120106:"\u7EA2\u6865\u533A",120110:"\u4E1C\u4E3D\u533A",120111:"\u897F\u9752\u533A",120112:"\u6D25\u5357\u533A",120113:"\u5317\u8FB0\u533A",120114:"\u6B66\u6E05\u533A",120115:"\u5B9D\u577B\u533A",120116:"\u6EE8\u6D77\u65B0\u533A",120117:"\u5B81\u6CB3\u533A",120118:"\u9759\u6D77\u533A",120119:"\u84DF\u5DDE\u533A",130102:"\u957F\u5B89\u533A",130104:"\u6865\u897F\u533A",130105:"\u65B0\u534E\u533A",130107:"\u4E95\u9649\u77FF\u533A",130108:"\u88D5\u534E\u533A",130109:"\u85C1\u57CE\u533A",130110:"\u9E7F\u6CC9\u533A",130111:"\u683E\u57CE\u533A",130121:"\u4E95\u9649\u53BF",130123:"\u6B63\u5B9A\u53BF",130125:"\u884C\u5510\u53BF",130126:"\u7075\u5BFF\u53BF",130127:"\u9AD8\u9091\u53BF",130128:"\u6DF1\u6CFD\u53BF",130129:"\u8D5E\u7687\u53BF",130130:"\u65E0\u6781\u53BF",130131:"\u5E73\u5C71\u53BF",130132:"\u5143\u6C0F\u53BF",130133:"\u8D75\u53BF",130171:"\u77F3\u5BB6\u5E84\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130172:"\u77F3\u5BB6\u5E84\u5FAA\u73AF\u5316\u5DE5\u56ED\u533A",130181:"\u8F9B\u96C6\u5E02",130183:"\u664B\u5DDE\u5E02",130184:"\u65B0\u4E50\u5E02",130202:"\u8DEF\u5357\u533A",130203:"\u8DEF\u5317\u533A",130204:"\u53E4\u51B6\u533A",130205:"\u5F00\u5E73\u533A",130207:"\u4E30\u5357\u533A",130208:"\u4E30\u6DA6\u533A",130209:"\u66F9\u5983\u7538\u533A",130224:"\u6EE6\u5357\u53BF",130225:"\u4E50\u4EAD\u53BF",130227:"\u8FC1\u897F\u53BF",130229:"\u7389\u7530\u53BF",130273:"\u5510\u5C71\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130274:"\u6CB3\u5317\u5510\u5C71\u6D77\u6E2F\u7ECF\u6D4E\u5F00\u53D1\u533A",130281:"\u9075\u5316\u5E02",130283:"\u8FC1\u5B89\u5E02",130284:"\u6EE6\u5DDE\u5E02",130302:"\u6D77\u6E2F\u533A",130303:"\u5C71\u6D77\u5173\u533A",130304:"\u5317\u6234\u6CB3\u533A",130306:"\u629A\u5B81\u533A",130321:"\u9752\u9F99\u6EE1\u65CF\u81EA\u6CBB\u53BF",130322:"\u660C\u9ECE\u53BF",130324:"\u5362\u9F99\u53BF",130371:"\u79E6\u7687\u5C9B\u5E02\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130372:"\u5317\u6234\u6CB3\u65B0\u533A",130390:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130402:"\u90AF\u5C71\u533A",130403:"\u4E1B\u53F0\u533A",130404:"\u590D\u5174\u533A",130406:"\u5CF0\u5CF0\u77FF\u533A",130407:"\u80A5\u4E61\u533A",130408:"\u6C38\u5E74\u533A",130423:"\u4E34\u6F33\u53BF",130424:"\u6210\u5B89\u53BF",130425:"\u5927\u540D\u53BF",130426:"\u6D89\u53BF",130427:"\u78C1\u53BF",130430:"\u90B1\u53BF",130431:"\u9E21\u6CFD\u53BF",130432:"\u5E7F\u5E73\u53BF",130433:"\u9986\u9676\u53BF",130434:"\u9B4F\u53BF",130435:"\u66F2\u5468\u53BF",130471:"\u90AF\u90F8\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",130473:"\u90AF\u90F8\u5180\u5357\u65B0\u533A",130481:"\u6B66\u5B89\u5E02",130502:"\u8944\u90FD\u533A",130503:"\u4FE1\u90FD\u533A",130505:"\u4EFB\u6CFD\u533A",130506:"\u5357\u548C\u533A",130522:"\u4E34\u57CE\u53BF",130523:"\u5185\u4E18\u53BF",130524:"\u67CF\u4E61\u53BF",130525:"\u9686\u5C27\u53BF",130528:"\u5B81\u664B\u53BF",130529:"\u5DE8\u9E7F\u53BF",130530:"\u65B0\u6CB3\u53BF",130531:"\u5E7F\u5B97\u53BF",130532:"\u5E73\u4E61\u53BF",130533:"\u5A01\u53BF",130534:"\u6E05\u6CB3\u53BF",130535:"\u4E34\u897F\u53BF",130571:"\u6CB3\u5317\u90A2\u53F0\u7ECF\u6D4E\u5F00\u53D1\u533A",130581:"\u5357\u5BAB\u5E02",130582:"\u6C99\u6CB3\u5E02",130602:"\u7ADE\u79C0\u533A",130606:"\u83B2\u6C60\u533A",130607:"\u6EE1\u57CE\u533A",130608:"\u6E05\u82D1\u533A",130609:"\u5F90\u6C34\u533A",130623:"\u6D9E\u6C34\u53BF",130624:"\u961C\u5E73\u53BF",130626:"\u5B9A\u5174\u53BF",130627:"\u5510\u53BF",130628:"\u9AD8\u9633\u53BF",130629:"\u5BB9\u57CE\u53BF",130630:"\u6D9E\u6E90\u53BF",130631:"\u671B\u90FD\u53BF",130632:"\u5B89\u65B0\u53BF",130633:"\u6613\u53BF",130634:"\u66F2\u9633\u53BF",130635:"\u8821\u53BF",130636:"\u987A\u5E73\u53BF",130637:"\u535A\u91CE\u53BF",130638:"\u96C4\u53BF",130671:"\u4FDD\u5B9A\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130672:"\u4FDD\u5B9A\u767D\u6C9F\u65B0\u57CE",130681:"\u6DBF\u5DDE\u5E02",130682:"\u5B9A\u5DDE\u5E02",130683:"\u5B89\u56FD\u5E02",130684:"\u9AD8\u7891\u5E97\u5E02",130702:"\u6865\u4E1C\u533A",130703:"\u6865\u897F\u533A",130705:"\u5BA3\u5316\u533A",130706:"\u4E0B\u82B1\u56ED\u533A",130708:"\u4E07\u5168\u533A",130709:"\u5D07\u793C\u533A",130722:"\u5F20\u5317\u53BF",130723:"\u5EB7\u4FDD\u53BF",130724:"\u6CBD\u6E90\u53BF",130725:"\u5C1A\u4E49\u53BF",130726:"\u851A\u53BF",130727:"\u9633\u539F\u53BF",130728:"\u6000\u5B89\u53BF",130730:"\u6000\u6765\u53BF",130731:"\u6DBF\u9E7F\u53BF",130732:"\u8D64\u57CE\u53BF",130772:"\u5F20\u5BB6\u53E3\u5E02\u5BDF\u5317\u7BA1\u7406\u533A",130802:"\u53CC\u6865\u533A",130803:"\u53CC\u6EE6\u533A",130804:"\u9E70\u624B\u8425\u5B50\u77FF\u533A",130821:"\u627F\u5FB7\u53BF",130822:"\u5174\u9686\u53BF",130824:"\u6EE6\u5E73\u53BF",130825:"\u9686\u5316\u53BF",130826:"\u4E30\u5B81\u6EE1\u65CF\u81EA\u6CBB\u53BF",130827:"\u5BBD\u57CE\u6EE1\u65CF\u81EA\u6CBB\u53BF",130828:"\u56F4\u573A\u6EE1\u65CF\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",130871:"\u627F\u5FB7\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130881:"\u5E73\u6CC9\u5E02",130902:"\u65B0\u534E\u533A",130903:"\u8FD0\u6CB3\u533A",130921:"\u6CA7\u53BF",130922:"\u9752\u53BF",130923:"\u4E1C\u5149\u53BF",130924:"\u6D77\u5174\u53BF",130925:"\u76D0\u5C71\u53BF",130926:"\u8083\u5B81\u53BF",130927:"\u5357\u76AE\u53BF",130928:"\u5434\u6865\u53BF",130929:"\u732E\u53BF",130930:"\u5B5F\u6751\u56DE\u65CF\u81EA\u6CBB\u53BF",130971:"\u6CB3\u5317\u6CA7\u5DDE\u7ECF\u6D4E\u5F00\u53D1\u533A",130972:"\u6CA7\u5DDE\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",130973:"\u6CA7\u5DDE\u6E24\u6D77\u65B0\u533A",130981:"\u6CCA\u5934\u5E02",130982:"\u4EFB\u4E18\u5E02",130983:"\u9EC4\u9A85\u5E02",130984:"\u6CB3\u95F4\u5E02",131002:"\u5B89\u6B21\u533A",131003:"\u5E7F\u9633\u533A",131022:"\u56FA\u5B89\u53BF",131023:"\u6C38\u6E05\u53BF",131024:"\u9999\u6CB3\u53BF",131025:"\u5927\u57CE\u53BF",131026:"\u6587\u5B89\u53BF",131028:"\u5927\u5382\u56DE\u65CF\u81EA\u6CBB\u53BF",131071:"\u5ECA\u574A\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",131081:"\u9738\u5DDE\u5E02",131082:"\u4E09\u6CB3\u5E02",131090:"\u5F00\u53D1\u533A",131102:"\u6843\u57CE\u533A",131103:"\u5180\u5DDE\u533A",131121:"\u67A3\u5F3A\u53BF",131122:"\u6B66\u9091\u53BF",131123:"\u6B66\u5F3A\u53BF",131124:"\u9976\u9633\u53BF",131125:"\u5B89\u5E73\u53BF",131126:"\u6545\u57CE\u53BF",131127:"\u666F\u53BF",131128:"\u961C\u57CE\u53BF",131171:"\u6CB3\u5317\u8861\u6C34\u7ECF\u6D4E\u5F00\u53D1\u533A",131172:"\u8861\u6C34\u6EE8\u6E56\u65B0\u533A",131182:"\u6DF1\u5DDE\u5E02",140105:"\u5C0F\u5E97\u533A",140106:"\u8FCE\u6CFD\u533A",140107:"\u674F\u82B1\u5CAD\u533A",140108:"\u5C16\u8349\u576A\u533A",140109:"\u4E07\u67CF\u6797\u533A",140110:"\u664B\u6E90\u533A",140121:"\u6E05\u5F90\u53BF",140122:"\u9633\u66F2\u53BF",140123:"\u5A04\u70E6\u53BF",140181:"\u53E4\u4EA4\u5E02",140212:"\u65B0\u8363\u533A",140213:"\u5E73\u57CE\u533A",140214:"\u4E91\u5188\u533A",140215:"\u4E91\u5DDE\u533A",140221:"\u9633\u9AD8\u53BF",140222:"\u5929\u9547\u53BF",140223:"\u5E7F\u7075\u53BF",140224:"\u7075\u4E18\u53BF",140225:"\u6D51\u6E90\u53BF",140226:"\u5DE6\u4E91\u53BF",140271:"\u5C71\u897F\u5927\u540C\u7ECF\u6D4E\u5F00\u53D1\u533A",140302:"\u57CE\u533A",140303:"\u77FF\u533A",140311:"\u90CA\u533A",140321:"\u5E73\u5B9A\u53BF",140322:"\u76C2\u53BF",140403:"\u6F5E\u5DDE\u533A",140404:"\u4E0A\u515A\u533A",140405:"\u5C6F\u7559\u533A",140406:"\u6F5E\u57CE\u533A",140423:"\u8944\u57A3\u53BF",140425:"\u5E73\u987A\u53BF",140426:"\u9ECE\u57CE\u53BF",140427:"\u58F6\u5173\u53BF",140428:"\u957F\u5B50\u53BF",140429:"\u6B66\u4E61\u53BF",140430:"\u6C81\u53BF",140431:"\u6C81\u6E90\u53BF",140471:"\u5C71\u897F\u957F\u6CBB\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u56ED\u533A",140502:"\u57CE\u533A",140521:"\u6C81\u6C34\u53BF",140522:"\u9633\u57CE\u53BF",140524:"\u9675\u5DDD\u53BF",140525:"\u6CFD\u5DDE\u53BF",140581:"\u9AD8\u5E73\u5E02",140602:"\u6714\u57CE\u533A",140603:"\u5E73\u9C81\u533A",140621:"\u5C71\u9634\u53BF",140622:"\u5E94\u53BF",140623:"\u53F3\u7389\u53BF",140671:"\u5C71\u897F\u6714\u5DDE\u7ECF\u6D4E\u5F00\u53D1\u533A",140681:"\u6000\u4EC1\u5E02",140702:"\u6986\u6B21\u533A",140703:"\u592A\u8C37\u533A",140721:"\u6986\u793E\u53BF",140722:"\u5DE6\u6743\u53BF",140723:"\u548C\u987A\u53BF",140724:"\u6614\u9633\u53BF",140725:"\u5BFF\u9633\u53BF",140727:"\u7941\u53BF",140728:"\u5E73\u9065\u53BF",140729:"\u7075\u77F3\u53BF",140781:"\u4ECB\u4F11\u5E02",140802:"\u76D0\u6E56\u533A",140821:"\u4E34\u7317\u53BF",140822:"\u4E07\u8363\u53BF",140823:"\u95FB\u559C\u53BF",140824:"\u7A37\u5C71\u53BF",140825:"\u65B0\u7EDB\u53BF",140826:"\u7EDB\u53BF",140827:"\u57A3\u66F2\u53BF",140828:"\u590F\u53BF",140829:"\u5E73\u9646\u53BF",140830:"\u82AE\u57CE\u53BF",140881:"\u6C38\u6D4E\u5E02",140882:"\u6CB3\u6D25\u5E02",140902:"\u5FFB\u5E9C\u533A",140921:"\u5B9A\u8944\u53BF",140922:"\u4E94\u53F0\u53BF",140923:"\u4EE3\u53BF",140924:"\u7E41\u5CD9\u53BF",140925:"\u5B81\u6B66\u53BF",140926:"\u9759\u4E50\u53BF",140927:"\u795E\u6C60\u53BF",140928:"\u4E94\u5BE8\u53BF",140929:"\u5CA2\u5C9A\u53BF",140930:"\u6CB3\u66F2\u53BF",140931:"\u4FDD\u5FB7\u53BF",140932:"\u504F\u5173\u53BF",140971:"\u4E94\u53F0\u5C71\u98CE\u666F\u540D\u80DC\u533A",140981:"\u539F\u5E73\u5E02",141002:"\u5C27\u90FD\u533A",141021:"\u66F2\u6C83\u53BF",141022:"\u7FFC\u57CE\u53BF",141023:"\u8944\u6C7E\u53BF",141024:"\u6D2A\u6D1E\u53BF",141025:"\u53E4\u53BF",141026:"\u5B89\u6CFD\u53BF",141027:"\u6D6E\u5C71\u53BF",141028:"\u5409\u53BF",141029:"\u4E61\u5B81\u53BF",141030:"\u5927\u5B81\u53BF",141031:"\u96B0\u53BF",141032:"\u6C38\u548C\u53BF",141033:"\u84B2\u53BF",141034:"\u6C7E\u897F\u53BF",141081:"\u4FAF\u9A6C\u5E02",141082:"\u970D\u5DDE\u5E02",141102:"\u79BB\u77F3\u533A",141121:"\u6587\u6C34\u53BF",141122:"\u4EA4\u57CE\u53BF",141123:"\u5174\u53BF",141124:"\u4E34\u53BF",141125:"\u67F3\u6797\u53BF",141126:"\u77F3\u697C\u53BF",141127:"\u5C9A\u53BF",141128:"\u65B9\u5C71\u53BF",141129:"\u4E2D\u9633\u53BF",141130:"\u4EA4\u53E3\u53BF",141181:"\u5B5D\u4E49\u5E02",141182:"\u6C7E\u9633\u5E02",150102:"\u65B0\u57CE\u533A",150103:"\u56DE\u6C11\u533A",150104:"\u7389\u6CC9\u533A",150105:"\u8D5B\u7F55\u533A",150121:"\u571F\u9ED8\u7279\u5DE6\u65D7",150122:"\u6258\u514B\u6258\u53BF",150123:"\u548C\u6797\u683C\u5C14\u53BF",150124:"\u6E05\u6C34\u6CB3\u53BF",150125:"\u6B66\u5DDD\u53BF",150172:"\u547C\u548C\u6D69\u7279\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",150202:"\u4E1C\u6CB3\u533A",150203:"\u6606\u90FD\u4ED1\u533A",150204:"\u9752\u5C71\u533A",150205:"\u77F3\u62D0\u533A",150206:"\u767D\u4E91\u9102\u535A\u77FF\u533A",150207:"\u4E5D\u539F\u533A",150221:"\u571F\u9ED8\u7279\u53F3\u65D7",150222:"\u56FA\u9633\u53BF",150223:"\u8FBE\u5C14\u7F55\u8302\u660E\u5B89\u8054\u5408\u65D7",150271:"\u5305\u5934\u7A00\u571F\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",150302:"\u6D77\u52C3\u6E7E\u533A",150303:"\u6D77\u5357\u533A",150304:"\u4E4C\u8FBE\u533A",150402:"\u7EA2\u5C71\u533A",150403:"\u5143\u5B9D\u5C71\u533A",150404:"\u677E\u5C71\u533A",150421:"\u963F\u9C81\u79D1\u5C14\u6C81\u65D7",150422:"\u5DF4\u6797\u5DE6\u65D7",150423:"\u5DF4\u6797\u53F3\u65D7",150424:"\u6797\u897F\u53BF",150425:"\u514B\u4EC0\u514B\u817E\u65D7",150426:"\u7FC1\u725B\u7279\u65D7",150428:"\u5580\u5587\u6C81\u65D7",150429:"\u5B81\u57CE\u53BF",150430:"\u6556\u6C49\u65D7",150502:"\u79D1\u5C14\u6C81\u533A",150521:"\u79D1\u5C14\u6C81\u5DE6\u7FFC\u4E2D\u65D7",150522:"\u79D1\u5C14\u6C81\u5DE6\u7FFC\u540E\u65D7",150523:"\u5F00\u9C81\u53BF",150524:"\u5E93\u4F26\u65D7",150525:"\u5948\u66FC\u65D7",150526:"\u624E\u9C81\u7279\u65D7",150571:"\u901A\u8FBD\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",150581:"\u970D\u6797\u90ED\u52D2\u5E02",150602:"\u4E1C\u80DC\u533A",150603:"\u5EB7\u5DF4\u4EC0\u533A",150621:"\u8FBE\u62C9\u7279\u65D7",150622:"\u51C6\u683C\u5C14\u65D7",150623:"\u9102\u6258\u514B\u524D\u65D7",150624:"\u9102\u6258\u514B\u65D7",150625:"\u676D\u9526\u65D7",150626:"\u4E4C\u5BA1\u65D7",150627:"\u4F0A\u91D1\u970D\u6D1B\u65D7",150702:"\u6D77\u62C9\u5C14\u533A",150703:"\u624E\u8D49\u8BFA\u5C14\u533A",150721:"\u963F\u8363\u65D7",150722:"\u83AB\u529B\u8FBE\u74E6\u8FBE\u65A1\u5C14\u65CF\u81EA\u6CBB\u65D7",150723:"\u9102\u4F26\u6625\u81EA\u6CBB\u65D7",150724:"\u9102\u6E29\u514B\u65CF\u81EA\u6CBB\u65D7",150725:"\u9648\u5DF4\u5C14\u864E\u65D7",150726:"\u65B0\u5DF4\u5C14\u864E\u5DE6\u65D7",150727:"\u65B0\u5DF4\u5C14\u864E\u53F3\u65D7",150781:"\u6EE1\u6D32\u91CC\u5E02",150782:"\u7259\u514B\u77F3\u5E02",150783:"\u624E\u5170\u5C6F\u5E02",150784:"\u989D\u5C14\u53E4\u7EB3\u5E02",150785:"\u6839\u6CB3\u5E02",150802:"\u4E34\u6CB3\u533A",150821:"\u4E94\u539F\u53BF",150822:"\u78F4\u53E3\u53BF",150823:"\u4E4C\u62C9\u7279\u524D\u65D7",150824:"\u4E4C\u62C9\u7279\u4E2D\u65D7",150825:"\u4E4C\u62C9\u7279\u540E\u65D7",150826:"\u676D\u9526\u540E\u65D7",150902:"\u96C6\u5B81\u533A",150921:"\u5353\u8D44\u53BF",150922:"\u5316\u5FB7\u53BF",150923:"\u5546\u90FD\u53BF",150924:"\u5174\u548C\u53BF",150925:"\u51C9\u57CE\u53BF",150926:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u524D\u65D7",150927:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u4E2D\u65D7",150928:"\u5BDF\u54C8\u5C14\u53F3\u7FFC\u540E\u65D7",150929:"\u56DB\u5B50\u738B\u65D7",150981:"\u4E30\u9547\u5E02",152201:"\u4E4C\u5170\u6D69\u7279\u5E02",152202:"\u963F\u5C14\u5C71\u5E02",152221:"\u79D1\u5C14\u6C81\u53F3\u7FFC\u524D\u65D7",152222:"\u79D1\u5C14\u6C81\u53F3\u7FFC\u4E2D\u65D7",152223:"\u624E\u8D49\u7279\u65D7",152224:"\u7A81\u6CC9\u53BF",152501:"\u4E8C\u8FDE\u6D69\u7279\u5E02",152502:"\u9521\u6797\u6D69\u7279\u5E02",152522:"\u963F\u5DF4\u560E\u65D7",152523:"\u82CF\u5C3C\u7279\u5DE6\u65D7",152524:"\u82CF\u5C3C\u7279\u53F3\u65D7",152525:"\u4E1C\u4E4C\u73E0\u7A46\u6C81\u65D7",152526:"\u897F\u4E4C\u73E0\u7A46\u6C81\u65D7",152527:"\u592A\u4EC6\u5BFA\u65D7",152528:"\u9576\u9EC4\u65D7",152529:"\u6B63\u9576\u767D\u65D7",152530:"\u6B63\u84DD\u65D7",152531:"\u591A\u4F26\u53BF",152571:"\u4E4C\u62C9\u76D6\u7BA1\u59D4\u4F1A",152921:"\u963F\u62C9\u5584\u5DE6\u65D7",152922:"\u963F\u62C9\u5584\u53F3\u65D7",152923:"\u989D\u6D4E\u7EB3\u65D7",152971:"\u5185\u8499\u53E4\u963F\u62C9\u5584\u7ECF\u6D4E\u5F00\u53D1\u533A",210102:"\u548C\u5E73\u533A",210103:"\u6C88\u6CB3\u533A",210104:"\u5927\u4E1C\u533A",210105:"\u7687\u59D1\u533A",210106:"\u94C1\u897F\u533A",210111:"\u82CF\u5BB6\u5C6F\u533A",210112:"\u6D51\u5357\u533A",210113:"\u6C88\u5317\u65B0\u533A",210114:"\u4E8E\u6D2A\u533A",210115:"\u8FBD\u4E2D\u533A",210123:"\u5EB7\u5E73\u53BF",210124:"\u6CD5\u5E93\u53BF",210181:"\u65B0\u6C11\u5E02",210190:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",210202:"\u4E2D\u5C71\u533A",210203:"\u897F\u5C97\u533A",210204:"\u6C99\u6CB3\u53E3\u533A",210211:"\u7518\u4E95\u5B50\u533A",210212:"\u65C5\u987A\u53E3\u533A",210213:"\u91D1\u5DDE\u533A",210214:"\u666E\u5170\u5E97\u533A",210224:"\u957F\u6D77\u53BF",210281:"\u74E6\u623F\u5E97\u5E02",210283:"\u5E84\u6CB3\u5E02",210302:"\u94C1\u4E1C\u533A",210303:"\u94C1\u897F\u533A",210304:"\u7ACB\u5C71\u533A",210311:"\u5343\u5C71\u533A",210321:"\u53F0\u5B89\u53BF",210323:"\u5CAB\u5CA9\u6EE1\u65CF\u81EA\u6CBB\u53BF",210381:"\u6D77\u57CE\u5E02",210390:"\u9AD8\u65B0\u533A",210402:"\u65B0\u629A\u533A",210403:"\u4E1C\u6D32\u533A",210404:"\u671B\u82B1\u533A",210411:"\u987A\u57CE\u533A",210421:"\u629A\u987A\u53BF",210422:"\u65B0\u5BBE\u6EE1\u65CF\u81EA\u6CBB\u53BF",210423:"\u6E05\u539F\u6EE1\u65CF\u81EA\u6CBB\u53BF",210502:"\u5E73\u5C71\u533A",210503:"\u6EAA\u6E56\u533A",210504:"\u660E\u5C71\u533A",210505:"\u5357\u82AC\u533A",210521:"\u672C\u6EAA\u6EE1\u65CF\u81EA\u6CBB\u53BF",210522:"\u6853\u4EC1\u6EE1\u65CF\u81EA\u6CBB\u53BF",210602:"\u5143\u5B9D\u533A",210603:"\u632F\u5174\u533A",210604:"\u632F\u5B89\u533A",210624:"\u5BBD\u7538\u6EE1\u65CF\u81EA\u6CBB\u53BF",210681:"\u4E1C\u6E2F\u5E02",210682:"\u51E4\u57CE\u5E02",210702:"\u53E4\u5854\u533A",210703:"\u51CC\u6CB3\u533A",210711:"\u592A\u548C\u533A",210726:"\u9ED1\u5C71\u53BF",210727:"\u4E49\u53BF",210781:"\u51CC\u6D77\u5E02",210782:"\u5317\u9547\u5E02",210793:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",210802:"\u7AD9\u524D\u533A",210803:"\u897F\u5E02\u533A",210804:"\u9C85\u9C7C\u5708\u533A",210811:"\u8001\u8FB9\u533A",210881:"\u76D6\u5DDE\u5E02",210882:"\u5927\u77F3\u6865\u5E02",210902:"\u6D77\u5DDE\u533A",210903:"\u65B0\u90B1\u533A",210904:"\u592A\u5E73\u533A",210905:"\u6E05\u6CB3\u95E8\u533A",210911:"\u7EC6\u6CB3\u533A",210921:"\u961C\u65B0\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",210922:"\u5F70\u6B66\u53BF",211002:"\u767D\u5854\u533A",211003:"\u6587\u5723\u533A",211004:"\u5B8F\u4F1F\u533A",211005:"\u5F13\u957F\u5CAD\u533A",211011:"\u592A\u5B50\u6CB3\u533A",211021:"\u8FBD\u9633\u53BF",211081:"\u706F\u5854\u5E02",211102:"\u53CC\u53F0\u5B50\u533A",211103:"\u5174\u9686\u53F0\u533A",211104:"\u5927\u6D3C\u533A",211122:"\u76D8\u5C71\u53BF",211202:"\u94F6\u5DDE\u533A",211204:"\u6E05\u6CB3\u533A",211221:"\u94C1\u5CAD\u53BF",211223:"\u897F\u4E30\u53BF",211224:"\u660C\u56FE\u53BF",211281:"\u8C03\u5175\u5C71\u5E02",211282:"\u5F00\u539F\u5E02",211302:"\u53CC\u5854\u533A",211303:"\u9F99\u57CE\u533A",211321:"\u671D\u9633\u53BF",211322:"\u5EFA\u5E73\u53BF",211324:"\u5580\u5587\u6C81\u5DE6\u7FFC\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",211381:"\u5317\u7968\u5E02",211382:"\u51CC\u6E90\u5E02",211402:"\u8FDE\u5C71\u533A",211403:"\u9F99\u6E2F\u533A",211404:"\u5357\u7968\u533A",211421:"\u7EE5\u4E2D\u53BF",211422:"\u5EFA\u660C\u53BF",211481:"\u5174\u57CE\u5E02",220102:"\u5357\u5173\u533A",220103:"\u5BBD\u57CE\u533A",220104:"\u671D\u9633\u533A",220105:"\u4E8C\u9053\u533A",220106:"\u7EFF\u56ED\u533A",220112:"\u53CC\u9633\u533A",220113:"\u4E5D\u53F0\u533A",220122:"\u519C\u5B89\u53BF",220171:"\u957F\u6625\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220172:"\u957F\u6625\u51C0\u6708\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220173:"\u957F\u6625\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220174:"\u957F\u6625\u6C7D\u8F66\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220182:"\u6986\u6811\u5E02",220183:"\u5FB7\u60E0\u5E02",220192:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",220202:"\u660C\u9091\u533A",220203:"\u9F99\u6F6D\u533A",220204:"\u8239\u8425\u533A",220211:"\u4E30\u6EE1\u533A",220221:"\u6C38\u5409\u53BF",220271:"\u5409\u6797\u7ECF\u6D4E\u5F00\u53D1\u533A",220272:"\u5409\u6797\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",220281:"\u86DF\u6CB3\u5E02",220282:"\u6866\u7538\u5E02",220283:"\u8212\u5170\u5E02",220284:"\u78D0\u77F3\u5E02",220302:"\u94C1\u897F\u533A",220303:"\u94C1\u4E1C\u533A",220322:"\u68A8\u6811\u53BF",220323:"\u4F0A\u901A\u6EE1\u65CF\u81EA\u6CBB\u53BF",220381:"\u516C\u4E3B\u5CAD\u5E02",220382:"\u53CC\u8FBD\u5E02",220402:"\u9F99\u5C71\u533A",220403:"\u897F\u5B89\u533A",220421:"\u4E1C\u4E30\u53BF",220422:"\u4E1C\u8FBD\u53BF",220502:"\u4E1C\u660C\u533A",220503:"\u4E8C\u9053\u6C5F\u533A",220521:"\u901A\u5316\u53BF",220523:"\u8F89\u5357\u53BF",220524:"\u67F3\u6CB3\u53BF",220581:"\u6885\u6CB3\u53E3\u5E02",220582:"\u96C6\u5B89\u5E02",220602:"\u6D51\u6C5F\u533A",220605:"\u6C5F\u6E90\u533A",220621:"\u629A\u677E\u53BF",220622:"\u9756\u5B87\u53BF",220623:"\u957F\u767D\u671D\u9C9C\u65CF\u81EA\u6CBB\u53BF",220681:"\u4E34\u6C5F\u5E02",220702:"\u5B81\u6C5F\u533A",220721:"\u524D\u90ED\u5C14\u7F57\u65AF\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",220722:"\u957F\u5CAD\u53BF",220723:"\u4E7E\u5B89\u53BF",220771:"\u5409\u6797\u677E\u539F\u7ECF\u6D4E\u5F00\u53D1\u533A",220781:"\u6276\u4F59\u5E02",220802:"\u6D2E\u5317\u533A",220821:"\u9547\u8D49\u53BF",220822:"\u901A\u6986\u53BF",220871:"\u5409\u6797\u767D\u57CE\u7ECF\u6D4E\u5F00\u53D1\u533A",220881:"\u6D2E\u5357\u5E02",220882:"\u5927\u5B89\u5E02",222401:"\u5EF6\u5409\u5E02",222402:"\u56FE\u4EEC\u5E02",222403:"\u6566\u5316\u5E02",222404:"\u73F2\u6625\u5E02",222405:"\u9F99\u4E95\u5E02",222406:"\u548C\u9F99\u5E02",222424:"\u6C6A\u6E05\u53BF",222426:"\u5B89\u56FE\u53BF",230102:"\u9053\u91CC\u533A",230103:"\u5357\u5C97\u533A",230104:"\u9053\u5916\u533A",230108:"\u5E73\u623F\u533A",230109:"\u677E\u5317\u533A",230110:"\u9999\u574A\u533A",230111:"\u547C\u5170\u533A",230112:"\u963F\u57CE\u533A",230113:"\u53CC\u57CE\u533A",230123:"\u4F9D\u5170\u53BF",230124:"\u65B9\u6B63\u53BF",230125:"\u5BBE\u53BF",230126:"\u5DF4\u5F66\u53BF",230127:"\u6728\u5170\u53BF",230128:"\u901A\u6CB3\u53BF",230129:"\u5EF6\u5BFF\u53BF",230183:"\u5C1A\u5FD7\u5E02",230184:"\u4E94\u5E38\u5E02",230202:"\u9F99\u6C99\u533A",230203:"\u5EFA\u534E\u533A",230204:"\u94C1\u950B\u533A",230205:"\u6602\u6602\u6EAA\u533A",230206:"\u5BCC\u62C9\u5C14\u57FA\u533A",230207:"\u78BE\u5B50\u5C71\u533A",230208:"\u6885\u91CC\u65AF\u8FBE\u65A1\u5C14\u65CF\u533A",230221:"\u9F99\u6C5F\u53BF",230223:"\u4F9D\u5B89\u53BF",230224:"\u6CF0\u6765\u53BF",230225:"\u7518\u5357\u53BF",230227:"\u5BCC\u88D5\u53BF",230229:"\u514B\u5C71\u53BF",230230:"\u514B\u4E1C\u53BF",230231:"\u62DC\u6CC9\u53BF",230281:"\u8BB7\u6CB3\u5E02",230302:"\u9E21\u51A0\u533A",230303:"\u6052\u5C71\u533A",230304:"\u6EF4\u9053\u533A",230305:"\u68A8\u6811\u533A",230306:"\u57CE\u5B50\u6CB3\u533A",230307:"\u9EBB\u5C71\u533A",230321:"\u9E21\u4E1C\u53BF",230381:"\u864E\u6797\u5E02",230382:"\u5BC6\u5C71\u5E02",230402:"\u5411\u9633\u533A",230403:"\u5DE5\u519C\u533A",230404:"\u5357\u5C71\u533A",230405:"\u5174\u5B89\u533A",230406:"\u4E1C\u5C71\u533A",230407:"\u5174\u5C71\u533A",230421:"\u841D\u5317\u53BF",230422:"\u7EE5\u6EE8\u53BF",230502:"\u5C16\u5C71\u533A",230503:"\u5CAD\u4E1C\u533A",230505:"\u56DB\u65B9\u53F0\u533A",230506:"\u5B9D\u5C71\u533A",230521:"\u96C6\u8D24\u53BF",230522:"\u53CB\u8C0A\u53BF",230523:"\u5B9D\u6E05\u53BF",230524:"\u9976\u6CB3\u53BF",230602:"\u8428\u5C14\u56FE\u533A",230603:"\u9F99\u51E4\u533A",230604:"\u8BA9\u80E1\u8DEF\u533A",230605:"\u7EA2\u5C97\u533A",230606:"\u5927\u540C\u533A",230621:"\u8087\u5DDE\u53BF",230622:"\u8087\u6E90\u53BF",230623:"\u6797\u7538\u53BF",230624:"\u675C\u5C14\u4F2F\u7279\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",230671:"\u5927\u5E86\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",230717:"\u4F0A\u7F8E\u533A",230718:"\u4E4C\u7FE0\u533A",230719:"\u53CB\u597D\u533A",230722:"\u5609\u836B\u53BF",230723:"\u6C64\u65FA\u53BF",230724:"\u4E30\u6797\u53BF",230725:"\u5927\u7B90\u5C71\u53BF",230726:"\u5357\u5C94\u53BF",230751:"\u91D1\u6797\u533A",230781:"\u94C1\u529B\u5E02",230803:"\u5411\u9633\u533A",230804:"\u524D\u8FDB\u533A",230805:"\u4E1C\u98CE\u533A",230811:"\u90CA\u533A",230822:"\u6866\u5357\u53BF",230826:"\u6866\u5DDD\u53BF",230828:"\u6C64\u539F\u53BF",230881:"\u540C\u6C5F\u5E02",230882:"\u5BCC\u9526\u5E02",230883:"\u629A\u8FDC\u5E02",230902:"\u65B0\u5174\u533A",230903:"\u6843\u5C71\u533A",230904:"\u8304\u5B50\u6CB3\u533A",230921:"\u52C3\u5229\u53BF",231002:"\u4E1C\u5B89\u533A",231003:"\u9633\u660E\u533A",231004:"\u7231\u6C11\u533A",231005:"\u897F\u5B89\u533A",231025:"\u6797\u53E3\u53BF",231081:"\u7EE5\u82AC\u6CB3\u5E02",231083:"\u6D77\u6797\u5E02",231084:"\u5B81\u5B89\u5E02",231085:"\u7A46\u68F1\u5E02",231086:"\u4E1C\u5B81\u5E02",231102:"\u7231\u8F89\u533A",231123:"\u900A\u514B\u53BF",231124:"\u5B59\u5434\u53BF",231181:"\u5317\u5B89\u5E02",231182:"\u4E94\u5927\u8FDE\u6C60\u5E02",231183:"\u5AE9\u6C5F\u5E02",231202:"\u5317\u6797\u533A",231221:"\u671B\u594E\u53BF",231222:"\u5170\u897F\u53BF",231223:"\u9752\u5188\u53BF",231224:"\u5E86\u5B89\u53BF",231225:"\u660E\u6C34\u53BF",231226:"\u7EE5\u68F1\u53BF",231281:"\u5B89\u8FBE\u5E02",231282:"\u8087\u4E1C\u5E02",231283:"\u6D77\u4F26\u5E02",232701:"\u6F20\u6CB3\u5E02",232721:"\u547C\u739B\u53BF",232722:"\u5854\u6CB3\u53BF",232761:"\u52A0\u683C\u8FBE\u5947\u533A",232762:"\u677E\u5CAD\u533A",232763:"\u65B0\u6797\u533A",232764:"\u547C\u4E2D\u533A",310101:"\u9EC4\u6D66\u533A",310104:"\u5F90\u6C47\u533A",310105:"\u957F\u5B81\u533A",310106:"\u9759\u5B89\u533A",310107:"\u666E\u9640\u533A",310109:"\u8679\u53E3\u533A",310110:"\u6768\u6D66\u533A",310112:"\u95F5\u884C\u533A",310113:"\u5B9D\u5C71\u533A",310114:"\u5609\u5B9A\u533A",310115:"\u6D66\u4E1C\u65B0\u533A",310116:"\u91D1\u5C71\u533A",310117:"\u677E\u6C5F\u533A",310118:"\u9752\u6D66\u533A",310120:"\u5949\u8D24\u533A",310151:"\u5D07\u660E\u533A",320102:"\u7384\u6B66\u533A",320104:"\u79E6\u6DEE\u533A",320105:"\u5EFA\u90BA\u533A",320106:"\u9F13\u697C\u533A",320111:"\u6D66\u53E3\u533A",320112:"\u6C5F\u5317\u65B0\u533A",320113:"\u6816\u971E\u533A",320114:"\u96E8\u82B1\u53F0\u533A",320115:"\u6C5F\u5B81\u533A",320116:"\u516D\u5408\u533A",320117:"\u6EA7\u6C34\u533A",320118:"\u9AD8\u6DF3\u533A",320205:"\u9521\u5C71\u533A",320206:"\u60E0\u5C71\u533A",320211:"\u6EE8\u6E56\u533A",320213:"\u6881\u6EAA\u533A",320214:"\u65B0\u5434\u533A",320281:"\u6C5F\u9634\u5E02",320282:"\u5B9C\u5174\u5E02",320302:"\u9F13\u697C\u533A",320303:"\u4E91\u9F99\u533A",320305:"\u8D3E\u6C6A\u533A",320311:"\u6CC9\u5C71\u533A",320312:"\u94DC\u5C71\u533A",320321:"\u4E30\u53BF",320322:"\u6C9B\u53BF",320324:"\u7762\u5B81\u53BF",320371:"\u5F90\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320381:"\u65B0\u6C82\u5E02",320382:"\u90B3\u5DDE\u5E02",320391:"\u5DE5\u4E1A\u56ED\u533A",320402:"\u5929\u5B81\u533A",320404:"\u949F\u697C\u533A",320411:"\u65B0\u5317\u533A",320412:"\u6B66\u8FDB\u533A",320413:"\u91D1\u575B\u533A",320481:"\u6EA7\u9633\u5E02",320505:"\u864E\u4E18\u533A",320506:"\u5434\u4E2D\u533A",320507:"\u76F8\u57CE\u533A",320508:"\u59D1\u82CF\u533A",320509:"\u5434\u6C5F\u533A",320571:"\u82CF\u5DDE\u5DE5\u4E1A\u56ED\u533A",320581:"\u5E38\u719F\u5E02",320582:"\u5F20\u5BB6\u6E2F\u5E02",320583:"\u6606\u5C71\u5E02",320585:"\u592A\u4ED3\u5E02",320590:"\u5DE5\u4E1A\u56ED\u533A",320591:"\u9AD8\u65B0\u533A",320602:"\u5D07\u5DDD\u533A",320611:"\u6E2F\u95F8\u533A",320612:"\u901A\u5DDE\u533A",320623:"\u5982\u4E1C\u53BF",320681:"\u542F\u4E1C\u5E02",320682:"\u5982\u768B\u5E02",320684:"\u6D77\u95E8\u5E02",320685:"\u6D77\u5B89\u5E02",320691:"\u9AD8\u65B0\u533A",320703:"\u8FDE\u4E91\u533A",320706:"\u6D77\u5DDE\u533A",320707:"\u8D63\u6986\u533A",320722:"\u4E1C\u6D77\u53BF",320723:"\u704C\u4E91\u53BF",320724:"\u704C\u5357\u53BF",320771:"\u8FDE\u4E91\u6E2F\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320803:"\u6DEE\u5B89\u533A",320804:"\u6DEE\u9634\u533A",320812:"\u6E05\u6C5F\u6D66\u533A",320813:"\u6D2A\u6CFD\u533A",320826:"\u6D9F\u6C34\u53BF",320830:"\u76F1\u7719\u53BF",320831:"\u91D1\u6E56\u53BF",320871:"\u6DEE\u5B89\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320890:"\u7ECF\u6D4E\u5F00\u53D1\u533A",320902:"\u4EAD\u6E56\u533A",320903:"\u76D0\u90FD\u533A",320904:"\u5927\u4E30\u533A",320921:"\u54CD\u6C34\u53BF",320922:"\u6EE8\u6D77\u53BF",320923:"\u961C\u5B81\u53BF",320924:"\u5C04\u9633\u53BF",320925:"\u5EFA\u6E56\u53BF",320971:"\u76D0\u57CE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",320981:"\u4E1C\u53F0\u5E02",321002:"\u5E7F\u9675\u533A",321003:"\u9097\u6C5F\u533A",321012:"\u6C5F\u90FD\u533A",321023:"\u5B9D\u5E94\u53BF",321071:"\u626C\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",321081:"\u4EEA\u5F81\u5E02",321084:"\u9AD8\u90AE\u5E02",321090:"\u7ECF\u6D4E\u5F00\u53D1\u533A",321102:"\u4EAC\u53E3\u533A",321111:"\u6DA6\u5DDE\u533A",321112:"\u4E39\u5F92\u533A",321150:"\u9547\u6C5F\u65B0\u533A",321181:"\u4E39\u9633\u5E02",321182:"\u626C\u4E2D\u5E02",321183:"\u53E5\u5BB9\u5E02",321202:"\u6D77\u9675\u533A",321203:"\u9AD8\u6E2F\u533A",321204:"\u59DC\u5830\u533A",321271:"\u6CF0\u5DDE\u533B\u836F\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",321281:"\u5174\u5316\u5E02",321282:"\u9756\u6C5F\u5E02",321283:"\u6CF0\u5174\u5E02",321302:"\u5BBF\u57CE\u533A",321311:"\u5BBF\u8C6B\u533A",321322:"\u6CAD\u9633\u53BF",321323:"\u6CD7\u9633\u53BF",321324:"\u6CD7\u6D2A\u53BF",321371:"\u5BBF\u8FC1\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",330102:"\u4E0A\u57CE\u533A",330105:"\u62F1\u5885\u533A",330106:"\u897F\u6E56\u533A",330108:"\u6EE8\u6C5F\u533A",330109:"\u8427\u5C71\u533A",330110:"\u4F59\u676D\u533A",330111:"\u5BCC\u9633\u533A",330112:"\u4E34\u5B89\u533A",330113:"\u4E34\u5E73\u533A",330114:"\u94B1\u5858\u533A",330122:"\u6850\u5E90\u53BF",330127:"\u6DF3\u5B89\u53BF",330182:"\u5EFA\u5FB7\u5E02",330203:"\u6D77\u66D9\u533A",330205:"\u6C5F\u5317\u533A",330206:"\u5317\u4ED1\u533A",330211:"\u9547\u6D77\u533A",330212:"\u911E\u5DDE\u533A",330213:"\u5949\u5316\u533A",330225:"\u8C61\u5C71\u53BF",330226:"\u5B81\u6D77\u53BF",330281:"\u4F59\u59DA\u5E02",330282:"\u6148\u6EAA\u5E02",330302:"\u9E7F\u57CE\u533A",330303:"\u9F99\u6E7E\u533A",330304:"\u74EF\u6D77\u533A",330305:"\u6D1E\u5934\u533A",330324:"\u6C38\u5609\u53BF",330326:"\u5E73\u9633\u53BF",330327:"\u82CD\u5357\u53BF",330328:"\u6587\u6210\u53BF",330329:"\u6CF0\u987A\u53BF",330381:"\u745E\u5B89\u5E02",330382:"\u4E50\u6E05\u5E02",330383:"\u9F99\u6E2F\u5E02",330402:"\u5357\u6E56\u533A",330411:"\u79C0\u6D32\u533A",330421:"\u5609\u5584\u53BF",330424:"\u6D77\u76D0\u53BF",330481:"\u6D77\u5B81\u5E02",330482:"\u5E73\u6E56\u5E02",330483:"\u6850\u4E61\u5E02",330502:"\u5434\u5174\u533A",330503:"\u5357\u6D54\u533A",330521:"\u5FB7\u6E05\u53BF",330522:"\u957F\u5174\u53BF",330523:"\u5B89\u5409\u53BF",330602:"\u8D8A\u57CE\u533A",330603:"\u67EF\u6865\u533A",330604:"\u4E0A\u865E\u533A",330624:"\u65B0\u660C\u53BF",330681:"\u8BF8\u66A8\u5E02",330683:"\u5D4A\u5DDE\u5E02",330702:"\u5A7A\u57CE\u533A",330703:"\u91D1\u4E1C\u533A",330723:"\u6B66\u4E49\u53BF",330726:"\u6D66\u6C5F\u53BF",330727:"\u78D0\u5B89\u53BF",330781:"\u5170\u6EAA\u5E02",330782:"\u4E49\u4E4C\u5E02",330783:"\u4E1C\u9633\u5E02",330784:"\u6C38\u5EB7\u5E02",330802:"\u67EF\u57CE\u533A",330803:"\u8862\u6C5F\u533A",330822:"\u5E38\u5C71\u53BF",330824:"\u5F00\u5316\u53BF",330825:"\u9F99\u6E38\u53BF",330881:"\u6C5F\u5C71\u5E02",330902:"\u5B9A\u6D77\u533A",330903:"\u666E\u9640\u533A",330921:"\u5CB1\u5C71\u53BF",330922:"\u5D4A\u6CD7\u53BF",331002:"\u6912\u6C5F\u533A",331003:"\u9EC4\u5CA9\u533A",331004:"\u8DEF\u6865\u533A",331022:"\u4E09\u95E8\u53BF",331023:"\u5929\u53F0\u53BF",331024:"\u4ED9\u5C45\u53BF",331081:"\u6E29\u5CAD\u5E02",331082:"\u4E34\u6D77\u5E02",331083:"\u7389\u73AF\u5E02",331102:"\u83B2\u90FD\u533A",331121:"\u9752\u7530\u53BF",331122:"\u7F19\u4E91\u53BF",331123:"\u9042\u660C\u53BF",331124:"\u677E\u9633\u53BF",331125:"\u4E91\u548C\u53BF",331126:"\u5E86\u5143\u53BF",331127:"\u666F\u5B81\u7572\u65CF\u81EA\u6CBB\u53BF",331181:"\u9F99\u6CC9\u5E02",340102:"\u7476\u6D77\u533A",340103:"\u5E90\u9633\u533A",340104:"\u8700\u5C71\u533A",340111:"\u5305\u6CB3\u533A",340121:"\u957F\u4E30\u53BF",340122:"\u80A5\u4E1C\u53BF",340123:"\u80A5\u897F\u53BF",340124:"\u5E90\u6C5F\u53BF",340171:"\u5408\u80A5\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",340172:"\u5408\u80A5\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",340173:"\u5408\u80A5\u65B0\u7AD9\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",340181:"\u5DE2\u6E56\u5E02",340190:"\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",340191:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",340202:"\u955C\u6E56\u533A",340203:"\u5F0B\u6C5F\u533A",340207:"\u9E20\u6C5F\u533A",340208:"\u4E09\u5C71\u533A",340221:"\u829C\u6E56\u53BF",340222:"\u7E41\u660C\u53BF",340223:"\u5357\u9675\u53BF",340281:"\u65E0\u4E3A\u5E02",340302:"\u9F99\u5B50\u6E56\u533A",340303:"\u868C\u5C71\u533A",340304:"\u79B9\u4F1A\u533A",340311:"\u6DEE\u4E0A\u533A",340321:"\u6000\u8FDC\u53BF",340322:"\u4E94\u6CB3\u53BF",340323:"\u56FA\u9547\u53BF",340371:"\u868C\u57E0\u5E02\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",340372:"\u868C\u57E0\u5E02\u7ECF\u6D4E\u5F00\u53D1\u533A",340402:"\u5927\u901A\u533A",340403:"\u7530\u5BB6\u5EB5\u533A",340404:"\u8C22\u5BB6\u96C6\u533A",340405:"\u516B\u516C\u5C71\u533A",340406:"\u6F58\u96C6\u533A",340421:"\u51E4\u53F0\u53BF",340422:"\u5BFF\u53BF",340503:"\u82B1\u5C71\u533A",340504:"\u96E8\u5C71\u533A",340506:"\u535A\u671B\u533A",340521:"\u5F53\u6D82\u53BF",340522:"\u542B\u5C71\u53BF",340523:"\u548C\u53BF",340602:"\u675C\u96C6\u533A",340603:"\u76F8\u5C71\u533A",340604:"\u70C8\u5C71\u533A",340621:"\u6FC9\u6EAA\u53BF",340705:"\u94DC\u5B98\u533A",340706:"\u4E49\u5B89\u533A",340711:"\u90CA\u533A",340722:"\u679E\u9633\u53BF",340802:"\u8FCE\u6C5F\u533A",340803:"\u5927\u89C2\u533A",340811:"\u5B9C\u79C0\u533A",340822:"\u6000\u5B81\u53BF",340825:"\u592A\u6E56\u53BF",340826:"\u5BBF\u677E\u53BF",340827:"\u671B\u6C5F\u53BF",340828:"\u5CB3\u897F\u53BF",340881:"\u6850\u57CE\u5E02",340882:"\u6F5C\u5C71\u5E02",341002:"\u5C6F\u6EAA\u533A",341003:"\u9EC4\u5C71\u533A",341004:"\u5FBD\u5DDE\u533A",341021:"\u6B59\u53BF",341022:"\u4F11\u5B81\u53BF",341023:"\u9EDF\u53BF",341024:"\u7941\u95E8\u53BF",341102:"\u7405\u740A\u533A",341103:"\u5357\u8C2F\u533A",341122:"\u6765\u5B89\u53BF",341124:"\u5168\u6912\u53BF",341125:"\u5B9A\u8FDC\u53BF",341126:"\u51E4\u9633\u53BF",341181:"\u5929\u957F\u5E02",341182:"\u660E\u5149\u5E02",341202:"\u988D\u5DDE\u533A",341203:"\u988D\u4E1C\u533A",341204:"\u988D\u6CC9\u533A",341221:"\u4E34\u6CC9\u53BF",341222:"\u592A\u548C\u53BF",341225:"\u961C\u5357\u53BF",341226:"\u988D\u4E0A\u53BF",341271:"\u961C\u9633\u5408\u80A5\u73B0\u4EE3\u4EA7\u4E1A\u56ED\u533A",341282:"\u754C\u9996\u5E02",341302:"\u57C7\u6865\u533A",341321:"\u7800\u5C71\u53BF",341322:"\u8427\u53BF",341323:"\u7075\u74A7\u53BF",341324:"\u6CD7\u53BF",341371:"\u5BBF\u5DDE\u9A6C\u978D\u5C71\u73B0\u4EE3\u4EA7\u4E1A\u56ED\u533A",341372:"\u5BBF\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",341390:"\u7ECF\u6D4E\u5F00\u53D1\u533A",341502:"\u91D1\u5B89\u533A",341503:"\u88D5\u5B89\u533A",341504:"\u53F6\u96C6\u533A",341522:"\u970D\u90B1\u53BF",341523:"\u8212\u57CE\u53BF",341524:"\u91D1\u5BE8\u53BF",341525:"\u970D\u5C71\u53BF",341602:"\u8C2F\u57CE\u533A",341621:"\u6DA1\u9633\u53BF",341622:"\u8499\u57CE\u53BF",341623:"\u5229\u8F9B\u53BF",341702:"\u8D35\u6C60\u533A",341721:"\u4E1C\u81F3\u53BF",341722:"\u77F3\u53F0\u53BF",341723:"\u9752\u9633\u53BF",341802:"\u5BA3\u5DDE\u533A",341821:"\u90CE\u6EAA\u53BF",341823:"\u6CFE\u53BF",341824:"\u7EE9\u6EAA\u53BF",341825:"\u65CC\u5FB7\u53BF",341871:"\u5BA3\u57CE\u5E02\u7ECF\u6D4E\u5F00\u53D1\u533A",341881:"\u5B81\u56FD\u5E02",341882:"\u5E7F\u5FB7\u5E02",350102:"\u9F13\u697C\u533A",350103:"\u53F0\u6C5F\u533A",350104:"\u4ED3\u5C71\u533A",350105:"\u9A6C\u5C3E\u533A",350111:"\u664B\u5B89\u533A",350112:"\u957F\u4E50\u533A",350121:"\u95FD\u4FAF\u53BF",350122:"\u8FDE\u6C5F\u53BF",350123:"\u7F57\u6E90\u53BF",350124:"\u95FD\u6E05\u53BF",350125:"\u6C38\u6CF0\u53BF",350128:"\u5E73\u6F6D\u53BF",350181:"\u798F\u6E05\u5E02",350203:"\u601D\u660E\u533A",350205:"\u6D77\u6CA7\u533A",350206:"\u6E56\u91CC\u533A",350211:"\u96C6\u7F8E\u533A",350212:"\u540C\u5B89\u533A",350213:"\u7FD4\u5B89\u533A",350302:"\u57CE\u53A2\u533A",350303:"\u6DB5\u6C5F\u533A",350304:"\u8354\u57CE\u533A",350305:"\u79C0\u5C7F\u533A",350322:"\u4ED9\u6E38\u53BF",350402:"\u6885\u5217\u533A",350403:"\u4E09\u5143\u533A",350421:"\u660E\u6EAA\u53BF",350423:"\u6E05\u6D41\u53BF",350424:"\u5B81\u5316\u53BF",350425:"\u5927\u7530\u53BF",350426:"\u5C24\u6EAA\u53BF",350427:"\u6C99\u53BF",350428:"\u5C06\u4E50\u53BF",350429:"\u6CF0\u5B81\u53BF",350430:"\u5EFA\u5B81\u53BF",350481:"\u6C38\u5B89\u5E02",350502:"\u9CA4\u57CE\u533A",350503:"\u4E30\u6CFD\u533A",350504:"\u6D1B\u6C5F\u533A",350505:"\u6CC9\u6E2F\u533A",350521:"\u60E0\u5B89\u53BF",350524:"\u5B89\u6EAA\u53BF",350525:"\u6C38\u6625\u53BF",350526:"\u5FB7\u5316\u53BF",350527:"\u91D1\u95E8\u53BF",350581:"\u77F3\u72EE\u5E02",350582:"\u664B\u6C5F\u5E02",350583:"\u5357\u5B89\u5E02",350602:"\u8297\u57CE\u533A",350603:"\u9F99\u6587\u533A",350622:"\u4E91\u9704\u53BF",350623:"\u6F33\u6D66\u53BF",350624:"\u8BCF\u5B89\u53BF",350625:"\u957F\u6CF0\u53BF",350626:"\u4E1C\u5C71\u53BF",350627:"\u5357\u9756\u53BF",350628:"\u5E73\u548C\u53BF",350629:"\u534E\u5B89\u53BF",350681:"\u9F99\u6D77\u5E02",350702:"\u5EF6\u5E73\u533A",350703:"\u5EFA\u9633\u533A",350721:"\u987A\u660C\u53BF",350722:"\u6D66\u57CE\u53BF",350723:"\u5149\u6CFD\u53BF",350724:"\u677E\u6EAA\u53BF",350725:"\u653F\u548C\u53BF",350781:"\u90B5\u6B66\u5E02",350782:"\u6B66\u5937\u5C71\u5E02",350783:"\u5EFA\u74EF\u5E02",350802:"\u65B0\u7F57\u533A",350803:"\u6C38\u5B9A\u533A",350821:"\u957F\u6C40\u53BF",350823:"\u4E0A\u676D\u53BF",350824:"\u6B66\u5E73\u53BF",350825:"\u8FDE\u57CE\u53BF",350881:"\u6F33\u5E73\u5E02",350902:"\u8549\u57CE\u533A",350921:"\u971E\u6D66\u53BF",350922:"\u53E4\u7530\u53BF",350923:"\u5C4F\u5357\u53BF",350924:"\u5BFF\u5B81\u53BF",350925:"\u5468\u5B81\u53BF",350926:"\u67D8\u8363\u53BF",350981:"\u798F\u5B89\u5E02",350982:"\u798F\u9F0E\u5E02",360102:"\u4E1C\u6E56\u533A",360103:"\u897F\u6E56\u533A",360104:"\u9752\u4E91\u8C31\u533A",360111:"\u9752\u5C71\u6E56\u533A",360112:"\u65B0\u5EFA\u533A",360113:"\u7EA2\u8C37\u6EE9\u533A",360121:"\u5357\u660C\u53BF",360123:"\u5B89\u4E49\u53BF",360124:"\u8FDB\u8D24\u53BF",360190:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",360192:"\u9AD8\u65B0\u533A",360202:"\u660C\u6C5F\u533A",360203:"\u73E0\u5C71\u533A",360222:"\u6D6E\u6881\u53BF",360281:"\u4E50\u5E73\u5E02",360302:"\u5B89\u6E90\u533A",360313:"\u6E58\u4E1C\u533A",360321:"\u83B2\u82B1\u53BF",360322:"\u4E0A\u6817\u53BF",360323:"\u82A6\u6EAA\u53BF",360402:"\u6FC2\u6EAA\u533A",360403:"\u6D54\u9633\u533A",360404:"\u67F4\u6851\u533A",360423:"\u6B66\u5B81\u53BF",360424:"\u4FEE\u6C34\u53BF",360425:"\u6C38\u4FEE\u53BF",360426:"\u5FB7\u5B89\u53BF",360428:"\u90FD\u660C\u53BF",360429:"\u6E56\u53E3\u53BF",360430:"\u5F6D\u6CFD\u53BF",360481:"\u745E\u660C\u5E02",360482:"\u5171\u9752\u57CE\u5E02",360483:"\u5E90\u5C71\u5E02",360490:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",360502:"\u6E1D\u6C34\u533A",360521:"\u5206\u5B9C\u53BF",360602:"\u6708\u6E56\u533A",360603:"\u4F59\u6C5F\u533A",360681:"\u8D35\u6EAA\u5E02",360702:"\u7AE0\u8D21\u533A",360703:"\u5357\u5EB7\u533A",360704:"\u8D63\u53BF\u533A",360722:"\u4FE1\u4E30\u53BF",360723:"\u5927\u4F59\u53BF",360724:"\u4E0A\u72B9\u53BF",360725:"\u5D07\u4E49\u53BF",360726:"\u5B89\u8FDC\u53BF",360728:"\u5B9A\u5357\u53BF",360729:"\u5168\u5357\u53BF",360730:"\u5B81\u90FD\u53BF",360731:"\u4E8E\u90FD\u53BF",360732:"\u5174\u56FD\u53BF",360733:"\u4F1A\u660C\u53BF",360734:"\u5BFB\u4E4C\u53BF",360735:"\u77F3\u57CE\u53BF",360781:"\u745E\u91D1\u5E02",360783:"\u9F99\u5357\u5E02",360802:"\u5409\u5DDE\u533A",360803:"\u9752\u539F\u533A",360821:"\u5409\u5B89\u53BF",360822:"\u5409\u6C34\u53BF",360823:"\u5CE1\u6C5F\u53BF",360824:"\u65B0\u5E72\u53BF",360825:"\u6C38\u4E30\u53BF",360826:"\u6CF0\u548C\u53BF",360827:"\u9042\u5DDD\u53BF",360828:"\u4E07\u5B89\u53BF",360829:"\u5B89\u798F\u53BF",360830:"\u6C38\u65B0\u53BF",360881:"\u4E95\u5188\u5C71\u5E02",360902:"\u8881\u5DDE\u533A",360921:"\u5949\u65B0\u53BF",360922:"\u4E07\u8F7D\u53BF",360923:"\u4E0A\u9AD8\u53BF",360924:"\u5B9C\u4E30\u53BF",360925:"\u9756\u5B89\u53BF",360926:"\u94DC\u9F13\u53BF",360981:"\u4E30\u57CE\u5E02",360982:"\u6A1F\u6811\u5E02",360983:"\u9AD8\u5B89\u5E02",361002:"\u4E34\u5DDD\u533A",361003:"\u4E1C\u4E61\u533A",361021:"\u5357\u57CE\u53BF",361022:"\u9ECE\u5DDD\u53BF",361023:"\u5357\u4E30\u53BF",361024:"\u5D07\u4EC1\u53BF",361025:"\u4E50\u5B89\u53BF",361026:"\u5B9C\u9EC4\u53BF",361027:"\u91D1\u6EAA\u53BF",361028:"\u8D44\u6EAA\u53BF",361030:"\u5E7F\u660C\u53BF",361102:"\u4FE1\u5DDE\u533A",361103:"\u5E7F\u4E30\u533A",361104:"\u5E7F\u4FE1\u533A",361123:"\u7389\u5C71\u53BF",361124:"\u94C5\u5C71\u53BF",361125:"\u6A2A\u5CF0\u53BF",361126:"\u5F0B\u9633\u53BF",361127:"\u4F59\u5E72\u53BF",361128:"\u9131\u9633\u53BF",361129:"\u4E07\u5E74\u53BF",361130:"\u5A7A\u6E90\u53BF",361181:"\u5FB7\u5174\u5E02",370102:"\u5386\u4E0B\u533A",370103:"\u5E02\u4E2D\u533A",370104:"\u69D0\u836B\u533A",370105:"\u5929\u6865\u533A",370112:"\u5386\u57CE\u533A",370113:"\u957F\u6E05\u533A",370114:"\u7AE0\u4E18\u533A",370115:"\u6D4E\u9633\u533A",370116:"\u83B1\u829C\u533A",370117:"\u94A2\u57CE\u533A",370124:"\u5E73\u9634\u53BF",370126:"\u5546\u6CB3\u53BF",370171:"\u6D4E\u5357\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370190:"\u9AD8\u65B0\u533A",370202:"\u5E02\u5357\u533A",370203:"\u5E02\u5317\u533A",370211:"\u9EC4\u5C9B\u533A",370212:"\u5D02\u5C71\u533A",370213:"\u674E\u6CA7\u533A",370214:"\u57CE\u9633\u533A",370215:"\u5373\u58A8\u533A",370271:"\u9752\u5C9B\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370281:"\u80F6\u5DDE\u5E02",370283:"\u5E73\u5EA6\u5E02",370285:"\u83B1\u897F\u5E02",370290:"\u5F00\u53D1\u533A",370302:"\u6DC4\u5DDD\u533A",370303:"\u5F20\u5E97\u533A",370304:"\u535A\u5C71\u533A",370305:"\u4E34\u6DC4\u533A",370306:"\u5468\u6751\u533A",370321:"\u6853\u53F0\u53BF",370322:"\u9AD8\u9752\u53BF",370323:"\u6C82\u6E90\u53BF",370402:"\u5E02\u4E2D\u533A",370403:"\u859B\u57CE\u533A",370404:"\u5CC4\u57CE\u533A",370405:"\u53F0\u513F\u5E84\u533A",370406:"\u5C71\u4EAD\u533A",370481:"\u6ED5\u5DDE\u5E02",370502:"\u4E1C\u8425\u533A",370503:"\u6CB3\u53E3\u533A",370505:"\u57A6\u5229\u533A",370522:"\u5229\u6D25\u53BF",370523:"\u5E7F\u9976\u53BF",370571:"\u4E1C\u8425\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370572:"\u4E1C\u8425\u6E2F\u7ECF\u6D4E\u5F00\u53D1\u533A",370602:"\u829D\u7F58\u533A",370611:"\u798F\u5C71\u533A",370612:"\u725F\u5E73\u533A",370613:"\u83B1\u5C71\u533A",370634:"\u957F\u5C9B\u53BF",370671:"\u70DF\u53F0\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370672:"\u70DF\u53F0\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370681:"\u9F99\u53E3\u5E02",370682:"\u83B1\u9633\u5E02",370683:"\u83B1\u5DDE\u5E02",370684:"\u84EC\u83B1\u5E02",370685:"\u62DB\u8FDC\u5E02",370686:"\u6816\u971E\u5E02",370687:"\u6D77\u9633\u5E02",370690:"\u5F00\u53D1\u533A",370702:"\u6F4D\u57CE\u533A",370703:"\u5BD2\u4EAD\u533A",370704:"\u574A\u5B50\u533A",370705:"\u594E\u6587\u533A",370724:"\u4E34\u6710\u53BF",370725:"\u660C\u4E50\u53BF",370772:"\u6F4D\u574A\u6EE8\u6D77\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",370781:"\u9752\u5DDE\u5E02",370782:"\u8BF8\u57CE\u5E02",370783:"\u5BFF\u5149\u5E02",370784:"\u5B89\u4E18\u5E02",370785:"\u9AD8\u5BC6\u5E02",370786:"\u660C\u9091\u5E02",370790:"\u5F00\u53D1\u533A",370791:"\u9AD8\u65B0\u533A",370811:"\u4EFB\u57CE\u533A",370812:"\u5156\u5DDE\u533A",370826:"\u5FAE\u5C71\u53BF",370827:"\u9C7C\u53F0\u53BF",370828:"\u91D1\u4E61\u53BF",370829:"\u5609\u7965\u53BF",370830:"\u6C76\u4E0A\u53BF",370831:"\u6CD7\u6C34\u53BF",370832:"\u6881\u5C71\u53BF",370871:"\u6D4E\u5B81\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",370881:"\u66F2\u961C\u5E02",370883:"\u90B9\u57CE\u5E02",370890:"\u9AD8\u65B0\u533A",370902:"\u6CF0\u5C71\u533A",370911:"\u5CB1\u5CB3\u533A",370921:"\u5B81\u9633\u53BF",370923:"\u4E1C\u5E73\u53BF",370982:"\u65B0\u6CF0\u5E02",370983:"\u80A5\u57CE\u5E02",371002:"\u73AF\u7FE0\u533A",371003:"\u6587\u767B\u533A",371071:"\u5A01\u6D77\u706B\u70AC\u9AD8\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",371072:"\u5A01\u6D77\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371082:"\u8363\u6210\u5E02",371083:"\u4E73\u5C71\u5E02",371091:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371102:"\u4E1C\u6E2F\u533A",371103:"\u5C9A\u5C71\u533A",371121:"\u4E94\u83B2\u53BF",371122:"\u8392\u53BF",371171:"\u65E5\u7167\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371302:"\u5170\u5C71\u533A",371311:"\u7F57\u5E84\u533A",371312:"\u6CB3\u4E1C\u533A",371321:"\u6C82\u5357\u53BF",371322:"\u90EF\u57CE\u53BF",371323:"\u6C82\u6C34\u53BF",371324:"\u5170\u9675\u53BF",371325:"\u8D39\u53BF",371326:"\u5E73\u9091\u53BF",371327:"\u8392\u5357\u53BF",371328:"\u8499\u9634\u53BF",371329:"\u4E34\u6CAD\u53BF",371371:"\u4E34\u6C82\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",371402:"\u5FB7\u57CE\u533A",371403:"\u9675\u57CE\u533A",371422:"\u5B81\u6D25\u53BF",371423:"\u5E86\u4E91\u53BF",371424:"\u4E34\u9091\u53BF",371425:"\u9F50\u6CB3\u53BF",371426:"\u5E73\u539F\u53BF",371427:"\u590F\u6D25\u53BF",371428:"\u6B66\u57CE\u53BF",371472:"\u5FB7\u5DDE\u8FD0\u6CB3\u7ECF\u6D4E\u5F00\u53D1\u533A",371481:"\u4E50\u9675\u5E02",371482:"\u79B9\u57CE\u5E02",371502:"\u4E1C\u660C\u5E9C\u533A",371503:"\u830C\u5E73\u533A",371521:"\u9633\u8C37\u53BF",371522:"\u8398\u53BF",371524:"\u4E1C\u963F\u53BF",371525:"\u51A0\u53BF",371526:"\u9AD8\u5510\u53BF",371581:"\u4E34\u6E05\u5E02",371602:"\u6EE8\u57CE\u533A",371603:"\u6CBE\u5316\u533A",371621:"\u60E0\u6C11\u53BF",371622:"\u9633\u4FE1\u53BF",371623:"\u65E0\u68E3\u53BF",371625:"\u535A\u5174\u53BF",371681:"\u90B9\u5E73\u5E02",371702:"\u7261\u4E39\u533A",371703:"\u5B9A\u9676\u533A",371721:"\u66F9\u53BF",371722:"\u5355\u53BF",371723:"\u6210\u6B66\u53BF",371724:"\u5DE8\u91CE\u53BF",371725:"\u90D3\u57CE\u53BF",371726:"\u9104\u57CE\u53BF",371728:"\u4E1C\u660E\u53BF",371771:"\u83CF\u6CFD\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",371772:"\u83CF\u6CFD\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",410102:"\u4E2D\u539F\u533A",410103:"\u4E8C\u4E03\u533A",410104:"\u7BA1\u57CE\u56DE\u65CF\u533A",410105:"\u91D1\u6C34\u533A",410106:"\u4E0A\u8857\u533A",410108:"\u60E0\u6D4E\u533A",410122:"\u4E2D\u725F\u53BF",410171:"\u90D1\u5DDE\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410172:"\u90D1\u5DDE\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410173:"\u90D1\u5DDE\u822A\u7A7A\u6E2F\u7ECF\u6D4E\u7EFC\u5408\u5B9E\u9A8C\u533A",410181:"\u5DE9\u4E49\u5E02",410182:"\u8365\u9633\u5E02",410183:"\u65B0\u5BC6\u5E02",410184:"\u65B0\u90D1\u5E02",410185:"\u767B\u5C01\u5E02",410190:"\u9AD8\u65B0\u6280\u672F\u5F00\u53D1\u533A",410191:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410202:"\u9F99\u4EAD\u533A",410203:"\u987A\u6CB3\u56DE\u65CF\u533A",410204:"\u9F13\u697C\u533A",410205:"\u79B9\u738B\u53F0\u533A",410212:"\u7965\u7B26\u533A",410221:"\u675E\u53BF",410222:"\u901A\u8BB8\u53BF",410223:"\u5C09\u6C0F\u53BF",410225:"\u5170\u8003\u53BF",410302:"\u8001\u57CE\u533A",410303:"\u897F\u5DE5\u533A",410304:"\u700D\u6CB3\u56DE\u65CF\u533A",410305:"\u6DA7\u897F\u533A",410306:"\u5409\u5229\u533A",410311:"\u6D1B\u9F99\u533A",410322:"\u5B5F\u6D25\u53BF",410323:"\u65B0\u5B89\u53BF",410324:"\u683E\u5DDD\u53BF",410325:"\u5D69\u53BF",410326:"\u6C5D\u9633\u53BF",410327:"\u5B9C\u9633\u53BF",410328:"\u6D1B\u5B81\u53BF",410329:"\u4F0A\u5DDD\u53BF",410381:"\u5043\u5E08\u5E02",410402:"\u65B0\u534E\u533A",410403:"\u536B\u4E1C\u533A",410404:"\u77F3\u9F99\u533A",410411:"\u6E5B\u6CB3\u533A",410421:"\u5B9D\u4E30\u53BF",410422:"\u53F6\u53BF",410423:"\u9C81\u5C71\u53BF",410425:"\u90CF\u53BF",410471:"\u5E73\u9876\u5C71\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410481:"\u821E\u94A2\u5E02",410482:"\u6C5D\u5DDE\u5E02",410502:"\u6587\u5CF0\u533A",410503:"\u5317\u5173\u533A",410505:"\u6BB7\u90FD\u533A",410506:"\u9F99\u5B89\u533A",410522:"\u5B89\u9633\u53BF",410523:"\u6C64\u9634\u53BF",410526:"\u6ED1\u53BF",410527:"\u5185\u9EC4\u53BF",410581:"\u6797\u5DDE\u5E02",410590:"\u5F00\u53D1\u533A",410602:"\u9E64\u5C71\u533A",410603:"\u5C71\u57CE\u533A",410611:"\u6DC7\u6EE8\u533A",410621:"\u6D5A\u53BF",410622:"\u6DC7\u53BF",410702:"\u7EA2\u65D7\u533A",410703:"\u536B\u6EE8\u533A",410704:"\u51E4\u6CC9\u533A",410711:"\u7267\u91CE\u533A",410721:"\u65B0\u4E61\u53BF",410724:"\u83B7\u5609\u53BF",410725:"\u539F\u9633\u53BF",410726:"\u5EF6\u6D25\u53BF",410727:"\u5C01\u4E18\u53BF",410771:"\u65B0\u4E61\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A",410772:"\u65B0\u4E61\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",410781:"\u536B\u8F89\u5E02",410782:"\u8F89\u53BF\u5E02",410783:"\u957F\u57A3\u5E02",410802:"\u89E3\u653E\u533A",410803:"\u4E2D\u7AD9\u533A",410804:"\u9A6C\u6751\u533A",410811:"\u5C71\u9633\u533A",410821:"\u4FEE\u6B66\u53BF",410822:"\u535A\u7231\u53BF",410823:"\u6B66\u965F\u53BF",410825:"\u6E29\u53BF",410871:"\u7126\u4F5C\u57CE\u4E61\u4E00\u4F53\u5316\u793A\u8303\u533A",410882:"\u6C81\u9633\u5E02",410883:"\u5B5F\u5DDE\u5E02",410902:"\u534E\u9F99\u533A",410922:"\u6E05\u4E30\u53BF",410923:"\u5357\u4E50\u53BF",410926:"\u8303\u53BF",410927:"\u53F0\u524D\u53BF",410928:"\u6FEE\u9633\u53BF",410971:"\u6CB3\u5357\u6FEE\u9633\u5DE5\u4E1A\u56ED\u533A",411002:"\u9B4F\u90FD\u533A",411003:"\u5EFA\u5B89\u533A",411024:"\u9122\u9675\u53BF",411025:"\u8944\u57CE\u53BF",411071:"\u8BB8\u660C\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",411081:"\u79B9\u5DDE\u5E02",411082:"\u957F\u845B\u5E02",411102:"\u6E90\u6C47\u533A",411103:"\u90FE\u57CE\u533A",411104:"\u53EC\u9675\u533A",411121:"\u821E\u9633\u53BF",411122:"\u4E34\u988D\u53BF",411171:"\u6F2F\u6CB3\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",411202:"\u6E56\u6EE8\u533A",411203:"\u9655\u5DDE\u533A",411221:"\u6E11\u6C60\u53BF",411224:"\u5362\u6C0F\u53BF",411271:"\u6CB3\u5357\u4E09\u95E8\u5CE1\u7ECF\u6D4E\u5F00\u53D1\u533A",411281:"\u4E49\u9A6C\u5E02",411282:"\u7075\u5B9D\u5E02",411302:"\u5B9B\u57CE\u533A",411303:"\u5367\u9F99\u533A",411321:"\u5357\u53EC\u53BF",411322:"\u65B9\u57CE\u53BF",411323:"\u897F\u5CE1\u53BF",411324:"\u9547\u5E73\u53BF",411325:"\u5185\u4E61\u53BF",411326:"\u6DC5\u5DDD\u53BF",411327:"\u793E\u65D7\u53BF",411328:"\u5510\u6CB3\u53BF",411329:"\u65B0\u91CE\u53BF",411330:"\u6850\u67CF\u53BF",411372:"\u5357\u9633\u5E02\u57CE\u4E61\u4E00\u4F53\u5316\u793A\u8303\u533A",411381:"\u9093\u5DDE\u5E02",411402:"\u6881\u56ED\u533A",411403:"\u7762\u9633\u533A",411421:"\u6C11\u6743\u53BF",411422:"\u7762\u53BF",411423:"\u5B81\u9675\u53BF",411424:"\u67D8\u57CE\u53BF",411425:"\u865E\u57CE\u53BF",411426:"\u590F\u9091\u53BF",411481:"\u6C38\u57CE\u5E02",411502:"\u6D49\u6CB3\u533A",411503:"\u5E73\u6865\u533A",411521:"\u7F57\u5C71\u53BF",411522:"\u5149\u5C71\u53BF",411523:"\u65B0\u53BF",411524:"\u5546\u57CE\u53BF",411525:"\u56FA\u59CB\u53BF",411526:"\u6F62\u5DDD\u53BF",411527:"\u6DEE\u6EE8\u53BF",411528:"\u606F\u53BF",411602:"\u5DDD\u6C47\u533A",411603:"\u6DEE\u9633\u533A",411621:"\u6276\u6C9F\u53BF",411622:"\u897F\u534E\u53BF",411623:"\u5546\u6C34\u53BF",411624:"\u6C88\u4E18\u53BF",411625:"\u90F8\u57CE\u53BF",411627:"\u592A\u5EB7\u53BF",411628:"\u9E7F\u9091\u53BF",411671:"\u6CB3\u5357\u5468\u53E3\u7ECF\u6D4E\u5F00\u53D1\u533A",411681:"\u9879\u57CE\u5E02",411690:"\u7ECF\u6D4E\u5F00\u53D1\u533A",411702:"\u9A7F\u57CE\u533A",411721:"\u897F\u5E73\u53BF",411722:"\u4E0A\u8521\u53BF",411723:"\u5E73\u8206\u53BF",411724:"\u6B63\u9633\u53BF",411725:"\u786E\u5C71\u53BF",411726:"\u6CCC\u9633\u53BF",411727:"\u6C5D\u5357\u53BF",411728:"\u9042\u5E73\u53BF",411729:"\u65B0\u8521\u53BF",419001:"\u6D4E\u6E90\u5E02",420102:"\u6C5F\u5CB8\u533A",420103:"\u6C5F\u6C49\u533A",420104:"\u785A\u53E3\u533A",420105:"\u6C49\u9633\u533A",420106:"\u6B66\u660C\u533A",420107:"\u9752\u5C71\u533A",420111:"\u6D2A\u5C71\u533A",420112:"\u4E1C\u897F\u6E56\u533A",420113:"\u6C49\u5357\u533A",420114:"\u8521\u7538\u533A",420115:"\u6C5F\u590F\u533A",420116:"\u9EC4\u9642\u533A",420117:"\u65B0\u6D32\u533A",420202:"\u9EC4\u77F3\u6E2F\u533A",420203:"\u897F\u585E\u5C71\u533A",420204:"\u4E0B\u9646\u533A",420205:"\u94C1\u5C71\u533A",420222:"\u9633\u65B0\u53BF",420281:"\u5927\u51B6\u5E02",420302:"\u8305\u7BAD\u533A",420303:"\u5F20\u6E7E\u533A",420304:"\u90E7\u9633\u533A",420322:"\u90E7\u897F\u53BF",420323:"\u7AF9\u5C71\u53BF",420324:"\u7AF9\u6EAA\u53BF",420325:"\u623F\u53BF",420381:"\u4E39\u6C5F\u53E3\u5E02",420502:"\u897F\u9675\u533A",420503:"\u4F0D\u5BB6\u5C97\u533A",420504:"\u70B9\u519B\u533A",420505:"\u7307\u4EAD\u533A",420506:"\u5937\u9675\u533A",420525:"\u8FDC\u5B89\u53BF",420526:"\u5174\u5C71\u53BF",420527:"\u79ED\u5F52\u53BF",420528:"\u957F\u9633\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",420529:"\u4E94\u5CF0\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",420581:"\u5B9C\u90FD\u5E02",420582:"\u5F53\u9633\u5E02",420583:"\u679D\u6C5F\u5E02",420590:"\u7ECF\u6D4E\u5F00\u53D1\u533A",420602:"\u8944\u57CE\u533A",420606:"\u6A0A\u57CE\u533A",420607:"\u8944\u5DDE\u533A",420624:"\u5357\u6F33\u53BF",420625:"\u8C37\u57CE\u53BF",420626:"\u4FDD\u5EB7\u53BF",420682:"\u8001\u6CB3\u53E3\u5E02",420683:"\u67A3\u9633\u5E02",420684:"\u5B9C\u57CE\u5E02",420702:"\u6881\u5B50\u6E56\u533A",420703:"\u534E\u5BB9\u533A",420704:"\u9102\u57CE\u533A",420802:"\u4E1C\u5B9D\u533A",420804:"\u6387\u5200\u533A",420822:"\u6C99\u6D0B\u53BF",420881:"\u949F\u7965\u5E02",420882:"\u4EAC\u5C71\u5E02",420902:"\u5B5D\u5357\u533A",420921:"\u5B5D\u660C\u53BF",420922:"\u5927\u609F\u53BF",420923:"\u4E91\u68A6\u53BF",420981:"\u5E94\u57CE\u5E02",420982:"\u5B89\u9646\u5E02",420984:"\u6C49\u5DDD\u5E02",421002:"\u6C99\u5E02\u533A",421003:"\u8346\u5DDE\u533A",421022:"\u516C\u5B89\u53BF",421023:"\u76D1\u5229\u53BF",421024:"\u6C5F\u9675\u53BF",421081:"\u77F3\u9996\u5E02",421083:"\u6D2A\u6E56\u5E02",421087:"\u677E\u6ECB\u5E02",421102:"\u9EC4\u5DDE\u533A",421121:"\u56E2\u98CE\u53BF",421122:"\u7EA2\u5B89\u53BF",421123:"\u7F57\u7530\u53BF",421124:"\u82F1\u5C71\u53BF",421125:"\u6D60\u6C34\u53BF",421126:"\u8572\u6625\u53BF",421127:"\u9EC4\u6885\u53BF",421171:"\u9F99\u611F\u6E56\u7BA1\u7406\u533A",421181:"\u9EBB\u57CE\u5E02",421182:"\u6B66\u7A74\u5E02",421202:"\u54B8\u5B89\u533A",421221:"\u5609\u9C7C\u53BF",421222:"\u901A\u57CE\u53BF",421223:"\u5D07\u9633\u53BF",421224:"\u901A\u5C71\u53BF",421281:"\u8D64\u58C1\u5E02",421303:"\u66FE\u90FD\u533A",421321:"\u968F\u53BF",421381:"\u5E7F\u6C34\u5E02",422801:"\u6069\u65BD\u5E02",422802:"\u5229\u5DDD\u5E02",422822:"\u5EFA\u59CB\u53BF",422823:"\u5DF4\u4E1C\u53BF",422825:"\u5BA3\u6069\u53BF",422826:"\u54B8\u4E30\u53BF",422827:"\u6765\u51E4\u53BF",422828:"\u9E64\u5CF0\u53BF",429004:"\u4ED9\u6843\u5E02",429005:"\u6F5C\u6C5F\u5E02",429006:"\u5929\u95E8\u5E02",429021:"\u795E\u519C\u67B6\u6797\u533A",430102:"\u8299\u84C9\u533A",430103:"\u5929\u5FC3\u533A",430104:"\u5CB3\u9E93\u533A",430105:"\u5F00\u798F\u533A",430111:"\u96E8\u82B1\u533A",430112:"\u671B\u57CE\u533A",430121:"\u957F\u6C99\u53BF",430181:"\u6D4F\u9633\u5E02",430182:"\u5B81\u4E61\u5E02",430202:"\u8377\u5858\u533A",430203:"\u82A6\u6DDE\u533A",430204:"\u77F3\u5CF0\u533A",430211:"\u5929\u5143\u533A",430212:"\u6E0C\u53E3\u533A",430223:"\u6538\u53BF",430224:"\u8336\u9675\u53BF",430225:"\u708E\u9675\u53BF",430271:"\u4E91\u9F99\u793A\u8303\u533A",430281:"\u91B4\u9675\u5E02",430302:"\u96E8\u6E56\u533A",430304:"\u5CB3\u5858\u533A",430321:"\u6E58\u6F6D\u53BF",430373:"\u6E58\u6F6D\u4E5D\u534E\u793A\u8303\u533A",430381:"\u6E58\u4E61\u5E02",430382:"\u97F6\u5C71\u5E02",430405:"\u73E0\u6656\u533A",430406:"\u96C1\u5CF0\u533A",430407:"\u77F3\u9F13\u533A",430408:"\u84B8\u6E58\u533A",430412:"\u5357\u5CB3\u533A",430421:"\u8861\u9633\u53BF",430422:"\u8861\u5357\u53BF",430423:"\u8861\u5C71\u53BF",430424:"\u8861\u4E1C\u53BF",430426:"\u7941\u4E1C\u53BF",430481:"\u8012\u9633\u5E02",430482:"\u5E38\u5B81\u5E02",430502:"\u53CC\u6E05\u533A",430503:"\u5927\u7965\u533A",430511:"\u5317\u5854\u533A",430522:"\u65B0\u90B5\u53BF",430523:"\u90B5\u9633\u53BF",430524:"\u9686\u56DE\u53BF",430525:"\u6D1E\u53E3\u53BF",430527:"\u7EE5\u5B81\u53BF",430528:"\u65B0\u5B81\u53BF",430529:"\u57CE\u6B65\u82D7\u65CF\u81EA\u6CBB\u53BF",430581:"\u6B66\u5188\u5E02",430582:"\u90B5\u4E1C\u5E02",430602:"\u5CB3\u9633\u697C\u533A",430603:"\u4E91\u6EAA\u533A",430611:"\u541B\u5C71\u533A",430621:"\u5CB3\u9633\u53BF",430623:"\u534E\u5BB9\u53BF",430624:"\u6E58\u9634\u53BF",430626:"\u5E73\u6C5F\u53BF",430681:"\u6C68\u7F57\u5E02",430682:"\u4E34\u6E58\u5E02",430702:"\u6B66\u9675\u533A",430703:"\u9F0E\u57CE\u533A",430721:"\u5B89\u4E61\u53BF",430722:"\u6C49\u5BFF\u53BF",430723:"\u6FA7\u53BF",430724:"\u4E34\u6FA7\u53BF",430725:"\u6843\u6E90\u53BF",430726:"\u77F3\u95E8\u53BF",430781:"\u6D25\u5E02\u5E02",430802:"\u6C38\u5B9A\u533A",430811:"\u6B66\u9675\u6E90\u533A",430821:"\u6148\u5229\u53BF",430822:"\u6851\u690D\u53BF",430902:"\u8D44\u9633\u533A",430903:"\u8D6B\u5C71\u533A",430921:"\u5357\u53BF",430922:"\u6843\u6C5F\u53BF",430923:"\u5B89\u5316\u53BF",430971:"\u76CA\u9633\u5E02\u5927\u901A\u6E56\u7BA1\u7406\u533A",430981:"\u6C85\u6C5F\u5E02",431002:"\u5317\u6E56\u533A",431003:"\u82CF\u4ED9\u533A",431021:"\u6842\u9633\u53BF",431022:"\u5B9C\u7AE0\u53BF",431023:"\u6C38\u5174\u53BF",431024:"\u5609\u79BE\u53BF",431025:"\u4E34\u6B66\u53BF",431026:"\u6C5D\u57CE\u53BF",431027:"\u6842\u4E1C\u53BF",431028:"\u5B89\u4EC1\u53BF",431081:"\u8D44\u5174\u5E02",431102:"\u96F6\u9675\u533A",431103:"\u51B7\u6C34\u6EE9\u533A",431121:"\u7941\u9633\u53BF",431122:"\u4E1C\u5B89\u53BF",431123:"\u53CC\u724C\u53BF",431124:"\u9053\u53BF",431125:"\u6C5F\u6C38\u53BF",431126:"\u5B81\u8FDC\u53BF",431127:"\u84DD\u5C71\u53BF",431128:"\u65B0\u7530\u53BF",431129:"\u6C5F\u534E\u7476\u65CF\u81EA\u6CBB\u53BF",431202:"\u9E64\u57CE\u533A",431221:"\u4E2D\u65B9\u53BF",431222:"\u6C85\u9675\u53BF",431223:"\u8FB0\u6EAA\u53BF",431224:"\u6E86\u6D66\u53BF",431225:"\u4F1A\u540C\u53BF",431226:"\u9EBB\u9633\u82D7\u65CF\u81EA\u6CBB\u53BF",431227:"\u65B0\u6643\u4F97\u65CF\u81EA\u6CBB\u53BF",431228:"\u82B7\u6C5F\u4F97\u65CF\u81EA\u6CBB\u53BF",431229:"\u9756\u5DDE\u82D7\u65CF\u4F97\u65CF\u81EA\u6CBB\u53BF",431230:"\u901A\u9053\u4F97\u65CF\u81EA\u6CBB\u53BF",431271:"\u6000\u5316\u5E02\u6D2A\u6C5F\u7BA1\u7406\u533A",431281:"\u6D2A\u6C5F\u5E02",431302:"\u5A04\u661F\u533A",431321:"\u53CC\u5CF0\u53BF",431322:"\u65B0\u5316\u53BF",431381:"\u51B7\u6C34\u6C5F\u5E02",431382:"\u6D9F\u6E90\u5E02",433101:"\u5409\u9996\u5E02",433122:"\u6CF8\u6EAA\u53BF",433123:"\u51E4\u51F0\u53BF",433124:"\u82B1\u57A3\u53BF",433125:"\u4FDD\u9756\u53BF",433126:"\u53E4\u4E08\u53BF",433127:"\u6C38\u987A\u53BF",433130:"\u9F99\u5C71\u53BF",440103:"\u8354\u6E7E\u533A",440104:"\u8D8A\u79C0\u533A",440105:"\u6D77\u73E0\u533A",440106:"\u5929\u6CB3\u533A",440111:"\u767D\u4E91\u533A",440112:"\u9EC4\u57D4\u533A",440113:"\u756A\u79BA\u533A",440114:"\u82B1\u90FD\u533A",440115:"\u5357\u6C99\u533A",440117:"\u4ECE\u5316\u533A",440118:"\u589E\u57CE\u533A",440203:"\u6B66\u6C5F\u533A",440204:"\u6D48\u6C5F\u533A",440205:"\u66F2\u6C5F\u533A",440222:"\u59CB\u5174\u53BF",440224:"\u4EC1\u5316\u53BF",440229:"\u7FC1\u6E90\u53BF",440232:"\u4E73\u6E90\u7476\u65CF\u81EA\u6CBB\u53BF",440233:"\u65B0\u4E30\u53BF",440281:"\u4E50\u660C\u5E02",440282:"\u5357\u96C4\u5E02",440303:"\u7F57\u6E56\u533A",440304:"\u798F\u7530\u533A",440305:"\u5357\u5C71\u533A",440306:"\u5B9D\u5B89\u533A",440307:"\u9F99\u5C97\u533A",440308:"\u76D0\u7530\u533A",440309:"\u9F99\u534E\u533A",440310:"\u576A\u5C71\u533A",440311:"\u5149\u660E\u533A",440402:"\u9999\u6D32\u533A",440403:"\u6597\u95E8\u533A",440404:"\u91D1\u6E7E\u533A",440507:"\u9F99\u6E56\u533A",440511:"\u91D1\u5E73\u533A",440512:"\u6FE0\u6C5F\u533A",440513:"\u6F6E\u9633\u533A",440514:"\u6F6E\u5357\u533A",440515:"\u6F84\u6D77\u533A",440523:"\u5357\u6FB3\u53BF",440604:"\u7985\u57CE\u533A",440605:"\u5357\u6D77\u533A",440606:"\u987A\u5FB7\u533A",440607:"\u4E09\u6C34\u533A",440608:"\u9AD8\u660E\u533A",440703:"\u84EC\u6C5F\u533A",440704:"\u6C5F\u6D77\u533A",440705:"\u65B0\u4F1A\u533A",440781:"\u53F0\u5C71\u5E02",440783:"\u5F00\u5E73\u5E02",440784:"\u9E64\u5C71\u5E02",440785:"\u6069\u5E73\u5E02",440802:"\u8D64\u574E\u533A",440803:"\u971E\u5C71\u533A",440804:"\u5761\u5934\u533A",440811:"\u9EBB\u7AE0\u533A",440823:"\u9042\u6EAA\u53BF",440825:"\u5F90\u95FB\u53BF",440881:"\u5EC9\u6C5F\u5E02",440882:"\u96F7\u5DDE\u5E02",440883:"\u5434\u5DDD\u5E02",440890:"\u7ECF\u6D4E\u6280\u672F\u5F00\u53D1\u533A",440902:"\u8302\u5357\u533A",440904:"\u7535\u767D\u533A",440981:"\u9AD8\u5DDE\u5E02",440982:"\u5316\u5DDE\u5E02",440983:"\u4FE1\u5B9C\u5E02",441202:"\u7AEF\u5DDE\u533A",441203:"\u9F0E\u6E56\u533A",441204:"\u9AD8\u8981\u533A",441223:"\u5E7F\u5B81\u53BF",441224:"\u6000\u96C6\u53BF",441225:"\u5C01\u5F00\u53BF",441226:"\u5FB7\u5E86\u53BF",441284:"\u56DB\u4F1A\u5E02",441302:"\u60E0\u57CE\u533A",441303:"\u60E0\u9633\u533A",441322:"\u535A\u7F57\u53BF",441323:"\u60E0\u4E1C\u53BF",441324:"\u9F99\u95E8\u53BF",441402:"\u6885\u6C5F\u533A",441403:"\u6885\u53BF\u533A",441422:"\u5927\u57D4\u53BF",441423:"\u4E30\u987A\u53BF",441424:"\u4E94\u534E\u53BF",441426:"\u5E73\u8FDC\u53BF",441427:"\u8549\u5CAD\u53BF",441481:"\u5174\u5B81\u5E02",441502:"\u57CE\u533A",441521:"\u6D77\u4E30\u53BF",441523:"\u9646\u6CB3\u53BF",441581:"\u9646\u4E30\u5E02",441602:"\u6E90\u57CE\u533A",441621:"\u7D2B\u91D1\u53BF",441622:"\u9F99\u5DDD\u53BF",441623:"\u8FDE\u5E73\u53BF",441624:"\u548C\u5E73\u53BF",441625:"\u4E1C\u6E90\u53BF",441702:"\u6C5F\u57CE\u533A",441704:"\u9633\u4E1C\u533A",441721:"\u9633\u897F\u53BF",441781:"\u9633\u6625\u5E02",441802:"\u6E05\u57CE\u533A",441803:"\u6E05\u65B0\u533A",441821:"\u4F5B\u5188\u53BF",441823:"\u9633\u5C71\u53BF",441825:"\u8FDE\u5C71\u58EE\u65CF\u7476\u65CF\u81EA\u6CBB\u53BF",441826:"\u8FDE\u5357\u7476\u65CF\u81EA\u6CBB\u53BF",441881:"\u82F1\u5FB7\u5E02",441882:"\u8FDE\u5DDE\u5E02",441901:"\u4E2D\u5802\u9547",441903:"\u5357\u57CE\u8857\u9053",441904:"\u957F\u5B89\u9547",441905:"\u4E1C\u5751\u9547",441906:"\u6A1F\u6728\u5934\u9547",441907:"\u839E\u57CE\u8857\u9053",441908:"\u77F3\u9F99\u9547",441909:"\u6865\u5934\u9547",441910:"\u4E07\u6C5F\u8857\u9053",441911:"\u9EBB\u6D8C\u9547",441912:"\u864E\u95E8\u9547",441913:"\u8C22\u5C97\u9547",441914:"\u77F3\u78A3\u9547",441915:"\u8336\u5C71\u9547",441916:"\u4E1C\u57CE\u8857\u9053",441917:"\u6D2A\u6885\u9547",441918:"\u9053\u6ED8\u9547",441919:"\u9AD8\u57D7\u9547",441920:"\u4F01\u77F3\u9547",441921:"\u51E4\u5C97\u9547",441922:"\u5927\u5CAD\u5C71\u9547",441923:"\u677E\u5C71\u6E56",441924:"\u6E05\u6EAA\u9547",441925:"\u671B\u725B\u58A9\u9547",441926:"\u539A\u8857\u9547",441927:"\u5E38\u5E73\u9547",441928:"\u5BEE\u6B65\u9547",441929:"\u77F3\u6392\u9547",441930:"\u6A2A\u6CA5\u9547",441931:"\u5858\u53A6\u9547",441932:"\u9EC4\u6C5F\u9547",441933:"\u5927\u6717\u9547",441934:"\u4E1C\u839E\u6E2F",441935:"\u4E1C\u839E\u751F\u6001\u56ED",441990:"\u6C99\u7530\u9547",442001:"\u5357\u5934\u9547",442002:"\u795E\u6E7E\u9547",442003:"\u4E1C\u51E4\u9547",442004:"\u4E94\u6842\u5C71\u8857\u9053",442005:"\u9EC4\u5703\u9547",442006:"\u5C0F\u6984\u9547",442007:"\u77F3\u5C90\u8857\u9053",442008:"\u6A2A\u680F\u9547",442009:"\u4E09\u89D2\u9547",442010:"\u4E09\u4E61\u9547",442011:"\u6E2F\u53E3\u9547",442012:"\u6C99\u6EAA\u9547",442013:"\u677F\u8299\u9547",442015:"\u4E1C\u5347\u9547",442016:"\u961C\u6C99\u9547",442017:"\u6C11\u4F17\u9547",442018:"\u4E1C\u533A\u8857\u9053",442019:"\u706B\u70AC\u5F00\u53D1\u533A\u8857\u9053\u529E\u4E8B\u5904",442020:"\u897F\u533A\u8857\u9053",442021:"\u5357\u533A\u8857\u9053",442022:"\u53E4\u9547\u9547",442023:"\u5766\u6D32\u9547",442024:"\u5927\u6D8C\u9547",442025:"\u5357\u6717\u9547",445102:"\u6E58\u6865\u533A",445103:"\u6F6E\u5B89\u533A",445122:"\u9976\u5E73\u53BF",445202:"\u6995\u57CE\u533A",445203:"\u63ED\u4E1C\u533A",445222:"\u63ED\u897F\u53BF",445224:"\u60E0\u6765\u53BF",445281:"\u666E\u5B81\u5E02",445302:"\u4E91\u57CE\u533A",445303:"\u4E91\u5B89\u533A",445321:"\u65B0\u5174\u53BF",445322:"\u90C1\u5357\u53BF",445381:"\u7F57\u5B9A\u5E02",450102:"\u5174\u5B81\u533A",450103:"\u9752\u79C0\u533A",450105:"\u6C5F\u5357\u533A",450107:"\u897F\u4E61\u5858\u533A",450108:"\u826F\u5E86\u533A",450109:"\u9095\u5B81\u533A",450110:"\u6B66\u9E23\u533A",450123:"\u9686\u5B89\u53BF",450124:"\u9A6C\u5C71\u53BF",450125:"\u4E0A\u6797\u53BF",450126:"\u5BBE\u9633\u53BF",450127:"\u6A2A\u53BF",450202:"\u57CE\u4E2D\u533A",450203:"\u9C7C\u5CF0\u533A",450204:"\u67F3\u5357\u533A",450205:"\u67F3\u5317\u533A",450206:"\u67F3\u6C5F\u533A",450222:"\u67F3\u57CE\u53BF",450223:"\u9E7F\u5BE8\u53BF",450224:"\u878D\u5B89\u53BF",450225:"\u878D\u6C34\u82D7\u65CF\u81EA\u6CBB\u53BF",450226:"\u4E09\u6C5F\u4F97\u65CF\u81EA\u6CBB\u53BF",450302:"\u79C0\u5CF0\u533A",450303:"\u53E0\u5F69\u533A",450304:"\u8C61\u5C71\u533A",450305:"\u4E03\u661F\u533A",450311:"\u96C1\u5C71\u533A",450312:"\u4E34\u6842\u533A",450321:"\u9633\u6714\u53BF",450323:"\u7075\u5DDD\u53BF",450324:"\u5168\u5DDE\u53BF",450325:"\u5174\u5B89\u53BF",450326:"\u6C38\u798F\u53BF",450327:"\u704C\u9633\u53BF",450328:"\u9F99\u80DC\u5404\u65CF\u81EA\u6CBB\u53BF",450329:"\u8D44\u6E90\u53BF",450330:"\u5E73\u4E50\u53BF",450332:"\u606D\u57CE\u7476\u65CF\u81EA\u6CBB\u53BF",450381:"\u8354\u6D66\u5E02",450403:"\u4E07\u79C0\u533A",450405:"\u957F\u6D32\u533A",450406:"\u9F99\u5729\u533A",450421:"\u82CD\u68A7\u53BF",450422:"\u85E4\u53BF",450423:"\u8499\u5C71\u53BF",450481:"\u5C91\u6EAA\u5E02",450502:"\u6D77\u57CE\u533A",450503:"\u94F6\u6D77\u533A",450512:"\u94C1\u5C71\u6E2F\u533A",450521:"\u5408\u6D66\u53BF",450602:"\u6E2F\u53E3\u533A",450603:"\u9632\u57CE\u533A",450621:"\u4E0A\u601D\u53BF",450681:"\u4E1C\u5174\u5E02",450702:"\u94A6\u5357\u533A",450703:"\u94A6\u5317\u533A",450721:"\u7075\u5C71\u53BF",450722:"\u6D66\u5317\u53BF",450802:"\u6E2F\u5317\u533A",450803:"\u6E2F\u5357\u533A",450804:"\u8983\u5858\u533A",450821:"\u5E73\u5357\u53BF",450881:"\u6842\u5E73\u5E02",450902:"\u7389\u5DDE\u533A",450903:"\u798F\u7EF5\u533A",450921:"\u5BB9\u53BF",450922:"\u9646\u5DDD\u53BF",450923:"\u535A\u767D\u53BF",450924:"\u5174\u4E1A\u53BF",450981:"\u5317\u6D41\u5E02",451002:"\u53F3\u6C5F\u533A",451003:"\u7530\u9633\u533A",451022:"\u7530\u4E1C\u53BF",451024:"\u5FB7\u4FDD\u53BF",451026:"\u90A3\u5761\u53BF",451027:"\u51CC\u4E91\u53BF",451028:"\u4E50\u4E1A\u53BF",451029:"\u7530\u6797\u53BF",451030:"\u897F\u6797\u53BF",451031:"\u9686\u6797\u5404\u65CF\u81EA\u6CBB\u53BF",451081:"\u9756\u897F\u5E02",451082:"\u5E73\u679C\u5E02",451102:"\u516B\u6B65\u533A",451103:"\u5E73\u6842\u533A",451121:"\u662D\u5E73\u53BF",451122:"\u949F\u5C71\u53BF",451123:"\u5BCC\u5DDD\u7476\u65CF\u81EA\u6CBB\u53BF",451202:"\u91D1\u57CE\u6C5F\u533A",451203:"\u5B9C\u5DDE\u533A",451221:"\u5357\u4E39\u53BF",451222:"\u5929\u5CE8\u53BF",451223:"\u51E4\u5C71\u53BF",451224:"\u4E1C\u5170\u53BF",451225:"\u7F57\u57CE\u4EEB\u4F6C\u65CF\u81EA\u6CBB\u53BF",451226:"\u73AF\u6C5F\u6BDB\u5357\u65CF\u81EA\u6CBB\u53BF",451227:"\u5DF4\u9A6C\u7476\u65CF\u81EA\u6CBB\u53BF",451228:"\u90FD\u5B89\u7476\u65CF\u81EA\u6CBB\u53BF",451229:"\u5927\u5316\u7476\u65CF\u81EA\u6CBB\u53BF",451302:"\u5174\u5BBE\u533A",451321:"\u5FFB\u57CE\u53BF",451322:"\u8C61\u5DDE\u53BF",451323:"\u6B66\u5BA3\u53BF",451324:"\u91D1\u79C0\u7476\u65CF\u81EA\u6CBB\u53BF",451381:"\u5408\u5C71\u5E02",451402:"\u6C5F\u5DDE\u533A",451421:"\u6276\u7EE5\u53BF",451422:"\u5B81\u660E\u53BF",451423:"\u9F99\u5DDE\u53BF",451424:"\u5927\u65B0\u53BF",451425:"\u5929\u7B49\u53BF",451481:"\u51ED\u7965\u5E02",460105:"\u79C0\u82F1\u533A",460106:"\u9F99\u534E\u533A",460107:"\u743C\u5C71\u533A",460108:"\u7F8E\u5170\u533A",460202:"\u6D77\u68E0\u533A",460203:"\u5409\u9633\u533A",460204:"\u5929\u6DAF\u533A",460205:"\u5D16\u5DDE\u533A",460321:"\u897F\u6C99\u533A",460322:"\u5357\u6C99\u533A",460401:"\u90A3\u5927\u9547",460402:"\u548C\u5E86\u9547",460403:"\u5357\u4E30\u9547",460404:"\u5927\u6210\u9547",460405:"\u96C5\u661F\u9547",460406:"\u5170\u6D0B\u9547",460407:"\u5149\u6751\u9547",460408:"\u6728\u68E0\u9547",460409:"\u6D77\u5934\u9547",460410:"\u5CE8\u8513\u9547",460411:"\u738B\u4E94\u9547",460412:"\u767D\u9A6C\u4E95\u9547",460413:"\u4E2D\u548C\u9547",460414:"\u6392\u6D66\u9547",460415:"\u4E1C\u6210\u9547",460416:"\u65B0\u5DDE\u9547",460417:"\u6D0B\u6D66\u7ECF\u6D4E\u5F00\u53D1\u533A",460418:"\u534E\u5357\u70ED\u4F5C\u5B66\u9662",469001:"\u4E94\u6307\u5C71\u5E02",469002:"\u743C\u6D77\u5E02",469005:"\u6587\u660C\u5E02",469006:"\u4E07\u5B81\u5E02",469007:"\u4E1C\u65B9\u5E02",469021:"\u5B9A\u5B89\u53BF",469022:"\u5C6F\u660C\u53BF",469023:"\u6F84\u8FC8\u53BF",469024:"\u4E34\u9AD8\u53BF",469025:"\u767D\u6C99\u9ECE\u65CF\u81EA\u6CBB\u53BF",469026:"\u660C\u6C5F\u9ECE\u65CF\u81EA\u6CBB\u53BF",469027:"\u4E50\u4E1C\u9ECE\u65CF\u81EA\u6CBB\u53BF",469028:"\u9675\u6C34\u9ECE\u65CF\u81EA\u6CBB\u53BF",469029:"\u4FDD\u4EAD\u9ECE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",469030:"\u743C\u4E2D\u9ECE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500101:"\u4E07\u5DDE\u533A",500102:"\u6DAA\u9675\u533A",500103:"\u6E1D\u4E2D\u533A",500104:"\u5927\u6E21\u53E3\u533A",500105:"\u6C5F\u5317\u533A",500106:"\u6C99\u576A\u575D\u533A",500107:"\u4E5D\u9F99\u5761\u533A",500108:"\u5357\u5CB8\u533A",500109:"\u5317\u789A\u533A",500110:"\u7DA6\u6C5F\u533A",500111:"\u5927\u8DB3\u533A",500112:"\u6E1D\u5317\u533A",500113:"\u5DF4\u5357\u533A",500114:"\u9ED4\u6C5F\u533A",500115:"\u957F\u5BFF\u533A",500116:"\u6C5F\u6D25\u533A",500117:"\u5408\u5DDD\u533A",500118:"\u6C38\u5DDD\u533A",500119:"\u5357\u5DDD\u533A",500120:"\u74A7\u5C71\u533A",500151:"\u94DC\u6881\u533A",500152:"\u6F7C\u5357\u533A",500153:"\u8363\u660C\u533A",500154:"\u5F00\u5DDE\u533A",500155:"\u6881\u5E73\u533A",500156:"\u6B66\u9686\u533A",500229:"\u57CE\u53E3\u53BF",500230:"\u4E30\u90FD\u53BF",500231:"\u57AB\u6C5F\u53BF",500233:"\u5FE0\u53BF",500235:"\u4E91\u9633\u53BF",500236:"\u5949\u8282\u53BF",500237:"\u5DEB\u5C71\u53BF",500238:"\u5DEB\u6EAA\u53BF",500240:"\u77F3\u67F1\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",500241:"\u79C0\u5C71\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500242:"\u9149\u9633\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",500243:"\u5F6D\u6C34\u82D7\u65CF\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",510104:"\u9526\u6C5F\u533A",510105:"\u9752\u7F8A\u533A",510106:"\u91D1\u725B\u533A",510107:"\u6B66\u4FAF\u533A",510108:"\u6210\u534E\u533A",510112:"\u9F99\u6CC9\u9A7F\u533A",510113:"\u9752\u767D\u6C5F\u533A",510114:"\u65B0\u90FD\u533A",510115:"\u6E29\u6C5F\u533A",510116:"\u53CC\u6D41\u533A",510117:"\u90EB\u90FD\u533A",510121:"\u91D1\u5802\u53BF",510129:"\u5927\u9091\u53BF",510131:"\u84B2\u6C5F\u53BF",510132:"\u65B0\u6D25\u53BF",510181:"\u90FD\u6C5F\u5830\u5E02",510182:"\u5F6D\u5DDE\u5E02",510183:"\u909B\u5D03\u5E02",510184:"\u5D07\u5DDE\u5E02",510185:"\u7B80\u9633\u5E02",510191:"\u9AD8\u65B0\u533A",510302:"\u81EA\u6D41\u4E95\u533A",510303:"\u8D21\u4E95\u533A",510304:"\u5927\u5B89\u533A",510311:"\u6CBF\u6EE9\u533A",510321:"\u8363\u53BF",510322:"\u5BCC\u987A\u53BF",510402:"\u4E1C\u533A",510403:"\u897F\u533A",510411:"\u4EC1\u548C\u533A",510421:"\u7C73\u6613\u53BF",510422:"\u76D0\u8FB9\u53BF",510502:"\u6C5F\u9633\u533A",510503:"\u7EB3\u6EAA\u533A",510504:"\u9F99\u9A6C\u6F6D\u533A",510521:"\u6CF8\u53BF",510522:"\u5408\u6C5F\u53BF",510524:"\u53D9\u6C38\u53BF",510525:"\u53E4\u853A\u53BF",510603:"\u65CC\u9633\u533A",510604:"\u7F57\u6C5F\u533A",510623:"\u4E2D\u6C5F\u53BF",510681:"\u5E7F\u6C49\u5E02",510682:"\u4EC0\u90A1\u5E02",510683:"\u7EF5\u7AF9\u5E02",510703:"\u6DAA\u57CE\u533A",510704:"\u6E38\u4ED9\u533A",510705:"\u5B89\u5DDE\u533A",510722:"\u4E09\u53F0\u53BF",510723:"\u76D0\u4EAD\u53BF",510725:"\u6893\u6F7C\u53BF",510726:"\u5317\u5DDD\u7F8C\u65CF\u81EA\u6CBB\u53BF",510727:"\u5E73\u6B66\u53BF",510781:"\u6C5F\u6CB9\u5E02",510791:"\u9AD8\u65B0\u533A",510802:"\u5229\u5DDE\u533A",510811:"\u662D\u5316\u533A",510812:"\u671D\u5929\u533A",510821:"\u65FA\u82CD\u53BF",510822:"\u9752\u5DDD\u53BF",510823:"\u5251\u9601\u53BF",510824:"\u82CD\u6EAA\u53BF",510903:"\u8239\u5C71\u533A",510904:"\u5B89\u5C45\u533A",510921:"\u84EC\u6EAA\u53BF",510923:"\u5927\u82F1\u53BF",510981:"\u5C04\u6D2A\u5E02",511002:"\u5E02\u4E2D\u533A",511011:"\u4E1C\u5174\u533A",511024:"\u5A01\u8FDC\u53BF",511025:"\u8D44\u4E2D\u53BF",511083:"\u9686\u660C\u5E02",511102:"\u5E02\u4E2D\u533A",511111:"\u6C99\u6E7E\u533A",511112:"\u4E94\u901A\u6865\u533A",511113:"\u91D1\u53E3\u6CB3\u533A",511123:"\u728D\u4E3A\u53BF",511124:"\u4E95\u7814\u53BF",511126:"\u5939\u6C5F\u53BF",511129:"\u6C90\u5DDD\u53BF",511132:"\u5CE8\u8FB9\u5F5D\u65CF\u81EA\u6CBB\u53BF",511133:"\u9A6C\u8FB9\u5F5D\u65CF\u81EA\u6CBB\u53BF",511181:"\u5CE8\u7709\u5C71\u5E02",511302:"\u987A\u5E86\u533A",511303:"\u9AD8\u576A\u533A",511304:"\u5609\u9675\u533A",511321:"\u5357\u90E8\u53BF",511322:"\u8425\u5C71\u53BF",511323:"\u84EC\u5B89\u53BF",511324:"\u4EEA\u9647\u53BF",511325:"\u897F\u5145\u53BF",511381:"\u9606\u4E2D\u5E02",511402:"\u4E1C\u5761\u533A",511403:"\u5F6D\u5C71\u533A",511421:"\u4EC1\u5BFF\u53BF",511423:"\u6D2A\u96C5\u53BF",511424:"\u4E39\u68F1\u53BF",511425:"\u9752\u795E\u53BF",511502:"\u7FE0\u5C4F\u533A",511503:"\u5357\u6EAA\u533A",511504:"\u53D9\u5DDE\u533A",511523:"\u6C5F\u5B89\u53BF",511524:"\u957F\u5B81\u53BF",511525:"\u9AD8\u53BF",511526:"\u73D9\u53BF",511527:"\u7B60\u8FDE\u53BF",511528:"\u5174\u6587\u53BF",511529:"\u5C4F\u5C71\u53BF",511602:"\u5E7F\u5B89\u533A",511603:"\u524D\u950B\u533A",511621:"\u5CB3\u6C60\u53BF",511622:"\u6B66\u80DC\u53BF",511623:"\u90BB\u6C34\u53BF",511681:"\u534E\u84E5\u5E02",511702:"\u901A\u5DDD\u533A",511703:"\u8FBE\u5DDD\u533A",511722:"\u5BA3\u6C49\u53BF",511723:"\u5F00\u6C5F\u53BF",511724:"\u5927\u7AF9\u53BF",511725:"\u6E20\u53BF",511781:"\u4E07\u6E90\u5E02",511802:"\u96E8\u57CE\u533A",511803:"\u540D\u5C71\u533A",511822:"\u8365\u7ECF\u53BF",511823:"\u6C49\u6E90\u53BF",511824:"\u77F3\u68C9\u53BF",511825:"\u5929\u5168\u53BF",511826:"\u82A6\u5C71\u53BF",511827:"\u5B9D\u5174\u53BF",511902:"\u5DF4\u5DDE\u533A",511903:"\u6069\u9633\u533A",511921:"\u901A\u6C5F\u53BF",511922:"\u5357\u6C5F\u53BF",511923:"\u5E73\u660C\u53BF",511971:"\u5DF4\u4E2D\u7ECF\u6D4E\u5F00\u53D1\u533A",512002:"\u96C1\u6C5F\u533A",512021:"\u5B89\u5CB3\u53BF",512022:"\u4E50\u81F3\u53BF",513201:"\u9A6C\u5C14\u5EB7\u5E02",513221:"\u6C76\u5DDD\u53BF",513222:"\u7406\u53BF",513223:"\u8302\u53BF",513224:"\u677E\u6F58\u53BF",513225:"\u4E5D\u5BE8\u6C9F\u53BF",513226:"\u91D1\u5DDD\u53BF",513227:"\u5C0F\u91D1\u53BF",513228:"\u9ED1\u6C34\u53BF",513230:"\u58E4\u5858\u53BF",513231:"\u963F\u575D\u53BF",513232:"\u82E5\u5C14\u76D6\u53BF",513233:"\u7EA2\u539F\u53BF",513301:"\u5EB7\u5B9A\u5E02",513322:"\u6CF8\u5B9A\u53BF",513323:"\u4E39\u5DF4\u53BF",513324:"\u4E5D\u9F99\u53BF",513325:"\u96C5\u6C5F\u53BF",513326:"\u9053\u5B5A\u53BF",513327:"\u7089\u970D\u53BF",513328:"\u7518\u5B5C\u53BF",513329:"\u65B0\u9F99\u53BF",513330:"\u5FB7\u683C\u53BF",513331:"\u767D\u7389\u53BF",513332:"\u77F3\u6E20\u53BF",513333:"\u8272\u8FBE\u53BF",513334:"\u7406\u5858\u53BF",513335:"\u5DF4\u5858\u53BF",513336:"\u4E61\u57CE\u53BF",513337:"\u7A3B\u57CE\u53BF",513338:"\u5F97\u8363\u53BF",513401:"\u897F\u660C\u5E02",513422:"\u6728\u91CC\u85CF\u65CF\u81EA\u6CBB\u53BF",513423:"\u76D0\u6E90\u53BF",513424:"\u5FB7\u660C\u53BF",513425:"\u4F1A\u7406\u53BF",513426:"\u4F1A\u4E1C\u53BF",513427:"\u5B81\u5357\u53BF",513428:"\u666E\u683C\u53BF",513429:"\u5E03\u62D6\u53BF",513430:"\u91D1\u9633\u53BF",513431:"\u662D\u89C9\u53BF",513432:"\u559C\u5FB7\u53BF",513433:"\u5195\u5B81\u53BF",513434:"\u8D8A\u897F\u53BF",513435:"\u7518\u6D1B\u53BF",513436:"\u7F8E\u59D1\u53BF",513437:"\u96F7\u6CE2\u53BF",520102:"\u5357\u660E\u533A",520103:"\u4E91\u5CA9\u533A",520111:"\u82B1\u6EAA\u533A",520112:"\u4E4C\u5F53\u533A",520113:"\u767D\u4E91\u533A",520115:"\u89C2\u5C71\u6E56\u533A",520121:"\u5F00\u9633\u53BF",520122:"\u606F\u70FD\u53BF",520123:"\u4FEE\u6587\u53BF",520181:"\u6E05\u9547\u5E02",520201:"\u949F\u5C71\u533A",520203:"\u516D\u679D\u7279\u533A",520221:"\u6C34\u57CE\u53BF",520281:"\u76D8\u5DDE\u5E02",520302:"\u7EA2\u82B1\u5C97\u533A",520303:"\u6C47\u5DDD\u533A",520304:"\u64AD\u5DDE\u533A",520322:"\u6850\u6893\u53BF",520323:"\u7EE5\u9633\u53BF",520324:"\u6B63\u5B89\u53BF",520325:"\u9053\u771F\u4EE1\u4F6C\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520326:"\u52A1\u5DDD\u4EE1\u4F6C\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520327:"\u51E4\u5188\u53BF",520328:"\u6E44\u6F6D\u53BF",520329:"\u4F59\u5E86\u53BF",520330:"\u4E60\u6C34\u53BF",520381:"\u8D64\u6C34\u5E02",520382:"\u4EC1\u6000\u5E02",520402:"\u897F\u79C0\u533A",520403:"\u5E73\u575D\u533A",520422:"\u666E\u5B9A\u53BF",520423:"\u9547\u5B81\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520424:"\u5173\u5CAD\u5E03\u4F9D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520425:"\u7D2B\u4E91\u82D7\u65CF\u5E03\u4F9D\u65CF\u81EA\u6CBB\u53BF",520502:"\u4E03\u661F\u5173\u533A",520521:"\u5927\u65B9\u53BF",520522:"\u9ED4\u897F\u53BF",520523:"\u91D1\u6C99\u53BF",520524:"\u7EC7\u91D1\u53BF",520525:"\u7EB3\u96CD\u53BF",520526:"\u5A01\u5B81\u5F5D\u65CF\u56DE\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520527:"\u8D6B\u7AE0\u53BF",520602:"\u78A7\u6C5F\u533A",520603:"\u4E07\u5C71\u533A",520621:"\u6C5F\u53E3\u53BF",520622:"\u7389\u5C4F\u4F97\u65CF\u81EA\u6CBB\u53BF",520623:"\u77F3\u9621\u53BF",520624:"\u601D\u5357\u53BF",520625:"\u5370\u6C5F\u571F\u5BB6\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",520626:"\u5FB7\u6C5F\u53BF",520627:"\u6CBF\u6CB3\u571F\u5BB6\u65CF\u81EA\u6CBB\u53BF",520628:"\u677E\u6843\u82D7\u65CF\u81EA\u6CBB\u53BF",522301:"\u5174\u4E49\u5E02",522302:"\u5174\u4EC1\u5E02",522323:"\u666E\u5B89\u53BF",522324:"\u6674\u9686\u53BF",522325:"\u8D1E\u4E30\u53BF",522326:"\u671B\u8C1F\u53BF",522327:"\u518C\u4EA8\u53BF",522328:"\u5B89\u9F99\u53BF",522601:"\u51EF\u91CC\u5E02",522622:"\u9EC4\u5E73\u53BF",522623:"\u65BD\u79C9\u53BF",522624:"\u4E09\u7A57\u53BF",522625:"\u9547\u8FDC\u53BF",522626:"\u5C91\u5DE9\u53BF",522627:"\u5929\u67F1\u53BF",522628:"\u9526\u5C4F\u53BF",522629:"\u5251\u6CB3\u53BF",522630:"\u53F0\u6C5F\u53BF",522631:"\u9ECE\u5E73\u53BF",522632:"\u6995\u6C5F\u53BF",522633:"\u4ECE\u6C5F\u53BF",522634:"\u96F7\u5C71\u53BF",522635:"\u9EBB\u6C5F\u53BF",522636:"\u4E39\u5BE8\u53BF",522701:"\u90FD\u5300\u5E02",522702:"\u798F\u6CC9\u5E02",522722:"\u8354\u6CE2\u53BF",522723:"\u8D35\u5B9A\u53BF",522725:"\u74EE\u5B89\u53BF",522726:"\u72EC\u5C71\u53BF",522727:"\u5E73\u5858\u53BF",522728:"\u7F57\u7538\u53BF",522729:"\u957F\u987A\u53BF",522730:"\u9F99\u91CC\u53BF",522731:"\u60E0\u6C34\u53BF",522732:"\u4E09\u90FD\u6C34\u65CF\u81EA\u6CBB\u53BF",530102:"\u4E94\u534E\u533A",530103:"\u76D8\u9F99\u533A",530111:"\u5B98\u6E21\u533A",530112:"\u897F\u5C71\u533A",530113:"\u4E1C\u5DDD\u533A",530114:"\u5448\u8D21\u533A",530115:"\u664B\u5B81\u533A",530124:"\u5BCC\u6C11\u53BF",530125:"\u5B9C\u826F\u53BF",530126:"\u77F3\u6797\u5F5D\u65CF\u81EA\u6CBB\u53BF",530127:"\u5D69\u660E\u53BF",530128:"\u7984\u529D\u5F5D\u65CF\u82D7\u65CF\u81EA\u6CBB\u53BF",530129:"\u5BFB\u7538\u56DE\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530181:"\u5B89\u5B81\u5E02",530302:"\u9E92\u9E9F\u533A",530303:"\u6CBE\u76CA\u533A",530304:"\u9A6C\u9F99\u533A",530322:"\u9646\u826F\u53BF",530323:"\u5E08\u5B97\u53BF",530324:"\u7F57\u5E73\u53BF",530325:"\u5BCC\u6E90\u53BF",530326:"\u4F1A\u6CFD\u53BF",530381:"\u5BA3\u5A01\u5E02",530402:"\u7EA2\u5854\u533A",530403:"\u6C5F\u5DDD\u533A",530423:"\u901A\u6D77\u53BF",530424:"\u534E\u5B81\u53BF",530425:"\u6613\u95E8\u53BF",530426:"\u5CE8\u5C71\u5F5D\u65CF\u81EA\u6CBB\u53BF",530427:"\u65B0\u5E73\u5F5D\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530428:"\u5143\u6C5F\u54C8\u5C3C\u65CF\u5F5D\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530481:"\u6F84\u6C5F\u5E02",530502:"\u9686\u9633\u533A",530521:"\u65BD\u7538\u53BF",530523:"\u9F99\u9675\u53BF",530524:"\u660C\u5B81\u53BF",530581:"\u817E\u51B2\u5E02",530602:"\u662D\u9633\u533A",530621:"\u9C81\u7538\u53BF",530622:"\u5DE7\u5BB6\u53BF",530623:"\u76D0\u6D25\u53BF",530624:"\u5927\u5173\u53BF",530625:"\u6C38\u5584\u53BF",530626:"\u7EE5\u6C5F\u53BF",530627:"\u9547\u96C4\u53BF",530628:"\u5F5D\u826F\u53BF",530629:"\u5A01\u4FE1\u53BF",530681:"\u6C34\u5BCC\u5E02",530702:"\u53E4\u57CE\u533A",530721:"\u7389\u9F99\u7EB3\u897F\u65CF\u81EA\u6CBB\u53BF",530722:"\u6C38\u80DC\u53BF",530723:"\u534E\u576A\u53BF",530724:"\u5B81\u8497\u5F5D\u65CF\u81EA\u6CBB\u53BF",530802:"\u601D\u8305\u533A",530821:"\u5B81\u6D31\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530822:"\u58A8\u6C5F\u54C8\u5C3C\u65CF\u81EA\u6CBB\u53BF",530823:"\u666F\u4E1C\u5F5D\u65CF\u81EA\u6CBB\u53BF",530824:"\u666F\u8C37\u50A3\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530825:"\u9547\u6C85\u5F5D\u65CF\u54C8\u5C3C\u65CF\u62C9\u795C\u65CF\u81EA\u6CBB\u53BF",530826:"\u6C5F\u57CE\u54C8\u5C3C\u65CF\u5F5D\u65CF\u81EA\u6CBB\u53BF",530827:"\u5B5F\u8FDE\u50A3\u65CF\u62C9\u795C\u65CF\u4F64\u65CF\u81EA\u6CBB\u53BF",530828:"\u6F9C\u6CA7\u62C9\u795C\u65CF\u81EA\u6CBB\u53BF",530829:"\u897F\u76DF\u4F64\u65CF\u81EA\u6CBB\u53BF",530902:"\u4E34\u7FD4\u533A",530921:"\u51E4\u5E86\u53BF",530922:"\u4E91\u53BF",530923:"\u6C38\u5FB7\u53BF",530924:"\u9547\u5EB7\u53BF",530925:"\u53CC\u6C5F\u62C9\u795C\u65CF\u4F64\u65CF\u5E03\u6717\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",530926:"\u803F\u9A6C\u50A3\u65CF\u4F64\u65CF\u81EA\u6CBB\u53BF",530927:"\u6CA7\u6E90\u4F64\u65CF\u81EA\u6CBB\u53BF",532301:"\u695A\u96C4\u5E02",532322:"\u53CC\u67CF\u53BF",532323:"\u725F\u5B9A\u53BF",532324:"\u5357\u534E\u53BF",532325:"\u59DA\u5B89\u53BF",532326:"\u5927\u59DA\u53BF",532327:"\u6C38\u4EC1\u53BF",532328:"\u5143\u8C0B\u53BF",532329:"\u6B66\u5B9A\u53BF",532331:"\u7984\u4E30\u53BF",532501:"\u4E2A\u65E7\u5E02",532502:"\u5F00\u8FDC\u5E02",532503:"\u8499\u81EA\u5E02",532504:"\u5F25\u52D2\u5E02",532523:"\u5C4F\u8FB9\u82D7\u65CF\u81EA\u6CBB\u53BF",532524:"\u5EFA\u6C34\u53BF",532525:"\u77F3\u5C4F\u53BF",532527:"\u6CF8\u897F\u53BF",532528:"\u5143\u9633\u53BF",532529:"\u7EA2\u6CB3\u53BF",532530:"\u91D1\u5E73\u82D7\u65CF\u7476\u65CF\u50A3\u65CF\u81EA\u6CBB\u53BF",532531:"\u7EFF\u6625\u53BF",532532:"\u6CB3\u53E3\u7476\u65CF\u81EA\u6CBB\u53BF",532601:"\u6587\u5C71\u5E02",532622:"\u781A\u5C71\u53BF",532623:"\u897F\u7574\u53BF",532624:"\u9EBB\u6817\u5761\u53BF",532625:"\u9A6C\u5173\u53BF",532626:"\u4E18\u5317\u53BF",532627:"\u5E7F\u5357\u53BF",532628:"\u5BCC\u5B81\u53BF",532801:"\u666F\u6D2A\u5E02",532822:"\u52D0\u6D77\u53BF",532823:"\u52D0\u814A\u53BF",532901:"\u5927\u7406\u5E02",532922:"\u6F3E\u6FDE\u5F5D\u65CF\u81EA\u6CBB\u53BF",532923:"\u7965\u4E91\u53BF",532924:"\u5BBE\u5DDD\u53BF",532925:"\u5F25\u6E21\u53BF",532926:"\u5357\u6DA7\u5F5D\u65CF\u81EA\u6CBB\u53BF",532927:"\u5DCD\u5C71\u5F5D\u65CF\u56DE\u65CF\u81EA\u6CBB\u53BF",532928:"\u6C38\u5E73\u53BF",532929:"\u4E91\u9F99\u53BF",532930:"\u6D31\u6E90\u53BF",532931:"\u5251\u5DDD\u53BF",532932:"\u9E64\u5E86\u53BF",533102:"\u745E\u4E3D\u5E02",533103:"\u8292\u5E02",533122:"\u6881\u6CB3\u53BF",533123:"\u76C8\u6C5F\u53BF",533124:"\u9647\u5DDD\u53BF",533301:"\u6CF8\u6C34\u5E02",533323:"\u798F\u8D21\u53BF",533324:"\u8D21\u5C71\u72EC\u9F99\u65CF\u6012\u65CF\u81EA\u6CBB\u53BF",533325:"\u5170\u576A\u767D\u65CF\u666E\u7C73\u65CF\u81EA\u6CBB\u53BF",533401:"\u9999\u683C\u91CC\u62C9\u5E02",533422:"\u5FB7\u94A6\u53BF",533423:"\u7EF4\u897F\u5088\u50F3\u65CF\u81EA\u6CBB\u53BF",540102:"\u57CE\u5173\u533A",540103:"\u5806\u9F99\u5FB7\u5E86\u533A",540104:"\u8FBE\u5B5C\u533A",540121:"\u6797\u5468\u53BF",540122:"\u5F53\u96C4\u53BF",540123:"\u5C3C\u6728\u53BF",540124:"\u66F2\u6C34\u53BF",540127:"\u58A8\u7AF9\u5DE5\u5361\u53BF",540202:"\u6851\u73E0\u5B5C\u533A",540221:"\u5357\u6728\u6797\u53BF",540222:"\u6C5F\u5B5C\u53BF",540223:"\u5B9A\u65E5\u53BF",540224:"\u8428\u8FE6\u53BF",540225:"\u62C9\u5B5C\u53BF",540226:"\u6602\u4EC1\u53BF",540227:"\u8C22\u901A\u95E8\u53BF",540228:"\u767D\u6717\u53BF",540229:"\u4EC1\u5E03\u53BF",540230:"\u5EB7\u9A6C\u53BF",540231:"\u5B9A\u7ED3\u53BF",540232:"\u4EF2\u5DF4\u53BF",540233:"\u4E9A\u4E1C\u53BF",540234:"\u5409\u9686\u53BF",540235:"\u8042\u62C9\u6728\u53BF",540236:"\u8428\u560E\u53BF",540237:"\u5C97\u5DF4\u53BF",540302:"\u5361\u82E5\u533A",540321:"\u6C5F\u8FBE\u53BF",540322:"\u8D21\u89C9\u53BF",540323:"\u7C7B\u4E4C\u9F50\u53BF",540324:"\u4E01\u9752\u53BF",540325:"\u5BDF\u96C5\u53BF",540326:"\u516B\u5BBF\u53BF",540327:"\u5DE6\u8D21\u53BF",540328:"\u8292\u5EB7\u53BF",540329:"\u6D1B\u9686\u53BF",540330:"\u8FB9\u575D\u53BF",540402:"\u5DF4\u5B9C\u533A",540421:"\u5DE5\u5E03\u6C5F\u8FBE\u53BF",540422:"\u7C73\u6797\u53BF",540423:"\u58A8\u8131\u53BF",540424:"\u6CE2\u5BC6\u53BF",540425:"\u5BDF\u9685\u53BF",540426:"\u6717\u53BF",540502:"\u4E43\u4E1C\u533A",540521:"\u624E\u56CA\u53BF",540522:"\u8D21\u560E\u53BF",540523:"\u6851\u65E5\u53BF",540524:"\u743C\u7ED3\u53BF",540525:"\u66F2\u677E\u53BF",540526:"\u63AA\u7F8E\u53BF",540527:"\u6D1B\u624E\u53BF",540528:"\u52A0\u67E5\u53BF",540529:"\u9686\u5B50\u53BF",540530:"\u9519\u90A3\u53BF",540531:"\u6D6A\u5361\u5B50\u53BF",540602:"\u8272\u5C3C\u533A",540621:"\u5609\u9ECE\u53BF",540622:"\u6BD4\u5982\u53BF",540623:"\u8042\u8363\u53BF",540624:"\u5B89\u591A\u53BF",540625:"\u7533\u624E\u53BF",540626:"\u7D22\u53BF",540627:"\u73ED\u6208\u53BF",540628:"\u5DF4\u9752\u53BF",540629:"\u5C3C\u739B\u53BF",540630:"\u53CC\u6E56\u53BF",542521:"\u666E\u5170\u53BF",542522:"\u672D\u8FBE\u53BF",542523:"\u5676\u5C14\u53BF",542524:"\u65E5\u571F\u53BF",542525:"\u9769\u5409\u53BF",542526:"\u6539\u5219\u53BF",542527:"\u63AA\u52E4\u53BF",610102:"\u65B0\u57CE\u533A",610103:"\u7891\u6797\u533A",610104:"\u83B2\u6E56\u533A",610111:"\u705E\u6865\u533A",610112:"\u672A\u592E\u533A",610113:"\u96C1\u5854\u533A",610114:"\u960E\u826F\u533A",610115:"\u4E34\u6F7C\u533A",610116:"\u957F\u5B89\u533A",610117:"\u9AD8\u9675\u533A",610118:"\u9120\u9091\u533A",610122:"\u84DD\u7530\u53BF",610124:"\u5468\u81F3\u53BF",610202:"\u738B\u76CA\u533A",610203:"\u5370\u53F0\u533A",610204:"\u8000\u5DDE\u533A",610222:"\u5B9C\u541B\u53BF",610302:"\u6E2D\u6EE8\u533A",610303:"\u91D1\u53F0\u533A",610304:"\u9648\u4ED3\u533A",610322:"\u51E4\u7FD4\u53BF",610323:"\u5C90\u5C71\u53BF",610324:"\u6276\u98CE\u53BF",610326:"\u7709\u53BF",610327:"\u9647\u53BF",610328:"\u5343\u9633\u53BF",610329:"\u9E9F\u6E38\u53BF",610330:"\u51E4\u53BF",610331:"\u592A\u767D\u53BF",610402:"\u79E6\u90FD\u533A",610403:"\u6768\u9675\u533A",610404:"\u6E2D\u57CE\u533A",610422:"\u4E09\u539F\u53BF",610423:"\u6CFE\u9633\u53BF",610424:"\u4E7E\u53BF",610425:"\u793C\u6CC9\u53BF",610426:"\u6C38\u5BFF\u53BF",610428:"\u957F\u6B66\u53BF",610429:"\u65EC\u9091\u53BF",610430:"\u6DF3\u5316\u53BF",610431:"\u6B66\u529F\u53BF",610481:"\u5174\u5E73\u5E02",610482:"\u5F6C\u5DDE\u5E02",610502:"\u4E34\u6E2D\u533A",610503:"\u534E\u5DDE\u533A",610522:"\u6F7C\u5173\u53BF",610523:"\u5927\u8354\u53BF",610524:"\u5408\u9633\u53BF",610525:"\u6F84\u57CE\u53BF",610526:"\u84B2\u57CE\u53BF",610527:"\u767D\u6C34\u53BF",610528:"\u5BCC\u5E73\u53BF",610581:"\u97E9\u57CE\u5E02",610582:"\u534E\u9634\u5E02",610602:"\u5B9D\u5854\u533A",610603:"\u5B89\u585E\u533A",610621:"\u5EF6\u957F\u53BF",610622:"\u5EF6\u5DDD\u53BF",610625:"\u5FD7\u4E39\u53BF",610626:"\u5434\u8D77\u53BF",610627:"\u7518\u6CC9\u53BF",610628:"\u5BCC\u53BF",610629:"\u6D1B\u5DDD\u53BF",610630:"\u5B9C\u5DDD\u53BF",610631:"\u9EC4\u9F99\u53BF",610632:"\u9EC4\u9675\u53BF",610681:"\u5B50\u957F\u5E02",610702:"\u6C49\u53F0\u533A",610703:"\u5357\u90D1\u533A",610722:"\u57CE\u56FA\u53BF",610723:"\u6D0B\u53BF",610724:"\u897F\u4E61\u53BF",610725:"\u52C9\u53BF",610726:"\u5B81\u5F3A\u53BF",610727:"\u7565\u9633\u53BF",610728:"\u9547\u5DF4\u53BF",610729:"\u7559\u575D\u53BF",610730:"\u4F5B\u576A\u53BF",610802:"\u6986\u9633\u533A",610803:"\u6A2A\u5C71\u533A",610822:"\u5E9C\u8C37\u53BF",610824:"\u9756\u8FB9\u53BF",610825:"\u5B9A\u8FB9\u53BF",610826:"\u7EE5\u5FB7\u53BF",610827:"\u7C73\u8102\u53BF",610828:"\u4F73\u53BF",610829:"\u5434\u5821\u53BF",610830:"\u6E05\u6DA7\u53BF",610831:"\u5B50\u6D32\u53BF",610881:"\u795E\u6728\u5E02",610902:"\u6C49\u6EE8\u533A",610921:"\u6C49\u9634\u53BF",610922:"\u77F3\u6CC9\u53BF",610923:"\u5B81\u9655\u53BF",610924:"\u7D2B\u9633\u53BF",610925:"\u5C9A\u768B\u53BF",610926:"\u5E73\u5229\u53BF",610927:"\u9547\u576A\u53BF",610928:"\u65EC\u9633\u53BF",610929:"\u767D\u6CB3\u53BF",611002:"\u5546\u5DDE\u533A",611021:"\u6D1B\u5357\u53BF",611022:"\u4E39\u51E4\u53BF",611023:"\u5546\u5357\u53BF",611024:"\u5C71\u9633\u53BF",611025:"\u9547\u5B89\u53BF",611026:"\u67DE\u6C34\u53BF",620102:"\u57CE\u5173\u533A",620103:"\u4E03\u91CC\u6CB3\u533A",620104:"\u897F\u56FA\u533A",620105:"\u5B89\u5B81\u533A",620111:"\u7EA2\u53E4\u533A",620121:"\u6C38\u767B\u53BF",620122:"\u768B\u5170\u53BF",620123:"\u6986\u4E2D\u53BF",620171:"\u5170\u5DDE\u65B0\u533A",620201:"\u5E02\u8F96\u533A",620290:"\u96C4\u5173\u533A",620291:"\u957F\u57CE\u533A",620292:"\u955C\u94C1\u533A",620293:"\u65B0\u57CE\u9547",620294:"\u5CEA\u6CC9\u9547",620295:"\u6587\u6B8A\u9547",620302:"\u91D1\u5DDD\u533A",620321:"\u6C38\u660C\u53BF",620402:"\u767D\u94F6\u533A",620403:"\u5E73\u5DDD\u533A",620421:"\u9756\u8FDC\u53BF",620422:"\u4F1A\u5B81\u53BF",620423:"\u666F\u6CF0\u53BF",620502:"\u79E6\u5DDE\u533A",620503:"\u9EA6\u79EF\u533A",620521:"\u6E05\u6C34\u53BF",620522:"\u79E6\u5B89\u53BF",620523:"\u7518\u8C37\u53BF",620524:"\u6B66\u5C71\u53BF",620525:"\u5F20\u5BB6\u5DDD\u56DE\u65CF\u81EA\u6CBB\u53BF",620602:"\u51C9\u5DDE\u533A",620621:"\u6C11\u52E4\u53BF",620622:"\u53E4\u6D6A\u53BF",620623:"\u5929\u795D\u85CF\u65CF\u81EA\u6CBB\u53BF",620702:"\u7518\u5DDE\u533A",620721:"\u8083\u5357\u88D5\u56FA\u65CF\u81EA\u6CBB\u53BF",620722:"\u6C11\u4E50\u53BF",620723:"\u4E34\u6CFD\u53BF",620724:"\u9AD8\u53F0\u53BF",620725:"\u5C71\u4E39\u53BF",620802:"\u5D06\u5CD2\u533A",620821:"\u6CFE\u5DDD\u53BF",620822:"\u7075\u53F0\u53BF",620823:"\u5D07\u4FE1\u53BF",620825:"\u5E84\u6D6A\u53BF",620826:"\u9759\u5B81\u53BF",620881:"\u534E\u4EAD\u5E02",620902:"\u8083\u5DDE\u533A",620921:"\u91D1\u5854\u53BF",620922:"\u74DC\u5DDE\u53BF",620923:"\u8083\u5317\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",620924:"\u963F\u514B\u585E\u54C8\u8428\u514B\u65CF\u81EA\u6CBB\u53BF",620981:"\u7389\u95E8\u5E02",620982:"\u6566\u714C\u5E02",621002:"\u897F\u5CF0\u533A",621021:"\u5E86\u57CE\u53BF",621022:"\u73AF\u53BF",621023:"\u534E\u6C60\u53BF",621024:"\u5408\u6C34\u53BF",621025:"\u6B63\u5B81\u53BF",621026:"\u5B81\u53BF",621027:"\u9547\u539F\u53BF",621102:"\u5B89\u5B9A\u533A",621121:"\u901A\u6E2D\u53BF",621122:"\u9647\u897F\u53BF",621123:"\u6E2D\u6E90\u53BF",621124:"\u4E34\u6D2E\u53BF",621125:"\u6F33\u53BF",621126:"\u5CB7\u53BF",621202:"\u6B66\u90FD\u533A",621221:"\u6210\u53BF",621222:"\u6587\u53BF",621223:"\u5B95\u660C\u53BF",621224:"\u5EB7\u53BF",621225:"\u897F\u548C\u53BF",621226:"\u793C\u53BF",621227:"\u5FBD\u53BF",621228:"\u4E24\u5F53\u53BF",622901:"\u4E34\u590F\u5E02",622921:"\u4E34\u590F\u53BF",622922:"\u5EB7\u4E50\u53BF",622923:"\u6C38\u9756\u53BF",622924:"\u5E7F\u6CB3\u53BF",622925:"\u548C\u653F\u53BF",622926:"\u4E1C\u4E61\u65CF\u81EA\u6CBB\u53BF",622927:"\u79EF\u77F3\u5C71\u4FDD\u5B89\u65CF\u4E1C\u4E61\u65CF\u6492\u62C9\u65CF\u81EA\u6CBB\u53BF",623001:"\u5408\u4F5C\u5E02",623021:"\u4E34\u6F6D\u53BF",623022:"\u5353\u5C3C\u53BF",623023:"\u821F\u66F2\u53BF",623024:"\u8FED\u90E8\u53BF",623025:"\u739B\u66F2\u53BF",623026:"\u788C\u66F2\u53BF",623027:"\u590F\u6CB3\u53BF",630102:"\u57CE\u4E1C\u533A",630103:"\u57CE\u4E2D\u533A",630104:"\u57CE\u897F\u533A",630105:"\u57CE\u5317\u533A",630106:"\u6E5F\u4E2D\u533A",630121:"\u5927\u901A\u56DE\u65CF\u571F\u65CF\u81EA\u6CBB\u53BF",630123:"\u6E5F\u6E90\u53BF",630202:"\u4E50\u90FD\u533A",630203:"\u5E73\u5B89\u533A",630222:"\u6C11\u548C\u56DE\u65CF\u571F\u65CF\u81EA\u6CBB\u53BF",630223:"\u4E92\u52A9\u571F\u65CF\u81EA\u6CBB\u53BF",630224:"\u5316\u9686\u56DE\u65CF\u81EA\u6CBB\u53BF",630225:"\u5FAA\u5316\u6492\u62C9\u65CF\u81EA\u6CBB\u53BF",632221:"\u95E8\u6E90\u56DE\u65CF\u81EA\u6CBB\u53BF",632222:"\u7941\u8FDE\u53BF",632223:"\u6D77\u664F\u53BF",632224:"\u521A\u5BDF\u53BF",632321:"\u540C\u4EC1\u53BF",632322:"\u5C16\u624E\u53BF",632323:"\u6CFD\u5E93\u53BF",632324:"\u6CB3\u5357\u8499\u53E4\u65CF\u81EA\u6CBB\u53BF",632521:"\u5171\u548C\u53BF",632522:"\u540C\u5FB7\u53BF",632523:"\u8D35\u5FB7\u53BF",632524:"\u5174\u6D77\u53BF",632525:"\u8D35\u5357\u53BF",632621:"\u739B\u6C81\u53BF",632622:"\u73ED\u739B\u53BF",632623:"\u7518\u5FB7\u53BF",632624:"\u8FBE\u65E5\u53BF",632625:"\u4E45\u6CBB\u53BF",632626:"\u739B\u591A\u53BF",632701:"\u7389\u6811\u5E02",632722:"\u6742\u591A\u53BF",632723:"\u79F0\u591A\u53BF",632724:"\u6CBB\u591A\u53BF",632725:"\u56CA\u8C26\u53BF",632726:"\u66F2\u9EBB\u83B1\u53BF",632801:"\u683C\u5C14\u6728\u5E02",632802:"\u5FB7\u4EE4\u54C8\u5E02",632803:"\u832B\u5D16\u5E02",632821:"\u4E4C\u5170\u53BF",632822:"\u90FD\u5170\u53BF",632823:"\u5929\u5CFB\u53BF",632857:"\u5927\u67F4\u65E6\u884C\u653F\u59D4\u5458\u4F1A",640104:"\u5174\u5E86\u533A",640105:"\u897F\u590F\u533A",640106:"\u91D1\u51E4\u533A",640121:"\u6C38\u5B81\u53BF",640122:"\u8D3A\u5170\u53BF",640181:"\u7075\u6B66\u5E02",640202:"\u5927\u6B66\u53E3\u533A",640205:"\u60E0\u519C\u533A",640221:"\u5E73\u7F57\u53BF",640302:"\u5229\u901A\u533A",640303:"\u7EA2\u5BFA\u5821\u533A",640323:"\u76D0\u6C60\u53BF",640324:"\u540C\u5FC3\u53BF",640381:"\u9752\u94DC\u5CE1\u5E02",640402:"\u539F\u5DDE\u533A",640422:"\u897F\u5409\u53BF",640423:"\u9686\u5FB7\u53BF",640424:"\u6CFE\u6E90\u53BF",640425:"\u5F6D\u9633\u53BF",640502:"\u6C99\u5761\u5934\u533A",640521:"\u4E2D\u5B81\u53BF",640522:"\u6D77\u539F\u53BF",650102:"\u5929\u5C71\u533A",650103:"\u6C99\u4F9D\u5DF4\u514B\u533A",650104:"\u65B0\u5E02\u533A",650105:"\u6C34\u78E8\u6C9F\u533A",650106:"\u5934\u5C6F\u6CB3\u533A",650107:"\u8FBE\u5742\u57CE\u533A",650109:"\u7C73\u4E1C\u533A",650121:"\u4E4C\u9C81\u6728\u9F50\u53BF",650202:"\u72EC\u5C71\u5B50\u533A",650203:"\u514B\u62C9\u739B\u4F9D\u533A",650204:"\u767D\u78B1\u6EE9\u533A",650205:"\u4E4C\u5C14\u79BE\u533A",650402:"\u9AD8\u660C\u533A",650421:"\u912F\u5584\u53BF",650422:"\u6258\u514B\u900A\u53BF",650502:"\u4F0A\u5DDE\u533A",650521:"\u5DF4\u91CC\u5764\u54C8\u8428\u514B\u81EA\u6CBB\u53BF",650522:"\u4F0A\u543E\u53BF",652301:"\u660C\u5409\u5E02",652302:"\u961C\u5EB7\u5E02",652323:"\u547C\u56FE\u58C1\u53BF",652324:"\u739B\u7EB3\u65AF\u53BF",652325:"\u5947\u53F0\u53BF",652327:"\u5409\u6728\u8428\u5C14\u53BF",652328:"\u6728\u5792\u54C8\u8428\u514B\u81EA\u6CBB\u53BF",652701:"\u535A\u4E50\u5E02",652702:"\u963F\u62C9\u5C71\u53E3\u5E02",652722:"\u7CBE\u6CB3\u53BF",652723:"\u6E29\u6CC9\u53BF",652801:"\u5E93\u5C14\u52D2\u5E02",652822:"\u8F6E\u53F0\u53BF",652823:"\u5C09\u7281\u53BF",652824:"\u82E5\u7F8C\u53BF",652825:"\u4E14\u672B\u53BF",652826:"\u7109\u8006\u56DE\u65CF\u81EA\u6CBB\u53BF",652827:"\u548C\u9759\u53BF",652828:"\u548C\u7855\u53BF",652829:"\u535A\u6E56\u53BF",652901:"\u963F\u514B\u82CF\u5E02",652902:"\u5E93\u8F66\u5E02",652922:"\u6E29\u5BBF\u53BF",652924:"\u6C99\u96C5\u53BF",652925:"\u65B0\u548C\u53BF",652926:"\u62DC\u57CE\u53BF",652927:"\u4E4C\u4EC0\u53BF",652928:"\u963F\u74E6\u63D0\u53BF",652929:"\u67EF\u576A\u53BF",653001:"\u963F\u56FE\u4EC0\u5E02",653022:"\u963F\u514B\u9676\u53BF",653023:"\u963F\u5408\u5947\u53BF",653024:"\u4E4C\u6070\u53BF",653101:"\u5580\u4EC0\u5E02",653121:"\u758F\u9644\u53BF",653122:"\u758F\u52D2\u53BF",653123:"\u82F1\u5409\u6C99\u53BF",653124:"\u6CFD\u666E\u53BF",653125:"\u838E\u8F66\u53BF",653126:"\u53F6\u57CE\u53BF",653127:"\u9EA6\u76D6\u63D0\u53BF",653128:"\u5CB3\u666E\u6E56\u53BF",653129:"\u4F3D\u5E08\u53BF",653130:"\u5DF4\u695A\u53BF",653131:"\u5854\u4EC0\u5E93\u5C14\u5E72\u5854\u5409\u514B\u81EA\u6CBB\u53BF",653201:"\u548C\u7530\u5E02",653221:"\u548C\u7530\u53BF",653222:"\u58A8\u7389\u53BF",653223:"\u76AE\u5C71\u53BF",653224:"\u6D1B\u6D66\u53BF",653225:"\u7B56\u52D2\u53BF",653226:"\u4E8E\u7530\u53BF",653227:"\u6C11\u4E30\u53BF",654002:"\u4F0A\u5B81\u5E02",654003:"\u594E\u5C6F\u5E02",654004:"\u970D\u5C14\u679C\u65AF\u5E02",654021:"\u4F0A\u5B81\u53BF",654022:"\u5BDF\u5E03\u67E5\u5C14\u9521\u4F2F\u81EA\u6CBB\u53BF",654023:"\u970D\u57CE\u53BF",654024:"\u5DE9\u7559\u53BF",654025:"\u65B0\u6E90\u53BF",654026:"\u662D\u82CF\u53BF",654027:"\u7279\u514B\u65AF\u53BF",654028:"\u5C3C\u52D2\u514B\u53BF",654201:"\u5854\u57CE\u5E02",654202:"\u4E4C\u82CF\u5E02",654221:"\u989D\u654F\u53BF",654223:"\u6C99\u6E7E\u53BF",654224:"\u6258\u91CC\u53BF",654225:"\u88D5\u6C11\u53BF",654226:"\u548C\u5E03\u514B\u8D5B\u5C14\u8499\u53E4\u81EA\u6CBB\u53BF",654301:"\u963F\u52D2\u6CF0\u5E02",654321:"\u5E03\u5C14\u6D25\u53BF",654322:"\u5BCC\u8574\u53BF",654323:"\u798F\u6D77\u53BF",654324:"\u54C8\u5DF4\u6CB3\u53BF",654325:"\u9752\u6CB3\u53BF",654326:"\u5409\u6728\u4E43\u53BF",659001:"\u77F3\u6CB3\u5B50\u5E02",659002:"\u963F\u62C9\u5C14\u5E02",659003:"\u56FE\u6728\u8212\u514B\u5E02",659004:"\u4E94\u5BB6\u6E20\u5E02",659005:"\u5317\u5C6F\u5E02",659006:"\u94C1\u95E8\u5173\u5E02",659007:"\u53CC\u6CB3\u5E02",659008:"\u53EF\u514B\u8FBE\u62C9\u5E02",659009:"\u6606\u7389\u5E02",659010:"\u80E1\u6768\u6CB3\u5E02",710101:"\u4E2D\u6B63\u533A",710102:"\u5927\u540C\u533A",710103:"\u4E2D\u5C71\u533A",710104:"\u677E\u5C71\u533A",710105:"\u5927\u5B89\u533A",710106:"\u4E07\u534E\u533A",710107:"\u4FE1\u4E49\u533A",710108:"\u58EB\u6797\u533A",710109:"\u5317\u6295\u533A",710110:"\u5185\u6E56\u533A",710111:"\u5357\u6E2F\u533A",710112:"\u6587\u5C71\u533A",710199:"\u5176\u5B83\u533A",710201:"\u65B0\u5174\u533A",710202:"\u524D\u91D1\u533A",710203:"\u82A9\u96C5\u533A",710204:"\u76D0\u57D5\u533A",710205:"\u9F13\u5C71\u533A",710206:"\u65D7\u6D25\u533A",710207:"\u524D\u9547\u533A",710208:"\u4E09\u6C11\u533A",710209:"\u5DE6\u8425\u533A",710210:"\u6960\u6893\u533A",710211:"\u5C0F\u6E2F\u533A",710241:"\u82D3\u96C5\u533A",710242:"\u4EC1\u6B66\u533A",710243:"\u5927\u793E\u533A",710244:"\u5188\u5C71\u533A",710245:"\u8DEF\u7AF9\u533A",710246:"\u963F\u83B2\u533A",710247:"\u7530\u5BEE\u533A",710248:"\u71D5\u5DE2\u533A",710249:"\u6865\u5934\u533A",710250:"\u6893\u5B98\u533A",710251:"\u5F25\u9640\u533A",710252:"\u6C38\u5B89\u533A",710253:"\u6E56\u5185\u533A",710254:"\u51E4\u5C71\u533A",710255:"\u5927\u5BEE\u533A",710256:"\u6797\u56ED\u533A",710257:"\u9E1F\u677E\u533A",710258:"\u5927\u6811\u533A",710259:"\u65D7\u5C71\u533A",710260:"\u7F8E\u6D53\u533A",710261:"\u516D\u9F9F\u533A",710262:"\u5185\u95E8\u533A",710263:"\u6749\u6797\u533A",710264:"\u7532\u4ED9\u533A",710265:"\u6843\u6E90\u533A",710266:"\u90A3\u739B\u590F\u533A",710267:"\u8302\u6797\u533A",710268:"\u8304\u8423\u533A",710299:"\u5176\u5B83\u533A",710301:"\u4E2D\u897F\u533A",710302:"\u4E1C\u533A",710303:"\u5357\u533A",710304:"\u5317\u533A",710305:"\u5B89\u5E73\u533A",710306:"\u5B89\u5357\u533A",710339:"\u6C38\u5EB7\u533A",710340:"\u5F52\u4EC1\u533A",710341:"\u65B0\u5316\u533A",710342:"\u5DE6\u9547\u533A",710343:"\u7389\u4E95\u533A",710344:"\u6960\u897F\u533A",710345:"\u5357\u5316\u533A",710346:"\u4EC1\u5FB7\u533A",710347:"\u5173\u5E99\u533A",710348:"\u9F99\u5D0E\u533A",710349:"\u5B98\u7530\u533A",710350:"\u9EBB\u8C46\u533A",710351:"\u4F73\u91CC\u533A",710352:"\u897F\u6E2F\u533A",710353:"\u4E03\u80A1\u533A",710354:"\u5C06\u519B\u533A",710355:"\u5B66\u7532\u533A",710356:"\u5317\u95E8\u533A",710357:"\u65B0\u8425\u533A",710358:"\u540E\u58C1\u533A",710359:"\u767D\u6CB3\u533A",710360:"\u4E1C\u5C71\u533A",710361:"\u516D\u7532\u533A",710362:"\u4E0B\u8425\u533A",710363:"\u67F3\u8425\u533A",710364:"\u76D0\u6C34\u533A",710365:"\u5584\u5316\u533A",710366:"\u5927\u5185\u533A",710367:"\u5C71\u4E0A\u533A",710368:"\u65B0\u5E02\u533A",710369:"\u5B89\u5B9A\u533A",710399:"\u5176\u5B83\u533A",710401:"\u4E2D\u533A",710402:"\u4E1C\u533A",710403:"\u5357\u533A",710404:"\u897F\u533A",710405:"\u5317\u533A",710406:"\u5317\u5C6F\u533A",710407:"\u897F\u5C6F\u533A",710408:"\u5357\u5C6F\u533A",710431:"\u592A\u5E73\u533A",710432:"\u5927\u91CC\u533A",710433:"\u96FE\u5CF0\u533A",710434:"\u4E4C\u65E5\u533A",710435:"\u4E30\u539F\u533A",710436:"\u540E\u91CC\u533A",710437:"\u77F3\u5188\u533A",710438:"\u4E1C\u52BF\u533A",710439:"\u548C\u5E73\u533A",710440:"\u65B0\u793E\u533A",710441:"\u6F6D\u5B50\u533A",710442:"\u5927\u96C5\u533A",710443:"\u795E\u5188\u533A",710444:"\u5927\u809A\u533A",710445:"\u6C99\u9E7F\u533A",710446:"\u9F99\u4E95\u533A",710447:"\u68A7\u6816\u533A",710448:"\u6E05\u6C34\u533A",710449:"\u5927\u7532\u533A",710450:"\u5916\u57D4\u533A",710451:"\u5927\u5B89\u533A",710499:"\u5176\u5B83\u533A",710507:"\u91D1\u6C99\u9547",710508:"\u91D1\u6E56\u9547",710509:"\u91D1\u5B81\u4E61",710510:"\u91D1\u57CE\u9547",710511:"\u70C8\u5C7F\u4E61",710512:"\u4E4C\u5775\u4E61",710614:"\u5357\u6295\u5E02",710615:"\u4E2D\u5BEE\u4E61",710616:"\u8349\u5C6F\u9547",710617:"\u56FD\u59D3\u4E61",710618:"\u57D4\u91CC\u9547",710619:"\u4EC1\u7231\u4E61",710620:"\u540D\u95F4\u4E61",710621:"\u96C6\u96C6\u9547",710622:"\u6C34\u91CC\u4E61",710623:"\u9C7C\u6C60\u4E61",710624:"\u4FE1\u4E49\u4E61",710625:"\u7AF9\u5C71\u9547",710626:"\u9E7F\u8C37\u4E61",710701:"\u4EC1\u7231\u533A",710702:"\u4FE1\u4E49\u533A",710703:"\u4E2D\u6B63\u533A",710704:"\u4E2D\u5C71\u533A",710705:"\u5B89\u4E50\u533A",710706:"\u6696\u6696\u533A",710707:"\u4E03\u5835\u533A",710799:"\u5176\u5B83\u533A",710801:"\u4E1C\u533A",710802:"\u5317\u533A",710803:"\u9999\u5C71\u533A",710899:"\u5176\u5B83\u533A",710901:"\u4E1C\u533A",710902:"\u897F\u533A",710999:"\u5176\u5B83\u533A",711130:"\u4E07\u91CC\u533A",711132:"\u677F\u6865\u533A",711133:"\u6C50\u6B62\u533A",711134:"\u6DF1\u5751\u533A",711135:"\u77F3\u7887\u533A",711136:"\u745E\u82B3\u533A",711137:"\u5E73\u6EAA\u533A",711138:"\u53CC\u6EAA\u533A",711139:"\u8D21\u5BEE\u533A",711140:"\u65B0\u5E97\u533A",711141:"\u576A\u6797\u533A",711142:"\u4E4C\u6765\u533A",711143:"\u6C38\u548C\u533A",711144:"\u4E2D\u548C\u533A",711145:"\u571F\u57CE\u533A",711146:"\u4E09\u5CE1\u533A",711147:"\u6811\u6797\u533A",711148:"\u83BA\u6B4C\u533A",711149:"\u4E09\u91CD\u533A",711150:"\u65B0\u5E84\u533A",711151:"\u6CF0\u5C71\u533A",711152:"\u6797\u53E3\u533A",711153:"\u82A6\u6D32\u533A",711154:"\u4E94\u80A1\u533A",711155:"\u516B\u91CC\u533A",711156:"\u6DE1\u6C34\u533A",711157:"\u4E09\u829D\u533A",711158:"\u77F3\u95E8\u533A",711287:"\u5B9C\u5170\u5E02",711288:"\u5934\u57CE\u9547",711289:"\u7901\u6EAA\u4E61",711290:"\u58EE\u56F4\u4E61",711291:"\u5458\u5C71\u4E61",711292:"\u7F57\u4E1C\u9547",711293:"\u4E09\u661F\u4E61",711294:"\u5927\u540C\u4E61",711295:"\u4E94\u7ED3\u4E61",711296:"\u51AC\u5C71\u4E61",711297:"\u82CF\u6FB3\u9547",711298:"\u5357\u6FB3\u4E61",711299:"\u9493\u9C7C\u53F0",711387:"\u7AF9\u5317\u5E02",711388:"\u6E56\u53E3\u4E61",711389:"\u65B0\u4E30\u4E61",711390:"\u65B0\u57D4\u9547",711391:"\u5173\u897F\u9547",711392:"\u828E\u6797\u4E61",711393:"\u5B9D\u5C71\u4E61",711394:"\u7AF9\u4E1C\u9547",711395:"\u4E94\u5CF0\u4E61",711396:"\u6A2A\u5C71\u4E61",711397:"\u5C16\u77F3\u4E61",711398:"\u5317\u57D4\u4E61",711399:"\u5CE8\u7709\u4E61",711414:"\u4E2D\u575C\u533A",711415:"\u5E73\u9547\u533A",711417:"\u6768\u6885\u533A",711418:"\u65B0\u5C4B\u533A",711419:"\u89C2\u97F3\u533A",711420:"\u6843\u56ED\u533A",711421:"\u9F9F\u5C71\u533A",711422:"\u516B\u5FB7\u533A",711423:"\u5927\u6EAA\u533A",711425:"\u5927\u56ED\u533A",711426:"\u82A6\u7AF9\u533A",711487:"\u4E2D\u575C\u5E02",711488:"\u5E73\u9547\u5E02",711489:"\u9F99\u6F6D\u4E61",711490:"\u6768\u6885\u5E02",711491:"\u65B0\u5C4B\u4E61",711492:"\u89C2\u97F3\u4E61",711493:"\u6843\u56ED\u5E02",711494:"\u9F9F\u5C71\u4E61",711495:"\u516B\u5FB7\u5E02",711496:"\u5927\u6EAA\u9547",711497:"\u590D\u5174\u4E61",711498:"\u5927\u56ED\u4E61",711499:"\u82A6\u7AF9\u4E61",711520:"\u5934\u4EFD\u5E02",711582:"\u7AF9\u5357\u9547",711583:"\u5934\u4EFD\u9547",711584:"\u4E09\u6E7E\u4E61",711585:"\u5357\u5E84\u4E61",711586:"\u72EE\u6F6D\u4E61",711587:"\u540E\u9F99\u9547",711588:"\u901A\u9704\u9547",711589:"\u82D1\u91CC\u9547",711590:"\u82D7\u6817\u5E02",711591:"\u9020\u6865\u4E61",711592:"\u5934\u5C4B\u4E61",711593:"\u516C\u9986\u4E61",711594:"\u5927\u6E56\u4E61",711595:"\u6CF0\u5B89\u4E61",711596:"\u94DC\u9523\u4E61",711597:"\u4E09\u4E49\u4E61",711598:"\u897F\u6E56\u4E61",711599:"\u5353\u5170\u9547",711736:"\u5458\u6797\u5E02",711774:"\u5F70\u5316\u5E02",711775:"\u82AC\u56ED\u4E61",711776:"\u82B1\u575B\u4E61",711777:"\u79C0\u6C34\u4E61",711778:"\u9E7F\u6E2F\u9547",711779:"\u798F\u5174\u4E61",711780:"\u7EBF\u897F\u4E61",711781:"\u548C\u7F8E\u9547",711782:"\u4F38\u6E2F\u4E61",711783:"\u5458\u6797\u9547",711784:"\u793E\u5934\u4E61",711785:"\u6C38\u9756\u4E61",711786:"\u57D4\u5FC3\u4E61",711787:"\u6EAA\u6E56\u9547",711788:"\u5927\u6751\u4E61",711789:"\u57D4\u76D0\u4E61",711790:"\u7530\u4E2D\u9547",711791:"\u5317\u6597\u9547",711792:"\u7530\u5C3E\u4E61",711793:"\u57E4\u5934\u4E61",711794:"\u6EAA\u5DDE\u4E61",711795:"\u7AF9\u5858\u4E61",711796:"\u4E8C\u6797\u9547",711797:"\u5927\u57CE\u4E61",711798:"\u82B3\u82D1\u4E61",711799:"\u4E8C\u6C34\u4E61",711982:"\u756A\u8DEF\u4E61",711983:"\u6885\u5C71\u4E61",711984:"\u7AF9\u5D0E\u4E61",711985:"\u963F\u91CC\u5C71\u4E61",711986:"\u4E2D\u57D4\u4E61",711987:"\u5927\u57D4\u4E61",711988:"\u6C34\u4E0A\u4E61",711989:"\u9E7F\u8349\u4E61",711990:"\u592A\u4FDD\u5E02",711991:"\u6734\u5B50\u5E02",711992:"\u4E1C\u77F3\u4E61",711993:"\u516D\u811A\u4E61",711994:"\u65B0\u6E2F\u4E61",711995:"\u6C11\u96C4\u4E61",711996:"\u5927\u6797\u9547",711997:"\u6EAA\u53E3\u4E61",711998:"\u4E49\u7AF9\u4E61",711999:"\u5E03\u888B\u9547",712180:"\u6597\u5357\u9547",712181:"\u5927\u57E4\u4E61",712182:"\u864E\u5C3E\u9547",712183:"\u571F\u5E93\u9547",712184:"\u8912\u5FE0\u4E61",712185:"\u4E1C\u52BF\u4E61",712186:"\u53F0\u897F\u4E61",712187:"\u4ED1\u80CC\u4E61",712188:"\u9EA6\u5BEE\u4E61",712189:"\u6597\u516D\u5E02",712190:"\u6797\u5185\u4E61",712191:"\u53E4\u5751\u4E61",712192:"\u83BF\u6850\u4E61",712193:"\u897F\u87BA\u9547",712194:"\u4E8C\u4ED1\u4E61",712195:"\u5317\u6E2F\u9547",712196:"\u6C34\u6797\u4E61",712197:"\u53E3\u6E56\u4E61",712198:"\u56DB\u6E56\u4E61",712199:"\u5143\u957F\u4E61",712451:"\u5D01\u9876\u4E61",712467:"\u5C4F\u4E1C\u5E02",712468:"\u4E09\u5730\u95E8\u4E61",712469:"\u96FE\u53F0\u4E61",712470:"\u739B\u5BB6\u4E61",712471:"\u4E5D\u5982\u4E61",712472:"\u91CC\u6E2F\u4E61",712473:"\u9AD8\u6811\u4E61",712474:"\u76D0\u57D4\u4E61",712475:"\u957F\u6CBB\u4E61",712476:"\u9E9F\u6D1B\u4E61",712477:"\u7AF9\u7530\u4E61",712478:"\u5185\u57D4\u4E61",712479:"\u4E07\u4E39\u4E61",712480:"\u6F6E\u5DDE\u9547",712481:"\u6CF0\u6B66\u4E61",712482:"\u6765\u4E49\u4E61",712483:"\u4E07\u5CE6\u4E61",712484:"\u83B0\u9876\u4E61",712485:"\u65B0\u57E4\u4E61",712486:"\u5357\u5DDE\u4E61",712487:"\u6797\u8FB9\u4E61",712488:"\u4E1C\u6E2F\u9547",712489:"\u7409\u7403\u4E61",712490:"\u4F73\u51AC\u4E61",712491:"\u65B0\u56ED\u4E61",712492:"\u678B\u5BEE\u4E61",712493:"\u678B\u5C71\u4E61",712494:"\u6625\u65E5\u4E61",712495:"\u72EE\u5B50\u4E61",712496:"\u8F66\u57CE\u4E61",712497:"\u7261\u4E39\u4E61",712498:"\u6052\u6625\u9547",712499:"\u6EE1\u5DDE\u4E61",712584:"\u53F0\u4E1C\u5E02",712585:"\u7EFF\u5C9B\u4E61",712586:"\u5170\u5C7F\u4E61",712587:"\u5EF6\u5E73\u4E61",712588:"\u5351\u5357\u4E61",712589:"\u9E7F\u91CE\u4E61",712590:"\u5173\u5C71\u9547",712591:"\u6D77\u7AEF\u4E61",712592:"\u6C60\u4E0A\u4E61",712593:"\u4E1C\u6CB3\u4E61",712594:"\u6210\u529F\u9547",712595:"\u957F\u6EE8\u4E61",712596:"\u91D1\u5CF0\u4E61",712597:"\u5927\u6B66\u4E61",712598:"\u8FBE\u4EC1\u4E61",712599:"\u592A\u9EBB\u91CC\u4E61",712686:"\u82B1\u83B2\u5E02",712687:"\u65B0\u57CE\u4E61",712688:"\u592A\u9C81\u9601",712689:"\u79C0\u6797\u4E61",712690:"\u5409\u5B89\u4E61",712691:"\u5BFF\u4E30\u4E61",712692:"\u51E4\u6797\u9547",712693:"\u5149\u590D\u4E61",712694:"\u4E30\u6EE8\u4E61",712695:"\u745E\u7A57\u4E61",712696:"\u4E07\u8363\u4E61",712697:"\u7389\u91CC\u9547",712698:"\u5353\u6EAA\u4E61",712699:"\u5BCC\u91CC\u4E61",712794:"\u9A6C\u516C\u5E02",712795:"\u897F\u5C7F\u4E61",712796:"\u671B\u5B89\u4E61",712797:"\u4E03\u7F8E\u4E61",712798:"\u767D\u6C99\u4E61",712799:"\u6E56\u897F\u4E61",712896:"\u5357\u7AFF\u4E61",712897:"\u5317\u7AFF\u4E61",712898:"\u4E1C\u5F15\u4E61",712899:"\u8392\u5149\u4E61",810101:"\u4E2D\u897F\u533A",810102:"\u6E7E\u4ED4\u533A",810103:"\u4E1C\u533A",810104:"\u5357\u533A",810201:"\u4E5D\u9F99\u57CE\u533A",810202:"\u6CB9\u5C16\u65FA\u533A",810203:"\u6DF1\u6C34\u57D7\u533A",810204:"\u9EC4\u5927\u4ED9\u533A",810205:"\u89C2\u5858\u533A",810301:"\u5317\u533A",810302:"\u5927\u57D4\u533A",810303:"\u6C99\u7530\u533A",810304:"\u897F\u8D21\u533A",810305:"\u5143\u6717\u533A",810306:"\u5C6F\u95E8\u533A",810307:"\u8343\u6E7E\u533A",810308:"\u8475\u9752\u533A",810309:"\u79BB\u5C9B\u533A",820102:"\u82B1\u5730\u739B\u5802\u533A",820103:"\u82B1\u738B\u5802\u533A",820104:"\u671B\u5FB7\u5802\u533A",820105:"\u5927\u5802\u533A",820106:"\u98CE\u987A\u5802\u533A",820202:"\u5609\u6A21\u5802\u533A",820203:"\u8DEF\u6C39\u586B\u6D77\u533A",820204:"\u5723\u65B9\u6D4E\u5404\u5802\u533A"}};class fu{constructor(e,n){this.data=e,this.config=n,this.municipality=["110000","120000","310000","500000"]}getProvince(){const e=[],{province_list:n}=this.data;for(const r in n)e.push({label:n[r],value:r});return e}getCity(e){const n=[],{city_list:r}=this.data;for(const i in r)e.slice(0,2)===i.slice(0,2)&&n.push({label:r[i],value:i});return n}getCounty(e){const n=[],{county_list:r}=this.data;for(const i in r)e.slice(0,4)===i.slice(0,4)&&n.push({label:r[i],value:i});return n}getAll(){return this.getProvince().map(e=>{if(this.config.selectType>1)if(this.config.isFilter&&this.municipality.includes(e.value))e.children=this.getCounty(String(Number(e.value)+(e.value==="500000"?200:100)));else{const n=this.getCity(e.value);e.children=n.map(r=>{if(this.config.selectType>2){const i=this.getCounty(r.value);i.length&&(r.children=i)}return r})}return e})}}const pu=o=>{const e=Object.create(null);return n=>e[n]||(e[n]=o(n))},g1=pu(o=>o.charAt(0).toUpperCase()+o.slice(1)),hu=o=>{const e=[o];let{parent:n}=o;for(;n;)e.unshift(n),n=n.parent;return e},wt=(o,e=!1)=>o.reduce((n,r)=>(r.isLeaf?n.push(r):(!e&&n.push(r),n=n.concat(wt(r.children,e))),n),[]);class _n{constructor(e,n,r,i){Lt(this,"checked",!1),Lt(this,"disabled",!1);const{value:s,label:a,children:u}=n;this.data=e,this.config=n;const l=e[u];this.parent=r;const c=hu(this);this.level=i?0:r?r.level+1:1,this.value=e[s],this.label=e[a],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=l||[],this.children=(l||[]).map(d=>new _n(d,n,this))}calcText(e){const n=this.pathLabels.join(e);return this.text=n,this.pathLabels.join(e)}get isDisabled(){const{data:e,parent:n,config:r}=this,{disabled:i,checkStrictly:s,multiple:a}=r;return!!e[i]||n&&(n.isDisabled||n.checked)}get isLeaf(){const{childrenData:e}=this;return!e.length}broadcast(e,...n){const r=`onParent${g1(e)}`;this.children.forEach(i=>{i&&(i.broadcast(e,...n),i[r]&&i[r](...n))})}emit(e,...n){const{parent:r}=this,i=`onChild${g1(e)}`;r&&(r[i]&&r[i](...n),r.emit(e,...n))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,n=e.filter(i=>!i.isDisabled),r=n.length?n.every(i=>i.checked):!1;this.setCheckState(r)}doCheck(e){if(this.checked===e)return;const{multiple:n}=this.config;n?(this.setCheckState(e),e&&wt(this.children).filter(r=>r.checked).forEach(r=>{r.doCheck(!1)})):this.checked=e}setCheckState(e){this.checked=e}}class mu{constructor(e,n){const r=e.map(i=>new _n(i,n));this.nodes=r,this.allNodes=wt(r,!1),this.leafNodes=wt(r,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}getNodeByValue(e,n=!1){return!e&&e!==0?null:this.getFlattedNodes(n).find(r=>lodash.isEqual(r.value,e)||lodash.isEqual(r.pathValues,e))||null}}const vu={key:0},gu=["onClick"],yu=vue.createElementVNode("li",{class:"el-cascader__empty-text"}," No matching data ",-1),Eu={name:"EverrightRegion"},bu=Object.assign(Eu,{props:{multiple:{type:Boolean,default:!1},modelValue:{type:Array},selectType:{type:Number,default:3}},emits:["update:modelValue","change"],setup(o,{emit:e}){const n=o;let r=0;const i=new fu(du,{isFilter:!1,selectType:n.selectType}),s=vue.ref(),a=vue.ref(),u=vue.ref(),l=vue.ref(""),c=vue.ref([]),d=vue.ref([]),h=vue.ref(!1),f=vue.ref([]),p=vue.ref(!1),m=vue.computed(()=>lodash.get(vue.unref(s),"popperRef.contentRef","")),g=new mu(i.getAll(),{value:"value",label:"label",children:"children",disabled:"disabled",multiple:n.multiple}),v=vue.reactive({Namespace:"region",menus:[{label:"\u5168\u90E8",name:"all",nodes:g.getNodes()}],popperVisible:!1,activeName:"all",value0:"",checkedValue:[]}),_=j.useNamespace("Main",v.Namespace);vue.provide("Everright",{state:v});const b=M=>g.getFlattedNodes(M),y=M=>b(M).filter(z=>z.checked!==!1),A=(M=!0)=>{const z=y(!1);v.checkedValue=z,k.value?v.value0=v.checkedValue.length?" ":"":v.checkedValue.length?v.value0=v.checkedValue[0].calcText("/"):v.value0="",M&&e("update:modelValue",z.map(W=>W.value))},k=vue.computed(()=>!!n.multiple),C=vue.computed(()=>h.value||!p.value?!1:!!v.checkedValue.length),E=M=>({node:M,key:M.uid,text:M.calcText("/"),hitState:!1,closable:!M.isDisabled,isCollapseTag:!1}),F=()=>{if(!k.value)return;const M=v.checkedValue,z=[],W=[];if(M.forEach(G=>W.push(E(G))),c.value=W,M.length){const[G,...J]=M,X=J.length;z.push(E(G)),X&&z.push({key:-1,text:`+ ${X}`,closable:!1,isCollapseTag:!0})}f.value=z},S=(M,z,W,G)=>{if(M==="click"&&(W===-1||z.isLeaf||!z.isLeaf&&z.level===W||(v.menus.forEach((J,X)=>{X>W+1&&(v.menus[X]=[])}),v.menus[W+1]={label:z.label,name:z.value,nodes:z.children},v.activeName=z.value)),M==="checkbox"){if(G===z.checked)return;n.multiple||y().forEach(J=>{J.doCheck(!1)}),z.doCheck(G),A()}},B=M=>{M!==v.popperVisible&&(v.popperVisible=M,M||(V(),k.value?l.value="":v.checkedValue[0]&&(v.value0=v.checkedValue[0].calcText("/"))))},P=()=>{vue.nextTick(()=>{s.value.updatePopper()})},L=M=>{M.node.doCheck(!1),A()},D=M=>v.checkedValue.some(z=>lodash.intersection(M.pathValues,z.pathValues).length===M.level),O=()=>{const M=u.value.input,z=a.value;if(z){const{offsetHeight:W}=z,G=f.value.length>0?`${Math.max(W+6,r)}px`:`${r}px`;M.style.height=G,P()}},R=()=>{y().forEach(M=>{M.doCheck(!1)}),A(),B(!1)},N=vue.computed(()=>k.value?l.value:v.value0),I=(M,z)=>M.text.includes(z),x=()=>{const M=b(!1).filter(z=>z.isDisabled?!1:(z.calcText("/"),I(z,N.value.trim())));h.value=!0,d.value=M,P()},T=lodash.debounce(()=>{const{value:M}=N;!M||x()}),V=()=>{h.value=!1},U=(M,z)=>{v.popperVisible.value&&B(!0),!(z&&z.isComposing)&&(M.trim()?T():V())};return vue.watch(()=>n.modelValue,M=>{const z=M;z.length?z.forEach(W=>{g.getNodeByValue(W).doCheck(!0)}):y().forEach(W=>{W.doCheck(!1)}),A(!1),F()},{immediate:!0,deep:!0}),vue.watch(f,()=>{vue.nextTick(()=>O())},{immediate:!0}),vue.onMounted(()=>{r=u.value.$el.offsetHeight}),(M,z)=>{const W=vue.resolveComponent("circle-close"),G=vue.resolveComponent("el-icon"),J=vue.resolveComponent("arrow-down"),X=vue.resolveComponent("el-input"),K=vue.resolveComponent("el-tag"),Q=vue.resolveComponent("el-tooltip"),ee=vue.resolveComponent("el-checkbox"),oe=vue.resolveComponent("arrow-right"),te=vue.resolveComponent("el-scrollbar"),ie=vue.resolveComponent("el-tab-pane"),se=vue.resolveComponent("el-tabs");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(_).b()])},[vue.createVNode(Q,{ref_key:"tooltipRef",ref:s,"popper-class":[vue.unref(_).e("dropdown")],effect:"light",placement:"bottom-start",visible:v.popperVisible},{content:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.withDirectives(vue.createVNode(se,{modelValue:v.activeName,"onUpdate:modelValue":z[9]||(z[9]=q=>v.activeName=q),class:"demo-tabs"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.menus,(q,ne)=>(vue.openBlock(),vue.createBlock(ie,{key:q.name,label:q.label,name:q.name},{default:vue.withCtx(()=>[vue.createVNode(te,{tag:"ul","wrap-class":vue.unref(_).e("wrap"),"view-class":vue.unref(_).e("list")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(q.nodes,re=>(vue.openBlock(),vue.createElementBlock("li",{key:re.value,class:vue.normalizeClass([D(re)&&vue.unref(_).is("Selected")]),onClick:vue.withModifiers(()=>S("click",re,ne),["stop"])},[vue.createVNode(ee,{disabled:re.isDisabled,"model-value":re.checked,onClick:z[8]||(z[8]=vue.withModifiers(()=>{},["stop"])),"onUpdate:modelValue":ae=>S("checkbox",re,ne,ae)},null,8,["disabled","model-value","onUpdate:modelValue"]),vue.createElementVNode("span",{class:vue.normalizeClass([vue.unref(_).e("label")])},vue.toDisplayString(re.label),3),re.isLeaf?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(G,{key:0,class:vue.normalizeClass(["arrow-right",vue.unref(_).e("postfix")])},{default:vue.withCtx(()=>[vue.createVNode(oe)]),_:1},8,["class"]))],10,gu))),128))]),_:2},1032,["wrap-class","view-class"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"]),[[vue.vShow,!h.value]]),vue.withDirectives(vue.createVNode(te,{ref:"suggestionPanel",tag:"ul","wrap-class":vue.unref(_).e("wrap"),"view-class":vue.unref(_).e("list")},{default:vue.withCtx(()=>[d.value.length?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(d.value,q=>(vue.openBlock(),vue.createElementBlock("li",{class:vue.normalizeClass([D(q)&&vue.unref(_).is("Selected")]),key:q.value},[vue.createVNode(ee,{disabled:q.isDisabled,"onUpdate:modelValue":ne=>S("checkbox",q,-1,ne),"model-value":q.checked,onClick:z[10]||(z[10]=vue.withModifiers(()=>{},["stop"]))},null,8,["disabled","onUpdate:modelValue","model-value"]),vue.createElementVNode("span",{class:vue.normalizeClass([vue.unref(_).e("label")])},vue.toDisplayString(q.text),3)],2))),128)):vue.renderSlot(M.$slots,"empty",{key:1},()=>[yu])]),_:3},8,["wrap-class","view-class"]),[[vue.vShow,h.value]])])]),default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(_).e("regin")]),onMouseenter:z[5]||(z[5]=q=>p.value=!0),onMouseleave:z[6]||(z[6]=q=>p.value=!1),onClick:z[7]||(z[7]=()=>B(!0))},[vue.createVNode(X,{readonly:vue.unref(k),ref_key:"input",ref:u,placeholder:l.value?"":"\u8BF7\u8F93\u5165",modelValue:v.value0,"onUpdate:modelValue":z[1]||(z[1]=q=>v.value0=q),onInput:U},{suffix:vue.withCtx(()=>[vue.unref(C)?(vue.openBlock(),vue.createBlock(G,{key:"clear",class:vue.normalizeClass([vue.unref(_).e("icon"),"icon-circle-close"]),onClick:vue.withModifiers(R,["stop"])},{default:vue.withCtx(()=>[vue.createVNode(W)]),_:1},8,["class","onClick"])):(vue.openBlock(),vue.createBlock(G,{key:"arrow-down",class:vue.normalizeClass([vue.unref(_).e("icon"),"icon-arrow-down",v.popperVisible&&vue.unref(_).e("reverse")]),onClick:z[0]||(z[0]=vue.withModifiers(q=>B(),["stop"]))},{default:vue.withCtx(()=>[vue.createVNode(J)]),_:1},8,["class"]))]),_:1},8,["readonly","placeholder","modelValue"]),vue.unref(k)?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:a,class:vue.normalizeClass(vue.unref(_).e("tagsWrap"))},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(f.value,q=>(vue.openBlock(),vue.createBlock(K,{key:q.key,type:"info",size:"default",closable:q.closable,"disable-transitions":"",onClose:ne=>L(q)},{default:vue.withCtx(()=>[q.isCollapseTag===!1?(vue.openBlock(),vue.createElementBlock("span",vu,vue.toDisplayString(q.text),1)):(vue.openBlock(),vue.createBlock(Q,{key:1,disabled:v.popperVisible,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(q.text),1)]),content:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(_).e("collapse-tags"))},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(c.value.slice(1),(ne,re)=>(vue.openBlock(),vue.createElementBlock("div",{key:re,class:vue.normalizeClass(vue.unref(_).e("collapse-tag"))},[(vue.openBlock(),vue.createBlock(K,{key:ne.key,class:"in-tooltip",type:"info",size:"default",closable:ne.closable,"disable-transitions":"",onClose:ae=>L(ne)},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(ne.text),1)]),_:2},1032,["closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["closable","onClose"]))),128)),vue.withDirectives(vue.createElementVNode("input",{"onUpdate:modelValue":z[2]||(z[2]=q=>l.value=q),type:"text",class:vue.normalizeClass(vue.unref(_).e("search-input")),onInput:z[3]||(z[3]=q=>U(l.value,q)),onClick:z[4]||(z[4]=vue.withModifiers(q=>B(!0),["stop"]))},null,34),[[vue.vModelText,l.value]])],2)):vue.createCommentVNode("",!0)],34)),[[vue.unref(elementPlus.ClickOutside),()=>B(!1),vue.unref(m)]])]),_:3},8,["popper-class","visible"])],2)}}}),$u={name:w.REGIONTYPE,inheritAttrs:!1},Su=Object.assign($u,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright");vue.ref();const{t:i,lang:s}=j.useI18n(),a=vue.reactive({value0:[],isChanged:!0}),u=j.useNamespace(w.REGIONTYPE),l=vue.computed(()=>n.operatorStyle==="tags");vue.watch(l,p=>{a.value0=[],a.isChanged=!1,vue.nextTick(()=>{a.isChanged=!0})});const{getData:c,setData:d,clearData:h,v$:f}=j.useCommon(w.REGIONTYPE,{...vue.toRefs(a),...vue.toRefs(n)});return e({getData:c,setData:d,clearData:h}),(p,m)=>a.isChanged?(vue.openBlock(),vue.createBlock(vue.unref(bu),{key:0,class:vue.normalizeClass([vue.unref(u).e("width"),vue.unref(f).value0.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),modelValue:a.value0,"onUpdate:modelValue":m[0]||(m[0]=g=>a.value0=g),multiple:vue.unref(l),selectType:n.params.selectType,clearable:"",placeholder:vue.unref(i)("er.public.select"),ref:"erRegin"},null,8,["class","modelValue","multiple","selectType","placeholder"])):vue.createCommentVNode("",!0)}}),wu=Object.freeze(Object.defineProperty({__proto__:null,default:Su},Symbol.toStringTag,{value:"Module"})),_u={name:w.SELECTTYPE},Ru=Object.assign(_u,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=!!vue.inject("EverrightConstraint",""),i=vue.inject("Everright");vue.ref();const{t:s,lang:a}=j.useI18n(),u=vue.computed(()=>n.params.multiple||n.operatorStyle==="tags"),l=j.useNamespace(w.SELECTTYPE),c=vue.reactive({loading:!0,value0:"",options:[],isChanged:!0});vue.watch(u,g=>{c.value0=g?[]:"",c.isChanged=!1,vue.nextTick(()=>{c.isChanged=!0})});const{getData:d,setData:h,clearData:f,v$:p}=j.useCommon(w.SELECTTYPE,{...vue.toRefs(c),...vue.toRefs(n),isMultiple:u}),m=vue.computed(()=>pe.convertDataByLang(c.options,a.value));return(async()=>{const g={property:n.property};try{const{data:v}=await(r?i.api.getPropValues(g):i.api.getConditions(g));c.options=v}finally{c.loading=!1}})(),e({getData:d,setData:h,clearData:f}),(g,v)=>{const _=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),y=vue.resolveDirective("loading");return c.isChanged?vue.withDirectives((vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([vue.unref(l).e("width"),vue.unref(p).value0.$error&&vue.unref(i).props.isShowValidateState&&"ERFILTER-ERROR"]),modelValue:c.value0,"onUpdate:modelValue":v[0]||(v[0]=A=>c.value0=A),multiple:vue.unref(u),"multiple-limit":o.params.multipleLimit||200,filterable:"",collapseTagsTooltip:"",placeholder:vue.unref(s)("er.public.select"),clearable:"","default-first-option":"","collapse-tags":""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(m),A=>(vue.openBlock(),vue.createBlock(_,{key:A.value,label:A.label,value:A.value},null,8,["label","value"]))),128))]),_:1},8,["class","modelValue","multiple","multiple-limit","placeholder"])),[[y,c.loading]]):vue.createCommentVNode("",!0)}}}),xu=Object.freeze(Object.defineProperty({__proto__:null,default:Ru},Symbol.toStringTag,{value:"Module"})),Tu={name:w.TEXTTYPE},Ou=Object.assign(Tu,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright");vue.ref();const{t:i,lang:s}=j.useI18n(),a=j.useNamespace(w.TEXTTYPE),u=vue.reactive({value0:"",value1:[],options:[]}),l=vue.computed(()=>n.operatorStyle==="tags"),{getData:c,setData:d,clearData:h,v$:f}=j.useCommon(w.TEXTTYPE,{...vue.toRefs(u),...vue.toRefs(n),isTags:l});vue.watch(()=>u.value1,m=>{u.options=m.map(g=>({value:g,label:g}))},{immediate:!0});const p=()=>{/^quick-search$/.test(r.props.type)&&r.fireEvent("search")};return e({getData:c,setData:d,clearData:h}),(m,g)=>{const v=vue.resolveComponent("el-option"),_=vue.resolveComponent("el-select"),b=vue.resolveComponent("el-input");return vue.unref(l)?(vue.openBlock(),vue.createBlock(_,{key:0,placeholder:vue.unref(i)("er.public.PleaseEnter"),class:vue.normalizeClass([vue.unref(a).e("width"),vue.unref(f).value1.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),modelValue:u.value1,"onUpdate:modelValue":g[0]||(g[0]=y=>u.value1=y),multiple:"",filterable:"","allow-create":"","default-first-option":"","collapse-tags":"",clearable:"",options:u.options},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(u.options,y=>(vue.openBlock(),vue.createBlock(v,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:1},8,["placeholder","class","modelValue","options"])):(vue.openBlock(),vue.createBlock(b,{key:1,placeholder:vue.unref(i)("er.public.TypeIn"),clearable:"",onChange:p,class:vue.normalizeClass([vue.unref(a).e("width"),vue.unref(f).value0.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),modelValue:u.value0,"onUpdate:modelValue":g[1]||(g[1]=y=>u.value0=y)},null,8,["placeholder","class","modelValue"]))}}}),Cu=Object.freeze(Object.defineProperty({__proto__:null,default:Ou},Symbol.toStringTag,{value:"Module"})),Pu={name:w.TIMETYPE,inheritAttrs:!1},ku=Object.assign(Pu,{props:["id","operatorStyle","params","property"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright"),{t:i,lang:s}=j.useI18n();vue.ref();const a=vue.reactive({value0:"",isChanged:!0}),u=j.useNamespace(w.TIMETYPE),l=vue.computed(()=>n.operatorStyle==="range");vue.watch(l,p=>{a.value0=p?[]:"",a.isChanged=!1,vue.nextTick(()=>{a.isChanged=!0})});const{getData:c,setData:d,clearData:h,v$:f}=j.useCommon(w.TIMETYPE,{...vue.toRefs(a),...vue.toRefs(n),isRange:l});return e({getData:c,setData:d,clearData:h}),(p,m)=>{const g=vue.resolveComponent("el-time-picker");return a.isChanged?(vue.openBlock(),vue.createBlock(g,{key:0,class:vue.normalizeClass([vue.unref(u).e("width"),vue.unref(f).value0.$error&&vue.unref(r).props.isShowValidateState&&"ERFILTER-ERROR"]),"is-range":vue.unref(l),modelValue:a.value0,"onUpdate:modelValue":m[0]||(m[0]=v=>a.value0=v),format:o.params.format||"HH:mm","arrow-control":"",placeholder:vue.unref(i)("er.public.select"),valueFormat:o.params.format},null,8,["class","is-range","modelValue","format","placeholder","valueFormat"])):vue.createCommentVNode("",!0)}}}),Du=Object.freeze(Object.defineProperty({__proto__:null,default:ku},Symbol.toStringTag,{value:"Module"})),Nu=Object.assign({"./Cascader.vue":Ql,"./Date.vue":su,"./Number.vue":cu,"./Region.vue":wu,"./Select.vue":xu,"./Text.vue":Cu,"./Time.vue":Du}),an={};lodash.forIn(Nu,(o,e)=>{an[`${e.replace(/(.\/|\.vue)/g,"")}Type`]=o.default});const Au={key:0},Lu={name:w.PICKERCOMPONENT},hr=Object.assign(Lu,{props:{id:{type:String},parent:{type:Array},isConstraint:{type:Boolean,default:!1},sign:{type:String},index:{type:[String,Number]}},emits:["listener"],setup(o,{expose:e,emit:n}){const r=o,i=vue.inject("Everright"),{t:s,lang:a}=j.useI18n(),u=vue.inject("EverrightConstraint",""),l=!!u,c=j.useNamespace(w.PICKERCOMPONENT),d=vue.ref(),h=vue.ref(),f=vue.reactive({isChange:!0,operator:[],property:"",loading:!1}),p=vue.computed(()=>!lodash.isEmpty(f.property)&&lodash.get(v,"value.isShowOperator",!0)&&/^(linear|matrix)$/.test(i.props.type)),m=vue.computed(()=>l?u.options:i.state.options),g=R=>R.children&&R.children.length>0?R.children.map(N=>g(N)):[R],v=vue.computed(()=>{let R={};if(f.property){const N=lodash.flattenDeep(vue.unref(m).map(I=>g(I)));R=lodash.find(N,{value:f.property})}return R}),_=vue.computed(()=>pe.convertDataByLang(i.state.operators[r.isConstraint?"TimesOperators":vue.unref(v).operatorKey],a.value)),b=vue.computed(()=>{let R="";return r.isConstraint?R=an.NumberType:vue.unref(v).renderType!=="NONE"&&(R=an[`${lodash.capitalize(vue.unref(v).renderType)}Type`]),R}),y=vue.computed(()=>vue.unref(b)&&`${lodash.capitalize(vue.unref(v).renderType)}Type`=="DateType"),A=vue.computed(()=>{const R=lodash.find(vue.unref(_),{value:f.operator[1]});return lodash.get(R,"style","noop")}),k=R=>/^(none)$/.test(R),C=vue.computed(()=>{let R=!1;return(f.property||r.isConstraint)&&vue.unref(v).renderType!=="NONE"&&(R=!0,vue.unref(A)!=="noop"&&(R=!k(vue.unref(A)))),R}),E=vue.computed(()=>[{value:"date",label:s("er.public.Date")},{value:"year",label:s("er.public.year")},{value:"month",label:s("er.public.month")},{value:"day",label:s("er.public.day")}]),F=vue.computed(()=>(i.state.store.filters.length>1||r.parent.length>1?!0:!lodash.isEmpty(f.property))&&!/^quick-(search|filter)$/.test(i.props.type)),S=R=>{i.state.store.filters.length===1&&r.parent.length===1&&!lodash.isEmpty(f.property)?(f.property="",n("listener",{type:"clear"})):r.parent.splice(r.parent.indexOf(r.id),1)},B=vue.computed(()=>{const R=lodash.get(vue.unref(v),"excludeOperator.dateOperator",[]),N=lodash.get(vue.unref(v),"excludeOperator.operator",[]),I=lodash.get(vue.unref(v),"includeOperator.dateOperator",[]),x=lodash.get(vue.unref(v),"includeOperator.operator",[]);return[E.value.filter(T=>I.length===0?R.indexOf(T.value)===-1:I.indexOf(T.value)!==-1),vue.unref(_).filter(T=>x.length===0?N.indexOf(T.value)===-1:x.indexOf(T.value)!==-1)]}),{getData:P,setData:L,v$:D}=j.useCommon(w.PICKERCOMPONENT,{...vue.toRefs(f),...vue.toRefs(r),isDateType:y,operatorStyle:A,componentRef:h,isShowComponent:C,emit:n,params:v,isShowOperator:p});e({getData:P,setData:L});const O=()=>{lodash.isEmpty(i.state.remoteData)&&(y.value&&(f.operator[0]=!f.operator[0]&&B.value[0][0].value),f.operator[1]=!f.operator[1]&&B.value[1][0].value)};return vue.watch(()=>f.property,R=>{i.fireEvent("triggerChange",{property:R,index:r.index,params:lodash.cloneDeep(v.value)}),f.isChange=!1,f.operator=[],R&&vue.nextTick(()=>{f.isChange=!0,O(),n("listener",{type:"change",data:{property:f.property,params:vue.unref(v),operatorStyle:vue.unref(A),dateOperator:f.operator[0]}})})}),r.isConstraint?O():vue.nextTick(()=>{i.state.pushRuleProperty&&(f.property=i.state.pushRuleProperty,i.state.pushRuleProperty="")}),/^quick-search$/.test(i.props.type)&&(f.property=m.value[0].value),(R,N)=>{const I=vue.resolveComponent("el-button"),x=vue.resolveComponent("Delete"),T=vue.resolveComponent("el-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(c).b()])},[vue.unref(i).props.type==="quick-filter"?(vue.openBlock(),vue.createElementBlock("div",Au,vue.toDisplayString(vue.unref(v).label),1)):vue.createCommentVNode("",!0),!o.isConstraint&&vue.unref(i).props.type!=="quick-filter"?(vue.openBlock(),vue.createBlock(Wl,{key:1,ref_key:"trigger",ref:d,class:vue.normalizeClass({"ERFILTER-ERROR":vue.unref(D).property.$error&&vue.unref(i).props.isShowValidateState}),modelValue:vue.unref(D).property.$model,"onUpdate:modelValue":N[0]||(N[0]=V=>vue.unref(D).property.$model=V),options:vue.unref(m),placeholder:vue.unref(s)("er.public.select")},null,8,["class","modelValue","options","placeholder"])):vue.createCommentVNode("",!0),o.isConstraint||vue.unref(p)&&f.isChange?(vue.openBlock(),vue.createBlock(Jl,{key:2,modelValue:f.operator,"onUpdate:modelValue":N[1]||(N[1]=V=>f.operator=V),options:vue.unref(B),isDateType:vue.unref(y)},null,8,["modelValue","options","isDateType"])):vue.createCommentVNode("",!0),vue.unref(C)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:3},[vue.unref(i).props.type==="quick-filter"?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass([vue.unref(c).e("componentWrap")])},[f.isChange?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(b)),{key:0,ref_key:"componentRef",ref:h,params:vue.unref(v),property:f.property,operatorStyle:vue.unref(A),dateOperator:f.operator[0],id:o.id},null,8,["params","property","operatorStyle","dateOperator","id"])):vue.createCommentVNode("",!0)],2)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[f.isChange?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(b)),{key:0,ref_key:"componentRef",ref:h,params:vue.unref(v),property:f.property,operatorStyle:vue.unref(A),dateOperator:f.operator[0],id:o.id},null,8,["params","property","operatorStyle","dateOperator","id"])):vue.createCommentVNode("",!0)],64))],64)):vue.createCommentVNode("",!0),/^quick-search$/.test(vue.unref(i).props.type)?(vue.openBlock(),vue.createBlock(I,{key:4,class:vue.normalizeClass([vue.unref(c).e("searchButton")]),type:"primary",icon:"Search",onClick:N[2]||(N[2]=V=>vue.unref(i).fireEvent("search"))},null,8,["class"])):vue.createCommentVNode("",!0),vue.unref(F)?(vue.openBlock(),vue.createBlock(I,{key:5,link:"",onClick:S},{default:vue.withCtx(()=>[vue.createVNode(T,null,{default:vue.withCtx(()=>[vue.createVNode(x)]),_:1})]),_:1})):vue.createCommentVNode("",!0)],2)}}}),Iu={key:0},Vu={key:1},Bu={key:2},Fu={key:0},ju={name:w.CONSTRAINTCOMPONENT},qu=Object.assign(ju,{props:["params","id"],emits:["update:modelValue"],setup(o,{expose:e,emit:n}){const r=o,i=vue.inject("Everright"),{t:s,lang:a}=j.useI18n(),u=j.useNamespace(w.CONSTRAINTCOMPONENT),l=vue.ref(),c=vue.ref(),d=vue.ref(),h=vue.reactive({loading:!0,value0:["date"],value1:"",options:[]});vue.provide("EverrightConstraint",h);const{getData:f,setData:p}=j.useCommon(w.CONSTRAINTCOMPONENT,{...vue.toRefs(h),...vue.toRefs(r),itemRef:l,timesRef:c,dateRef:d});e({getData:f,setData:p});const m=vue.computed(()=>{const _=[{value:"date",label:s(`er.${w.CONSTRAINTCOMPONENT}.date`),disabled:!0}],b=lodash.get(r,"params.params.constraint",{});return lodash.isEmpty(lodash.find(b,{type:"times"}))||_.push({value:"times",label:s(`er.${w.CONSTRAINTCOMPONENT}.times`)}),lodash.isEmpty(lodash.find(b,{type:"props"}))||_.push({value:"props",label:s(`er.${w.CONSTRAINTCOMPONENT}.props`)}),_}),g=vue.computed(()=>{const _=lodash.get(r,"params.params.constraint",{});let b={};const y=lodash.find(_,{type:"date"});return lodash.isEmpty(y)||(b=y),b}),v=()=>{h.loading=!0;const _={property:r.params.property};i.api.getProps(_).then(({data:b})=>{h.options=b}).finally(()=>{h.loading=!1})};return vue.watch([()=>h.value0,()=>h.options,()=>r.params.params],_=>{_[0].includes("props")&&_[1].length===0&&!lodash.isEmpty(_[2])&&v()},{immediate:!0}),(_,b)=>{const y=vue.resolveComponent("el-checkbox"),A=vue.resolveComponent("el-checkbox-group"),k=vue.resolveDirective("loading");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(u).b()])},[vue.createVNode(A,{modelValue:h.value0,"onUpdate:modelValue":b[0]||(b[0]=C=>h.value0=C)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(m),C=>(vue.openBlock(),vue.createBlock(y,{key:C.value,label:C.value,disabled:C.disabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(C.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"]),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("content")])},[vue.createVNode(vue.TransitionGroup,{name:"el-fade-in"},{default:vue.withCtx(()=>[h.value0.includes("date")?(vue.openBlock(),vue.createElementBlock("div",Iu,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("contentLabel")])},vue.toDisplayString(vue.unref(m)[0].label),3),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("item")])},[vue.createVNode(pr,{id:o.id,ref_key:"dateRef",ref:d,isShowSwitchButton:!0,isRange:!0,isConstraint:!0,defaultValue:"intervalBefore",params:vue.unref(g)},null,8,["id","params"])],2)])):vue.createCommentVNode("",!0),h.value0.includes("times")&&vue.unref(m)[1]?(vue.openBlock(),vue.createElementBlock("div",Vu,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("contentLabel")])},vue.toDisplayString(vue.unref(m)[1].label),3),vue.createElementVNode("div",null,[vue.createVNode(hr,{id:o.id,sign:"times",ref_key:"timesRef",ref:c,parent:[],isConstraint:!0},null,8,["id"])])])):vue.createCommentVNode("",!0),h.value0.includes("props")&&vue.unref(m)[2]?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",Bu,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("contentLabel")])},vue.toDisplayString(vue.unref(m)[2].label),3),h.loading?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",Fu,[vue.createVNode(sn,{id:o.id,ref_key:"itemRef",ref:l},null,8,["id"])]))])),[[k,h.loading]]):vue.createCommentVNode("",!0)]),_:1})],2)],2)}}}),Mu={name:w.FILTERRULE},zu=Object.assign(Mu,{props:["id","parent","parentId","index"],setup(o,{expose:e}){const n=o,r=vue.inject("Everright"),i=j.useNamespace(w.FILTERRULE),s=vue.ref(),a=vue.ref(),u=vue.reactive({logicalOperator:"and",isShowConstraint:!1,params:{params:{}}}),{getData:l,setData:c}=j.useCommon(w.FILTERRULE,{...vue.toRefs(u),...vue.toRefs(n),pickerRef:s,constraintRef:a});e({getData:l,setData:c});const d=({type:f,data:p})=>{if(f==="change"){const m=p.isReRender!==!1;m&&(u.isShowConstraint=!1),u.params=p,vue.nextTick(()=>{m&&(u.isShowConstraint=lodash.get(p,"params.constraint",!1))})}f==="clear"&&(u.params={},u.isShowConstraint=!1)},h=!!vue.inject("EverrightConstraint","");return h||(r.state.rulesState[n.parentId]||(r.state.rulesState[n.parentId]=0),r.state.rulesState[n.parentId]+=1,vue.onBeforeUnmount(()=>{r.state.rulesState[n.parentId]-=1})),(f,p)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(i).b(),!h&&vue.unref(r).props.type!=="quick-filter"&&vue.unref(i).e("border")])},[vue.createVNode(hr,{ref_key:"pickerRef",ref:s,id:o.id,parent:o.parent,onListener:d,index:o.index},null,8,["id","parent","index"]),u.isShowConstraint?(vue.openBlock(),vue.createBlock(qu,{key:0,ref_key:"constraintRef",ref:a,params:u.params,id:o.id},null,8,["params","id"])):vue.createCommentVNode("",!0)],2))}}),Uu={key:0},Hu={class:vue.normalizeClass(["EverrightFilterOption"])},Yu={name:w.FILTERITEM},sn=Object.assign(Yu,{props:{id:{type:String},index:{type:Number},parent:{type:Array}},emits:["del"],setup(o,{expose:e,emit:n}){const r=o,i=vue.inject("Everright"),{t:s,lang:a}=j.useI18n(),u=vue.inject("EverrightConstraint",""),l=j.useNamespace(w.FILTERITEM),c=vue.ref(),d=vue.ref(),h=vue.reactive({logicalOperator:"and",rules:/^(quick-search|quick-filter)$/.test(i.props.type)?[]:pe.generateItems(1)}),f=vue.computed(()=>i.props.type!=="quick-filter"&&h.rules.length>1),p=!!u,{getData:m,setData:g}=j.useCommon(w.FILTERITEM,{...vue.toRefs(h),...vue.toRefs(r),ruleRef:c}),v=()=>{i.props.canAddRule()!==!1&&h.rules.push(...pe.generateItems(1))};e({getData:m,setData:g,addRule(){h.rules.push(...pe.generateItems(1))},state:h});const _=vue.ref("auto"),b=k=>{let C=0;const E=d.value.querySelectorAll(`.${l.e("rule")}`);for(let F=0;F1&&(C+=52),_.value=C===0?"auto":C};let y="";p||(vue.onMounted(()=>{const k={attributes:!1,childList:!0,subtree:!0};y=new MutationObserver(b),y.observe(d.value,k)}),vue.onBeforeUnmount(()=>{y.disconnect(),y=null})),vue.watch(h.rules,k=>{k.length||n("del")},{deep:!0});const A=vue.computed(()=>a.value==="zh-cn"?pe.digitalToChinese(r.parent.indexOf(r.id)+1):pe.digitalToEnglish(r.parent.indexOf(r.id)+1));return(k,C)=>{const E=vue.resolveComponent("el-button");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(l).b()])},[!p&&vue.unref(i).props.type==="matrix"?(vue.openBlock(),vue.createElementBlock("h2",Uu,vue.toDisplayString(vue.unref(s)(`er.${vue.unref(w).FILTERITEM}.itemLabel`))+" "+vue.toDisplayString(vue.unref(A)),1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",Hu,[!p&&vue.unref(f)?(vue.openBlock(),vue.createBlock(Z1,{key:0,height:_.value,modelValue:h.logicalOperator,"onUpdate:modelValue":C[0]||(C[0]=F=>h.logicalOperator=F)},null,8,["height","modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",{ref_key:"optionContentRef",ref:d,class:vue.normalizeClass([vue.unref(l).e("optionContent"),"EverrightFilterOptionContent"])},[vue.createVNode(vue.TransitionGroup,{name:"el-fade-in"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(h.rules,(F,S)=>(vue.openBlock(),vue.createBlock(zu,{ref_for:!0,ref_key:"ruleRef",ref:c,class:vue.normalizeClass(!p&&vue.unref(l).e("rule")),key:F,id:F,parentId:o.id,parent:h.rules,index:o.index+"-"+S},null,8,["class","id","parentId","parent","index"]))),128))]),_:1}),p||vue.unref(i).isShowAdd.value?(vue.openBlock(),vue.createBlock(E,{key:0,class:vue.normalizeClass([vue.unref(l).e("add")]),onClick:v,link:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(p?vue.unref(s)(`er.${vue.unref(w).FILTERITEM}.addProp`):vue.unref(s)(`er.${vue.unref(w).FILTERITEM}.addCondition`)),1)]),_:1},8,["class"])):vue.createCommentVNode("",!0)],2)])],2)}}}),dt=(o,e,n,r)=>e[o]?e[o](n):j.useFetch(...r),Gu=o=>({getOptions(e){return dt("getOptions",o,e,pe.apiParams("options","get",o.httpPrams))},getConditions(e){return dt("getConditions",o,e,pe.apiParams("conditions","get",o.httpPrams,{params:e}))},getProps(e){return dt("getProps",o,e,pe.apiParams("props","get",o.httpPrams,{params:e}))},getPropValues(e){return dt("getPropValues",o,e,pe.apiParams("propValues","get",o.httpPrams,{params:e}))}}),Wu={key:0,class:vue.normalizeClass(["EverrightFilterOption"])},Ku={key:1},Ju={name:w.EVERRIGHTFILTER},t2=Object.assign(Ju,{props:{type:{type:String,default:"linear",validator(o){return/^(linear|matrix|quick-search|quick-filter)$/.test(o)}},httpPrams:{default(){}},isShowValidateState:{type:Boolean,default:!0},lang:{type:String,default:"zh-cn"},getOptions:{type:Function},getConditions:{type:Function},getProps:{type:Function},getPropValues:{type:Function},canAddRule:{type:Function,default:()=>{}},ruleLimit:{type:Number,default:-1}},emits:["listener"],setup(o,{expose:e,emit:n}){const r=o,{t:i,lang:s}=j.useI18n(r),a=vue.ref(),u=vue.ref("el-fade-in"),l=vue.reactive({loading:!1,options:[],logicalOperator:"and",store:{filters:pe.generateItems(1)},operators:{},Namespace:"filter",children:[],remoteData:{},rulesState:{},showDels:{},pushRuleProperty:"",isShowAdd:/^(linear|matrix)$/.test(r.type)}),c=vue.ref(),{getData:d,setData:h}=j.useCommon(w.EVERRIGHTFILTER,{...vue.toRefs(l),transitionName:u,itemRef:a,props:r}),f={},p=Gu(r),m=Yl.queue(function(B,P){f[String(B.name)]={},B.fn.then(()=>{P(),f[String(B.name)]=!1})});m.drain(function(){vue.nextTick(()=>{l.remoteData={},u.value="el-fade-in",l.loading=!1})});let g=!1;const v=(B,P)=>{g||(g=B==="init"),g&&n("listener",{type:B,data:P})},_=vue.computed(()=>l.isShowAdd&&r.ruleLimit===-1?!0:lodash.flatten(lodash.get(a,"value",[]).map(B=>B.state.rules)).lengthB.reduce((P,L)=>(L.children?P=P.concat(b(L.children)):P.push(L),P),[]),y=()=>{vue.nextTick(async()=>{if(/^(linear|matrix)$/.test(r.type))return l.loading=!1,v("init",lodash.cloneDeep(l.options)),!1;if(r.type==="quick-filter"){l.children.filter(P=>P.name===w.PICKERCOMPONENT);const B=lodash.cloneDeep(b(l.options));for(;B.length;)a.value[0].addRule(),l.pushRuleProperty=B[0].value,await vue.nextTick(),await vue.nextTick(),B.shift();l.loading=!1,await vue.nextTick(),v("init",lodash.cloneDeep(l.options))}r.type==="quick-search"&&(l.children.filter(B=>B.name===w.PICKERCOMPONENT),lodash.cloneDeep(b(l.options)),a.value[0].addRule(),l.loading=!1,await vue.nextTick(),v("init",lodash.cloneDeep(l.options)))})};(async()=>{l.loading=!0;try{const B=await p.getOptions();l.options=B.data.options,l.operators=B.data.operators,y()}catch{}})();const A=(...B)=>{if(r.type==="linear"){const P=lodash.get(B,"[1]",!1),L=l.children.filter(D=>D.name===w.PICKERCOMPONENT);if(L.length===1&&!L[0].state.property)L[0].state.property=B[0];else{const D=lodash.findIndex(L,{state:{property:B[0]}});if(P&&D!==-1)return!1;a.value[0].addRule(),l.pushRuleProperty=B[0]}}},k=new RegExp(`^(${[w.NUMBERTYPE,w.TEXTTYPE,w.SELECTTYPE,w.TIMETYPE,w.DATETYPE,w.DATECOMPONENT,w.REGIONTYPE,w.CASCADERTYPE].join("|")})$`);e({getData:d,setData:(...B)=>{g=!1,l.loading=!0,h(...B),g=!0},pushData:A,clearData:B=>{B==="values"?l.children.filter(P=>k.test(P.name)).forEach(P=>{P.clearData()}):(l.store.filters=pe.generateItems(1),l.logicalOperator="and")}});const C=j.useNamespace("Main",l.Namespace),E=vue.computed(()=>l.store.filters.length>1),F=()=>{l.store.filters.push(...pe.generateItems(1))},S=vue.computed(()=>`${i(`er.${w.EVERRIGHTFILTER}.addGroupLabel`)} ${s.value==="zh-cn"?pe.digitalToChinese(l.store.filters.length+1):pe.digitalToEnglish(l.store.filters.length+1)}`);return(B,P)=>{const L=vue.resolveComponent("el-button"),D=vue.resolveDirective("loading");return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(C).b(),vue.unref(C).e(r.type)])},[o.type==="matrix"?(vue.openBlock(),vue.createElementBlock("div",Wu,[vue.unref(E)?(vue.openBlock(),vue.createBlock(Z1,{key:0,modelValue:l.logicalOperator,"onUpdate:modelValue":P[0]||(P[0]=O=>l.logicalOperator=O),contentRef:c.value},null,8,["modelValue","contentRef"])):vue.createCommentVNode("",!0),l.options.length?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["EverrightFilterOptionContent"]),ref_key:"contentRef",ref:c},[vue.createVNode(vue.TransitionGroup,{name:u.value},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(l.store.filters,(O,R)=>(vue.openBlock(),vue.createBlock(sn,{ref_for:!0,ref_key:"itemRef",ref:a,class:"EverrightFilterItemSign",key:O,id:O,onDel:N=>l.store.filters.splice(R,1),parent:l.store.filters,index:R},null,8,["id","onDel","parent","index"]))),128))]),_:1},8,["name"]),vue.unref(_)?(vue.openBlock(),vue.createBlock(L,{key:0,class:vue.normalizeClass([vue.unref(C).e("add")]),onClick:F,link:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(S)),1)]),_:1},8,["class"])):vue.createCommentVNode("",!0)],512)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),/^(linear|quick-search|quick-filter)$/.test(o.type)?(vue.openBlock(),vue.createElementBlock("div",Ku,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(l.store.filters,(O,R)=>(vue.openBlock(),vue.createBlock(sn,{ref_for:!0,ref_key:"itemRef",ref:a,class:"EverrightFilterItemSign",key:O,id:O,onDel:N=>l.store.filters.splice(R,1),parent:l.store.filters,index:R},null,8,["id","onDel","parent","index"]))),128))])):vue.createCommentVNode("",!0)],2)),[[D,l.loading]])}}}),_hoisted_1$19={key:1},_hoisted_2$16={class:"dialog-footer"},__default__$F={name:"ConfigLogicComponent"},_sfc_main$F=Object.assign(__default__$F,{setup(o){const{t:e,lang:n}=hooks.useI18n(),r=vue.ref([{value:"visible",rules:[],ifRefs:[],thenRefs:[]},{value:"required",rules:[],ifRefs:[],thenRefs:[]},{value:"readOnly",rules:[],ifRefs:[],thenRefs:[]}]),i=vue.ref("visible"),s=vue.inject("Everright"),a=vue.ref(),u=hooks.useNamespace("ConfigLogicComponent"),l=vue.ref(!1),{state:c}=hooks.useTarget(),d=B=>async()=>new Promise((P,L)=>{P({data:generateIfFilterOptionsData(B,c.fields)})}),h=B=>async({property:P})=>new Promise((L,D)=>{L({data:generateIfFilterConditionsData(B,c,P)})}),f=B=>async()=>new Promise((P,L)=>{P({data:generateThenFilterOptionsData(B,c.fields)})}),p=B=>async({property:P})=>new Promise((L,D)=>{L({data:generateThenFilterConditionsData(B,c.fields)})}),m=vue.computed(()=>lodash.findIndex(r.value,{value:i.value})),g=B=>B.ifRefs.map((P,L)=>({ifRules:P.getData(),thenRules:B.thenRefs[L].getData()})),v=B=>{let P=!1;return B.rules.length?P=[...B.ifRefs,...B.thenRefs].every(L=>!lodash.isEmpty(L.getData())):P=!0,P},_=()=>{let B=0,P=!0;const L={};for(;B{D.rules.length&&(L[D.value]=g(D))}),L},b=()=>{l.value=!1},y=()=>{l.value=!0,r.value.forEach((B,P)=>{const L=lodash.get(s.state.logic,`${B.value}`,[]);C+=L.length*2,L.forEach((D,O)=>{B.rules.push(O)})})},A=B=>{switch(B){case 0:b();break;case 1:const P=r.value[m.value].rules;P.push(P.length),vue.nextTick(()=>{requestAnimationFrame(()=>{a.value[m.value].setScrollTop(a.value[m.value].wrapRef.scrollHeight)})});break;case 2:if(r.value.every(L=>!L.rules.length))s.state.logic={},b(),s.fireEvent("logic:cancel",lodash.cloneDeep(s.state.logic));else{const L=_();lodash.isEmpty(L)||(s.state.logic=_(i.value),b()),s.fireEvent("logic:confirm",lodash.cloneDeep(s.state.logic))}break}},k=(B,P,L)=>D=>{D?B[P][L]=D:B[P].splice(L,1)};let C=0;const E=(B,P,L,{type:D,data:O})=>{if(D==="init"){if(C>0){const R=lodash.get(L,`${B}Refs[${P}]`,{});vue.nextTick(()=>{R.setData(lodash.get(s.state.logic,`${L.value}[${P}].${B}Rules`,{}))}),C=C-1}else if(B==="then")switch(i.value){case"visible":lodash.last(L.thenRefs).pushData("show");break;case"required":lodash.last(L.thenRefs).pushData("required");break;case"readOnly":lodash.last(L.thenRefs).pushData("readOnly");break}}},F=(B,P)=>{switch(i.value){case"visible":B.thenRefs[P].pushData("show");break;case"required":B.thenRefs[P].pushData("required");break;case"readOnly":B.thenRefs[P].pushData("readOnly");break}return!1},S=()=>{r.value.forEach(B=>{B.rules=[]})};return(B,P)=>{const L=vue.resolveComponent("el-button"),D=vue.resolveComponent("el-empty"),O=vue.resolveComponent("el-scrollbar"),R=vue.resolveComponent("el-tab-pane"),N=vue.resolveComponent("el-tabs"),I=vue.resolveComponent("el-drawer");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(I,{"destroy-on-close":"",size:"60%",modal:!1,"append-to-body":"","close-on-press-escape":!1,"with-header":!1,onClosed:S,class:vue.normalizeClass([vue.unref(u).b()]),modelValue:l.value,"onUpdate:modelValue":P[5]||(P[5]=x=>l.value=x)},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_2$16,[vue.createVNode(L,{onClick:P[3]||(P[3]=x=>A(0))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(e)("er.public.cancel")),1)]),_:1}),vue.createVNode(L,{type:"primary",onClick:P[4]||(P[4]=x=>A(2))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(e)("er.public.confirm")),1)]),_:1})])]),default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createVNode(N,{modelValue:i.value,"onUpdate:modelValue":P[1]||(P[1]=x=>i.value=x),class:"demo-tabs"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(r.value,x=>(vue.openBlock(),vue.createBlock(R,{label:vue.unref(e)(`er.logic.tabs.${x.value}`),name:x.value,key:x.value},{default:vue.withCtx(()=>[vue.createVNode(O,{ref_for:!0,ref_key:"scrollbarRef",ref:a,"max-height":"calc(100vh - 210px)"},{default:vue.withCtx(()=>[x.rules.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$19,[vue.createVNode(vue.TransitionGroup,{name:"el-fade-in"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.rules,(T,V)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(vue.unref(u).e("rule")),key:T},[vue.createVNode(vue.unref(_sfc_main$R),{onClick:U=>x.rules.splice(V,1),class:vue.normalizeClass([vue.unref(u).e("delRule")]),icon:"delete"},null,8,["onClick","class"]),vue.createElementVNode("div",{class:vue.normalizeClass(vue.unref(u).e("if"))},[vue.createElementVNode("h3",null,vue.toDisplayString(vue.unref(e)("er.logic.filterLabel.if")),1),vue.createVNode(vue.unref(t2),{ref_for:!0,ref:k(x,"ifRefs",V),onListener:U=>E("if",V,x,U),lang:vue.unref(n),getOptions:d(x.value),getConditions:h(x.value)},null,8,["onListener","lang","getOptions","getConditions"])],2),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(u).e("then"),vue.unref(u).e(`${x.value}then`)])},[vue.createElementVNode("h3",null,vue.toDisplayString(vue.unref(e)("er.logic.filterLabel.then")),1),vue.createVNode(vue.unref(t2),{ref_for:!0,ref:k(x,"thenRefs",V),lang:vue.unref(n),canAddRule:()=>F(x,V),onListener:U=>E("then",V,x,U),getOptions:f(x.value),"rule-limit":x.value==="required"?2:x.value==="validation"?1:-1,getConditions:p(x.value)},null,8,["lang","canAddRule","onListener","getOptions","rule-limit","getConditions"])],2)],2))),128))]),_:2},1024)])):(vue.openBlock(),vue.createBlock(D,{key:0},{default:vue.withCtx(()=>[vue.createVNode(L,{type:"primary",icon:"plus",onClick:P[0]||(P[0]=T=>A(1))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(e)("er.public.add")),1)]),_:1})]),_:1}))]),_:2},1536)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"]),vue.withDirectives(vue.createVNode(L,{class:vue.normalizeClass([vue.unref(u).e("button")]),onClick:P[2]||(P[2]=x=>A(1))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(e)("er.public.add")),1)]),_:1},8,["class"]),[[vue.vShow,r.value[m.value].rules.length]])])]),_:1},8,["class","modelValue"]),vue.createVNode(L,{style:{width:"100%"},type:"primary",onClick:y},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(e)("er.logic.button")),1)]),_:1})],64)}}}),_hoisted_1$18={style:{width:"100%"}},__default__$E={name:"GlobalConfigPanel",inheritAttrs:!1,customOptions:{}},_sfc_main$E=Object.assign(__default__$E,{setup(o){const{target:e,state:n,isPc:r}=hooks.useTarget(),{t:i}=hooks.useI18n(),s=vue.inject("Everright"),a=hooks.useNamespace("GlobalConfigPanel"),u=["labelPosition","completeButton"],l=vue.ref(!1),c=vue.ref(),d=vue.ref(),h=vue.ref("pc"),f=(k,C)=>{(e.value.isSync?["pc","mobile"]:[n.platform]).forEach(F=>{lodash.set(e.value,`${F}.${k}`,C)})},p=vue.computed(()=>lodash.get(vue.unref(d),"popperRef.contentRef",""));let m="";const g=()=>new Promise((k,C)=>{const E=lodash.pick(vue.unref(e).pc,u),F=lodash.pick(vue.unref(e).mobile,u);lodash.isEqual(E,F)?k(!0):(l.value=!0,m=k)}),v=()=>{l.value=!1},_=k=>{switch(l.value=!1,k){case 2:const C=e.value[h.value==="pc"?"mobile":"pc"],E=lodash.pick(vue.unref(e)[h.value],u);Object.assign(C,lodash.cloneDeep(E)),m(!0);break}},b=vue.computed(()=>[{label:i("er.config.globalConfig.labelPosition.top"),value:"top",icon:"labelStructureP1"},{label:i("er.config.globalConfig.labelPosition.left"),value:"left",icon:"labelStructureP2"},{label:i("er.config.globalConfig.labelPosition.right"),value:"right",icon:"labelStructureP3"}]),y=vue.computed(()=>[{label:i("er.config.globalConfig.componentSize.large"),value:"large"},{label:i("er.config.globalConfig.componentSize.default"),value:"default"},{label:i("er.config.globalConfig.componentSize.small"),value:"small"}]),A=({property:k,data:C})=>{switch(k){case"labelPosition":f("labelPosition",C.value);break;case"size":e.value[n.platform].size=C.value;break}};return(k,C)=>{const E=vue.resolveComponent("QuestionFilled"),F=vue.resolveComponent("el-icon"),S=vue.resolveComponent("el-radio"),B=vue.resolveComponent("el-radio-group"),P=vue.resolveComponent("el-button"),L=vue.resolveComponent("el-popover"),D=vue.resolveComponent("el-switch"),O=vue.resolveComponent("el-form-item"),R=vue.resolveComponent("el-input"),N=vue.resolveComponent("el-col"),I=vue.resolveComponent("el-row"),x=vue.resolveComponent("el-color-picker");return vue.openBlock(),vue.createElementBlock("div",null,[vue.createVNode(L,{"virtual-triggering":"",visible:l.value,ref_key:"popoverRef",ref:d,"virtual-ref":c.value,width:200},{default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(a).e("syncContent")])},[vue.createVNode(F,{color:"#f90"},{default:vue.withCtx(()=>[vue.createVNode(E)]),_:1}),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(i)("er.config.globalConfig.sync.warning")),1)],2),vue.createVNode(B,{class:vue.normalizeClass([[vue.unref(a).e("syncType")],"ml-4"]),modelValue:h.value,"onUpdate:modelValue":C[0]||(C[0]=T=>h.value=T)},{default:vue.withCtx(()=>[vue.createVNode(S,{label:"pc"},{default:vue.withCtx(()=>[vue.createTextVNode("pc")]),_:1}),vue.createVNode(S,{label:"mobile"},{default:vue.withCtx(()=>[vue.createTextVNode("mobile")]),_:1})]),_:1},8,["class","modelValue"])]),vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(a).e("syncActions")])},[vue.createVNode(P,{size:"small",text:!0,onClick:C[1]||(C[1]=T=>_(1))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(i)("er.public.cancel")),1)]),_:1}),vue.createVNode(P,{size:"small",type:"primary",onClick:C[2]||(C[2]=T=>_(2))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(i)("er.public.confirm")),1)]),_:1})],2)]),_:1},8,["visible","virtual-ref"]),vue.createVNode(O,{label:vue.unref(i)("er.config.globalConfig.sync.label"),"label-position":"left"},{default:vue.withCtx(()=>[vue.withDirectives(vue.createVNode(D,{ref_key:"buttonRef",ref:c,"before-change":g,modelValue:vue.unref(e).isSync,"onUpdate:modelValue":C[3]||(C[3]=T=>vue.unref(e).isSync=T)},null,8,["modelValue"]),[[vue.unref(elementPlus.ClickOutside),v,p.value]])]),_:1},8,["label"]),vue.unref(r)?(vue.openBlock(),vue.createBlock(_sfc_main$N,{key:0,onListener:A,property:"size",layoutType:2,label:vue.unref(i)("er.config.globalConfig.componentSize.label"),val:vue.unref(e)[vue.unref(n).platform].size,nodes:y.value},null,8,["label","val","nodes"])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$N,{onListener:A,property:"labelPosition",label:vue.unref(i)("er.config.globalConfig.labelPosition.label"),height:66,fontSize:80,val:vue.unref(e)[vue.unref(n).platform].labelPosition,nodes:b.value},null,8,["label","val","nodes"]),vue.unref(s).props.isShowCompleteButton?(vue.openBlock(),vue.createBlock(O,{key:1,label:vue.unref(i)("er.public.button")},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$18,[vue.createElementVNode("div",null,[vue.createVNode(_sfc_main$Q,{mode:"preview"})]),vue.createElementVNode("div",null,[vue.createVNode(I,{gutter:8},{default:vue.withCtx(()=>[vue.createVNode(N,null,{default:vue.withCtx(()=>[vue.createVNode(O,{label:vue.unref(i)("er.public.text")},{default:vue.withCtx(()=>[vue.createVNode(R,{"model-value":vue.unref(e)[vue.unref(n).platform].completeButton.text,"show-word-limit":"",maxlength:20,"onUpdate:modelValue":C[4]||(C[4]=T=>f("completeButton.text",T))},null,8,["model-value"])]),_:1},8,["label"])]),_:1})]),_:1}),vue.createVNode(I,{gutter:8,style:{"margin-top":"20px"}},{default:vue.withCtx(()=>[vue.createVNode(N,{span:12},{default:vue.withCtx(()=>[vue.createVNode(O,{label:vue.unref(i)("er.public.color")},{default:vue.withCtx(()=>[vue.createVNode(x,{"popper-class":vue.unref(a).e("completeButtonColor"),"model-value":vue.unref(e)[vue.unref(n).platform].completeButton.color,"onUpdate:modelValue":C[5]||(C[5]=T=>f("completeButton.color",T)),"show-alpha":""},null,8,["popper-class","model-value"])]),_:1},8,["label"])]),_:1}),vue.createVNode(N,{span:12},{default:vue.withCtx(()=>[vue.createVNode(O,{label:vue.unref(i)("er.public.backgroundColor")},{default:vue.withCtx(()=>[vue.createVNode(x,{"popper-class":vue.unref(a).e("completeButtonColor"),"model-value":vue.unref(e)[vue.unref(n).platform].completeButton.backgroundColor,"onUpdate:modelValue":C[6]||(C[6]=T=>f("completeButton.backgroundColor",T)),"show-alpha":""},null,8,["popper-class","model-value"])]),_:1},8,["label"])]),_:1})]),_:1})])])]),_:1},8,["label"])):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$F)])}}}),_hoisted_1$17={key:0},_hoisted_2$15={key:1},__default__$D={name:"Config",inheritAttrs:!1,customOptions:{}},_sfc_main$D=Object.assign(__default__$D,{props:{mode:{type:String,default:"editor"},optionsList:{type:Object,default:()=>{}}},setup(o){const e=o,{state:n,isSelectAnyElement:r,isSelectField:i,isSelectRoot:s,setSelection:a,type:u,checkTypeBySelected:l,target:c,isSelectGrid:d,isSelectTabs:h,isSelectCollapse:f,isSelectTable:p}=hooks.useTarget(),m=vue.inject("Everright"),{t:g}=hooks.useI18n(),v=vue.ref("props");vue.computed(()=>!lodash.isEmpty(n.selected)&&n.selected.type!=="grid");const _=hooks.useNamespace("Config"),b=vue.ref(),y=(E,F,S)=>{const B=F.trim(),P=L=>{switch(L){case 0:S(new Error(g("er.validateMsg.required")));break;case 1:S();break;case 2:S(new Error(g("er.validateMsg.idUnique")));break}};e.mode==="editor"?n.validator(c.value,P):utils$4.isNull(B)?P(0):P(1)};vue.onMounted(()=>{b.value.validate()});const A=vue.reactive({key:[{required:!0,trigger:"blur",validator:y}]}),k=vue.computed(()=>{let E=["root"],F=[];return s.value||(E=E.concat(c.value.context.parents.filter(S=>!/^(inline|tr)$/.test(S.type)))),E.length>4?(F.push(E[0]),F.push({value:"placeholder"}),F.push(E[E.length-2]),F.push(E[E.length-1])):F=E,F.map(S=>{const B={node:S,label:""};return S==="root"?B.label=g("er.panels.config"):S.value!=="placeholder"&&(/^(col|collapseCol|tabsCol|td)$/.test(S.type)?B.label=g(`er.layout.${S.type}`):B.label=utils$4.fieldLabel(g,S)),B})}),C=E=>{a(E!=="root"?E:"root")};return vue.watch(c,()=>{s.value?v.value="root":v.value="props"},{immediate:!0}),(E,F)=>{const S=vue.resolveComponent("el-breadcrumb-item"),B=vue.resolveComponent("el-breadcrumb"),P=vue.resolveComponent("el-scrollbar"),L=vue.resolveComponent("el-form"),D=vue.resolveComponent("el-aside");return vue.openBlock(),vue.createBlock(D,{class:vue.normalizeClass([vue.unref(_).b()]),width:vue.unref(m).props.configPanelWidth},{default:vue.withCtx(()=>[vue.createVNode(B,{class:vue.normalizeClass([vue.unref(_).e("breadcrumb")]),"separator-icon":"ArrowRight"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(k.value,(O,R)=>(vue.openBlock(),vue.createBlock(S,{onClick:N=>R!==k.value.length-1&&O.node.value!=="placeholder"&&C(O.node),key:R},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(O.node.value==="placeholder"?"...":O.label),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["class"]),vue.createVNode(L,{ref_key:"form",ref:b,model:vue.unref(c),rules:A,"label-width":"120px","label-position":"top"},{default:vue.withCtx(()=>[vue.createVNode(P,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([vue.unref(_).e("wrap")])},[vue.unref(r)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$17,[(vue.openBlock(),vue.createBlock(_sfc_main$H,{key:vue.unref(c).id,optionsList:e.optionsList},{empty:vue.withCtx(()=>[vue.renderSlot(E.$slots,"empty")]),_:3},8,["optionsList"]))])):vue.createCommentVNode("",!0),vue.unref(s)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$15,[vue.createVNode(_sfc_main$E)])):vue.createCommentVNode("",!0)],2)]),_:3})]),_:3},8,["model","rules"])]),_:3},8,["class","width"])}}}),index$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$D},Symbol.toStringTag,{value:"Module"})),globalConfig={isSync:!0,pc:{size:"default",labelPosition:"left",completeButton:{text:"\u63D0\u4EA4",color:"",backgroundColor:""}},mobile:{labelPosition:"left",completeButton:{text:"\u63D0\u4EA4",color:"",backgroundColor:""}}},fieldsConfig=[{name:"\u9884\u8BBE\u5B57\u6BB5",id:"defaultField",list:[{type:"input",label:"\u90AE\u7BB1",icon:"email",key:"",id:"",options:{clearable:!0,renderType:2,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1}},{type:"input",label:"\u624B\u673A\u53F7",icon:"cellphone",key:"",id:"",options:{clearable:!0,renderType:4,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1}},{type:"input",label:"\u7F51\u5740",icon:"url",key:"",id:"",options:{clearable:!0,renderType:5,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1}},{type:"region",label:"\u7701\u5E02\u533A",icon:"location",key:"",id:"",options:{placeholder:"",required:!1,isShowLabel:!0,labelWidth:100,defaultValue:"",selectType:3,filterable:!0}},{type:"input",label:"\u8EAB\u4EFD\u8BC1\u53F7",icon:"ID",key:"",id:"",options:{clearable:!0,renderType:3,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1}},{type:"input",label:"\u6587\u79CD\u5B57\u6BB5",documentId:1,fieldId:1,icon:"email",key:"",id:"",options:{clearable:!0,renderType:6,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1}}]},{name:"\u57FA\u7840\u5B57\u6BB5",id:"field",list:[{type:"input",label:"\u5355\u884C\u6587\u672C",icon:"input",key:"",id:"",options:{clearable:!0,isShowWordLimit:!1,renderType:1,disabled:!1,showPassword:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1,min:null,max:null}},{type:"textarea",label:"\u591A\u884C\u6587\u672C",icon:"textarea",key:"",id:"",options:{clearable:!0,isShowWordLimit:!1,rows:6,defaultValue:"",placeholder:"",disabled:!1,labelWidth:100,isShowLabel:!0,required:!1,min:null,max:null}},{type:"number",label:"\u6570\u5B57",icon:"numbers",key:"",id:"",options:{min:0,max:null,step:1,precision:0,disabled:!1,controls:!0,controlsPosition:!0,defaultValue:null,labelWidth:100,isShowLabel:!0,required:!1,minlength:null,maxlength:null}},{type:"radio",label:"\u5355\u9009\u6846",icon:"radio",key:"",id:"",options:{dataKey:"",displayStyle:"block",defaultValue:"",labelWidth:100,isShowLabel:!0,disabled:!1,required:!1}},{type:"checkbox",label:"\u590D\u9009\u6846",icon:"checkbox",key:"",id:"",options:{dataKey:"",displayStyle:"block",defaultValue:[],labelWidth:100,isShowLabel:!0,required:!1,disabled:!1}},{type:"select",label:"\u4E0B\u62C9\u6846",icon:"dropdown0",key:"",id:"",options:{dataKey:"",filterable:!0,multiple:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,disabled:!1,clearable:!0,required:!1}},{type:"time",label:"\u65F6\u95F4",icon:"time",key:"",id:"",options:{clearable:!0,format:"HH:mm:ss",valueFormat:"HH:mm:ss",defaultValue:null,placeholder:"",labelWidth:100,isShowLabel:!0,required:!1,disabled:!1}},{type:"date",label:"\u65E5\u671F",icon:"calendar",key:"",id:"",options:{isShowWordLimit:!1,clearable:!0,format:"YYYY-MM-DD",defaultValue:null,startTime:null,endTime:null,placeholder:"",labelWidth:100,isShowLabel:!0,type:"date",required:!1,disabled:!1}},{type:"rate",label:"\u8BC4\u5206",icon:"rating",key:"",id:"",options:{max:5,allowHalf:!1,defaultValue:0,labelWidth:100,isShowLabel:!0,disabled:!1}},{type:"switch",label:"\u5F00\u5173",icon:"switch",key:"",id:"",options:{defaultValue:!0,labelWidth:100,isShowLabel:!0,disabled:!1}},{type:"slider",label:"\u6ED1\u5757",icon:"slider",key:"",id:"",options:{min:0,max:100,step:1,defaultValue:0,placeholder:"",labelWidth:100,isShowLabel:!0,required:!1,disabled:!1}},{type:"html",label:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",icon:"html",key:"",id:"",options:{defaultValue:"",placeholder:"",action:"",size:1,labelWidth:100,isShowLabel:!0,required:!1,disabled:!1}},{type:"cascader",label:"\u7EA7\u8054\u6846",icon:"cascader",key:"",id:"",options:{filterable:!0,multiple:!1,checkStrictly:!1,defaultValue:"",placeholder:"",labelWidth:100,isShowLabel:!0,required:!1,disabled:!1,clearable:!0}},{type:"uploadfile",label:"\u4E0A\u4F20\u6587\u4EF6",icon:"upload",key:"",id:"",options:{isShowLabel:!0,labelWidth:100,defaultValue:[],multiple:!1,action:"",limit:1,size:5,accept:".png,.jpg",disabled:!1,required:!1}},{type:"uploadimg",label:"\u4E0A\u4F20\u56FE\u7247",icon:"uploadImg",key:"",id:"",options:{isShowLabel:!0,labelWidth:100,defaultValue:[],multiple:!1,action:"",limit:1,size:5,accept:".png,.jpg",disabled:!1,required:!1,customField:""}},{type:"signature",label:"\u7B7E\u540D",icon:"signature",key:"",id:"",options:{required:!1,isShowLabel:!0,labelWidth:100,defaultValue:"",penColor:"rgb(0, 0, 0)",action:"",disabled:!1}}]},{name:"\u5BB9\u5668",id:"container",list:[{type:"grid",label:"grid",icon:"grid",id:"",columns:[{id:"",options:{span:6,offset:0,pull:0,push:0},type:"col",list:[]},{id:"",options:{span:6,offset:0,pull:0,push:0},type:"col",list:[]},{id:"",options:{span:6,offset:0,pull:0,push:0},type:"col",list:[]}],options:{gutter:0,justify:"space-around",align:"top"}},{type:"table",label:"\u8868\u683C\u5E03\u5C40",icon:"tableStokeP2",id:"",rows:[{type:"tr",columns:[{type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}},{type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}}]},{type:"tr",columns:[{type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}},{type:"td",options:{colspan:1,rowspan:1,isMerged:!1},list:[],style:{}}]}],options:{width:100,widthType:"%"}},{type:"tabs",label:"\u6807\u7B7E\u9875",icon:"label",id:"",columns:[],options:{type:"",tabPosition:"top",align:"top",hidden:!1}},{type:"collapse",label:"\u6298\u53E0\u9762\u677F",icon:"collapse",id:"",columns:[],options:{defaultValue:[],accordion:!1}},{type:"divider",label:"\u5206\u5272\u7EBF",icon:"divider",key:"",id:"",options:{contentPosition:"center",filterable:!0,defaultValue:"divider",labelWidth:100,labelHidden:!0,required:!1}}]}],componentsConfig=Object.freeze(Object.defineProperty({__proto__:null,globalConfig,fieldsConfig},Symbol.toStringTag,{value:"Module"})),defaultProps={fieldsConfig:{type:Array,default:()=>fieldsConfig},globalConfig:{type:Object,default:()=>globalConfig},lang:{type:String,default:"zh-cn"},layoutType:{type:Number,default:1},fileUploadURI:{type:String},configPanelWidth:{type:String,default:"320px"},isShowCompleteButton:{type:Boolean,default:!0},checkPropsBySelected:{type:Function,default:()=>{}},quickImages:{type:Array,default:()=>[]},quickImageLimit:{type:Number,default:5},quickColors:{type:Array,default:()=>["rgba(255, 255, 255, 1)","rgba(249, 249, 249, 1)","rgba(233, 233, 233, 1)","rgba(254, 249, 210, 1)","rgba(253, 246, 236, 1)","rgba(254, 241, 241, 1)","rgba(236, 246, 255, 1)","rgba(235, 242, 244, 1)","rgba(240, 249, 236, 1)"]},optionsList:{type:Object,default:()=>{}}},__default__$C={name:"Everright-form-preview"},_sfc_main$C=Object.assign(__default__$C,{props:defaultProps,emits:["listener"],setup(o,{expose:e,emit:n}){const r=o,i=vue.reactive({store:[],selection:{},platform:utils$4.isPc()?"pc":"mobile",mode:"preview",config:{},Namespace:"formEditor",validateStates:[],data:{},fields:[],logic:{},fieldsLogicState:new Map});hooks.useNamespace("Main",i.Namespace),hooks.useLogic(i);const s=()=>{const d={};return i.fields.forEach(h=>{d[h.key]=h.options.defaultValue}),lodash.cloneDeep(d)},a=(d,h)=>{n("listener",{type:d,data:h})};vue.provide("Everright",{state:i,getData:s,props:r,fireEvent:a});const u=(d,h)=>{const f=lodash.cloneDeep(d);f.layout.pc,f.layout.mobile,i.store=f.list,i.fields=f.fields;const p=lodash.cloneDeep(f.layout[i.platform]);utils$4.combinationData2(p,i.fields),i.store=p,i.config=f.config,i.data=f.data,i.logic=f.logic,i.store.forEach(m=>{utils$4.addContext(m,i.store,!1)}),lodash.isEmpty(h)||i.fields.forEach(m=>{m.type==="time"&&!m.options.valueFormat&&(m.options.valueFormat="HH:mm:ss"),h[m.key]&&(m.options.defaultValue=h[m.key])})},l=(d,h)=>{if(lodash.isEmpty(d))return!1;const f=utils$4.combinationData1(lodash.cloneDeep(d));i.store=f.list,i.config=f.config,i.data=f.data,i.fields=f.fields,i.logic=f.logic,i.store.forEach(p=>{utils$4.addContext(p,i.store)}),lodash.isEmpty(h)||i.fields.forEach(p=>{p.type==="time"&&!p.options.valueFormat&&(p.options.valueFormat="HH:mm:ss"),h[p.key]&&(p.options.defaultValue=h[p.key])})},c=r.layoutType===1?l:u;return e({switchPlatform(d){i.platform=d},setData:c,getData:s}),(d,h)=>i.store.length?(vue.openBlock(),vue.createBlock(vue.unref(CanvesPanel),{key:0})):vue.createCommentVNode("",!0)}});function generatorData(o,e=!0,n="zh-cn",r=!0,i){const s=e?{type:"inline",columns:[o]}:o,a=utils$4.wrapElement(s,i&&i);return r&&(o.label=utils$4.transferData(n,utils$4.transferLabelPath(o),modules$2),/^(select|cascader|region|date|time)$/.test(o.type)&&(o.options.placeholder=utils$4.transferData(n,"er.validateMsg.placeholder2",modules$2)),/^(input|textarea|html)$/.test(o.type)&&(o.options.placeholder=utils$4.transferData(n,"er.validateMsg.placeholder1",modules$2))),a}const __default__$B={name:"Everright-form-editor"},_sfc_main$B=Object.assign(__default__$B,{props:lodash.merge({fieldsPanelWidth:{type:String,default:"220px"},fieldsPanelDefaultOpeneds:{type:Array,default:()=>["defaultField","field","container"]},delHandle:{type:Function,default:()=>{}},copyHandle:{type:Function,default:()=>{}},inlineMax:{type:Number,default:4},isShowClear:{type:Boolean,default:!0},isShowI18n:{type:Boolean,default:!0}},defaultProps),emits:["listener"],setup(o,{expose:e,emit:n}){const r=o,i={pc:[],mobile:[]},s=vue.ref("pc"),a=vue.ref(!0),u=vue.reactive({store:[],selected:{},mode:"edit",platform:"pc",children:[],config:r.globalConfig,previewVisible:!1,widthScaleLock:!1,data:{},validateStates:[],fields:[],Namespace:"formEditor",logic:{}}),l=vue.ref(!0),c=vue.ref(!0);u.validator=(x,T)=>{if(x){const V=lodash.countBy(u.validateStates,"data.key"),U=x.key.trim();if(utils$4.isNull(U))return lodash.find(u.validateStates,{data:{key:x.key}}).isWarning=!0,T&&T(0),!1;u.validateStates.forEach(M=>{V[M.data.key]>1?M.isWarning=!0:M.isWarning=!1}),T&&T(V[U]>1?2:1)}else T(u.validateStates.every(V=>!V.isWarning))};const{t:d,lang:h}=hooks.useI18n(r),f=vue.ref(""),p=vue.ref(!0),m=vue.ref(!0),g=x=>{let T="";x==="root"?T=u.config:x.type==="inline"?T=x.columns[0]:T=x,m.value=u.selected===T,u.selected=T,vue.nextTick(()=>{m.value=!0})};g(u.config);const v=x=>{if(utils$4.checkIsField(x)){const T=lodash.findIndex(u.fields,{id:x.id});T===-1?u.fields.push(x):u.fields.splice(T,1,x)}},_=x=>{const T=lodash.findIndex(u.fields,{id:x.id});T!==-1&&(utils$4.checkIdExistInLogic(x.id,u.logic)&&(elementPlus.ElMessage({showClose:!0,duration:4e3,message:d("er.logic.logicSuggests"),type:"warning"}),utils$4.removeLogicDataByid(x.id,u.logic)),u.fields.splice(T,1))},b=(x,T=!1)=>{/^(radio|cascader|checkbox|select)$/.test(x.type)&&(T?(u.data[x.id]=lodash.cloneDeep(u.data[x.options.dataKey]),x.options.dataKey=x.id):u.data[x.id]||(x.options.dataKey=x.id,u.data[x.id]={type:x.type,list:utils$4.generateOptions(3).map((V,U)=>(V.label+=U+1,V))})),/^(uploadfile|signature|html)$/.test(x.type)&&(x.options.action=r.fileUploadURI)},y=(x,T=!0,V=!0,U=!0,M=!0)=>{const z=U?generatorData(x,T,h.value,U,W=>{b(W),v(W)}):T?{type:"inline",columns:[x]}:x;return!U&&M&&(utils$4.checkIsField(x)?u.platform==="pc"?x.style.width.pc="100%":x.style.width.mobile="100%":x.style.width="100%"),z},A=(x,T)=>{const V=x==="pc",U=lodash.cloneDeep(u.store);if(utils$4.disassemblyData2(U),i[V?"mobile":"pc"]=U,lodash.isEmpty(V?i.pc:i.mobile)){const M=u.fields.map(z=>y(z,!0,!1,!1,!1));T&&T(M)}else{const M=utils$4.pickfields(V?i.pc:i.mobile).map(J=>({id:J})),z=lodash.cloneDeep(V?i.pc:i.mobile),W=lodash.differenceBy(u.fields,M,"id"),G=lodash.differenceBy(M,u.fields,"id");utils$4.repairLayout(z,G),utils$4.combinationData2(z,u.fields),z.push(...W.map(J=>y(J,!0,!1,!1,!1))),T&&T(z)}},k=x=>{const T=x==="pc";if(lodash.isEmpty(T?i.pc:i.mobile))if(x===u.platform){const V=lodash.cloneDeep(u.store);return utils$4.disassemblyData2(V),V}else{const V=lodash.cloneDeep(u.fields.map(U=>y(U,!0,!1,!1,!1)));return utils$4.disassemblyData2(V),V}else{if(x===u.platform){const W=lodash.cloneDeep(u.store);utils$4.disassemblyData2(W),i[T?"pc":"mobile"]=W}const V=utils$4.pickfields(T?i.pc:i.mobile).map(W=>({id:W})),U=lodash.cloneDeep(T?i.pc:i.mobile),M=lodash.cloneDeep(lodash.differenceBy(u.fields,V,"id").map(W=>y(W,!0,!1,!1,!1))),z=lodash.differenceBy(V,u.fields,"id");return utils$4.repairLayout(U,z),utils$4.disassemblyData2(M),U.push(...M),U}},C=x=>{if(u.platform===x)return!1;r.layoutType===2&&A(x,T=>{u.store=T,u.store.forEach(V=>{utils$4.addContext(V,u.store)})}),u.platform=x},E=vue.ref(""),F=(x,T)=>{n("listener",{type:x,data:T})};vue.provide("Everright",{state:u,setSelection:g,props:r,wrapElement:y,delField:_,addField:v,switchPlatform:C,addFieldData:b,canvesScrollRef:E,fireEvent:F});const S=hooks.useNamespace("Main",u.Namespace),B=()=>Object.assign(utils$4.disassemblyData1(lodash.cloneDeep({list:u.store,config:u.config,data:u.data})),{logic:u.logic}),P=()=>(i.pc=k("pc"),i.mobile=k("mobile"),lodash.cloneDeep({layout:i,data:u.data,config:u.config,fields:u.fields,logic:u.logic})),L=x=>{if(lodash.isEmpty(x))return!1;const T=utils$4.combinationData1(lodash.cloneDeep(x));p.value=!1,u.store=T.list,u.config=T.config,u.data=T.data,u.fields=T.fields,u.logic=T.logic,g(u.config),u.store.forEach(V=>{utils$4.addContext(V,u.store)}),vue.nextTick(()=>{p.value=!0})},D=x=>{if(lodash.isEmpty(x))return!1;const T=lodash.cloneDeep(x);i.pc=T.layout.pc,i.mobile=T.layout.mobile,p.value=!1,u.store=T.list,u.fields=T.fields;const V=lodash.cloneDeep(T.layout[u.platform]);utils$4.combinationData2(V,u.fields),u.store=V,u.config=T.config,u.data=T.data,g(u.config),u.store.forEach(U=>{utils$4.addContext(U,u.store)}),vue.nextTick(()=>{p.value=!0})},O=()=>u.validateStates.every(x=>!x.isWarning)?(r.layoutType===1?B:P)():{},R=r.layoutType===1?L:D;e({switchPlatform(x){C(x)},setData:R,getData:O});const N=(x,T)=>{switch(x){case 1:break;case 2:i.pc=[],i.mobile=[],u.fields.splice(0),u.store.splice(0),u.data={},g("root");break;case 3:u.previewVisible=!0,a.value=!0,vue.nextTick(()=>{f.value.setData(O()),vue.nextTick(()=>{a.value=!1})});break;case 4:console.log(x,T,O()),F("save",O());break;case 5:l.value=!l.value;break;case 6:c.value=!c.value;break;case 7:a.value=!0,s.value=T,f.value.switchPlatform(T),f.value.setData(O()),vue.nextTick(()=>{vue.nextTick(()=>{a.value=!1})});break}};vue.watch(()=>u.selected,x=>{F("changeParams",lodash.cloneDeep(x))},{deep:!0,immediate:!0});const I=()=>{};return(x,T)=>{const V=vue.resolveComponent("el-scrollbar"),U=vue.resolveComponent("el-dialog"),M=vue.resolveComponent("el-dropdown-item"),z=vue.resolveComponent("el-dropdown-menu"),W=vue.resolveComponent("el-dropdown"),G=vue.resolveComponent("el-header"),J=vue.resolveComponent("el-container"),X=vue.resolveDirective("loading");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(U,{"destroy-on-close":"",fullscreen:"",class:vue.normalizeClass([vue.unref(S).e("previewDialog")]),onClosed:T[1]||(T[1]=K=>s.value=x.pc),modelValue:u.previewVisible,"onUpdate:modelValue":T[2]||(T[2]=K=>u.previewVisible=K)},{header:vue.withCtx(()=>[vue.createVNode(_sfc_main$G,{modelValue:s.value,"onUpdate:modelValue":T[0]||(T[0]=K=>N(7,K))},null,8,["modelValue"])]),default:vue.withCtx(()=>[vue.createVNode(V,null,{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass([vue.unref(S).e("previewDialogWrap"),s.value==="mobile"&&vue.unref(S).is("mobilePreview")])},[vue.createVNode(_sfc_main$C,vue.mergeProps(r,{ref_key:"EReditorPreviewRef",ref:f}),null,16)],2)),[[X,a.value]])]),_:1})]),_:1},8,["class","modelValue"]),vue.createVNode(J,{class:vue.normalizeClass([vue.unref(S).b()]),direction:"vertical"},{default:vue.withCtx(()=>[vue.createVNode(J,null,{default:vue.withCtx(()=>[vue.withDirectives(vue.createVNode(vue.unref(FieldsPanel),null,null,512),[[vue.vShow,l.value]]),vue.createVNode(J,{class:vue.normalizeClass([vue.unref(S).e("container")])},{default:vue.withCtx(()=>[vue.createVNode(G,{class:vue.normalizeClass([vue.unref(S).e("operation")])},{default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createVNode(vue.unref(_sfc_main$R),{onClick:T[3]||(T[3]=K=>N(4)),class:vue.normalizeClass([vue.unref(S).e("icon")]),icon:"save"},null,8,["class"]),x.isShowClear?(vue.openBlock(),vue.createBlock(vue.unref(_sfc_main$R),{key:0,onClick:T[4]||(T[4]=K=>N(2)),class:vue.normalizeClass([vue.unref(S).e("icon")]),icon:"clear0"},null,8,["class"])):vue.createCommentVNode("",!0),vue.renderSlot(x.$slots,"operation-left")]),vue.createElementVNode("div",null,[vue.createVNode(_sfc_main$G,{modelValue:u.platform,"onUpdate:modelValue":T[5]||(T[5]=K=>C(K))},null,8,["modelValue"])]),vue.createElementVNode("div",null,[vue.renderSlot(x.$slots,"operation-right"),x.isShowI18n?(vue.openBlock(),vue.createBlock(W,{key:0,onCommand:T[6]||(T[6]=K=>F("lang",K))},{dropdown:vue.withCtx(()=>[vue.createVNode(z,null,{default:vue.withCtx(()=>[vue.createVNode(M,{command:"zh-cn",disabled:vue.unref(h)==="zh-cn"},{default:vue.withCtx(()=>[vue.createTextVNode("\u4E2D\u6587")]),_:1},8,["disabled"]),vue.createVNode(M,{command:"en",disabled:vue.unref(h)==="en"},{default:vue.withCtx(()=>[vue.createTextVNode("English")]),_:1},8,["disabled"])]),_:1})]),default:vue.withCtx(()=>[vue.createVNode(vue.unref(_sfc_main$R),{class:vue.normalizeClass([vue.unref(S).e("icon")]),icon:"language"},null,8,["class"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(_sfc_main$R),{onClick:T[7]||(T[7]=K=>N(3)),class:vue.normalizeClass([vue.unref(S).e("icon")]),icon:"preview"},null,8,["class"])])]),_:3},8,["class"]),p.value?vue.withDirectives((vue.openBlock(),vue.createBlock(vue.unref(CanvesPanel),{key:0,data:u.store},null,8,["data"])),[[vue.unref(elementPlus.ClickOutside),I]]):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(_sfc_main$R),{onClick:T[8]||(T[8]=K=>N(5)),class:vue.normalizeClass([vue.unref(S).e("arrowLeft"),!l.value&&vue.unref(S).is("close")]),icon:"arrowLeft"},null,8,["class"]),vue.createVNode(vue.unref(_sfc_main$R),{onClick:T[9]||(T[9]=K=>N(6)),class:vue.normalizeClass([vue.unref(S).e("arrowRight"),!c.value&&vue.unref(S).is("close")]),icon:"arrowRight"},null,8,["class"])]),_:3},8,["class"]),p.value&&m.value?vue.withDirectives((vue.openBlock(),vue.createBlock(_sfc_main$D,{key:0,optionsList:r.optionsList},{empty:vue.withCtx(()=>[vue.renderSlot(x.$slots,"empty")]),_:3},8,["optionsList"])),[[vue.vShow,c.value]]):vue.createCommentVNode("",!0)]),_:3})]),_:3},8,["class"])],64)}}}),__default__$A={name:"Everright-form-config"},_sfc_main$A=Object.assign(__default__$A,{props:lodash.merge({field:{type:[Object,String],required:!0},fields:{type:Array,default:()=>[]}},defaultProps),emits:["listener"],setup(o,{expose:e,emit:n}){const r=o,i=vue.reactive({store:[],selected:{},config:globalConfig,platform:"pc",Namespace:"formEditor",validateStates:[],data:{},mode:"config",fields:r.fields,logic:{}});vue.ref(""),hooks.useNamespace("Main",i.Namespace),vue.ref(!1);const s=l=>{let c="";l==="root"?c=i.config:l.type==="inline"?c=l.columns[0]:c=l,i.selected=c},a=l=>{i.platform=l},u=(l,c)=>{n("listener",{type:l,data:c})};return vue.provide("Everright",{state:i,emit:n,props:r,setSelection:s,switchPlatform:a,fireEvent:u}),vue.watch(()=>r.field,l=>{l!=="root"&&(i.store[0]=l,utils$4.addContext(l,i.store)),s(l)},{immediate:!0}),e({switchPlatform(l){i.platform=l}}),vue.watch(()=>i.selected,l=>{u("changeParams",lodash.cloneDeep(l))},{deep:!0,immediate:!0}),(l,c)=>(vue.openBlock(),vue.createBlock(_sfc_main$D,{mode:"config"}))}}),__default__$z={name:"er-cascader",inheritAttrs:!1,customOptions:{}},_sfc_main$z=Object.assign(__default__$z,{props:["data","params"],setup(o){const e=o,n=hooks.useNamespace("FormTypesCascader_mobile"),r=()=>{e.data.options.defaultValue=[]};return(i,s)=>{const a=vue.resolveComponent("el-cascader"),u=vue.resolveComponent("van-icon"),l=vue.resolveComponent("van-field");return vue.openBlock(),vue.createBlock(l,vue.mergeProps({readonly:"",class:[vue.unref(n).b()]},o.params),vue.createSlots({input:vue.withCtx(()=>[vue.createVNode(a,vue.mergeProps({modelValue:o.data.options.defaultValue,"onUpdate:modelValue":s[0]||(s[0]=c=>o.data.options.defaultValue=c)},o.params,{"popper-class":vue.unref(n).e("cascader")}),null,16,["modelValue","popper-class"])]),_:2},[o.data.options.defaultValue&&o.data.options.defaultValue.length&&o.params.clearable?{name:"button",fn:vue.withCtx(()=>[vue.createVNode(u,{onTouchstart:vue.withModifiers(r,["stop"]),name:"clear"},null,8,["onTouchstart"])]),key:"0"}:void 0]),1040,["class"])}}}),mobile$h=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$z},Symbol.toStringTag,{value:"Module"})),__default__$y={name:"er-cascader",inheritAttrs:!1,customOptions:{}},_sfc_main$y=Object.assign(__default__$y,{props:["data","params"],setup(o){const e=hooks.useNamespace("FormTypesCascader_pc");return(n,r)=>{const i=vue.resolveComponent("el-cascader");return vue.openBlock(),vue.createBlock(i,vue.mergeProps({class:[vue.unref(e).b()],modelValue:o.data.options.defaultValue,"onUpdate:modelValue":r[0]||(r[0]=s=>o.data.options.defaultValue=s)},o.params),null,16,["class","modelValue"])}}}),pc$h=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$y},Symbol.toStringTag,{value:"Module"})),__default__$x={name:"er-checkbox",inheritAttrs:!1,customOptions:{}},_sfc_main$x=Object.assign(__default__$x,{props:["data","params"],setup(o){const e=hooks.useNamespace("FormTypesCheckbox"),n=vue.ref();return(r,i)=>{const s=vue.resolveComponent("el-checkbox"),a=vue.resolveComponent("el-checkbox-group"),u=vue.resolveComponent("van-field");return vue.openBlock(),vue.createBlock(u,vue.mergeProps({readonly:""},o.params,{ref_key:"element",ref:n}),{input:vue.withCtx(()=>[vue.createVNode(a,vue.mergeProps({onChange:i[0]||(i[0]=l=>n.value.resetValidation()),class:[vue.unref(e).e("radioGroup"),o.data.options.displayStyle==="block"&&vue.unref(e).e("blockLayout")],modelValue:o.data.options.defaultValue,"onUpdate:modelValue":i[1]||(i[1]=l=>o.data.options.defaultValue=l)},o.params),{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.params.options,l=>(vue.openBlock(),vue.createBlock(s,{key:l.value,label:l.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},16,["class","modelValue"])]),_:1},16)}}}),mobile$g=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$x},Symbol.toStringTag,{value:"Module"})),__default__$w={name:"er-checkbox",inheritAttrs:!1,customOptions:{}},_sfc_main$w=Object.assign(__default__$w,{props:["data","params"],setup(o){const e=hooks.useNamespace("FormTypesCheckbox");return(n,r)=>{const i=vue.resolveComponent("el-checkbox"),s=vue.resolveComponent("el-checkbox-group");return vue.openBlock(),vue.createBlock(s,vue.mergeProps({class:[vue.unref(e).e("radioGroup"),o.data.options.displayStyle==="block"&&vue.unref(e).e("blockLayout")],modelValue:o.data.options.defaultValue,"onUpdate:modelValue":r[0]||(r[0]=a=>o.data.options.defaultValue=a)},o.params),{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.params.options,a=>(vue.openBlock(),vue.createBlock(i,{key:a.value,label:a.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label"]))),128))]),_:1},16,["class","modelValue"])}}}),pc$g=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$w},Symbol.toStringTag,{value:"Module"})),_hoisted_1$16=["placeholder"],__default__$v={name:"er-date",inheritAttrs:!1,customOptions:{}},_sfc_main$v=Object.assign(__default__$v,{props:["data","params"],setup(o){const e=o,{t:n}=hooks.useI18n(),r=vue.ref(!1),i=vue.ref(""),s=vue.ref(""),a=vue.ref(),u=vue.ref(),l=["hour","minute","second"];vue.watch([()=>e.params.type,()=>e.data.options.defaultValue],p=>{if(p[0]==="date")i.value=(p[1]?dayjs.unix(p[1]):dayjs()).format("YYYY/MM/DD").split("/");else if(p[0]==="datetime"){let m="";p[1]?m=dayjs.unix(p[1]):m=dayjs(),i.value=m.format("YYYY/MM/DD").split("/"),s.value=m.format("HH:mm:ss").split(":")}},{immediate:!0});const c=vue.computed({get(){let p="";if(e.data.options.defaultValue)if(e.params.type==="date")p=dayjs.unix(e.data.options.defaultValue).format(e.data.options.format);else if(e.params.type==="dates")p=e.data.options.defaultValue.map(m=>dayjs.unix(m).format(e.data.options.format)).join(",");else if(e.params.type==="daterange"){const[m,g]=e.data.options.defaultValue;p=`${dayjs.unix(m).format(e.data.options.format)} - ${dayjs.unix(g).format(e.data.options.format)}`}else e.params.type==="datetime"&&(p=dayjs.unix(e.data.options.defaultValue).format(e.data.options.format));return p},set(p){e.params.type==="date"?e.data.options.defaultValue=String(dayjs(p).unix()):e.params.type==="dates"?e.data.options.defaultValue=p.map(m=>String(dayjs(m).unix())):e.params.type==="daterange"?e.data.options.defaultValue=p.map(m=>String(dayjs(m).unix())):e.params.type==="datetime"&&(e.data.options.defaultValue=String(dayjs(`${p[0].join("/")} ${p[1].join(":")}`,"YYYY/MM/DD HH:mm:ss").unix()))}}),d=p=>{r.value=!1,e.params.type==="date"?c.value=i.value:e.params.type==="dates"||e.params.type==="daterange"?c.value=p:e.params.type==="datetime"&&(c.value=[p[0].selectedValues,p[1].selectedValues])},h=()=>{r.value=!1},f=()=>{e.data.options.defaultValue="",/^(dates|daterange)$/.test(e.params.type)&&a.value.reset(),u.value.validate()};return(p,m)=>{const g=vue.resolveComponent("van-icon"),v=vue.resolveComponent("van-field"),_=vue.resolveComponent("van-date-picker"),b=vue.resolveComponent("van-popup"),y=vue.resolveComponent("van-time-picker"),A=vue.resolveComponent("van-picker-group"),k=vue.resolveComponent("van-calendar");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(v,vue.mergeProps({ref_key:"element",ref:u,readonly:"",modelValue:c.value,"onUpdate:modelValue":m[0]||(m[0]=C=>c.value=C)},o.params,{onClick:m[1]||(m[1]=C=>!o.params.disabled&&(r.value=!0))}),vue.createSlots({input:vue.withCtx(()=>[o.data.options.defaultValue?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(c.value),1)],64)):(vue.openBlock(),vue.createElementBlock("input",{key:0,placeholder:o.params.placeholder,class:"van-field__control",readonly:"",type:"text"},null,8,_hoisted_1$16))]),_:2},[!o.params.disabled&&c.value&&o.params.clearable?{name:"button",fn:vue.withCtx(()=>[vue.createVNode(g,{onClick:vue.withModifiers(f,["stop"]),name:"clear"},null,8,["onClick"])]),key:"0"}:void 0]),1040,["modelValue"]),o.params.type==="date"?(vue.openBlock(),vue.createBlock(b,{key:0,show:r.value,"onUpdate:show":m[3]||(m[3]=C=>r.value=C),round:"",position:"bottom"},{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps(o.params,{onConfirm:d,onCancel:h,modelValue:i.value,"onUpdate:modelValue":m[2]||(m[2]=C=>i.value=C)}),null,16,["modelValue"])]),_:1},8,["show"])):vue.createCommentVNode("",!0),o.params.type==="datetime"?(vue.openBlock(),vue.createBlock(b,{key:1,show:r.value,"onUpdate:show":m[6]||(m[6]=C=>r.value=C),round:"",position:"bottom"},{default:vue.withCtx(()=>[o.params.type==="datetime"?(vue.openBlock(),vue.createBlock(A,{key:0,tabs:[vue.unref(n)("er.form.selectDate"),vue.unref(n)("er.form.selectTime")],onConfirm:d,onCancel:h},{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps({modelValue:i.value,"onUpdate:modelValue":m[4]||(m[4]=C=>i.value=C)},o.params),null,16,["modelValue"]),vue.createVNode(y,{"columns-type":l,modelValue:s.value,"onUpdate:modelValue":m[5]||(m[5]=C=>s.value=C)},null,8,["modelValue"])]),_:1},8,["tabs"])):vue.createCommentVNode("",!0)]),_:1},8,["show"])):vue.createCommentVNode("",!0),o.params.type==="dates"?(vue.openBlock(),vue.createBlock(k,vue.mergeProps({key:2,ref_key:"calendar",ref:a},o.params,{show:r.value,"onUpdate:show":m[7]||(m[7]=C=>r.value=C),type:"multiple",onConfirm:d}),null,16,["show"])):vue.createCommentVNode("",!0),o.params.type==="daterange"?(vue.openBlock(),vue.createBlock(k,vue.mergeProps({key:3,ref_key:"calendar",ref:a},o.params,{show:r.value,"onUpdate:show":m[8]||(m[8]=C=>r.value=C),type:"range",onConfirm:d}),null,16,["show"])):vue.createCommentVNode("",!0)],64)}}}),mobile$f=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$v},Symbol.toStringTag,{value:"Module"})),__default__$u={name:"er-date",inheritAttrs:!1,customOptions:{}},_sfc_main$u=Object.assign(__default__$u,{props:["data","params"],setup(o){const e=hooks.useNamespace("FormTypesDate_pc");return(n,r)=>{const i=vue.resolveComponent("el-date-picker");return vue.openBlock(),vue.createBlock(i,vue.mergeProps({class:[vue.unref(e).b()],modelValue:o.data.options.defaultValue,"onUpdate:modelValue":r[0]||(r[0]=s=>o.data.options.defaultValue=s)},o.params),null,16,["class","modelValue"])}}}),pc$f=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$u},Symbol.toStringTag,{value:"Module"})),__default__$t={name:"er-divider",inheritAttrs:!1,customOptions:{}},_sfc_main$t=Object.assign(__default__$t,{props:["data","params"],setup(o){return(e,n)=>{const r=vue.resolveComponent("van-divider"),i=vue.resolveComponent("van-field");return vue.openBlock(),vue.createBlock(i,{readonly:"",label:o.params.label,required:o.params.required},{input:vue.withCtx(()=>[vue.createVNode(r,vue.mergeProps(o.params,{style:{width:"100%"}}),{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.data.options.defaultValue),1)]),_:1},16)]),_:1},8,["label","required"])}}}),mobile$e=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$t},Symbol.toStringTag,{value:"Module"})),__default__$s={name:"er-divider",inheritAttrs:!1,customOptions:{}},_sfc_main$s=Object.assign(__default__$s,{props:["data","params"],setup(o){const e=hooks.useNamespace("FormTypesDivider_pc");return(n,r)=>{const i=vue.resolveComponent("el-divider");return vue.openBlock(),vue.createBlock(i,vue.mergeProps({class:[vue.unref(e).b()]},o.params),{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.data.options.defaultValue),1)]),_:1},16,["class"])}}}),pc$e=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$s},Symbol.toStringTag,{value:"Module"}));/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getUserAgent(){try{return navigator.userAgent.toLowerCase()}catch{return""}}const userAgent=getUserAgent(),env={isMac:isMac(userAgent),isWindows:isWindows(userAgent),isGecko:isGecko(userAgent),isSafari:isSafari(userAgent),isiOS:isiOS(userAgent),isAndroid:isAndroid(userAgent),isBlink:isBlink(userAgent),features:{isRegExpUnicodePropertySupported:isRegExpUnicodePropertySupported()}};function isMac(o){return o.indexOf("macintosh")>-1}function isWindows(o){return o.indexOf("windows")>-1}function isGecko(o){return!!o.match(/gecko\/\d+/)}function isSafari(o){return o.indexOf(" applewebkit/")>-1&&o.indexOf("chrome")===-1}function isiOS(o){return!!o.match(/iphone|ipad/i)||isMac(o)&&navigator.maxTouchPoints>0}function isAndroid(o){return o.indexOf("android")>-1}function isBlink(o){return o.indexOf("chrome/")>-1&&o.indexOf("edge/")<0}function isRegExpUnicodePropertySupported(){let o=!1;try{o="\u0107".search(new RegExp("[\\p{L}]","u"))===0}catch{}return o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function fastDiff(o,e,n,r){n=n||function(l,c){return l===c};const i=Array.isArray(o)?o:Array.prototype.slice.call(o),s=Array.isArray(e)?e:Array.prototype.slice.call(e),a=findChangeBoundaryIndexes(i,s,n);return r?changeIndexesToAtomicChanges(a,s.length):changeIndexesToChanges(s,a)}function findChangeBoundaryIndexes(o,e,n){const r=findFirstDifferenceIndex(o,e,n);if(r===-1)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=cutAndReverse(o,r),s=cutAndReverse(e,r),a=findFirstDifferenceIndex(i,s,n),u=o.length-a,l=e.length-a;return{firstIndex:r,lastIndexOld:u,lastIndexNew:l}}function findFirstDifferenceIndex(o,e,n){for(let r=0;r0&&n.push({index:r,type:"insert",values:o.slice(r,s)}),i-r>0&&n.push({index:r+(s-r),type:"delete",howMany:i-r}),n}function changeIndexesToAtomicChanges(o,e){const{firstIndex:n,lastIndexOld:r,lastIndexNew:i}=o;if(n===-1)return Array(e).fill("equal");let s=[];return n>0&&(s=s.concat(Array(n).fill("equal"))),i-n>0&&(s=s.concat(Array(i-n).fill("insert"))),r-n>0&&(s=s.concat(Array(r-n).fill("delete"))),i200||i>200||r+i>300)return diff.fastDiff(o,e,n,!0);let s,a;if(i_?-1:1;d[g+b]&&(d[g]=d[g+b].slice(0)),d[g]||(d[g]=[]),d[g].push(v>_?s:a);let y=Math.max(v,_),A=y-g;for(;Ac;m--)h[m]=f(m);h[c]=f(c),p++}while(h[c]!==l);return d[c].slice(1)}diff.fastDiff=fastDiff;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function mix(o,...e){e.forEach(n=>{const r=Object.getOwnPropertyNames(n),i=Object.getOwnPropertySymbols(n);r.concat(i).forEach(s=>{if(s in o.prototype||typeof n=="function"&&(s=="length"||s=="name"||s=="prototype"))return;const a=Object.getOwnPropertyDescriptor(n,s);a.enumerable=!1,Object.defineProperty(o.prototype,s,a)})})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function spy(){return function o(){o.called=!0}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EventInfo{constructor(e,n){this.source=e,this.name=n,this.path=[],this.stop=spy(),this.off=spy()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const HEX_NUMBERS=new Array(256).fill("").map((o,e)=>("0"+e.toString(16)).slice(-2));function uid(){const o=Math.random()*4294967296>>>0,e=Math.random()*4294967296>>>0,n=Math.random()*4294967296>>>0,r=Math.random()*4294967296>>>0;return"e"+HEX_NUMBERS[o>>0&255]+HEX_NUMBERS[o>>8&255]+HEX_NUMBERS[o>>16&255]+HEX_NUMBERS[o>>24&255]+HEX_NUMBERS[e>>0&255]+HEX_NUMBERS[e>>8&255]+HEX_NUMBERS[e>>16&255]+HEX_NUMBERS[e>>24&255]+HEX_NUMBERS[n>>0&255]+HEX_NUMBERS[n>>8&255]+HEX_NUMBERS[n>>16&255]+HEX_NUMBERS[n>>24&255]+HEX_NUMBERS[r>>0&255]+HEX_NUMBERS[r>>8&255]+HEX_NUMBERS[r>>16&255]+HEX_NUMBERS[r>>24&255]}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const priorities={get(o="normal"){return typeof o!="number"?this[o]||this.normal:o},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function insertToPriorityArray(o,e){const n=priorities.get(e.priority);for(let r=0;r{if(typeof u=="object"&&u!==null){if(n.has(u))return`[object ${u.constructor.name}]`;n.add(u)}return u},i=e?` ${JSON.stringify(e,r)}`:"",s=getLinkToDocumentationMessage(o);return o+i+s}function formatConsoleArguments(o,e){const n=getLinkToDocumentationMessage(o);return e?[o,e,n]:[o,n]}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const version="35.4.0",windowOrGlobal=typeof window=="object"?window:global;if(windowOrGlobal.CKEDITOR_VERSION)throw new CKEditorError("ckeditor-duplicated-modules",null);windowOrGlobal.CKEDITOR_VERSION=version;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const _listeningTo=Symbol("listeningTo"),_emitterId=Symbol("emitterId"),_delegations=Symbol("delegations"),defaultEmitterClass$1=EmitterMixin(Object);function EmitterMixin(o){if(!o)return defaultEmitterClass$1;class e extends o{on(r,i,s){this.listenTo(this,r,i,s)}once(r,i,s){let a=!1;const u=(l,...c)=>{a||(a=!0,l.off(),i.call(this,l,...c))};this.listenTo(this,r,u,s)}off(r,i){this.stopListening(this,r,i)}listenTo(r,i,s,a={}){let u,l;this[_listeningTo]||(this[_listeningTo]={});const c=this[_listeningTo];_getEmitterId(r)||_setEmitterId(r);const d=_getEmitterId(r);(u=c[d])||(u=c[d]={emitter:r,callbacks:{}}),(l=u.callbacks[i])||(l=u.callbacks[i]=[]),l.push(s),addEventListener(this,r,i,s,a)}stopListening(r,i,s){const a=this[_listeningTo];let u=r&&_getEmitterId(r);const l=a&&u?a[u]:void 0,c=l&&i?l.callbacks[i]:void 0;if(!(!a||r&&!l||i&&!c))if(s)removeEventListener(this,r,i,s),c.indexOf(s)!==-1&&(c.length===1?delete l.callbacks[i]:removeEventListener(this,r,i,s));else if(c){for(;s=c.pop();)removeEventListener(this,r,i,s);delete l.callbacks[i]}else if(l){for(i in l.callbacks)this.stopListening(r,i);delete a[u]}else{for(u in a)this.stopListening(a[u].emitter);delete this[_listeningTo]}}fire(r,...i){try{const s=r instanceof EventInfo?r:new EventInfo(this,r),a=s.name;let u=getCallbacksForEvent(this,a);if(s.path.push(this),u){const c=[s,...i];u=Array.from(u);for(let d=0;d{this[_delegations]||(this[_delegations]=new Map),r.forEach(a=>{const u=this[_delegations].get(a);u?u.set(i,s):this[_delegations].set(a,new Map([[i,s]]))})}}}stopDelegating(r,i){if(!!this[_delegations])if(!r)this[_delegations].clear();else if(!i)this[_delegations].delete(r);else{const s=this[_delegations].get(r);s&&s.delete(i)}}_addEventListener(r,i,s){createEventNamespace(this,r);const a=getCallbacksListsForNamespace(this,r),u=priorities.get(s.priority),l={callback:i,priority:u};for(const c of a)insertToPriorityArray(c,l)}_removeEventListener(r,i){const s=getCallbacksListsForNamespace(this,r);for(const a of s)for(let u=0;u{EmitterMixin[o]=defaultEmitterClass$1.prototype[o]});function _getEmitterListenedTo(o,e){const n=o[_listeningTo];return n&&n[e]?n[e].emitter:null}function _setEmitterId(o,e){o[_emitterId]||(o[_emitterId]=e||uid())}function _getEmitterId(o){return o[_emitterId]}function getEvents(o){return o._events||Object.defineProperty(o,"_events",{value:{}}),o._events}function makeEventNode(){return{callbacks:[],childEvents:[]}}function createEventNamespace(o,e){const n=getEvents(o);if(n[e])return;let r=e,i=null;const s=[];for(;r!==""&&!n[r];)n[r]=makeEventNode(),s.push(n[r]),i&&n[r].childEvents.push(i),i=r,r=r.substr(0,r.lastIndexOf(":"));if(r!==""){for(const a of s)a.callbacks=n[r].callbacks.slice();n[r].childEvents.push(i)}}function getCallbacksListsForNamespace(o,e){const n=getEvents(o)[e];if(!n)return[];let r=[n.callbacks];for(let i=0;i-1?getCallbacksForEvent(o,e.substr(0,e.lastIndexOf(":"))):null:n.callbacks}function fireDelegatedEvents(o,e,n){for(let[r,i]of o){i?typeof i=="function"&&(i=i(e.name)):i=e.name;const s=new EventInfo(e.source,i);s.path=[...e.path],r.fire(s,...n)}}function addEventListener(o,e,n,r,i){e._addEventListener?e._addEventListener(n,r,i):o._addEventListener.call(e,n,r,i)}function removeEventListener(o,e,n,r){e._removeEventListener?e._removeEventListener(n,r):o._removeEventListener.call(e,n,r)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const observablePropertiesSymbol=Symbol("observableProperties"),boundObservablesSymbol=Symbol("boundObservables"),boundPropertiesSymbol=Symbol("boundProperties"),decoratedMethods=Symbol("decoratedMethods"),decoratedOriginal=Symbol("decoratedOriginal"),defaultObservableClass=ObservableMixin(EmitterMixin());function ObservableMixin(o){if(!o)return defaultObservableClass;class e extends o{set(r,i){if(isObject$2(r)){Object.keys(r).forEach(a=>{this.set(a,r[a])},this);return}initObservable(this);const s=this[observablePropertiesSymbol];if(r in this&&!s.has(r))throw new CKEditorError("observable-set-cannot-override",this);Object.defineProperty(this,r,{enumerable:!0,configurable:!0,get(){return s.get(r)},set(a){const u=s.get(r);let l=this.fire(`set:${r}`,r,a,u);l===void 0&&(l=a),(u!==l||!s.has(r))&&(s.set(r,l),this.fire(`change:${r}`,r,l,u))}}),this[r]=i}bind(...r){if(!r.length||!isStringArray$1(r))throw new CKEditorError("observable-bind-wrong-properties",this);if(new Set(r).size!==r.length)throw new CKEditorError("observable-bind-duplicate-properties",this);initObservable(this);const i=this[boundPropertiesSymbol];r.forEach(a=>{if(i.has(a))throw new CKEditorError("observable-bind-rebind",this)});const s=new Map;return r.forEach(a=>{const u={property:a,to:[]};i.set(a,u),s.set(a,u)}),{to:bindTo,toMany:bindToMany,_observable:this,_bindProperties:r,_to:[],_bindings:s}}unbind(...r){if(!this[observablePropertiesSymbol])return;const i=this[boundPropertiesSymbol],s=this[boundObservablesSymbol];if(r.length){if(!isStringArray$1(r))throw new CKEditorError("observable-unbind-wrong-properties",this);r.forEach(a=>{const u=i.get(a);!u||(u.to.forEach(([l,c])=>{const d=s.get(l),h=d[c];h.delete(u),h.size||delete d[c],Object.keys(d).length||(s.delete(l),this.stopListening(l,"change"))}),i.delete(a))})}else s.forEach((a,u)=>{this.stopListening(u,"change")}),s.clear(),i.clear()}decorate(r){initObservable(this);const i=this[r];if(!i)throw new CKEditorError("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:r});this.on(r,(s,a)=>{s.return=i.apply(this,a)}),this[r]=function(...s){return this.fire(r,s)},this[r][decoratedOriginal]=i,this[decoratedMethods]||(this[decoratedMethods]=[]),this[decoratedMethods].push(r)}stopListening(r,i,s){if(!r&&this[decoratedMethods]){for(const a of this[decoratedMethods])this[a]=this[a][decoratedOriginal];delete this[decoratedMethods]}super.stopListening(r,i,s)}}return e}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(o=>{ObservableMixin[o]=defaultObservableClass.prototype[o]});function initObservable(o){o[observablePropertiesSymbol]||(Object.defineProperty(o,observablePropertiesSymbol,{value:new Map}),Object.defineProperty(o,boundObservablesSymbol,{value:new Map}),Object.defineProperty(o,boundPropertiesSymbol,{value:new Map}))}function bindTo(...o){const e=parseBindToArgs(...o),n=Array.from(this._bindings.keys()),r=n.length;if(!e.callback&&e.to.length>1)throw new CKEditorError("observable-bind-to-no-callback",this);if(r>1&&e.callback)throw new CKEditorError("observable-bind-to-extra-callback",this);e.to.forEach(i=>{if(i.properties.length&&i.properties.length!==r)throw new CKEditorError("observable-bind-to-properties-length",this);i.properties.length||(i.properties=this._bindProperties)}),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),attachBindToListeners(this._observable,this._to),updateBindToBound(this),this._bindProperties.forEach(i=>{updateBoundObservableProperty(this._observable,i)})}function bindToMany(o,e,n){if(this._bindings.size>1)throw new CKEditorError("observable-bind-to-many-not-one-binding",this);this.to(...getBindingTargets(o,e),n)}function getBindingTargets(o,e){const n=o.map(r=>[r,e]);return Array.prototype.concat.apply([],n)}function isStringArray$1(o){return o.every(e=>typeof e=="string")}function parseBindToArgs(...o){if(!o.length)throw new CKEditorError("observable-bind-to-parse-error",null);const e={to:[]};let n;return typeof o[o.length-1]=="function"&&(e.callback=o.pop()),o.forEach(r=>{if(typeof r=="string")n.properties.push(r);else if(typeof r=="object")n={observable:r,properties:[]},e.to.push(n);else throw new CKEditorError("observable-bind-to-parse-error",null)}),e}function updateBoundObservables(o,e,n,r){const i=o[boundObservablesSymbol],s=i.get(n),a=s||{};a[r]||(a[r]=new Set),a[r].add(e),s||i.set(n,a)}function updateBindToBound(o){let e;o._bindings.forEach((n,r)=>{o._to.forEach(i=>{e=i.properties[n.callback?0:o._bindProperties.indexOf(r)],n.to.push([i.observable,e]),updateBoundObservables(o._observable,n,i.observable,e)})})}function updateBoundObservableProperty(o,e){const r=o[boundPropertiesSymbol].get(e);let i;r.callback?i=r.callback.apply(o,r.to.map(s=>s[0][s[1]])):(i=r.to[0],i=i[0][i[1]]),Object.prototype.hasOwnProperty.call(o,e)?o[e]=i:o.set(e,i)}function attachBindToListeners(o,e){e.forEach(n=>{const r=o[boundObservablesSymbol];let i;r.get(n.observable)||o.listenTo(n.observable,"change",(s,a)=>{i=r.get(n.observable)[a],i&&i.forEach(u=>{updateBoundObservableProperty(o,u.property)})})})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function count(o){let e=0;for(const n of o)e++;return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function compareArrays(o,e){const n=Math.min(o.length,e.length);for(let r=0;r{this._setToTarget(e,i,n[i],r)})}}function cloneConfig(o){return cloneDeepWith(o,leaveDOMReferences)}function leaveDOMReferences(o){return isElement$1(o)?o:void 0}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isNode(o){if(o){if(o.defaultView)return o instanceof o.defaultView.Document;if(o.ownerDocument&&o.ownerDocument.defaultView)return o instanceof o.ownerDocument.defaultView.Node}return!1}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isWindow(o){const e=Object.prototype.toString.apply(o);return e=="[object Window]"||e=="[object global]"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const defaultEmitterClass=DomEmitterMixin(EmitterMixin());function DomEmitterMixin(o){if(!o)return defaultEmitterClass;class e extends o{listenTo(r,i,s,a={}){if(isNode(r)||isWindow(r)){const u={capture:!!a.useCapture,passive:!!a.usePassive},l=this._getProxyEmitter(r,u)||new ProxyEmitter(r,u);this.listenTo(l,i,s,a)}else super.listenTo(r,i,s,a)}stopListening(r,i,s){if(isNode(r)||isWindow(r)){const a=this._getAllProxyEmitters(r);for(const u of a)this.stopListening(u,i,s)}else super.stopListening(r,i,s)}_getProxyEmitter(r,i){return _getEmitterListenedTo(this,getProxyEmitterId(r,i))}_getAllProxyEmitters(r){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(i=>this._getProxyEmitter(r,i)).filter(i=>!!i)}}return e}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(o=>{DomEmitterMixin[o]=defaultEmitterClass.prototype[o]});class ProxyEmitter extends EmitterMixin(){constructor(e,n){super(),_setEmitterId(this,getProxyEmitterId(e,n)),this._domNode=e,this._options=n}attach(e){if(this._domListeners&&this._domListeners[e])return;const n=this._createDomListener(e);this._domNode.addEventListener(e,n,this._options),this._domListeners||(this._domListeners={}),this._domListeners[e]=n}detach(e){let n;this._domListeners[e]&&(!(n=this._events[e])||!n.callbacks.length)&&this._domListeners[e].removeListener()}_addEventListener(e,n,r){this.attach(e),EmitterMixin().prototype._addEventListener.call(this,e,n,r)}_removeEventListener(e,n){EmitterMixin().prototype._removeEventListener.call(this,e,n),this.detach(e)}_createDomListener(e){const n=r=>{this.fire(e,r)};return n.removeListener=()=>{this._domNode.removeEventListener(e,n,this._options),delete this._domListeners[e]},n}}function getNodeUID(o){return o["data-ck-expando"]||(o["data-ck-expando"]=uid())}function getProxyEmitterId(o,e){let n=getNodeUID(o);for(const r of Object.keys(e).sort())e[r]&&(n+="-"+r);return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */let global$1;try{global$1={window,document}}catch(o){global$1={window:{},document:{}}}const global$2=global$1;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getAncestors(o){const e=[];let n=o;for(;n&&n.nodeType!=Node.DOCUMENT_NODE;)e.unshift(n),n=n.parentNode;return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getDataFromElement(o){return o instanceof HTMLTextAreaElement?o.value:o.innerHTML}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isText(o){return Object.prototype.toString.call(o)=="[object Text]"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isRange(o){return Object.prototype.toString.apply(o)=="[object Range]"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getBorderWidths(o){const e=o.ownerDocument.defaultView.getComputedStyle(o);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const rectProperties=["top","right","bottom","left","width","height"];class Rect{constructor(e){const n=isRange(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),isDomElement(e)||n)if(n){const r=Rect.getDomRangeRects(e);copyRectProperties(this,Rect.getBoundingRect(r))}else copyRectProperties(this,e.getBoundingClientRect());else if(isWindow(e)){const{innerWidth:r,innerHeight:i}=e;copyRectProperties(this,{top:0,right:r,bottom:i,left:0,width:r,height:i})}else copyRectProperties(this,e)}clone(){return new Rect(this)}moveTo(e,n){return this.top=n,this.right=e+this.width,this.bottom=n+this.height,this.left=e,this}moveBy(e,n){return this.top+=n,this.right+=e,this.left+=e,this.bottom+=n,this}getIntersection(e){const n={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left),width:0,height:0};return n.width=n.right-n.left,n.height=n.bottom-n.top,n.width<0||n.height<0?null:new Rect(n)}getIntersectionArea(e){const n=this.getIntersection(e);return n?n.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let n=this.clone();if(!isBody(e)){let r=e.parentNode||e.commonAncestorContainer;for(;r&&!isBody(r);){const i=new Rect(r),s=n.getIntersection(i);if(s)s.getArea(){for(const n of e){const r=ResizeObserver._getElementCallbacks(n.target);if(r)for(const i of r)i(n)}})}}ResizeObserver._observerInstance=null,ResizeObserver._elementCallbacks=null;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function setDataInElement(o,e){o instanceof HTMLTextAreaElement&&(o.value=e),o.innerHTML=e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function toUnit(o){return e=>e+o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function indexOf(o){let e=0;for(;o.previousSibling;)o=o.previousSibling,e++;return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function insertAt(o,e,n){o.insertBefore(n,o.childNodes[e]||null)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isComment(o){return o&&o.nodeType===Node.COMMENT_NODE}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isVisible(o){return!!(o&&o.getClientRects&&o.getClientRects().length)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getPositionedAncestor(o){return!o||!o.parentNode||o.offsetParent===global$2.document.body?null:o.offsetParent}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getOptimalPosition({element:o,target:e,positions:n,limiter:r,fitInViewport:i,viewportOffsetConfig:s}){isFunction$1(e)&&(e=e()),isFunction$1(r)&&(r=r());const a=getPositionedAncestor(o),u=new Rect(o),l=new Rect(e);let c;const d=i&&getConstrainedViewportRect(s)||null,h={targetRect:l,elementRect:u,positionedElementAncestor:a,viewportRect:d};if(!r&&!i)c=new PositionObject(n[0],h);else{const f=r&&new Rect(r).getVisible();Object.assign(h,{limiterRect:f,viewportRect:d}),c=getBestPosition(n,h)||new PositionObject(n[0],h)}return c}function getConstrainedViewportRect(o){o=Object.assign({top:0,bottom:0,left:0,right:0},o);const e=new Rect(global$2.window);return e.top+=o.top,e.height-=o.top,e.bottom-=o.bottom,e.height-=o.bottom,e}function getBestPosition(o,e){const{elementRect:n}=e,r=n.getArea(),i=o.map(u=>new PositionObject(u,e)).filter(u=>!!u.name);let s=0,a=null;for(const u of i){const{limiterIntersectionArea:l,viewportIntersectionArea:c}=u;if(l===r)return u;const d=c**2+l**2;d>s&&(s=d,a=u)}return a}function shiftRectToCompensatePositionedAncestor(o,e){const n=getRectForAbsolutePositioning(new Rect(e)),r=getBorderWidths(e);let i=0,s=0;i-=n.left,s-=n.top,i+=e.scrollLeft,s+=e.scrollTop,i-=r.left,s-=r.top,o.moveBy(i,s)}function getRectForAbsolutePositioning(o){const{scrollX:e,scrollY:n}=global$2.window;return o.clone().moveBy(e,n)}class PositionObject{constructor(e,n){const r=e(n.targetRect,n.elementRect,n.viewportRect);if(!r)return;const{left:i,top:s,name:a,config:u}=r;this.name=a,this.config=u,this._positioningFunctionCorrdinates={left:i,top:s},this._options=n}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;if(e){const n=this._options.viewportRect;if(n){const r=e.getIntersection(n);if(r)return r.getIntersectionArea(this._rect)}else return e.getIntersectionArea(this._rect)}return 0}get viewportIntersectionArea(){const e=this._options.viewportRect;return e?e.getIntersectionArea(this._rect):0}get _rect(){return this._cachedRect?this._cachedRect:(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCorrdinates.left,this._positioningFunctionCorrdinates.top),this._cachedRect)}get _absoluteRect(){return this._cachedAbsoluteRect?this._cachedAbsoluteRect:(this._cachedAbsoluteRect=getRectForAbsolutePositioning(this._rect),this._options.positionedElementAncestor&&shiftRectToCompensatePositionedAncestor(this._cachedAbsoluteRect,this._options.positionedElementAncestor),this._cachedAbsoluteRect)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function remove$1(o){const e=o.parentNode;e&&e.removeChild(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function scrollViewportToShowTarget({target:o,viewportOffset:e=0}){const n=getWindow(o);let r=n,i=null;for(;r;){let s;r==n?s=getParentElement(o):s=getParentElement(i),scrollAncestorsToShowRect(s,()=>getRectRelativeToWindow(o,r));const a=getRectRelativeToWindow(o,r);if(scrollWindowToShowRect(r,a,e),r.parent!=r){if(i=r.frameElement,r=r.parent,!i)return}else r=null}}function scrollWindowToShowRect(o,e,n){const r=e.clone().moveBy(0,n),i=e.clone().moveBy(0,-n),s=new Rect(o).excludeScrollbarsAndBorders();if(![i,r].every(u=>s.contains(u))){let{scrollX:u,scrollY:l}=o;isAbove(i,s)?l-=s.top-e.top+n:isBelow(r,s)&&(l+=e.bottom-s.bottom+n),isLeftOf(e,s)?u-=s.left-e.left+n:isRightOf(e,s)&&(u+=e.right-s.right+n),o.scrollTo(u,l)}}function scrollAncestorsToShowRect(o,e){const n=getWindow(o);let r,i;for(;o!=n.document.body;)i=e(),r=new Rect(o).excludeScrollbarsAndBorders(),r.contains(i)||(isAbove(i,r)?o.scrollTop-=r.top-i.top:isBelow(i,r)&&(o.scrollTop+=i.bottom-r.bottom),isLeftOf(i,r)?o.scrollLeft-=r.left-i.left:isRightOf(i,r)&&(o.scrollLeft+=i.right-r.right)),o=o.parentNode}function isBelow(o,e){return o.bottom>e.bottom}function isAbove(o,e){return o.tope.right}function getWindow(o){return isRange(o)?o.startContainer.ownerDocument.defaultView:o.ownerDocument.defaultView}function getParentElement(o){if(isRange(o)){let e=o.commonAncestorContainer;return isText(e)&&(e=e.parentNode),e}else return o.parentNode}function getRectRelativeToWindow(o,e){const n=getWindow(o),r=new Rect(o);if(n===e)return r;{let i=n;for(;i!=e;){const s=i.frameElement,a=new Rect(s).excludeScrollbarsAndBorders();r.moveBy(a.left,a.top),i=i.parent}}return r}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const modifiersToGlyphsMac={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21E7"},modifiersToGlyphsNonMac={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},keyCodes=generateKnownKeyCodes(),keyCodeNames=Object.fromEntries(Object.entries(keyCodes).map(([o,e])=>[e,o.charAt(0).toUpperCase()+o.slice(1)]));function getCode(o){let e;if(typeof o=="string"){if(e=keyCodes[o.toLowerCase()],!e)throw new CKEditorError("keyboard-unknown-key",null,{key:o})}else e=o.keyCode+(o.altKey?keyCodes.alt:0)+(o.ctrlKey?keyCodes.ctrl:0)+(o.shiftKey?keyCodes.shift:0)+(o.metaKey?keyCodes.cmd:0);return e}function parseKeystroke(o){return typeof o=="string"&&(o=splitKeystrokeText(o)),o.map(e=>typeof e=="string"?getEnvKeyCode(e):e).reduce((e,n)=>n+e,0)}function getEnvKeystrokeText(o){let e=parseKeystroke(o);return Object.entries(env.isMac?modifiersToGlyphsMac:modifiersToGlyphsNonMac).reduce((i,[s,a])=>((e&keyCodes[s])!=0&&(e&=~keyCodes[s],i+=a),i),"")+(e?keyCodeNames[e]:"")}function isArrowKeyCode(o){return o==keyCodes.arrowright||o==keyCodes.arrowleft||o==keyCodes.arrowup||o==keyCodes.arrowdown}function getLocalizedArrowKeyCodeDirection(o,e){const n=e==="ltr";switch(o){case keyCodes.arrowleft:return n?"left":"right";case keyCodes.arrowright:return n?"right":"left";case keyCodes.arrowup:return"up";case keyCodes.arrowdown:return"down"}}function getEnvKeyCode(o){if(o.endsWith("!"))return getCode(o.slice(0,-1));const e=getCode(o);return env.isMac&&e==keyCodes.ctrl?keyCodes.cmd:e}function isForwardArrowKeyCode(o,e){const n=getLocalizedArrowKeyCodeDirection(o,e);return n==="down"||n==="right"}function generateKnownKeyCodes(){const o={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){const n=String.fromCharCode(e);o[n.toLowerCase()]=e}for(let e=48;e<=57;e++)o[e-48]=e;for(let e=112;e<=123;e++)o["f"+(e-111)]=e;for(const e of"`-=[];',./\\")o[e]=e.charCodeAt(0);return o}function splitKeystrokeText(o){return o.split("+").map(e=>e.trim())}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const RTL_LANGUAGE_CODES=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function getLanguageDirection(o){return RTL_LANGUAGE_CODES.includes(o)?"rtl":"ltr"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function toArray(o){return Array.isArray(o)?o:[o]}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */global$2.window.CKEDITOR_TRANSLATIONS||(global$2.window.CKEDITOR_TRANSLATIONS={});function _translate(o,e,n=1){if(typeof n!="number")throw new CKEditorError("translation-service-quantity-not-a-number",null,{quantity:n});const r=getNumberOfLanguages();r===1&&(o=Object.keys(global$2.window.CKEDITOR_TRANSLATIONS)[0]);const i=e.id||e.string;if(r===0||!hasTranslation(o,i))return n!==1?e.plural:e.string;const s=global$2.window.CKEDITOR_TRANSLATIONS[o].dictionary,a=global$2.window.CKEDITOR_TRANSLATIONS[o].getPluralForm||(c=>c===1?0:1),u=s[i];if(typeof u=="string")return u;const l=Number(a(n));return u[l]}function hasTranslation(o,e){return!!global$2.window.CKEDITOR_TRANSLATIONS[o]&&!!global$2.window.CKEDITOR_TRANSLATIONS[o].dictionary[e]}function getNumberOfLanguages(){return Object.keys(global$2.window.CKEDITOR_TRANSLATIONS).length}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Locale{constructor({uiLanguage:e="en",contentLanguage:n}={}){this.uiLanguage=e,this.contentLanguage=n||this.uiLanguage,this.uiLanguageDirection=getLanguageDirection(this.uiLanguage),this.contentLanguageDirection=getLanguageDirection(this.contentLanguage),this.t=(r,i)=>this._t(r,i)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(e,n=[]){n=toArray(n),typeof e=="string"&&(e={string:e});const i=!!e.plural?n[0]:1,s=_translate(this.uiLanguage,e,i);return interpolateString(s,n)}}function interpolateString(o,e){return o.replace(/%(\d+)/g,(n,r)=>rthis._items.length||n<0)throw new CKEditorError("collection-add-item-invalid-index",this);let r=0;for(const i of e){const s=this._getItemIdBeforeAdding(i),a=n+r;this._items.splice(a,0,i),this._itemMap.set(s,i),this.fire("add",i,a),r++}return this.fire("change",{added:e,removed:[],index:n}),this}get(e){let n;if(typeof e=="string")n=this._itemMap.get(e);else if(typeof e=="number")n=this._items[e];else throw new CKEditorError("collection-get-invalid-arg",this);return n||null}has(e){if(typeof e=="string")return this._itemMap.has(e);{const n=this._idProperty,r=e[n];return r&&this._itemMap.has(r)}}getIndex(e){let n;return typeof e=="string"?n=this._itemMap.get(e):n=e,n?this._items.indexOf(n):-1}remove(e){const[n,r]=this._remove(e);return this.fire("change",{added:[],removed:[n],index:r}),n}map(e,n){return this._items.map(e,n)}find(e,n){return this._items.find(e,n)}filter(e,n){return this._items.filter(e,n)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const e=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:e,index:0})}bindTo(e){if(this._bindToCollection)throw new CKEditorError("collection-bind-to-rebind",this);return this._bindToCollection=e,{as:n=>{this._setUpBindToBinding(r=>new n(r))},using:n=>{typeof n=="function"?this._setUpBindToBinding(n):this._setUpBindToBinding(r=>r[n])}}}_setUpBindToBinding(e){const n=this._bindToCollection,r=(i,s,a)=>{const u=n._bindToCollection==this,l=n._bindToInternalToExternalMap.get(s);if(u&&l)this._bindToExternalToInternalMap.set(s,l),this._bindToInternalToExternalMap.set(l,s);else{const c=e(s);if(!c){this._skippedIndexesFromExternal.push(a);return}let d=a;for(const h of this._skippedIndexesFromExternal)a>h&&d--;for(const h of n._skippedIndexesFromExternal)d>=h&&d++;this._bindToExternalToInternalMap.set(s,c),this._bindToInternalToExternalMap.set(c,s),this.add(c,d);for(let h=0;h{const u=this._bindToExternalToInternalMap.get(s);u&&this.remove(u),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((l,c)=>(ac&&l.push(c),l),[])})}_getItemIdBeforeAdding(e){const n=this._idProperty;let r;if(n in e){if(r=e[n],typeof r!="string")throw new CKEditorError("collection-add-invalid-id",this);if(this.get(r))throw new CKEditorError("collection-add-item-already-exists",this)}else e[n]=r=uid();return r}_remove(e){let n,r,i,s=!1;const a=this._idProperty;if(typeof e=="string"?(r=e,i=this._itemMap.get(r),s=!i,i&&(n=this._items.indexOf(i))):typeof e=="number"?(n=e,i=this._items[n],s=!i,i&&(r=i[a])):(i=e,r=i[a],n=this._items.indexOf(i),s=n==-1||!this._itemMap.get(r)),s)throw new CKEditorError("collection-remove-404",this);this._items.splice(n,1),this._itemMap.delete(r);const u=this._bindToInternalToExternalMap.get(i);return this._bindToInternalToExternalMap.delete(i),this._bindToExternalToInternalMap.delete(u),this.fire("remove",i,n),[i,n]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function first(o){const e=o.next();return e.done?null:e.value}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FocusTracker extends DomEmitterMixin(ObservableMixin()){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(e){if(this._elements.has(e))throw new CKEditorError("focustracker-add-element-already-exist",this);this.listenTo(e,"focus",()=>this._focus(e),{useCapture:!0}),this.listenTo(e,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(e)}remove(e){e===this.focusedElement&&this._blur(),this._elements.has(e)&&(this.stopListening(e),this._elements.delete(e))}destroy(){this.stopListening()}_focus(e){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=e,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class KeystrokeHandler{constructor(){this._listener=new(DomEmitterMixin())}listenTo(e){this._listener.listenTo(e,"keydown",(n,r)=>{this._listener.fire("_keydown:"+getCode(r),r)})}set(e,n,r={}){const i=parseKeystroke(e),s=r.priority;this._listener.listenTo(this._listener,"_keydown:"+i,(a,u)=>{n(u,()=>{u.preventDefault(),u.stopPropagation(),a.stop()}),a.return=!0},{priority:s})}press(e){return!!this._listener.fire("_keydown:"+getCode(e),e)}destroy(){this._listener.stopListening()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function objectToMap(o){const e=new Map;for(const n in o)e.set(n,o[n]);return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function toMap(o){return isIterable(o)?new Map(o):objectToMap(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const BIG_CHUNK_SIZE=1e4;function spliceArray(o,e,n,r){if(Math.max(e.length,o.length)>BIG_CHUNK_SIZE)return o.slice(0,n).concat(e).concat(o.slice(n+r,o.length));{const i=Array.from(o);return i.splice(n,r,...e),i}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function isCombiningMark(o){return!!o&&o.length==1&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(o)}function isHighSurrogateHalf(o){return!!o&&o.length==1&&/[\ud800-\udbff]/.test(o)}function isLowSurrogateHalf(o){return!!o&&o.length==1&&/[\udc00-\udfff]/.test(o)}function isInsideSurrogatePair(o,e){return isHighSurrogateHalf(o.charAt(e-1))&&isLowSurrogateHalf(o.charAt(e))}function isInsideCombinedSymbol(o,e){return isCombiningMark(o.charAt(e))}const EMOJI_PATTERN=buildEmojiRegexp();function isInsideEmojiSequence(o,e){const n=String(o).matchAll(EMOJI_PATTERN);return Array.from(n).some(r=>r.indexi.source).join("|")+")",r=`${e}|${n}(?:\u200D${n})*`;return new RegExp(r,"ug")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Plugin extends ObservableMixin(){constructor(e){super(),this.editor=e,this.set("isEnabled",!0),this._disableStack=new Set}forceDisabled(e){this._disableStack.add(e),this._disableStack.size==1&&(this.on("set:isEnabled",forceDisable$1,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),this._disableStack.size==0&&(this.off("set:isEnabled",forceDisable$1),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function forceDisable$1(o){o.return=!1,o.stop()}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Command extends ObservableMixin(){constructor(e){super(),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.on("execute",n=>{this.isEnabled||n.stop()},{priority:"high"}),this.listenTo(e,"change:isReadOnly",(n,r,i)=>{i&&this.affectsData?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})}get affectsData(){return this._affectsData}set affectsData(e){this._affectsData=e}refresh(){this.isEnabled=!0}forceDisabled(e){this._disableStack.add(e),this._disableStack.size==1&&(this.on("set:isEnabled",forceDisable,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),this._disableStack.size==0&&(this.off("set:isEnabled",forceDisable),this.refresh())}execute(...e){}destroy(){this.stopListening()}}function forceDisable(o){o.return=!1,o.stop()}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MultiCommand extends Command{constructor(e){super(e),this._childCommandsDefinitions=[]}refresh(){}execute(...e){const n=this._getFirstEnabledCommand();return!!n&&n.execute(e)}registerChildCommand(e,n={}){insertToPriorityArray(this._childCommandsDefinitions,{command:e,priority:n.priority||"normal"}),e.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const e=this._childCommandsDefinitions.find(({command:n})=>n.isEnabled);return e&&e.command}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class PluginCollection extends EmitterMixin(){constructor(e,n=[],r=[]){super(),this._context=e,this._plugins=new Map,this._availablePlugins=new Map;for(const i of n)i.pluginName&&this._availablePlugins.set(i.pluginName,i);this._contextPlugins=new Map;for(const[i,s]of r)this._contextPlugins.set(i,s),this._contextPlugins.set(s,i),i.pluginName&&this._availablePlugins.set(i.pluginName,i)}*[Symbol.iterator](){for(const e of this._plugins)typeof e[0]=="function"&&(yield e)}get(e){const n=this._plugins.get(e);if(!n){let r=e;throw typeof e=="function"&&(r=e.pluginName||e.name),new CKEditorError("plugincollection-plugin-not-loaded",this._context,{plugin:r})}return n}has(e){return this._plugins.has(e)}init(e,n=[],r=[]){const i=this,s=this._context;p(e),g(e);const a=e.filter(C=>!h(C,n)),u=[...m(a)];k(u,r);const l=y(u);return A(l,"init").then(()=>A(l,"afterInit")).then(()=>l);function c(C){return typeof C=="function"}function d(C){return c(C)&&C.isContextPlugin}function h(C,E){return E.some(F=>F===C||f(C)===F||f(F)===C)}function f(C){return c(C)?C.pluginName||C.name:C}function p(C,E=new Set){C.forEach(F=>{!c(F)||E.has(F)||(E.add(F),F.pluginName&&!i._availablePlugins.has(F.pluginName)&&i._availablePlugins.set(F.pluginName,F),F.requires&&p(F.requires,E))})}function m(C,E=new Set){return C.map(F=>c(F)?F:i._availablePlugins.get(F)).reduce((F,S)=>E.has(S)?F:(E.add(S),S.requires&&(g(S.requires,S),m(S.requires,E).forEach(B=>F.add(B))),F.add(S)),new Set)}function g(C,E=null){C.map(F=>c(F)?F:i._availablePlugins.get(F)||F).forEach(F=>{v(F,E),_(F,E),b(F,E)})}function v(C,E){if(!c(C))throw E?new CKEditorError("plugincollection-soft-required",s,{missingPlugin:C,requiredBy:f(E)}):new CKEditorError("plugincollection-plugin-not-found",s,{plugin:C})}function _(C,E){if(!!d(E)&&!d(C))throw new CKEditorError("plugincollection-context-required",s,{plugin:f(C),requiredBy:f(E)})}function b(C,E){if(!!E&&!!h(C,n))throw new CKEditorError("plugincollection-required",s,{plugin:f(C),requiredBy:f(E)})}function y(C){return C.map(E=>{let F=i._contextPlugins.get(E);return F=F||new E(s),i._add(E,F),F})}function A(C,E){return C.reduce((F,S)=>!S[E]||i._contextPlugins.has(S)?F:F.then(S[E].bind(S)),Promise.resolve())}function k(C,E){for(const F of E){if(typeof F!="function")throw new CKEditorError("plugincollection-replace-plugin-invalid-type",null,{pluginItem:F});const S=F.pluginName;if(!S)throw new CKEditorError("plugincollection-replace-plugin-missing-name",null,{pluginItem:F});if(F.requires&&F.requires.length)throw new CKEditorError("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:S});const B=i._availablePlugins.get(S);if(!B)throw new CKEditorError("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:S});const P=C.indexOf(B);if(P===-1){if(i._contextPlugins.has(B))return;throw new CKEditorError("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:S})}if(B.requires&&B.requires.length)throw new CKEditorError("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:S});C.splice(P,1,F),i._availablePlugins.set(S,F)}}}destroy(){const e=[];for(const[,n]of this)typeof n.destroy=="function"&&!this._contextPlugins.has(n)&&e.push(n.destroy());return Promise.all(e)}_add(e,n){this._plugins.set(e,n);const r=e.pluginName;if(!!r){if(this._plugins.has(r))throw new CKEditorError("plugincollection-plugin-name-conflict",null,{pluginName:r,plugin1:this._plugins.get(r).constructor,plugin2:e});this._plugins.set(r,n)}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Context{constructor(e){this.config=new Config(e,this.constructor.defaultConfig);const n=this.constructor.builtinPlugins;this.config.define("plugins",n),this.plugins=new PluginCollection(this,n);const r=this.config.get("language")||{};this.locale=new Locale({uiLanguage:typeof r=="string"?r:r.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Collection,this._contextOwner=null}initPlugins(){const e=this.config.get("plugins")||[],n=this.config.get("substitutePlugins")||[];for(const r of e.concat(n)){if(typeof r!="function")throw new CKEditorError("context-initplugins-constructor-only",null,{Plugin:r});if(r.isContextPlugin!==!0)throw new CKEditorError("context-initplugins-invalid-plugin",null,{Plugin:r})}return this.plugins.init(e,[],n)}destroy(){return Promise.all(Array.from(this.editors,e=>e.destroy())).then(()=>this.plugins.destroy())}_addEditor(e,n){if(this._contextOwner)throw new CKEditorError("context-addeditor-private-context");this.editors.add(e),n&&(this._contextOwner=e)}_removeEditor(e){return this.editors.has(e)&&this.editors.remove(e),this._contextOwner===e?this.destroy():Promise.resolve()}_getEditorConfig(){const e={};for(const n of this.config.names())["plugins","removePlugins","extraPlugins"].includes(n)||(e[n]=this.config.get(n));return e}static create(e){return new Promise(n=>{const r=new this(e);n(r.initPlugins().then(()=>r))})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ContextPlugin extends ObservableMixin(){constructor(e){super(),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}const placeholder="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const documentPlaceholders=new WeakMap;function enablePlaceholder(o){const{view:e,element:n,text:r,isDirectHost:i=!0,keepOnFocus:s=!1}=o,a=e.document;documentPlaceholders.has(a)||(documentPlaceholders.set(a,new Map),a.registerPostFixer(u=>updateDocumentPlaceholders(a,u)),a.on("change:isComposing",()=>{e.change(u=>updateDocumentPlaceholders(a,u))},{priority:"high"})),documentPlaceholders.get(a).set(n,{text:r,isDirectHost:i,keepOnFocus:s,hostElement:i?n:null}),e.change(u=>updateDocumentPlaceholders(a,u))}function showPlaceholder(o,e){return e.hasClass("ck-placeholder")?!1:(o.addClass("ck-placeholder",e),!0)}function hidePlaceholder(o,e){return e.hasClass("ck-placeholder")?(o.removeClass("ck-placeholder",e),!0):!1}function needsPlaceholder(o,e){if(!o.isAttached()||Array.from(o.getChildren()).some(a=>!a.is("uiElement")))return!1;const r=o.document,s=r.selection.anchor;return r.isComposing&&s&&s.parent===o?!1:e||!r.isFocused?!0:!!s&&s.parent!==o}function updateDocumentPlaceholders(o,e){const n=documentPlaceholders.get(o),r=[];let i=!1;for(const[s,a]of n)a.isDirectHost&&(r.push(s),updatePlaceholder(e,s,a)&&(i=!0));for(const[s,a]of n){if(a.isDirectHost)continue;const u=getChildPlaceholderHostSubstitute(s);!u||r.includes(u)||(a.hostElement=u,updatePlaceholder(e,s,a)&&(i=!0))}return i}function updatePlaceholder(o,e,n){const{text:r,isDirectHost:i,hostElement:s}=n;let a=!1;return s.getAttribute("data-placeholder")!==r&&(o.setAttribute("data-placeholder",r,s),a=!0),(i||e.childCount==1)&&needsPlaceholder(s,n.keepOnFocus)?showPlaceholder(o,s)&&(a=!0):hidePlaceholder(o,s)&&(a=!0),a}function getChildPlaceholderHostSubstitute(o){if(o.childCount){const e=o.getChild(0);if(e.is("element")&&!e.is("uiElement")&&!e.is("attributeElement"))return e}return null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TypeCheckable$1{is(){throw new Error("is() method is abstract")}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Node$2 extends EmitterMixin(TypeCheckable$1){constructor(e){super(),this.document=e,this.parent=null}get index(){let e;if(!this.parent)return null;if((e=this.parent.getChildIndex(this))==-1)throw new CKEditorError("view-node-not-found-in-parent",this);return e}get nextSibling(){const e=this.index;return e!==null&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return e!==null&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return this.root.is("rootElement")}getPath(){const e=[];let n=this;for(;n.parent;)e.unshift(n.index),n=n.parent;return e}getAncestors(e={}){const n=[];let r=e.includeSelf?this:this.parent;for(;r;)n[e.parentFirst?"push":"unshift"](r),r=r.parent;return n}getCommonAncestor(e,n={}){const r=this.getAncestors(n),i=e.getAncestors(n);let s=0;for(;r[s]==i[s]&&r[s];)s++;return s===0?null:r[s-1]}isBefore(e){if(this==e||this.root!==e.root)return!1;const n=this.getPath(),r=e.getPath(),i=compareArrays(n,r);switch(i){case"prefix":return!0;case"extension":return!1;default:return n[i]e.data.length)throw new CKEditorError("view-textproxy-wrong-offsetintext",this);if(r<0||n+r>e.data.length)throw new CKEditorError("view-textproxy-wrong-length",this);this.data=e.data.substring(n,n+r),this.offsetInText=n}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(e={}){const n=[];let r=e.includeSelf?this.textNode:this.parent;for(;r!==null;)n[e.parentFirst?"push":"unshift"](r),r=r.parent;return n}}TextProxy$1.prototype.is=function(o){return o==="$textProxy"||o==="view:$textProxy"||o==="textProxy"||o==="view:textProxy"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Matcher{constructor(...e){this._patterns=[],this.add(...e)}add(...e){for(let n of e)(typeof n=="string"||n instanceof RegExp)&&(n={name:n}),this._patterns.push(n)}match(...e){for(const n of e)for(const r of this._patterns){const i=isElementMatching(n,r);if(i)return{element:n,pattern:r,match:i}}return null}matchAll(...e){const n=[];for(const r of e)for(const i of this._patterns){const s=isElementMatching(r,i);s&&n.push({element:r,pattern:i,match:s})}return n.length>0?n:null}getElementName(){if(this._patterns.length!==1)return null;const e=this._patterns[0],n=e.name;return typeof e!="function"&&n&&!(n instanceof RegExp)?n:null}}function isElementMatching(o,e){if(typeof e=="function")return e(o);const n={};return e.name&&(n.name=matchName(e.name,o.name),!n.name)||e.attributes&&(n.attributes=matchAttributes(e.attributes,o),!n.attributes)||e.classes&&(n.classes=matchClasses(e.classes,o),!n.classes)||e.styles&&(n.styles=matchStyles(e.styles,o),!n.styles)?null:n}function matchName(o,e){return o instanceof RegExp?!!e.match(o):o===e}function matchPatterns(o,e,n){const r=normalizePatterns(o),i=Array.from(e),s=[];if(r.forEach(([a,u])=>{i.forEach(l=>{isKeyMatched(a,l)&&isValueMatched(u,l,n)&&s.push(l)})}),!(!r.length||s.lengthisPlainObject$1(e)?((e.key===void 0||e.value===void 0)&&logWarning("matcher-pattern-missing-key-or-value",e),[e.key,e.value]):[e,!0]):isPlainObject$1(o)?Object.entries(o):[[o,!0]]}function isKeyMatched(o,e){return o===!0||o===e||o instanceof RegExp&&e.match(o)}function isValueMatched(o,e,n){if(o===!0)return!0;const r=n(e);return o===r||o instanceof RegExp&&!!String(r).match(o)}function matchAttributes(o,e){const n=new Set(e.getAttributeKeys());return isPlainObject$1(o)?(o.style!==void 0&&logWarning("matcher-pattern-deprecated-attributes-style-key",o),o.class!==void 0&&logWarning("matcher-pattern-deprecated-attributes-class-key",o)):(n.delete("style"),n.delete("class")),matchPatterns(o,n,r=>e.getAttribute(r))}function matchClasses(o,e){return matchPatterns(o,e.getClassNames(),()=>{})}function matchStyles(o,e){return matchPatterns(o,e.getStyleNames(!0),n=>e.getStyle(n))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class StylesMap{constructor(e){this._styles={},this._styleProcessor=e}get isEmpty(){const e=Object.entries(this._styles);return!Array.from(e).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const n=Array.from(parseInlineStyles(e).entries());for(const[r,i]of n)this._styleProcessor.toNormalizedForm(r,i,this._styles)}has(e){if(this.isEmpty)return!1;const r=this._styleProcessor.getReducedForm(e,this._styles).find(([i])=>i===e);return Array.isArray(r)}set(e,n){if(isObject$2(e))for(const[r,i]of Object.entries(e))this._styleProcessor.toNormalizedForm(r,i,this._styles);else this._styleProcessor.toNormalizedForm(e,n,this._styles)}remove(e){const n=toPath(e);unset(this._styles,n),delete this._styles[e],this._cleanEmptyObjectsOnPath(n)}getNormalized(e){return this._styleProcessor.getNormalized(e,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(e=>e.join(":")).sort().join(";")+";"}getAsString(e){if(this.isEmpty)return;if(this._styles[e]&&!isObject$2(this._styles[e]))return this._styles[e];const r=this._styleProcessor.getReducedForm(e,this._styles).find(([i])=>i===e);if(Array.isArray(r))return r[1]}getStyleNames(e=!1){return this.isEmpty?[]:e?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map(([r])=>r)}clear(){this._styles={}}_getStylesEntries(){const e=[],n=Object.keys(this._styles);for(const r of n)e.push(...this._styleProcessor.getReducedForm(r,this._styles));return e}_cleanEmptyObjectsOnPath(e){const n=e.split(".");if(!(n.length>1))return;const i=n.splice(0,n.length-1).join("."),s=get(this._styles,i);if(!s)return;!Array.from(Object.keys(s)).length&&this.remove(i)}}class StylesProcessor{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,n,r){if(isObject$2(n)){appendStyleValue(r,toPath(e),n);return}if(this._normalizers.has(e)){const i=this._normalizers.get(e),{path:s,value:a}=i(n);appendStyleValue(r,s,a)}else appendStyleValue(r,e,n)}getNormalized(e,n){if(!e)return merge$2({},n);if(n[e]!==void 0)return n[e];if(this._extractors.has(e)){const r=this._extractors.get(e);if(typeof r=="string")return get(n,r);const i=r(e,n);if(i)return i}return get(n,toPath(e))}getReducedForm(e,n){const r=this.getNormalized(e,n);return r===void 0?[]:this._reducers.has(e)?this._reducers.get(e)(r):[[e,r]]}getStyleNames(e){const n=Array.from(this._consumables.keys()).filter(i=>{const s=this.getNormalized(i,e);return s&&typeof s=="object"?Object.keys(s).length:s}),r=new Set([...n,...Object.keys(e)]);return Array.from(r.values())}getRelatedStyles(e){return this._consumables.get(e)||[]}setNormalizer(e,n){this._normalizers.set(e,n)}setExtractor(e,n){this._extractors.set(e,n)}setReducer(e,n){this._reducers.set(e,n)}setStyleRelation(e,n){this._mapStyleNames(e,n);for(const r of n)this._mapStyleNames(r,[e])}_mapStyleNames(e,n){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...n)}}function parseInlineStyles(o){let e=null,n=0,r=0,i=null;const s=new Map;if(o==="")return s;o.charAt(o.length-1)!=";"&&(o=o+";");for(let a=0;a0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(e){if(e=="class")return this._classes.size>0?[...this._classes].join(" "):void 0;if(e=="style"){const n=this._styles.toString();return n==""?void 0:n}return this._attrs.get(e)}hasAttribute(e){return e=="class"?this._classes.size>0:e=="style"?!this._styles.isEmpty:this._attrs.has(e)}isSimilar(e){if(!(e instanceof Element$1))return!1;if(this===e)return!0;if(this.name!=e.name||this._attrs.size!==e._attrs.size||this._classes.size!==e._classes.size||this._styles.size!==e._styles.size)return!1;for(const[n,r]of this._attrs)if(!e._attrs.has(n)||e._attrs.get(n)!==r)return!1;for(const n of this._classes)if(!e._classes.has(n))return!1;for(const n of this._styles.getStyleNames())if(!e._styles.has(n)||e._styles.getAsString(n)!==this._styles.getAsString(n))return!1;return!0}hasClass(...e){for(const n of e)if(!this._classes.has(n))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(e){return this._styles.getAsString(e)}getNormalizedStyle(e){return this._styles.getNormalized(e)}getStyleNames(e){return this._styles.getStyleNames(e)}hasStyle(...e){for(const n of e)if(!this._styles.has(n))return!1;return!0}findAncestor(...e){const n=new Matcher(...e);let r=this.parent;for(;r&&!r.is("documentFragment");){if(n.match(r))return r;r=r.parent}return null}getCustomProperty(e){return this._customProperties.get(e)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const e=Array.from(this._classes).sort().join(","),n=this._styles.toString(),r=Array.from(this._attrs).map(i=>`${i[0]}="${i[1]}"`).sort().join(" ");return this.name+(e==""?"":` class="${e}"`)+(n?` style="${n}"`:"")+(r==""?"":` ${r}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const n=[];if(e)for(const i of this.getChildren())n.push(i._clone(e));const r=new this.constructor(this.document,this.name,this._attrs,n);return r._classes=new Set(this._classes),r._styles.set(this._styles.getNormalized()),r._customProperties=new Map(this._customProperties),r.getFillerOffset=this.getFillerOffset,r._unsafeAttributesToRender=this._unsafeAttributesToRender,r}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,n){this._fireChange("children",this);let r=0;const i=normalize$4(this.document,n);for(const s of i)s.parent!==null&&s._remove(),s.parent=this,s.document=this.document,this._children.splice(e,0,s),e++,r++;return r}_removeChildren(e,n=1){this._fireChange("children",this);for(let r=e;r0?(this._classes.clear(),!0):!1:e=="style"?this._styles.isEmpty?!1:(this._styles.clear(),!0):this._attrs.delete(e)}_addClass(e){this._fireChange("attributes",this);for(const n of toArray(e))this._classes.add(n)}_removeClass(e){this._fireChange("attributes",this);for(const n of toArray(e))this._classes.delete(n)}_setStyle(e,n){this._fireChange("attributes",this),isPlainObject$1(e)?this._styles.set(e):this._styles.set(e,n)}_removeStyle(e){this._fireChange("attributes",this);for(const n of toArray(e))this._styles.remove(n)}_setCustomProperty(e,n){this._customProperties.set(e,n)}_removeCustomProperty(e){return this._customProperties.delete(e)}}Element$1.prototype.is=function(o,e){return e?e===this.name&&(o==="element"||o==="view:element"):o==="element"||o==="view:element"||o==="node"||o==="view:node"};function parseAttributes(o){const e=toMap(o);for(const[n,r]of e)r===null?e.delete(n):typeof r!="string"&&e.set(n,String(r));return e}function parseClasses(o,e){const n=e.split(/\s+/);o.clear(),n.forEach(r=>o.add(r))}function normalize$4(o,e){return typeof e=="string"?[new Text$2(o,e)]:(isIterable(e)||(e=[e]),Array.from(e).map(n=>typeof n=="string"?new Text$2(o,n):n instanceof TextProxy$1?new Text$2(o,n.data):n))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ContainerElement extends Element$1{constructor(...e){super(...e),this.getFillerOffset=getFillerOffset$5}}ContainerElement.prototype.is=function(o,e){return e?e===this.name&&(o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"):o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};function getFillerOffset$5(){const o=[...this.getChildren()],e=o[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;for(const n of o)if(!n.is("uiElement"))return null;return this.childCount}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditableElement extends ObservableMixin(ContainerElement){constructor(...e){super(...e);const n=e[0];this.set("isReadOnly",!1),this.set("isFocused",!1),this.bind("isReadOnly").to(n),this.bind("isFocused").to(n,"isFocused",r=>r&&n.selection.editableElement==this),this.listenTo(n.selection,"change",()=>{this.isFocused=n.isFocused&&n.selection.editableElement==this})}destroy(){this.stopListening()}}EditableElement.prototype.is=function(o,e){return e?e===this.name&&(o==="editableElement"||o==="view:editableElement"||o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"):o==="editableElement"||o==="view:editableElement"||o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const rootNameSymbol=Symbol("rootName");class RootEditableElement extends EditableElement{constructor(e,n){super(e,n),this.rootName="main"}get rootName(){return this.getCustomProperty(rootNameSymbol)}set rootName(e){this._setCustomProperty(rootNameSymbol,e)}set _name(e){this.name=e}}RootEditableElement.prototype.is=function(o,e){return e?e===this.name&&(o==="rootElement"||o==="view:rootElement"||o==="editableElement"||o==="view:editableElement"||o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"):o==="rootElement"||o==="view:rootElement"||o==="editableElement"||o==="view:editableElement"||o==="containerElement"||o==="view:containerElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TreeWalker$1{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new CKEditorError("view-tree-walker-no-start-position",null);if(e.direction&&e.direction!="forward"&&e.direction!="backward")throw new CKEditorError("view-tree-walker-unknown-direction",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this.position=Position$1._createAt(e.startPosition):this.position=Position$1._createAt(e.boundaries[e.direction=="backward"?"end":"start"]),this.direction=e.direction||"forward",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}skip(e){let n,r,i;do i=this.position,{done:n,value:r}=this.next();while(!n&&e(r));n||(this.position=i)}next(){return this.direction=="forward"?this._next():this._previous()}_next(){let e=this.position.clone();const n=this.position,r=e.parent;if(r.parent===null&&e.offset===r.childCount)return{done:!0,value:void 0};if(r===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let i;if(r instanceof Text$2){if(e.isAtEnd)return this.position=Position$1._createAfter(r),this._next();i=r.data[e.offset]}else i=r.getChild(e.offset);if(i instanceof Element$1)return this.shallow?e.offset++:e=new Position$1(i,0),this.position=e,this._formatReturnValue("elementStart",i,n,e,1);if(i instanceof Text$2){if(this.singleCharacters)return e=new Position$1(i,0),this.position=e,this._next();{let s=i.data.length,a;return i==this._boundaryEndParent?(s=this.boundaries.end.offset,a=new TextProxy$1(i,0,s),e=Position$1._createAfter(a)):(a=new TextProxy$1(i,0,i.data.length),e.offset++),this.position=e,this._formatReturnValue("text",a,n,e,s)}}else if(typeof i=="string"){let s;this.singleCharacters?s=1:s=(r===this._boundaryEndParent?this.boundaries.end.offset:r.data.length)-e.offset;const a=new TextProxy$1(r,e.offset,s);return e.offset+=s,this.position=e,this._formatReturnValue("text",a,n,e,s)}else return e=Position$1._createAfter(r),this.position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",r,n,e)}_previous(){let e=this.position.clone();const n=this.position,r=e.parent;if(r.parent===null&&e.offset===0)return{done:!0,value:void 0};if(r==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let i;if(r instanceof Text$2){if(e.isAtStart)return this.position=Position$1._createBefore(r),this._previous();i=r.data[e.offset-1]}else i=r.getChild(e.offset-1);if(i instanceof Element$1)return this.shallow?(e.offset--,this.position=e,this._formatReturnValue("elementStart",i,n,e,1)):(e=new Position$1(i,i.childCount),this.position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",i,n,e));if(i instanceof Text$2){if(this.singleCharacters)return e=new Position$1(i,i.data.length),this.position=e,this._previous();{let s=i.data.length,a;if(i==this._boundaryStartParent){const u=this.boundaries.start.offset;a=new TextProxy$1(i,u,i.data.length-u),s=a.data.length,e=Position$1._createBefore(a)}else a=new TextProxy$1(i,0,i.data.length),e.offset--;return this.position=e,this._formatReturnValue("text",a,n,e,s)}}else if(typeof i=="string"){let s;if(this.singleCharacters)s=1;else{const u=r===this._boundaryStartParent?this.boundaries.start.offset:0;s=e.offset-u}e.offset-=s;const a=new TextProxy$1(r,e.offset,s);return this.position=e,this._formatReturnValue("text",a,n,e,s)}else return e=Position$1._createBefore(r),this.position=e,this._formatReturnValue("elementStart",r,n,e,1)}_formatReturnValue(e,n,r,i,s){return n instanceof TextProxy$1&&(n.offsetInText+n.data.length==n.textNode.data.length&&(this.direction=="forward"&&!(this.boundaries&&this.boundaries.end.isEqual(this.position))?(i=Position$1._createAfter(n.textNode),this.position=i):r=Position$1._createAfter(n.textNode)),n.offsetInText===0&&(this.direction=="backward"&&!(this.boundaries&&this.boundaries.start.isEqual(this.position))?(i=Position$1._createBefore(n.textNode),this.position=i):r=Position$1._createBefore(n.textNode))),{done:!1,value:{type:e,item:n,previousPosition:r,nextPosition:i,length:s}}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Position$1 extends TypeCheckable$1{constructor(e,n){super(),this.parent=e,this.offset=n}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return this.offset===0}get isAtEnd(){const e=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===e}get root(){return this.parent.root}get editableElement(){let e=this.parent;for(;!(e instanceof EditableElement);)if(e.parent)e=e.parent;else return null;return e}getShiftedBy(e){const n=Position$1._createAt(this),r=n.offset+e;return n.offset=r<0?0:r,n}getLastMatchingPosition(e,n={}){n.startPosition=this;const r=new TreeWalker$1(n);return r.skip(e),r.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const n=this.getAncestors(),r=e.getAncestors();let i=0;for(;n[i]==r[i]&&n[i];)i++;return i===0?null:n[i-1]}isEqual(e){return this.parent==e.parent&&this.offset==e.offset}isBefore(e){return this.compareWith(e)=="before"}isAfter(e){return this.compareWith(e)=="after"}compareWith(e){if(this.root!==e.root)return"different";if(this.isEqual(e))return"same";const n=this.parent.is("node")?this.parent.getPath():[],r=e.parent.is("node")?e.parent.getPath():[];n.push(this.offset),r.push(e.offset);const i=compareArrays(n,r);switch(i){case"prefix":return"before";case"extension":return"after";default:return n[i]0?new this(r,i):new this(i,r)}static _createIn(e){return this._createFromParentsAndOffsets(e,0,e,e.childCount)}static _createOn(e){const n=e.is("$textProxy")?e.offsetSize:1;return this._createFromPositionAndShift(Position$1._createBefore(e),n)}}Range$1.prototype.is=function(o){return o==="range"||o==="view:range"};function enlargeTrimSkip(o){return!!(o.item.is("attributeElement")||o.item.is("uiElement"))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Selection$1 extends EmitterMixin(TypeCheckable$1){constructor(...e){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",e.length&&this.setTo(...e)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.end:e.start).clone()}get focus(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.start:e.end).clone()}get isCollapsed(){return this.rangeCount===1&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const e of this._ranges)yield e.clone()}getFirstRange(){let e=null;for(const n of this._ranges)(!e||n.start.isBefore(e.start))&&(e=n);return e?e.clone():null}getLastRange(){let e=null;for(const n of this._ranges)(!e||n.end.isAfter(e.end))&&(e=n);return e?e.clone():null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}isEqual(e){if(this.isFake!=e.isFake||this.isFake&&this.fakeSelectionLabel!=e.fakeSelectionLabel||this.rangeCount!=e.rangeCount)return!1;if(this.rangeCount===0)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const n of this._ranges){let r=!1;for(const i of e._ranges)if(n.isEqual(i)){r=!0;break}if(!r)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const n=count(this.getRanges()),r=count(e.getRanges());if(n!=r)return!1;if(n==0)return!0;for(let i of this.getRanges()){i=i.getTrimmed();let s=!1;for(let a of e.getRanges())if(a=a.getTrimmed(),i.start.isEqual(a.start)&&i.end.isEqual(a.end)){s=!0;break}if(!s)return!1}return!0}getSelectedElement(){return this.rangeCount!==1?null:this.getFirstRange().getContainedElement()}setTo(...e){let[n,r,i]=e;if(typeof r=="object"&&(i=r,r=void 0),n===null)this._setRanges([]),this._setFakeOptions(i);else if(n instanceof Selection$1||n instanceof DocumentSelection$1)this._setRanges(n.getRanges(),n.isBackward),this._setFakeOptions({fake:n.isFake,label:n.fakeSelectionLabel});else if(n instanceof Range$1)this._setRanges([n],i&&i.backward),this._setFakeOptions(i);else if(n instanceof Position$1)this._setRanges([new Range$1(n)]),this._setFakeOptions(i);else if(n instanceof Node$2){const s=!!i&&!!i.backward;let a;if(r===void 0)throw new CKEditorError("view-selection-setto-required-second-parameter",this);r=="in"?a=Range$1._createIn(n):r=="on"?a=Range$1._createOn(n):a=new Range$1(Position$1._createAt(n,r)),this._setRanges([a],s),this._setFakeOptions(i)}else if(isIterable(n))this._setRanges(n,i&&i.backward),this._setFakeOptions(i);else throw new CKEditorError("view-selection-setto-not-selectable",this);this.fire("change")}setFocus(e,n){if(this.anchor===null)throw new CKEditorError("view-selection-setfocus-no-ranges",this);const r=Position$1._createAt(e,n);if(r.compareWith(this.focus)=="same")return;const i=this.anchor;this._ranges.pop(),r.compareWith(i)=="before"?this._addRange(new Range$1(r,i),!0):this._addRange(new Range$1(i,r)),this.fire("change")}_setRanges(e,n=!1){e=Array.from(e),this._ranges=[];for(const r of e)this._addRange(r);this._lastRangeBackward=!!n}_setFakeOptions(e={}){this._isFake=!!e.fake,this._fakeSelectionLabel=e.fake&&e.label||""}_addRange(e,n=!1){if(!(e instanceof Range$1))throw new CKEditorError("view-selection-add-range-not-range",this);this._pushRange(e),this._lastRangeBackward=!!n}_pushRange(e){for(const n of this._ranges)if(e.isIntersecting(n))throw new CKEditorError("view-selection-range-intersects",this,{addedRange:e,intersectingRange:n});this._ranges.push(new Range$1(e.start,e.end))}}Selection$1.prototype.is=function(o){return o==="selection"||o==="view:selection"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DocumentSelection$1 extends EmitterMixin(TypeCheckable$1){constructor(...e){super(),this._selection=new Selection$1,this._selection.delegate("change").to(this),e.length&&this._selection.setTo(...e)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(e){return this._selection.isEqual(e)}isSimilar(e){return this._selection.isSimilar(e)}_setTo(...e){this._selection.setTo(...e)}_setFocus(e,n){this._selection.setFocus(e,n)}}DocumentSelection$1.prototype.is=function(o){return o==="selection"||o=="documentSelection"||o=="view:selection"||o=="view:documentSelection"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BubblingEventInfo extends EventInfo{constructor(e,n,r){super(e,n),this.startRange=r,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const contextsSymbol=Symbol("bubbling contexts");function BubblingEmitterMixin(o){class e extends o{fire(r,...i){try{const s=r instanceof EventInfo?r:new EventInfo(this,r),a=getBubblingContexts(this);if(!a.size)return;if(updateEventInfo(s,"capturing",this),fireListenerFor(a,"$capture",s,...i))return s.return;const u=s.startRange||this.selection.getFirstRange(),l=u?u.getContainedElement():null,c=l?Boolean(getCustomContext(a,l)):!1;let d=l||getDeeperRangeParent(u);if(updateEventInfo(s,"atTarget",d),!c){if(fireListenerFor(a,"$text",s,...i))return s.return;updateEventInfo(s,"bubbling",d)}for(;d;){if(d.is("rootElement")){if(fireListenerFor(a,"$root",s,...i))return s.return}else if(d.is("element")&&fireListenerFor(a,d.name,s,...i))return s.return;if(fireListenerFor(a,d,s,...i))return s.return;d=d.parent,updateEventInfo(s,"bubbling",d)}return updateEventInfo(s,"bubbling",this),fireListenerFor(a,"$document",s,...i),s.return}catch(s){CKEditorError.rethrowUnexpectedError(s,this)}}_addEventListener(r,i,s){const a=toArray(s.context||"$document"),u=getBubblingContexts(this);for(const l of a){let c=u.get(l);c||(c=new(EmitterMixin()),u.set(l,c)),this.listenTo(c,r,i,s)}}_removeEventListener(r,i){const s=getBubblingContexts(this);for(const a of s.values())this.stopListening(a,r,i)}}return e}{const o=BubblingEmitterMixin(Object);["fire","_addEventListener","_removeEventListener"].forEach(e=>{BubblingEmitterMixin[e]=o.prototype[e]})}function updateEventInfo(o,e,n){o instanceof BubblingEventInfo&&(o._eventPhase=e,o._currentTarget=n)}function fireListenerFor(o,e,n,...r){const i=typeof e=="string"?o.get(e):getCustomContext(o,e);return i?(i.fire(n,...r),n.stop.called):!1}function getCustomContext(o,e){for(const[n,r]of o)if(typeof n=="function"&&n(e))return r;return null}function getBubblingContexts(o){return o[contextsSymbol]||(o[contextsSymbol]=new Map),o[contextsSymbol]}function getDeeperRangeParent(o){if(!o)return null;const e=o.start.parent,n=o.end.parent,r=e.getPath(),i=n.getPath();return r.length>i.length?e:n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Document$1 extends BubblingEmitterMixin(ObservableMixin()){constructor(e){super(),this.selection=new DocumentSelection$1,this.roots=new Collection({idProperty:"rootName"}),this.stylesProcessor=e,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("_isFocusChanging",!1),this.set("isSelecting",!1),this.set("isComposing",!1),this._postFixers=new Set}getRoot(e="main"){return this.roots.get(e)}registerPostFixer(e){this._postFixers.add(e)}destroy(){this.roots.map(e=>e.destroy()),this.stopListening()}_callPostFixers(e){let n=!1;do for(const r of this._postFixers)if(n=r(e),n)break;while(n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const DEFAULT_PRIORITY=10;class AttributeElement extends Element$1{constructor(...e){super(...e),this.getFillerOffset=getFillerOffset$4,this._priority=DEFAULT_PRIORITY,this._id=null,this._clonesGroup=null}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(this.id===null)throw new CKEditorError("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(e){return this.id!==null||e.id!==null?this.id===e.id:super.isSimilar(e)&&this.priority==e.priority}_clone(e=!1){const n=super._clone(e);return n._priority=this._priority,n._id=this._id,n}}AttributeElement.DEFAULT_PRIORITY=DEFAULT_PRIORITY,AttributeElement.prototype.is=function(o,e){return e?e===this.name&&(o==="attributeElement"||o==="view:attributeElement"||o==="element"||o==="view:element"):o==="attributeElement"||o==="view:attributeElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};function getFillerOffset$4(){if(nonUiChildrenCount(this))return null;let o=this.parent;for(;o&&o.is("attributeElement");){if(nonUiChildrenCount(o)>1)return null;o=o.parent}return!o||nonUiChildrenCount(o)>1?null:this.childCount}function nonUiChildrenCount(o){return Array.from(o.getChildren()).filter(e=>!e.is("uiElement")).length}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EmptyElement extends Element$1{constructor(e,n,r,i){super(e,n,r,i),this.getFillerOffset=getFillerOffset$3}_insertChild(e,n){if(n&&(n instanceof Node$2||Array.from(n).length>0))throw new CKEditorError("view-emptyelement-cannot-add",[this,n]);return 0}}EmptyElement.prototype.is=function(o,e){return e?e===this.name&&(o==="emptyElement"||o==="view:emptyElement"||o==="element"||o==="view:element"):o==="emptyElement"||o==="view:emptyElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};function getFillerOffset$3(){return null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UIElement extends Element$1{constructor(...e){super(...e),this.getFillerOffset=getFillerOffset$2}_insertChild(e,n){if(n&&(n instanceof Node$2||Array.from(n).length>0))throw new CKEditorError("view-uielement-cannot-add",[this,n]);return 0}render(e,n){return this.toDomElement(e)}toDomElement(e){const n=e.createElement(this.name);for(const r of this.getAttributeKeys())n.setAttribute(r,this.getAttribute(r));return n}}UIElement.prototype.is=function(o,e){return e?e===this.name&&(o==="uiElement"||o==="view:uiElement"||o==="element"||o==="view:element"):o==="uiElement"||o==="view:uiElement"||o==="element"||o==="view:element"||o==="node"||o==="view:node"};function injectUiElementHandling(o){o.document.on("arrowKey",(e,n)=>jumpOverUiElement(e,n,o.domConverter),{priority:"low"})}function getFillerOffset$2(){return null}function jumpOverUiElement(o,e,n){if(e.keyCode==keyCodes.arrowright){const r=e.domTarget.ownerDocument.defaultView.getSelection(),i=r.rangeCount==1&&r.getRangeAt(0).collapsed;if(i||e.shiftKey){const s=r.focusNode,a=r.focusOffset,u=n.domPositionToView(s,a);if(u===null)return;let l=!1;const c=u.getLastMatchingPosition(d=>(d.item.is("uiElement")&&(l=!0),!!(d.item.is("uiElement")||d.item.is("attributeElement"))));if(l){const d=n.viewPositionToDom(c);i?r.collapse(d.parent,d.offset):r.extend(d.parent,d.offset)}}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class RawElement extends Element$1{constructor(...e){super(...e),this.getFillerOffset=getFillerOffset$1}_insertChild(e,n){if(n&&(n instanceof Node$2||Array.from(n).length>0))throw new CKEditorError("view-rawelement-cannot-add",[this,n]);return 0}render(){}}RawElement.prototype.is=function(o,e){return e?e===this.name&&(o==="rawElement"||o==="view:rawElement"||o==="element"||o==="view:element"):o==="rawElement"||o==="view:rawElement"||o===this.name||o==="view:"+this.name||o==="element"||o==="view:element"||o==="node"||o==="view:node"};function getFillerOffset$1(){return null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DocumentFragment$1 extends EmitterMixin(TypeCheckable$1){constructor(e,n){super(),this.document=e,this._children=[],n&&this._insertChild(0,n)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return this.childCount===0}get root(){return this}get parent(){return null}_appendChild(e){return this._insertChild(this.childCount,e)}getChild(e){return this._children[e]}getChildIndex(e){return this._children.indexOf(e)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(e,n){this._fireChange("children",this);let r=0;const i=normalize$3(this.document,n);for(const s of i)s.parent!==null&&s._remove(),s.parent=this,this._children.splice(e,0,s),e++,r++;return r}_removeChildren(e,n=1){this._fireChange("children",this);for(let r=e;rtypeof n=="string"?new Text$2(o,n):n instanceof TextProxy$1?new Text$2(o,n.data):n))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DowncastWriter{constructor(e){this.document=e,this._cloneGroups=new Map,this._slotFactory=null}setSelection(...e){this.document.selection._setTo(...e)}setSelectionFocus(...e){this.document.selection._setFocus(...e)}createDocumentFragment(e){return new DocumentFragment$1(this.document,e)}createText(e){return new Text$2(this.document,e)}createAttributeElement(e,n,r={}){const i=new AttributeElement(this.document,e,n);return typeof r.priority=="number"&&(i._priority=r.priority),r.id&&(i._id=r.id),r.renderUnsafeAttributes&&i._unsafeAttributesToRender.push(...r.renderUnsafeAttributes),i}createContainerElement(e,n,r={},i={}){let s=null;isPlainObject$1(r)?i=r:s=r;const a=new ContainerElement(this.document,e,n,s);return i.renderUnsafeAttributes&&a._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),a}createEditableElement(e,n,r={}){const i=new EditableElement(this.document,e,n);return r.renderUnsafeAttributes&&i._unsafeAttributesToRender.push(...r.renderUnsafeAttributes),i}createEmptyElement(e,n,r={}){const i=new EmptyElement(this.document,e,n);return r.renderUnsafeAttributes&&i._unsafeAttributesToRender.push(...r.renderUnsafeAttributes),i}createUIElement(e,n,r){const i=new UIElement(this.document,e,n);return r&&(i.render=r),i}createRawElement(e,n,r,i={}){const s=new RawElement(this.document,e,n);return r&&(s.render=r),i.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),s}setAttribute(e,n,r){r._setAttribute(e,n)}removeAttribute(e,n){n._removeAttribute(e)}addClass(e,n){n._addClass(e)}removeClass(e,n){n._removeClass(e)}setStyle(e,n,r){isPlainObject$1(e)&&r===void 0?n._setStyle(e):r._setStyle(e,n)}removeStyle(e,n){n._removeStyle(e)}setCustomProperty(e,n,r){r._setCustomProperty(e,n)}removeCustomProperty(e,n){return n._removeCustomProperty(e)}breakAttributes(e){return e instanceof Position$1?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const n=e.parent;if(!n.is("containerElement"))throw new CKEditorError("view-writer-break-non-container-element",this.document);if(!n.parent)throw new CKEditorError("view-writer-break-root",this.document);if(e.isAtStart)return Position$1._createBefore(n);if(!e.isAtEnd){const r=n._clone(!1);this.insert(Position$1._createAfter(n),r);const i=new Range$1(e,Position$1._createAt(n,"end")),s=new Position$1(r,0);this.move(i,s)}return Position$1._createAfter(n)}mergeAttributes(e){const n=e.offset,r=e.parent;if(r.is("$text"))return e;if(r.is("attributeElement")&&r.childCount===0){const a=r.parent,u=r.index;return r._remove(),this._removeFromClonedElementsGroup(r),this.mergeAttributes(new Position$1(a,u))}const i=r.getChild(n-1),s=r.getChild(n);if(!i||!s)return e;if(i.is("$text")&&s.is("$text"))return mergeTextNodes(i,s);if(i.is("attributeElement")&&s.is("attributeElement")&&i.isSimilar(s)){const a=i.childCount;return i._appendChild(s.getChildren()),s._remove(),this._removeFromClonedElementsGroup(s),this.mergeAttributes(new Position$1(i,a))}return e}mergeContainers(e){const n=e.nodeBefore,r=e.nodeAfter;if(!n||!r||!n.is("containerElement")||!r.is("containerElement"))throw new CKEditorError("view-writer-merge-containers-invalid-position",this.document);const i=n.getChild(n.childCount-1),s=i instanceof Text$2?Position$1._createAt(i,"end"):Position$1._createAt(n,"end");return this.move(Range$1._createIn(r),Position$1._createAt(n,"end")),this.remove(Range$1._createOn(r)),s}insert(e,n){n=isIterable(n)?[...n]:[n],validateNodesToInsert(n,this.document);const r=n.reduce((a,u)=>{const l=a[a.length-1],c=!u.is("uiElement");return!l||l.breakAttributes!=c?a.push({breakAttributes:c,nodes:[u]}):l.nodes.push(u),a},[]);let i=null,s=e;for(const{nodes:a,breakAttributes:u}of r){const l=this._insertNodes(s,a,u);i||(i=l.start),s=l.end}return i?new Range$1(i,s):new Range$1(e)}remove(e){const n=e instanceof Range$1?e:Range$1._createOn(e);if(validateRangeContainer(n,this.document),n.isCollapsed)return new DocumentFragment$1(this.document);const{start:r,end:i}=this._breakAttributesRange(n,!0),s=r.parent,a=i.offset-r.offset,u=s._removeChildren(r.offset,a);for(const c of u)this._removeFromClonedElementsGroup(c);const l=this.mergeAttributes(r);return n.start=l,n.end=l.clone(),new DocumentFragment$1(this.document,u)}clear(e,n){validateRangeContainer(e,this.document);const r=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const i of r){const s=i.item;let a;if(s.is("element")&&n.isSimilar(s))a=Range$1._createOn(s);else if(!i.nextPosition.isAfter(e.start)&&s.is("$textProxy")){const u=s.getAncestors().find(l=>l.is("element")&&n.isSimilar(l));u&&(a=Range$1._createIn(u))}a&&(a.end.isAfter(e.end)&&(a.end=e.end),a.start.isBefore(e.start)&&(a.start=e.start),this.remove(a))}}move(e,n){let r;if(n.isAfter(e.end)){n=this._breakAttributes(n,!0);const i=n.parent,s=i.childCount;e=this._breakAttributesRange(e,!0),r=this.remove(e),n.offset+=i.childCount-s}else r=this.remove(e);return this.insert(n,r)}wrap(e,n){if(!(n instanceof AttributeElement))throw new CKEditorError("view-writer-wrap-invalid-attribute",this.document);if(validateRangeContainer(e,this.document),e.isCollapsed){let r=e.start;r.parent.is("element")&&!_hasNonUiChildren(r.parent)&&(r=r.getLastMatchingPosition(s=>s.item.is("uiElement"))),r=this._wrapPosition(r,n);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(e.start)&&this.setSelection(r),new Range$1(r)}else return this._wrapRange(e,n)}unwrap(e,n){if(!(n instanceof AttributeElement))throw new CKEditorError("view-writer-unwrap-invalid-attribute",this.document);if(validateRangeContainer(e,this.document),e.isCollapsed)return e;const{start:r,end:i}=this._breakAttributesRange(e,!0),s=r.parent,a=this._unwrapChildren(s,r.offset,i.offset,n),u=this.mergeAttributes(a.start);u.isEqual(a.start)||a.end.offset--;const l=this.mergeAttributes(a.end);return new Range$1(u,l)}rename(e,n){const r=new ContainerElement(this.document,e,n.getAttributes());return this.insert(Position$1._createAfter(n),r),this.move(Range$1._createIn(n),Position$1._createAt(r,0)),this.remove(Range$1._createOn(n)),r}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,n){return Position$1._createAt(e,n)}createPositionAfter(e){return Position$1._createAfter(e)}createPositionBefore(e){return Position$1._createBefore(e)}createRange(...e){return new Range$1(...e)}createRangeOn(e){return Range$1._createOn(e)}createRangeIn(e){return Range$1._createIn(e)}createSelection(...e){return new Selection$1(...e)}createSlot(e){if(!this._slotFactory)throw new CKEditorError("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,e)}_registerSlotFactory(e){this._slotFactory=e}_clearSlotFactory(){this._slotFactory=null}_insertNodes(e,n,r){let i;if(r?i=getParentContainer(e):i=e.parent.is("$text")?e.parent.parent:e.parent,!i)throw new CKEditorError("view-writer-invalid-position-container",this.document);let s;r?s=this._breakAttributes(e,!0):s=e.parent.is("$text")?breakTextNode(e):e;const a=i._insertChild(s.offset,n);for(const d of n)this._addToClonedElementsGroup(d);const u=s.getShiftedBy(a),l=this.mergeAttributes(s);l.isEqual(s)||u.offset--;const c=this.mergeAttributes(u);return new Range$1(l,c)}_wrapChildren(e,n,r,i){let s=n;const a=[];for(;s!1,e.parent._insertChild(e.offset,r);const i=new Range$1(e,e.getShiftedBy(1));this.wrap(i,n);const s=new Position$1(r.parent,r.index);r._remove();const a=s.nodeBefore,u=s.nodeAfter;return a instanceof Text$2&&u instanceof Text$2?mergeTextNodes(a,u):movePositionToTextNode(s)}_wrapAttributeElement(e,n){if(!canBeJoined(e,n)||e.name!==n.name||e.priority!==n.priority)return!1;for(const r of e.getAttributeKeys())if(!(r==="class"||r==="style")&&n.hasAttribute(r)&&n.getAttribute(r)!==e.getAttribute(r))return!1;for(const r of e.getStyleNames())if(n.hasStyle(r)&&n.getStyle(r)!==e.getStyle(r))return!1;for(const r of e.getAttributeKeys())r==="class"||r==="style"||n.hasAttribute(r)||this.setAttribute(r,e.getAttribute(r),n);for(const r of e.getStyleNames())n.hasStyle(r)||this.setStyle(r,e.getStyle(r),n);for(const r of e.getClassNames())n.hasClass(r)||this.addClass(r,n);return!0}_unwrapAttributeElement(e,n){if(!canBeJoined(e,n)||e.name!==n.name||e.priority!==n.priority)return!1;for(const r of e.getAttributeKeys())if(!(r==="class"||r==="style")&&(!n.hasAttribute(r)||n.getAttribute(r)!==e.getAttribute(r)))return!1;if(!n.hasClass(...e.getClassNames()))return!1;for(const r of e.getStyleNames())if(!n.hasStyle(r)||n.getStyle(r)!==e.getStyle(r))return!1;for(const r of e.getAttributeKeys())r==="class"||r==="style"||this.removeAttribute(r,n);return this.removeClass(Array.from(e.getClassNames()),n),this.removeStyle(Array.from(e.getStyleNames()),n),!0}_breakAttributesRange(e,n=!1){const r=e.start,i=e.end;if(validateRangeContainer(e,this.document),e.isCollapsed){const l=this._breakAttributes(e.start,n);return new Range$1(l,l)}const s=this._breakAttributes(i,n),a=s.parent.childCount,u=this._breakAttributes(r,n);return s.offset+=s.parent.childCount-a,new Range$1(u,s)}_breakAttributes(e,n=!1){const r=e.offset,i=e.parent;if(e.parent.is("emptyElement"))throw new CKEditorError("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new CKEditorError("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new CKEditorError("view-writer-cannot-break-raw-element",this.document);if(!n&&i.is("$text")&&isContainerOrFragment(i.parent)||isContainerOrFragment(i))return e.clone();if(i.is("$text"))return this._breakAttributes(breakTextNode(e),n);const s=i.childCount;if(r==s){const a=new Position$1(i.parent,i.index+1);return this._breakAttributes(a,n)}else if(r===0){const a=new Position$1(i.parent,i.index);return this._breakAttributes(a,n)}else{const a=i.index+1,u=i._clone();i.parent._insertChild(a,u),this._addToClonedElementsGroup(u);const l=i.childCount-r,c=i._removeChildren(r,l);u._appendChild(c);const d=new Position$1(i.parent,a);return this._breakAttributes(d,n)}}_addToClonedElementsGroup(e){if(!e.root.is("rootElement"))return;if(e.is("element"))for(const i of e.getChildren())this._addToClonedElementsGroup(i);const n=e.id;if(!n)return;let r=this._cloneGroups.get(n);r||(r=new Set,this._cloneGroups.set(n,r)),r.add(e),e._clonesGroup=r}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const i of e.getChildren())this._removeFromClonedElementsGroup(i);const n=e.id;if(!n)return;const r=this._cloneGroups.get(n);!r||r.delete(e)}}function _hasNonUiChildren(o){return Array.from(o.getChildren()).some(e=>!e.is("uiElement"))}function getParentContainer(o){let e=o.parent;for(;!isContainerOrFragment(e);){if(!e)return;e=e.parent}return e}function shouldABeOutsideB(o,e){return o.prioritye.priority?!1:o.getIdentity()n instanceof r))throw new CKEditorError("view-writer-insert-invalid-node-type",e);n.is("$text")||validateNodesToInsert(n.getChildren(),e)}}function isContainerOrFragment(o){return o&&(o.is("containerElement")||o.is("documentFragment"))}function validateRangeContainer(o,e){const n=getParentContainer(o.start),r=getParentContainer(o.end);if(!n||!r||n!==r)throw new CKEditorError("view-writer-invalid-range-container",e)}function canBeJoined(o,e){return o.id===null&&e.id===null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const NBSP_FILLER=o=>o.createTextNode("\xA0"),MARKED_NBSP_FILLER=o=>{const e=o.createElement("span");return e.dataset.ckeFiller="true",e.innerText="\xA0",e},BR_FILLER=o=>{const e=o.createElement("br");return e.dataset.ckeFiller="true",e},INLINE_FILLER_LENGTH=7,INLINE_FILLER="\u2060".repeat(INLINE_FILLER_LENGTH);function startsWithFiller(o){return isText(o)&&o.data.substr(0,INLINE_FILLER_LENGTH)===INLINE_FILLER}function isInlineFiller(o){return o.data.length==INLINE_FILLER_LENGTH&&startsWithFiller(o)}function getDataWithoutFiller(o){return startsWithFiller(o)?o.data.slice(INLINE_FILLER_LENGTH):o.data}function injectQuirksHandling(o){o.document.on("arrowKey",jumpOverInlineFiller,{priority:"low"})}function jumpOverInlineFiller(o,e){if(e.keyCode==keyCodes.arrowleft){const n=e.domTarget.ownerDocument.defaultView.getSelection();if(n.rangeCount==1&&n.getRangeAt(0).collapsed){const r=n.getRangeAt(0).startContainer,i=n.getRangeAt(0).startOffset;startsWithFiller(r)&&i<=INLINE_FILLER_LENGTH&&n.collapse(r,0)}}}const renderer="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Renderer extends ObservableMixin(){constructor(e,n){super(),this.domDocuments=new Set,this.domConverter=e,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this.selection=n,this.set("isFocused",!1),this.set("_isFocusChanging",!1),this.set("isSelecting",!1),env.isBlink&&!env.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()}),this._inlineFiller=null,this._fakeSelectionContainer=null}markToSync(e,n){if(e==="text")this.domConverter.mapViewToDom(n.parent)&&this.markedTexts.add(n);else{if(!this.domConverter.mapViewToDom(n))return;if(e==="attributes")this.markedAttributes.add(n);else if(e==="children")this.markedChildren.add(n);else throw new CKEditorError("view-renderer-unknown-type",this)}}render(){if(this.isComposing&&!env.isAndroid)return;let e=null;const n=env.isBlink&&!env.isAndroid?!this.isSelecting:!0;for(const r of this.markedChildren)this._updateChildrenMappings(r);n?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?e=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(e=this.selection.getFirstPosition(),this.markedChildren.add(e.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(e=this.domConverter.domPositionToView(this._inlineFiller),e&&e.parent.is("$text")&&(e=Position$1._createBefore(e.parent)));for(const r of this.markedAttributes)this._updateAttrs(r);for(const r of this.markedChildren)this._updateChildren(r,{inlineFillerPosition:e});for(const r of this.markedTexts)!this.markedChildren.has(r.parent)&&this.domConverter.mapViewToDom(r.parent)&&this._updateText(r,{inlineFillerPosition:e});if(n)if(e){const r=this.domConverter.viewPositionToDom(e),i=r.parent.ownerDocument;startsWithFiller(r.parent)?this._inlineFiller=r.parent:this._inlineFiller=addInlineFiller(i,r.parent,r.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){if(!this.domConverter.mapViewToDom(e))return;const r=Array.from(this.domConverter.mapViewToDom(e).childNodes),i=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),s=this._diffNodeLists(r,i),a=this._findReplaceActions(s,r,i);if(a.indexOf("replace")!==-1){const u={equal:0,insert:0,delete:0};for(const l of a)if(l==="replace"){const c=u.equal+u.insert,d=u.equal+u.delete,h=e.getChild(c);h&&!(h.is("uiElement")||h.is("rawElement"))&&this._updateElementMappings(h,r[d]),remove$1(i[c]),u.equal++}else u[l]++}}_updateElementMappings(e,n){this.domConverter.unbindDomElement(n),this.domConverter.bindElements(n,e),this.markedChildren.add(e),this.markedAttributes.add(e)}_getInlineFillerPosition(){const e=this.selection.getFirstPosition();return e.parent.is("$text")?Position$1._createBefore(e.parent):e}_isSelectionInInlineFiller(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),n=this.domConverter.viewPositionToDom(e);return!!(n&&isText(n.parent)&&startsWithFiller(n.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!startsWithFiller(e))throw new CKEditorError("view-renderer-filler-was-lost",this);isInlineFiller(e)?e.remove():e.data=e.data.substr(INLINE_FILLER_LENGTH),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),n=e.parent,r=e.offset;if(!this.domConverter.mapViewToDom(n.root)||!n.is("element")||!isEditable(n)||r===n.getFillerOffset())return!1;const i=e.nodeBefore,s=e.nodeAfter;return!(i instanceof Text$2||s instanceof Text$2||env.isAndroid&&(i||s))}_updateText(e,n){const r=this.domConverter.findCorrespondingDomText(e);let s=this.domConverter.viewToDom(e).data;const a=n.inlineFillerPosition;a&&a.parent==e.parent&&a.offset==e.index&&(s=INLINE_FILLER+s),updateTextNode(r,s)}_updateAttrs(e){const n=this.domConverter.mapViewToDom(e);if(!n)return;const r=Array.from(n.attributes).map(s=>s.name),i=e.getAttributeKeys();for(const s of i)this.domConverter.setDomElementAttribute(n,s,e.getAttribute(s),e);for(const s of r)e.hasAttribute(s)||this.domConverter.removeDomElementAttribute(n,s)}_updateChildren(e,n){const r=this.domConverter.mapViewToDom(e);if(!r)return;if(env.isAndroid){let h=null;for(const f of Array.from(r.childNodes)){if(h&&isText(h)&&isText(f)){r.normalize();break}h=f}}const i=n.inlineFillerPosition,s=r.childNodes,a=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));i&&i.parent===e&&addInlineFiller(r.ownerDocument,a,i.offset);const u=this._diffNodeLists(s,a),l=env.isAndroid?this._findReplaceActions(u,s,a,{replaceText:!0}):u;let c=0;const d=new Set;for(const h of l)h==="delete"?(d.add(s[c]),remove$1(s[c])):(h==="equal"||h==="replace")&&c++;c=0;for(const h of l)h==="insert"?(insertAt(r,c,a[c]),c++):h==="replace"?(updateTextNode(s[c],a[c].data),c++):h==="equal"&&(this._markDescendantTextToSync(this.domConverter.domToView(a[c])),c++);for(const h of d)h.parentNode||this.domConverter.unbindDomElement(h)}_diffNodeLists(e,n){return e=filterOutFakeSelectionContainer(e,this._fakeSelectionContainer),diff(e,n,sameNodes$1.bind(null,this.domConverter))}_findReplaceActions(e,n,r,i={}){if(e.indexOf("insert")===-1||e.indexOf("delete")===-1)return e;let s=[],a=[],u=[];const l={equal:0,insert:0,delete:0};for(const c of e)c==="insert"?u.push(r[l.equal+l.insert]):c==="delete"?a.push(n[l.equal+l.delete]):(s=s.concat(diff(a,u,i.replaceText?areTextNodes:areSimilar).map(d=>d==="equal"?"replace":d)),s.push("equal"),a=[],u=[]),l[c]++;return s.concat(diff(a,u,i.replaceText?areTextNodes:areSimilar).map(c=>c==="equal"?"replace":c))}_markDescendantTextToSync(e){if(!!e){if(e.is("$text"))this.markedTexts.add(e);else if(e.is("element"))for(const n of e.getChildren())this._markDescendantTextToSync(n)}}_updateSelection(){if(env.isBlink&&!env.isAndroid&&this.isSelecting&&!this.markedChildren.size||this._isFocusChanging)return;if(this.selection.rangeCount===0){this._removeDomSelection(),this._removeFakeSelection();return}const e=this.domConverter.mapViewToDom(this.selection.editableElement);!this.isFocused||!e||(this.selection.isFake?this._updateFakeSelection(e):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(e)):this.isComposing&&env.isAndroid||this._updateDomSelection(e))}_updateFakeSelection(e){const n=e.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=createFakeSelectionContainer(n));const r=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(r,this.selection),!this._fakeSelectionNeedsUpdate(e))return;(!r.parentElement||r.parentElement!=e)&&e.appendChild(r),r.textContent=this.selection.fakeSelectionLabel||"\xA0";const i=n.getSelection(),s=n.createRange();i.removeAllRanges(),s.selectNodeContents(r),i.addRange(s)}_updateDomSelection(e){const n=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(n))return;const r=this.domConverter.viewPositionToDom(this.selection.anchor),i=this.domConverter.viewPositionToDom(this.selection.focus);n.collapse(r.parent,r.offset),n.extend(i.parent,i.offset),env.isGecko&&fixGeckoSelectionAfterBr(i,n)}_domSelectionNeedsUpdate(e){if(!this.domConverter.isDomSelectionCorrect(e))return!0;const n=e&&this.domConverter.domSelectionToView(e);return!(n&&this.selection.isEqual(n)||!this.selection.isCollapsed&&this.selection.isSimilar(n))}_fakeSelectionNeedsUpdate(e){const n=this._fakeSelectionContainer,r=e.ownerDocument.getSelection();return!n||n.parentElement!==e||r.anchorNode!==n&&!n.contains(r.anchorNode)?!0:n.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const e of this.domDocuments){const n=e.getSelection();if(n.rangeCount){const r=e.activeElement,i=this.domConverter.mapDomToView(r);r&&i&&n.removeAllRanges()}}}_removeFakeSelection(){const e=this._fakeSelectionContainer;e&&e.remove()}_updateFocus(){if(this.isFocused){const e=this.selection.editableElement;e&&this.domConverter.focus(e)}}}function isEditable(o){if(o.getAttribute("contenteditable")=="false")return!1;const e=o.findAncestor(n=>n.hasAttribute("contenteditable"));return!e||e.getAttribute("contenteditable")=="true"}function addInlineFiller(o,e,n){const r=e instanceof Array?e:e.childNodes,i=r[n];if(isText(i))return i.data=INLINE_FILLER+i.data,i;{const s=o.createTextNode(INLINE_FILLER);return Array.isArray(e)?r.splice(n,0,s):insertAt(e,n,s),s}}function areSimilar(o,e){return isNode(o)&&isNode(e)&&!isText(o)&&!isText(e)&&!isComment(o)&&!isComment(e)&&o.tagName.toLowerCase()===e.tagName.toLowerCase()}function areTextNodes(o,e){return isNode(o)&&isNode(e)&&isText(o)&&isText(e)}function sameNodes$1(o,e,n){return e===n?!0:isText(e)&&isText(n)?e.data===n.data:!!(o.isBlockFiller(e)&&o.isBlockFiller(n))}function fixGeckoSelectionAfterBr(o,e){const n=o.parent;if(n.nodeType!=Node.ELEMENT_NODE||o.offset!=n.childNodes.length-1)return;const r=n.childNodes[o.offset];r&&r.tagName=="BR"&&e.addRange(e.getRangeAt(0))}function filterOutFakeSelectionContainer(o,e){const n=Array.from(o);return n.length==0||!e||n[n.length-1]==e&&n.pop(),n}function createFakeSelectionContainer(o){const e=o.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent="\xA0",e}function updateTextNode(o,e){const n=o.data;if(n==e)return;const r=fastDiff(n,e);for(const i of r)i.type==="insert"?o.insertData(i.index,i.values.join("")):o.deleteData(i.index,i.howMany)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const BR_FILLER_REF=BR_FILLER(global$2.document),NBSP_FILLER_REF=NBSP_FILLER(global$2.document),MARKED_NBSP_FILLER_REF=MARKED_NBSP_FILLER(global$2.document),UNSAFE_ATTRIBUTE_NAME_PREFIX="data-ck-unsafe-attribute-",UNSAFE_ELEMENT_REPLACEMENT_ATTRIBUTE="data-ck-unsafe-element";class DomConverter{constructor(e,n={}){this.document=e,this.renderingMode=n.renderingMode||"editing",this.blockFillerMode=n.blockFillerMode||(this.renderingMode==="editing"?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument=this.renderingMode==="editing"?global$2.document:global$2.document.implementation.createHTMLDocument(""),this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new Matcher,this._encounteredRawContentDomNodes=new WeakSet}bindFakeSelection(e,n){this._fakeSelectionMapping.set(e,new Selection$1(n))}fakeSelectionToView(e){return this._fakeSelectionMapping.get(e)}bindElements(e,n){this._domToViewMapping.set(e,n),this._viewToDomMapping.set(n,e)}unbindDomElement(e){const n=this._domToViewMapping.get(e);if(n){this._domToViewMapping.delete(e),this._viewToDomMapping.delete(n);for(const r of Array.from(e.children))this.unbindDomElement(r)}}bindDocumentFragments(e,n){this._domToViewMapping.set(e,n),this._viewToDomMapping.set(n,e)}shouldRenderAttribute(e,n,r){return this.renderingMode==="data"?!0:(e=e.toLowerCase(),e.startsWith("on")||e==="srcdoc"&&n.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i)?!1:r==="img"&&(e==="src"||e==="srcset")||r==="source"&&e==="srcset"?!0:!n.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(e,n){if(this.renderingMode==="data"){e.innerHTML=n;return}const r=new DOMParser().parseFromString(n,"text/html"),i=r.createDocumentFragment(),s=r.body.childNodes;for(;s.length>0;)i.appendChild(s[0]);const a=r.createTreeWalker(i,NodeFilter.SHOW_ELEMENT),u=[];let l;for(;l=a.nextNode();)u.push(l);for(const c of u){for(const h of c.getAttributeNames())this.setDomElementAttribute(c,h,c.getAttribute(h));const d=c.tagName.toLowerCase();this._shouldRenameElement(d)&&(_logUnsafeElement(d),c.replaceWith(this._createReplacementDomElement(d,c)))}for(;e.firstChild;)e.firstChild.remove();e.append(i)}viewToDom(e,n={}){if(e.is("$text")){const r=this._processDataFromViewText(e);return this._domDocument.createTextNode(r)}else{if(this.mapViewToDom(e))return this.mapViewToDom(e);let r;if(e.is("documentFragment"))r=this._domDocument.createDocumentFragment(),n.bind&&this.bindDocumentFragments(r,e);else{if(e.is("uiElement"))return e.name==="$comment"?r=this._domDocument.createComment(e.getCustomProperty("$rawContent")):r=e.render(this._domDocument,this),n.bind&&this.bindElements(r,e),r;this._shouldRenameElement(e.name)?(_logUnsafeElement(e.name),r=this._createReplacementDomElement(e.name)):e.hasAttribute("xmlns")?r=this._domDocument.createElementNS(e.getAttribute("xmlns"),e.name):r=this._domDocument.createElement(e.name),e.is("rawElement")&&e.render(r,this),n.bind&&this.bindElements(r,e);for(const i of e.getAttributeKeys())this.setDomElementAttribute(r,i,e.getAttribute(i),e)}if(n.withChildren!==!1)for(const i of this.viewChildrenToDom(e,n))r.appendChild(i);return r}}setDomElementAttribute(e,n,r,i){const s=this.shouldRenderAttribute(n,r,e.tagName.toLowerCase())||i&&i.shouldRenderUnsafeAttribute(n);s||logWarning("domconverter-unsafe-attribute-detected",{domElement:e,key:n,value:r}),e.hasAttribute(n)&&!s?e.removeAttribute(n):e.hasAttribute(UNSAFE_ATTRIBUTE_NAME_PREFIX+n)&&s&&e.removeAttribute(UNSAFE_ATTRIBUTE_NAME_PREFIX+n),e.setAttribute(s?n:UNSAFE_ATTRIBUTE_NAME_PREFIX+n,r)}removeDomElementAttribute(e,n){n!=UNSAFE_ELEMENT_REPLACEMENT_ATTRIBUTE&&(e.removeAttribute(n),e.removeAttribute(UNSAFE_ATTRIBUTE_NAME_PREFIX+n))}*viewChildrenToDom(e,n={}){const r=e.getFillerOffset&&e.getFillerOffset();let i=0;for(const s of e.getChildren()){r===i&&(yield this._getBlockFiller());const a=s.is("element")&&s.getCustomProperty("dataPipeline:transparentRendering");a&&this.renderingMode=="data"?yield*this.viewChildrenToDom(s,n):(a&&logWarning("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:s}),yield this.viewToDom(s,n)),i++}r===i&&(yield this._getBlockFiller())}viewRangeToDom(e){const n=this.viewPositionToDom(e.start),r=this.viewPositionToDom(e.end),i=this._domDocument.createRange();return i.setStart(n.parent,n.offset),i.setEnd(r.parent,r.offset),i}viewPositionToDom(e){const n=e.parent;if(n.is("$text")){const r=this.findCorrespondingDomText(n);if(!r)return null;let i=e.offset;return startsWithFiller(r)&&(i+=INLINE_FILLER_LENGTH),{parent:r,offset:i}}else{let r,i,s;if(e.offset===0){if(r=this.mapViewToDom(n),!r)return null;s=r.childNodes[0]}else{const u=e.nodeBefore;if(i=u.is("$text")?this.findCorrespondingDomText(u):this.mapViewToDom(u),!i)return null;r=i.parentNode,s=i.nextSibling}if(isText(s)&&startsWithFiller(s))return{parent:s,offset:INLINE_FILLER_LENGTH};const a=i?indexOf(i)+1:0;return{parent:r,offset:a}}}domToView(e,n={}){if(this.isBlockFiller(e))return null;const r=this.getHostViewElement(e);if(r)return r;if(isComment(e)&&n.skipComments)return null;if(isText(e)){if(isInlineFiller(e))return null;{const i=this._processDataFromDomText(e);return i===""?null:new Text$2(this.document,i)}}else{if(this.mapDomToView(e))return this.mapDomToView(e);let i;if(this.isDocumentFragment(e))i=new DocumentFragment$1(this.document),n.bind&&this.bindDocumentFragments(e,i);else{i=this._createViewElement(e,n),n.bind&&this.bindElements(e,i);const s=e.attributes;if(s)for(let a=s.length,u=0;u{const{scrollLeft:u,scrollTop:l}=a;s.push([u,l])}),n.focus(),forEachDomElementAncestor(n,a=>{const[u,l]=s.shift();a.scrollLeft=u,a.scrollTop=l}),global$2.window.scrollTo(r,i)}}isElement(e){return e&&e.nodeType==Node.ELEMENT_NODE}isDocumentFragment(e){return e&&e.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(e){return this.blockFillerMode=="br"?e.isEqualNode(BR_FILLER_REF):e.tagName==="BR"&&hasBlockParent(e,this.blockElements)&&e.parentNode.childNodes.length===1?!0:e.isEqualNode(MARKED_NBSP_FILLER_REF)||isNbspBlockFiller(e,this.blockElements)}isDomSelectionBackward(e){if(e.isCollapsed)return!1;const n=this._domDocument.createRange();try{n.setStart(e.anchorNode,e.anchorOffset),n.setEnd(e.focusNode,e.focusOffset)}catch{return!1}const r=n.collapsed;return n.detach(),r}getHostViewElement(e){const n=getAncestors(e);for(n.pop();n.length;){const r=n.pop(),i=this._domToViewMapping.get(r);if(i&&(i.is("uiElement")||i.is("rawElement")))return i}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return NBSP_FILLER(this._domDocument);case"markedNbsp":return MARKED_NBSP_FILLER(this._domDocument);case"br":return BR_FILLER(this._domDocument)}}_isDomSelectionPositionCorrect(e,n){if(isText(e)&&startsWithFiller(e)&&nthis.preElements.includes(r.name)))return n;if(n.charAt(0)==" "){const r=this._getTouchingInlineViewNode(e,!1);(r&&r.is("$textProxy")&&this._nodeEndsWithSpace(r)||!r)&&(n="\xA0"+n.substr(1))}if(n.charAt(n.length-1)==" "){const r=this._getTouchingInlineViewNode(e,!0),i=r&&r.is("$textProxy")&&r.data.charAt(0)==" ";(n.charAt(n.length-2)==" "||!r||i)&&(n=n.substr(0,n.length-1)+"\xA0")}return n.replace(/ {2}/g," \xA0")}_nodeEndsWithSpace(e){if(e.getAncestors().some(r=>this.preElements.includes(r.name)))return!1;const n=this._processDataFromViewText(e);return n.charAt(n.length-1)==" "}_processDataFromDomText(e){let n=e.data;if(_hasDomParentOfType(e,this.preElements))return getDataWithoutFiller(e);n=n.replace(/[ \n\t\r]{1,}/g," ");const r=this._getTouchingInlineDomNode(e,!1),i=this._getTouchingInlineDomNode(e,!0),s=this._checkShouldLeftTrimDomText(e,r),a=this._checkShouldRightTrimDomText(e,i);s&&(n=n.replace(/^ /,"")),a&&(n=n.replace(/ $/,"")),n=getDataWithoutFiller(new Text(n)),n=n.replace(/ \u00A0/g," ");const u=i&&this.isElement(i)&&i.tagName!="BR",l=i&&isText(i)&&i.data.charAt(0)==" ";return(/( |\u00A0)\u00A0$/.test(n)||!i||u||l)&&(n=n.replace(/\u00A0$/," ")),(s||r&&this.isElement(r)&&r.tagName!="BR")&&(n=n.replace(/^\u00A0/," ")),n}_checkShouldLeftTrimDomText(e,n){return n?this.isElement(n)?n.tagName==="BR":this._encounteredRawContentDomNodes.has(e.previousSibling)?!1:/[^\S\u00A0]/.test(n.data.charAt(n.data.length-1)):!0}_checkShouldRightTrimDomText(e,n){return n?!1:!startsWithFiller(e)}_getTouchingInlineViewNode(e,n){const r=new TreeWalker$1({startPosition:n?Position$1._createAfter(e):Position$1._createBefore(e),direction:n?"forward":"backward"});for(const i of r){if(i.item.is("element")&&this.inlineObjectElements.includes(i.item.name))return i.item;if(i.item.is("containerElement"))return null;if(i.item.is("element","br"))return null;if(i.item.is("$textProxy"))return i.item}return null}_getTouchingInlineDomNode(e,n){if(!e.parentNode)return null;const r=n?"firstChild":"lastChild",i=n?"nextSibling":"previousSibling";let s=!0,a=e;do if(!s&&a[r]?a=a[r]:a[i]?(a=a[i],s=!1):(a=a.parentNode,s=!0),!a||this._isBlockElement(a))return null;while(!(isText(a)||a.tagName=="BR"||this._isInlineObjectElement(a)));return a}_isBlockElement(e){return this.isElement(e)&&this.blockElements.includes(e.tagName.toLowerCase())}_isInlineObjectElement(e){return this.isElement(e)&&this.inlineObjectElements.includes(e.tagName.toLowerCase())}_createViewElement(e,n){if(isComment(e))return new UIElement(this.document,"$comment");const r=n.keepOriginalCase?e.tagName:e.tagName.toLowerCase();return new Element$1(this.document,r)}_isViewElementWithRawContent(e,n){return n.withChildren!==!1&&!!this._rawContentElementMatcher.match(e)}_shouldRenameElement(e){const n=e.toLowerCase();return this.renderingMode==="editing"&&this.unsafeElements.includes(n)}_createReplacementDomElement(e,n){const r=this._domDocument.createElement("span");if(r.setAttribute(UNSAFE_ELEMENT_REPLACEMENT_ATTRIBUTE,e),n){for(;n.firstChild;)r.appendChild(n.firstChild);for(const i of n.getAttributeNames())r.setAttribute(i,n.getAttribute(i))}return r}}function _hasDomParentOfType(o,e){return getAncestors(o).some(r=>r.tagName&&e.includes(r.tagName.toLowerCase()))}function forEachDomElementAncestor(o,e){let n=o;for(;n;)e(n),n=n.parentElement}function isNbspBlockFiller(o,e){return o.isEqualNode(NBSP_FILLER_REF)&&hasBlockParent(o,e)&&o.parentNode.childNodes.length===1}function hasBlockParent(o,e){const n=o.parentNode;return!!n&&!!n.tagName&&e.includes(n.tagName.toLowerCase())}function _logUnsafeElement(o){o==="script"&&logWarning("domconverter-unsafe-script-element-detected"),o==="style"&&logWarning("domconverter-unsafe-style-element-detected")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Observer extends DomEmitterMixin(){constructor(e){super(),this.view=e,this.document=e.document,this.isEnabled=!1}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(e){return e&&e.nodeType===3&&(e=e.parentNode),!e||e.nodeType!==1?!1:e.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DomEventData{constructor(e,n,r){this.view=e,this.document=e.document,this.domEvent=n,this.domTarget=n.target,extend$3(this,r)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DomEventObserver extends Observer{constructor(e){super(e),this.useCapture=!1}observe(e){(typeof this.domEventType=="string"?[this.domEventType]:this.domEventType).forEach(r=>{this.listenTo(e,r,(i,s)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(s.target)&&this.onDomEvent(s)},{useCapture:this.useCapture})})}fire(e,n,r){this.isEnabled&&this.document.fire(e,new DomEventData(this.view,n,r))}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class KeyObserver extends DomEventObserver{constructor(e){super(e),this.domEventType=["keydown","keyup"]}onDomEvent(e){const n={keyCode:e.keyCode,altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,get keystroke(){return getCode(this)}};this.fire(e.type,e,n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FakeSelectionObserver extends Observer{constructor(e){super(e),this._fireSelectionChangeDoneDebounced=debounce(n=>{this.document.fire("selectionChangeDone",n)},200)}observe(){const e=this.document;e.on("arrowKey",(n,r)=>{e.selection.isFake&&this.isEnabled&&r.preventDefault()},{context:"$capture"}),e.on("arrowKey",(n,r)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(r.keyCode)},{priority:"lowest"})}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const n=this.document.selection,r=new Selection$1(n.getRanges(),{backward:n.isBackward,fake:!1});(e==keyCodes.arrowleft||e==keyCodes.arrowup)&&r.setTo(r.getFirstPosition()),(e==keyCodes.arrowright||e==keyCodes.arrowdown)&&r.setTo(r.getLastPosition());const i={oldSelection:n,newSelection:r,domSelection:null};this.document.fire("selectionChange",i),this._fireSelectionChangeDoneDebounced(i)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MutationObserver$1 extends Observer{constructor(e){super(e),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=e.domConverter,this.renderer=e._renderer,this._domElements=[],this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(e){this._domElements.push(e),this.isEnabled&&this._mutationObserver.observe(e,this._config)}enable(){super.enable();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(e){if(e.length===0)return;const n=this.domConverter,r=new Set,i=new Set;for(const a of e){const u=n.mapDomToView(a.target);!u||u.is("uiElement")||u.is("rawElement")||a.type==="childList"&&!this._isBogusBrMutation(a)&&i.add(u)}for(const a of e){const u=n.mapDomToView(a.target);if(!(u&&(u.is("uiElement")||u.is("rawElement")))&&a.type==="characterData"){const l=n.findCorrespondingViewText(a.target);l&&!i.has(l.parent)?r.add(l):!l&&startsWithFiller(a.target)&&i.add(n.mapDomToView(a.target.parentNode))}}let s=!1;for(const a of r)s=!0,this.renderer.markToSync("text",a);for(const a of i){const u=n.mapViewToDom(a),l=Array.from(a.getChildren()),c=Array.from(n.domChildrenToView(u,{withChildren:!1}));isEqualWith(l,c,sameNodes)||(s=!0,this.renderer.markToSync("children",a))}s&&this.view.forceRender()}_isBogusBrMutation(e){let n=null;return e.nextSibling===null&&e.removedNodes.length===0&&e.addedNodes.length==1&&(n=this.domConverter.domToView(e.addedNodes[0],{withChildren:!1})),n&&n.is("element","br")}}function sameNodes(o,e){if(!Array.isArray(o))return o===e?!0:o.is("$text")&&e.is("$text")?o.data===e.data:!1}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SelectionObserver extends Observer{constructor(e){super(e),this.mutationObserver=e.getObserver(MutationObserver$1),this.selection=this.document.selection,this.domConverter=e.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=debounce(n=>{this.document.fire("selectionChangeDone",n)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=debounce(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(e){const n=e.ownerDocument,r=()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},i=()=>{!this.document.isSelecting||(this._handleSelectionChange(null,n),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",r,{priority:"highest"}),this.listenTo(e,"keydown",i,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",i,{priority:"highest",useCapture:!0}),!this._documents.has(n)&&(this.listenTo(n,"mouseup",i,{priority:"highest",useCapture:!0}),this.listenTo(n,"selectionchange",(s,a)=>{this.document.isComposing&&!env.isAndroid||(this._handleSelectionChange(a,n),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(n))}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_handleSelectionChange(e,n){if(!this.isEnabled)return;const r=n.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(r.anchorNode))return;this.mutationObserver.flush();const i=this.domConverter.domSelectionToView(r);if(i.rangeCount==0){this.view.hasDomSelection=!1;return}if(this.view.hasDomSelection=!0,!(this.selection.isEqual(i)&&this.domConverter.isDomSelectionCorrect(r))&&!(++this._loopbackCounter>60))if(this.selection.isSimilar(i))this.view.forceRender();else{const s={oldSelection:this.selection,newSelection:i,domSelection:r};this.document._isFocusChanging=!1,this.document.fire("selectionChange",s),this._fireSelectionChangeDoneDebounced(s)}}_clearInfiniteLoop(){this._loopbackCounter=0}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FocusObserver extends DomEventObserver{constructor(e){super(e),this.domEventType=["focus","blur"],this.useCapture=!0;const n=this.document;n.on("focus",()=>{n.isFocused=!0,n._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{n._isFocusChanging=!1,e.change(()=>{})},50)}),n.on("blur",(r,i)=>{const s=n.selection.editableElement;(s===null||s===i.target)&&(n.isFocused=!1,e.change(()=>{}))})}onDomEvent(e){this.fire(e.type,e)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class CompositionObserver extends DomEventObserver{constructor(e){super(e),this.domEventType=["compositionstart","compositionupdate","compositionend"];const n=this.document;n.on("compositionstart",()=>{n.isComposing=!0},{priority:"low"}),n.on("compositionend",()=>{n.isComposing=!1},{priority:"low"})}onDomEvent(e){this.fire(e.type,e,{data:e.data})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DataTransfer{constructor(e){this.files=getFiles(e),this._native=e}get types(){return this._native.types}getData(e){return this._native.getData(e)}setData(e,n){this._native.setData(e,n)}set effectAllowed(e){this._native.effectAllowed=e}get effectAllowed(){return this._native.effectAllowed}set dropEffect(e){this._native.dropEffect=e}get dropEffect(){return this._native.dropEffect}get isCanceled(){return this._native.dropEffect=="none"||!!this._native.mozUserCancelled}}function getFiles(o){const e=Array.from(o.files||[]),n=Array.from(o.items||[]);return e.length?e:n.filter(r=>r.kind==="file").map(r=>r.getAsFile())}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InputObserver extends DomEventObserver{constructor(e){super(e),this.domEventType=["beforeinput"]}onDomEvent(e){const n=e.getTargetRanges(),r=this.view,i=r.document;let s=null,a=null,u=[];if(e.dataTransfer&&(s=new DataTransfer(e.dataTransfer)),e.data!==null?a=e.data:s&&(a=s.getData("text/plain")),i.selection.isFake)u=Array.from(i.selection.getRanges());else if(n.length)u=n.map(l=>r.domConverter.domRangeToView(l));else if(env.isAndroid){const l=e.target.ownerDocument.defaultView.getSelection();u=Array.from(r.domConverter.domSelectionToView(l).getRanges())}if(env.isAndroid&&e.inputType=="insertCompositionText"&&a&&a.endsWith(` `)){this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[r.createRange(u[0].end)]});return}if(e.inputType=="insertText"&&a&&a.includes(` `)){const l=a.split(/\n{1,2}/g);let c=u;for(let d=0;d{if(this.isEnabled&&isArrowKeyCode(r.keyCode)){const i=new BubblingEventInfo(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(i,r),i.stop.called&&n.stop()}})}observe(){}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TabObserver extends Observer{constructor(e){super(e);const n=this.document;n.on("keydown",(r,i)=>{if(!this.isEnabled||i.keyCode!=keyCodes.tab||i.ctrlKey)return;const s=new BubblingEventInfo(n,"tab",n.selection.getFirstRange());n.fire(s,i),s.stop.called&&r.stop()})}observe(){}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class View$1 extends ObservableMixin(){constructor(e){super(),this.document=new Document$1(e),this.domConverter=new DomConverter(this.document),this.domRoots=new Map,this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new Renderer(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing","_isFocusChanging").to(this.document,"isFocused","isSelecting","isComposing","_isFocusChanging"),this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new DowncastWriter(this.document),this.addObserver(MutationObserver$1),this.addObserver(SelectionObserver),this.addObserver(FocusObserver),this.addObserver(KeyObserver),this.addObserver(FakeSelectionObserver),this.addObserver(CompositionObserver),this.addObserver(ArrowKeysObserver),this.addObserver(InputObserver),this.addObserver(TabObserver),injectQuirksHandling(this),injectUiElementHandling(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0})}attachDomRoot(e,n="main"){const r=this.document.getRoot(n);r._name=e.tagName.toLowerCase();const i={};for(const{name:a,value:u}of Array.from(e.attributes))i[a]=u,a==="class"?this._writer.addClass(u.split(" "),r):this._writer.setAttribute(a,u,r);this._initialDomRootAttributes.set(e,i);const s=()=>{this._writer.setAttribute("contenteditable",(!r.isReadOnly).toString(),r),r.isReadOnly?this._writer.addClass("ck-read-only",r):this._writer.removeClass("ck-read-only",r)};s(),this.domRoots.set(n,e),this.domConverter.bindElements(e,r),this._renderer.markToSync("children",r),this._renderer.markToSync("attributes",r),this._renderer.domDocuments.add(e.ownerDocument),r.on("change:children",(a,u)=>this._renderer.markToSync("children",u)),r.on("change:attributes",(a,u)=>this._renderer.markToSync("attributes",u)),r.on("change:text",(a,u)=>this._renderer.markToSync("text",u)),r.on("change:isReadOnly",()=>this.change(s)),r.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const a of this._observers.values())a.observe(e,n)}detachDomRoot(e){const n=this.domRoots.get(e);Array.from(n.attributes).forEach(({name:i})=>n.removeAttribute(i));const r=this._initialDomRootAttributes.get(n);for(const i in r)n.setAttribute(i,r[i]);this.domRoots.delete(e),this.domConverter.unbindDomElement(n)}getDomRoot(e="main"){return this.domRoots.get(e)}addObserver(e){let n=this._observers.get(e);if(n)return n;n=new e(this),this._observers.set(e,n);for(const[r,i]of this.domRoots)n.observe(i,r);return n.enable(),n}getObserver(e){return this._observers.get(e)}disableObservers(){for(const e of this._observers.values())e.disable()}enableObservers(){for(const e of this._observers.values())e.enable()}scrollToTheSelection(){const e=this.document.selection.getFirstRange();e&&scrollViewportToShowTarget({target:this.domConverter.viewRangeToDom(e),viewportOffset:20})}focus(){if(!this.document.isFocused){const e=this.document.selection.editableElement;e&&(this.domConverter.focus(e),this.forceRender())}}change(e){if(this.isRenderingInProgress||this._postFixersInProgress)throw new CKEditorError("cannot-change-view-tree",this);try{if(this._ongoingChange)return e(this._writer);this._ongoingChange=!0;const n=e(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),n}catch(n){CKEditorError.rethrowUnexpectedError(n,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.document._isFocusChanging=!1,this.change(()=>{})}destroy(){for(const e of this._observers.values())e.destroy();this.document.destroy(),this.stopListening()}createPositionAt(e,n){return Position$1._createAt(e,n)}createPositionAfter(e){return Position$1._createAfter(e)}createPositionBefore(e){return Position$1._createBefore(e)}createRange(...e){return new Range$1(...e)}createRangeOn(e){return Range$1._createOn(e)}createRangeIn(e){return Range$1._createIn(e)}createSelection(...e){return new Selection$1(...e)}_disableRendering(e){this._renderingDisabled=e,e==!1&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TypeCheckable{is(){throw new Error("is() method is abstract")}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Node$1 extends TypeCheckable{constructor(e){super(),this.parent=null,this._attrs=toMap(e)}get document(){return null}get index(){let e;if(!this.parent)return null;if((e=this.parent.getChildIndex(this))===null)throw new CKEditorError("model-node-not-found-in-parent",this);return e}get startOffset(){let e;if(!this.parent)return null;if((e=this.parent.getChildStartOffset(this))===null)throw new CKEditorError("model-node-not-found-in-parent",this);return e}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const e=this.index;return e!==null&&this.parent.getChild(e+1)||null}get previousSibling(){const e=this.index;return e!==null&&this.parent.getChild(e-1)||null}get root(){let e=this;for(;e.parent;)e=e.parent;return e}isAttached(){return this.root.is("rootElement")}getPath(){const e=[];let n=this;for(;n.parent;)e.unshift(n.startOffset),n=n.parent;return e}getAncestors(e={}){const n=[];let r=e.includeSelf?this:this.parent;for(;r;)n[e.parentFirst?"push":"unshift"](r),r=r.parent;return n}getCommonAncestor(e,n={}){const r=this.getAncestors(n),i=e.getAncestors(n);let s=0;for(;r[s]==i[s]&&r[s];)s++;return s===0?null:r[s-1]}isBefore(e){if(this==e||this.root!==e.root)return!1;const n=this.getPath(),r=e.getPath(),i=compareArrays(n,r);switch(i){case"prefix":return!0;case"extension":return!1;default:return n[i](n[r[0]]=r[1],n),{})),e}_clone(e){return new Node$1(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(e,n){this._attrs.set(e,n)}_setAttributesTo(e){this._attrs=toMap(e)}_removeAttribute(e){return this._attrs.delete(e)}_clearAttributes(){this._attrs.clear()}}Node$1.prototype.is=function(o){return o==="node"||o==="model:node"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class NodeList{constructor(e){this._nodes=[],e&&this._insertNodes(0,e)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((e,n)=>e+n.offsetSize,0)}getNode(e){return this._nodes[e]||null}getNodeIndex(e){const n=this._nodes.indexOf(e);return n==-1?null:n}getNodeStartOffset(e){const n=this.getNodeIndex(e);return n===null?null:this._nodes.slice(0,n).reduce((r,i)=>r+i.offsetSize,0)}indexToOffset(e){if(e==this._nodes.length)return this.maxOffset;const n=this._nodes[e];if(!n)throw new CKEditorError("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(n)}offsetToIndex(e){let n=0;for(const r of this._nodes){if(e>=n&&ee.toJSON())}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Text$1 extends Node$1{constructor(e,n){super(n),this._data=e||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const e=super.toJSON();return e.data=this.data,e}_clone(){return new Text$1(this.data,this.getAttributes())}static fromJSON(e){return new Text$1(e.data,e.attributes)}}Text$1.prototype.is=function(o){return o==="$text"||o==="model:$text"||o==="text"||o==="model:text"||o==="node"||o==="model:node"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TextProxy extends TypeCheckable{constructor(e,n,r){if(super(),this.textNode=e,n<0||n>e.offsetSize)throw new CKEditorError("model-textproxy-wrong-offsetintext",this);if(r<0||n+r>e.offsetSize)throw new CKEditorError("model-textproxy-wrong-length",this);this.data=e.data.substring(n,n+r),this.offsetInText=n}get startOffset(){return this.textNode.startOffset!==null?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return this.startOffset!==null?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const e=this.textNode.getPath();return e.length>0&&(e[e.length-1]+=this.offsetInText),e}getAncestors(e={}){const n=[];let r=e.includeSelf?this:this.parent;for(;r;)n[e.parentFirst?"push":"unshift"](r),r=r.parent;return n}hasAttribute(e){return this.textNode.hasAttribute(e)}getAttribute(e){return this.textNode.getAttribute(e)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}TextProxy.prototype.is=function(o){return o==="$textProxy"||o==="model:$textProxy"||o==="textProxy"||o==="model:textProxy"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Element extends Node$1{constructor(e,n,r){super(n),this.name=e,this._children=new NodeList,r&&this._insertChild(0,r)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return this.childCount===0}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}offsetToIndex(e){return this._children.offsetToIndex(e)}getNodeByPath(e){let n=this;for(const r of e)n=n.getChild(n.offsetToIndex(r));return n}findAncestor(e,n={}){let r=n.includeSelf?this:this.parent;for(;r;){if(r.name===e)return r;r=r.parent}return null}toJSON(){const e=super.toJSON();if(e.name=this.name,this._children.length>0){e.children=[];for(const n of this._children)e.children.push(n.toJSON())}return e}_clone(e=!1){const n=e?Array.from(this._children).map(r=>r._clone(!0)):void 0;return new Element(this.name,this.getAttributes(),n)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,n){const r=normalize$2(n);for(const i of r)i.parent!==null&&i._remove(),i.parent=this;this._children._insertNodes(e,r)}_removeChildren(e,n=1){const r=this._children._removeNodes(e,n);for(const i of r)i.parent=null;return r}static fromJSON(e){let n;if(e.children){n=[];for(const r of e.children)r.name?n.push(Element.fromJSON(r)):n.push(Text$1.fromJSON(r))}return new Element(e.name,e.attributes,n)}}Element.prototype.is=function(o,e){return e?e===this.name&&(o==="element"||o==="model:element"):o==="element"||o==="model:element"||o==="node"||o==="model:node"};function normalize$2(o){return typeof o=="string"?[new Text$1(o)]:(isIterable(o)||(o=[o]),Array.from(o).map(e=>typeof e=="string"?new Text$1(e):e instanceof TextProxy?new Text$1(e.data,e.getAttributes()):e))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TreeWalker{constructor(e={}){if(!e.boundaries&&!e.startPosition)throw new CKEditorError("model-tree-walker-no-start-position",null);const n=e.direction||"forward";if(n!="forward"&&n!="backward")throw new CKEditorError("model-tree-walker-unknown-direction",e,{direction:n});this.direction=n,this.boundaries=e.boundaries||null,e.startPosition?this.position=e.startPosition.clone():this.position=Position._createAt(this.boundaries[this.direction=="backward"?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}skip(e){let n,r,i,s;do i=this.position,s=this._visitedParent,{done:n,value:r}=this.next();while(!n&&e(r));n||(this.position=i,this._visitedParent=s)}next(){return this.direction=="forward"?this._next():this._previous()}_next(){const e=this.position,n=this.position.clone(),r=this._visitedParent;if(r.parent===null&&n.offset===r.maxOffset)return{done:!0,value:void 0};if(r===this._boundaryEndParent&&n.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const i=getTextNodeAtPosition(n,r),s=i||getNodeAfterPosition(n,r,i);if(s instanceof Element)return this.shallow?n.offset++:(n.path.push(0),this._visitedParent=s),this.position=n,formatReturnValue("elementStart",s,e,n,1);if(s instanceof Text$1){let a;if(this.singleCharacters)a=1;else{let c=s.endOffset;this._boundaryEndParent==r&&this.boundaries.end.offsetd&&(d=this.boundaries.start.offset),u=n.offset-d}const l=n.offset-a.startOffset,c=new TextProxy(a,l-u,u);return n.offset-=u,this.position=n,formatReturnValue("text",c,e,n,u)}else return n.path.pop(),this.position=n,this._visitedParent=r.parent,formatReturnValue("elementStart",r,e,n,1)}}function formatReturnValue(o,e,n,r,i){return{done:!1,value:{type:o,item:e,previousPosition:n,nextPosition:r,length:i}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Position extends TypeCheckable{constructor(e,n,r="toNone"){if(super(),!e.is("element")&&!e.is("documentFragment"))throw new CKEditorError("model-position-root-invalid",e);if(!(n instanceof Array)||n.length===0)throw new CKEditorError("model-position-path-incorrect-format",e,{path:n});e.is("rootElement")?n=n.slice():(n=[...e.getPath(),...n],e=e.root),this.root=e,this.path=n,this.stickiness=r}get offset(){return this.path[this.path.length-1]}set offset(e){this.path[this.path.length-1]=e}get parent(){let e=this.root;for(let n=0;n1)return!1;if(i===1)return checkTouchingBranch(e,this,r);if(i===-1)return checkTouchingBranch(this,e,r)}return this.path.length===e.path.length?!0:this.path.length>e.path.length?checkOnlyZeroes(this.path,n):checkOnlyZeroes(e.path,n)}hasSameParentAs(e){if(this.root!==e.root)return!1;const n=this.getParentPath(),r=e.getParentPath();return compareArrays(n,r)=="same"}getTransformedByOperation(e){let n;switch(e.type){case"insert":n=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":n=this._getTransformedByMoveOperation(e);break;case"split":n=this._getTransformedBySplitOperation(e);break;case"merge":n=this._getTransformedByMergeOperation(e);break;default:n=Position._createAt(this);break}return n}_getTransformedByInsertOperation(e){return this._getTransformedByInsertion(e.position,e.howMany)}_getTransformedByMoveOperation(e){return this._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}_getTransformedBySplitOperation(e){const n=e.movedRange;return n.containsPosition(this)||n.start.isEqual(this)&&this.stickiness=="toNext"?this._getCombined(e.splitPosition,e.moveTargetPosition):e.graveyardPosition?this._getTransformedByMove(e.graveyardPosition,e.insertionPosition,1):this._getTransformedByInsertion(e.insertionPosition,1)}_getTransformedByMergeOperation(e){const n=e.movedRange,r=n.containsPosition(this)||n.start.isEqual(this);let i;return r?(i=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(i=i._getTransformedByDeletion(e.deletionPosition,1))):this.isEqual(e.deletionPosition)?i=Position._createAt(e.deletionPosition):i=this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),i}_getTransformedByDeletion(e,n){const r=Position._createAt(this);if(this.root!=e.root)return r;if(compareArrays(e.getParentPath(),this.getParentPath())=="same"){if(e.offsetthis.offset)return null;r.offset-=n}}else if(compareArrays(e.getParentPath(),this.getParentPath())=="prefix"){const i=e.path.length-1;if(e.offset<=this.path[i]){if(e.offset+n>this.path[i])return null;r.path[i]-=n}}return r}_getTransformedByInsertion(e,n){const r=Position._createAt(this);if(this.root!=e.root)return r;if(compareArrays(e.getParentPath(),this.getParentPath())=="same")(e.offset=e;){if(o.path[r]+i!==n.maxOffset)return!1;i=1,r--,n=n.parent}return!0}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Range extends TypeCheckable{constructor(e,n){super(),this.start=Position._createAt(e),this.end=n?Position._createAt(n):Position._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new TreeWalker({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){const e=this.start.getParentPath(),n=this.end.getParentPath();return compareArrays(e,n)=="same"}get root(){return this.start.root}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,n=!1){e.isCollapsed&&(n=!1);const r=this.containsPosition(e.start)||n&&this.start.isEqual(e.start),i=this.containsPosition(e.end)||n&&this.end.isEqual(e.end);return r&&i}containsItem(e){const n=Position._createBefore(e);return this.containsPosition(n)||this.start.isEqual(n)}isEqual(e){return this.start.isEqual(e.start)&&this.end.isEqual(e.end)}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}getDifference(e){const n=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&n.push(new Range(this.start,e.start)),this.containsPosition(e.end)&&n.push(new Range(e.end,this.end))):n.push(new Range(this.start,this.end)),n}getIntersection(e){if(this.isIntersecting(e)){let n=this.start,r=this.end;return this.containsPosition(e.start)&&(n=e.start),this.containsPosition(e.end)&&(r=e.end),new Range(n,r)}return null}getJoined(e,n=!1){let r=this.isIntersecting(e);if(r||(this.start.isBefore(e.start)?r=n?this.end.isTouching(e.start):this.end.isEqual(e.start):r=n?e.end.isTouching(this.start):e.end.isEqual(this.start)),!r)return null;let i=this.start,s=this.end;return e.start.isBefore(i)&&(i=e.start),e.end.isAfter(s)&&(s=e.end),new Range(i,s)}getMinimalFlatRanges(){const e=[],n=this.start.getCommonPath(this.end).length,r=Position._createAt(this.start);let i=r.parent;for(;r.path.length>n+1;){const s=i.maxOffset-r.offset;s!==0&&e.push(new Range(r,r.getShiftedBy(s))),r.path=r.path.slice(0,-1),r.offset++,i=i.parent}for(;r.path.length<=this.end.path.length;){const s=this.end.path[r.path.length-1],a=s-r.offset;a!==0&&e.push(new Range(r,r.getShiftedBy(a))),r.offset=s,r.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new TreeWalker(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const n=new TreeWalker(e);for(const r of n)yield r.item}*getPositions(e={}){e.boundaries=this;const n=new TreeWalker(e);yield n.position;for(const r of n)yield r.nextPosition}getTransformedByOperation(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new Range(this.start,this.end)]}getTransformedByOperations(e){const n=[new Range(this.start,this.end)];for(const r of e)for(let i=0;i0?new this(r,i):new this(i,r)}static _createIn(e){return new this(Position._createAt(e,0),Position._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(Position._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(e.length===0)throw new CKEditorError("range-create-from-ranges-empty-array",null);if(e.length==1)return e[0].clone();const n=e[0];e.sort((s,a)=>s.start.isAfter(a.start)?1:-1);const r=e.indexOf(n),i=new this(n.start,n.end);if(r>0)for(let s=r-1;e[s].end.isEqual(i.start);s++)i.start=Position._createAt(e[s].start);for(let s=r+1;s{if(n.viewPosition)return;const r=this._modelToViewMapping.get(n.modelPosition.parent);if(!r)throw new CKEditorError("mapping-model-position-view-parent-not-found",this,{modelPosition:n.modelPosition});n.viewPosition=this.findPositionIn(r,n.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(e,n)=>{if(n.modelPosition)return;const r=this.findMappedViewAncestor(n.viewPosition),i=this._viewToModelMapping.get(r),s=this._toModelOffset(n.viewPosition.parent,n.viewPosition.offset,r);n.modelPosition=Position._createAt(i,s)},{priority:"low"})}bindElements(e,n){this._modelToViewMapping.set(e,n),this._viewToModelMapping.set(n,e)}unbindViewElement(e,n={}){const r=this.toModelElement(e);if(this._elementToMarkerNames.has(e))for(const i of this._elementToMarkerNames.get(e))this._unboundMarkerNames.add(i);n.defer?this._deferredBindingRemovals.set(e,e.root):(this._viewToModelMapping.delete(e),this._modelToViewMapping.get(r)==e&&this._modelToViewMapping.delete(r))}unbindModelElement(e){const n=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(n)==e&&this._viewToModelMapping.delete(n)}bindElementToMarker(e,n){const r=this._markerNameToElements.get(n)||new Set;r.add(e);const i=this._elementToMarkerNames.get(e)||new Set;i.add(n),this._markerNameToElements.set(n,r),this._elementToMarkerNames.set(e,i)}unbindElementFromMarkerName(e,n){const r=this._markerNameToElements.get(n);r&&(r.delete(e),r.size==0&&this._markerNameToElements.delete(n));const i=this._elementToMarkerNames.get(e);i&&(i.delete(n),i.size==0&&this._elementToMarkerNames.delete(e))}flushUnboundMarkerNames(){const e=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),e}flushDeferredBindings(){for(const[e,n]of this._deferredBindingRemovals)e.root==n&&this.unbindViewElement(e);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(e){return this._viewToModelMapping.get(e)}toViewElement(e){return this._modelToViewMapping.get(e)}toModelRange(e){return new Range(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new Range$1(this.toViewPosition(e.start),this.toViewPosition(e.end))}toModelPosition(e){const n={viewPosition:e,mapper:this};return this.fire("viewToModelPosition",n),n.modelPosition}toViewPosition(e,n={}){const r={modelPosition:e,mapper:this,isPhantom:n.isPhantom};return this.fire("modelToViewPosition",r),r.viewPosition}markerNameToElements(e){const n=this._markerNameToElements.get(e);if(!n)return null;const r=new Set;for(const i of n)if(i.is("attributeElement"))for(const s of i.getElementsWithSameId())r.add(s);else r.add(i);return r}registerViewToModelLength(e,n){this._viewToModelLengthCallbacks.set(e,n)}findMappedViewAncestor(e){let n=e.parent;for(;!this._viewToModelMapping.has(n);)n=n.parent;return n}_toModelOffset(e,n,r){if(r!=e){const s=this._toModelOffset(e.parent,e.index,r),a=this._toModelOffset(e,n,e);return s+a}if(e.is("$text"))return n;let i=0;for(let s=0;s1?e[0]+":"+e[1]:e[0]}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DowncastDispatcher extends EmitterMixin(){constructor(e){super(),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,n,r){const i=this._createConversionApi(r,e.getRefreshedItems());for(const a of e.getMarkersToRemove())this._convertMarkerRemove(a.name,a.range,i);const s=this._reduceChanges(e.getChanges());for(const a of s)a.type==="insert"?this._convertInsert(Range._createFromPositionAndShift(a.position,a.length),i):a.type==="reinsert"?this._convertReinsert(Range._createFromPositionAndShift(a.position,a.length),i):a.type==="remove"?this._convertRemove(a.position,a.length,a.name,i):this._convertAttribute(a.range,a.attributeKey,a.attributeOldValue,a.attributeNewValue,i);for(const a of i.mapper.flushUnboundMarkerNames()){const u=n.get(a).getRange();this._convertMarkerRemove(a,u,i),this._convertMarkerAdd(a,u,i)}for(const a of e.getMarkersToAdd())this._convertMarkerAdd(a.name,a.range,i);i.mapper.flushDeferredBindings(),i.consumable.verifyAllConsumed("insert")}convert(e,n,r,i={}){const s=this._createConversionApi(r,void 0,i);this._convertInsert(e,s);for(const[a,u]of n)this._convertMarkerAdd(a,u,s);s.consumable.verifyAllConsumed("insert")}convertSelection(e,n,r){const i=Array.from(n.getMarkersAtPosition(e.getFirstPosition())),s=this._createConversionApi(r);if(this._addConsumablesForSelection(s.consumable,e,i),this.fire("selection",{selection:e},s),!!e.isCollapsed){for(const a of i){const u=a.getRange();if(!shouldMarkerChangeBeConverted(e.getFirstPosition(),a,s.mapper))continue;const l={item:e,markerName:a.name,markerRange:u};s.consumable.test(e,"addMarker:"+a.name)&&this.fire(`addMarker:${a.name}`,l,s)}for(const a of e.getAttributeKeys()){const u={item:e,range:e.getFirstRange(),attributeKey:a,attributeOldValue:null,attributeNewValue:e.getAttribute(a)};s.consumable.test(e,"attribute:"+u.attributeKey)&&this.fire(`attribute:${u.attributeKey}:$text`,u,s)}}}_convertInsert(e,n,r={}){r.doNotAddConsumables||this._addConsumablesForInsert(n.consumable,Array.from(e));for(const i of Array.from(e.getWalker({shallow:!0})).map(walkerValueToEventData))this._testAndFire("insert",i,n)}_convertRemove(e,n,r,i){this.fire(`remove:${r}`,{position:e,length:n},i)}_convertAttribute(e,n,r,i,s){this._addConsumablesForRange(s.consumable,e,`attribute:${n}`);for(const a of e){const u={item:a.item,range:Range._createFromPositionAndShift(a.previousPosition,a.length),attributeKey:n,attributeOldValue:r,attributeNewValue:i};this._testAndFire(`attribute:${n}`,u,s)}}_convertReinsert(e,n){const r=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(n.consumable,r);for(const i of r.map(walkerValueToEventData))this._testAndFire("insert",{...i,reconversion:!0},n)}_convertMarkerAdd(e,n,r){if(n.root.rootName=="$graveyard")return;const i=`addMarker:${e}`;if(r.consumable.add(n,i),this.fire(i,{markerName:e,markerRange:n},r),!!r.consumable.consume(n,i)){this._addConsumablesForRange(r.consumable,n,i);for(const s of n.getItems()){if(!r.consumable.test(s,i))continue;const a={item:s,range:Range._createOn(s),markerName:e,markerRange:n};this.fire(i,a,r)}}}_convertMarkerRemove(e,n,r){n.root.rootName!="$graveyard"&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:n},r)}_reduceChanges(e){const n={changes:e};return this.fire("reduceChanges",n),n.changes}_addConsumablesForInsert(e,n){for(const r of n){const i=r.item;if(e.test(i,"insert")===null){e.add(i,"insert");for(const s of i.getAttributeKeys())e.add(i,"attribute:"+s)}}return e}_addConsumablesForRange(e,n,r){for(const i of n.getItems())e.add(i,r);return e}_addConsumablesForSelection(e,n,r){e.add(n,"selection");for(const i of r)e.add(n,"addMarker:"+i.name);for(const i of n.getAttributeKeys())e.add(n,"attribute:"+i);return e}_testAndFire(e,n,r){const i=getEventName(e,n),s=n.item.is("$textProxy")?r.consumable._getSymbolForTextProxy(n.item):n.item,a=this._firedEventsMap.get(r),u=a.get(s);if(!u)a.set(s,new Set([i]));else if(!u.has(i))u.add(i);else return;this.fire(i,n,r)}_testAndFireAddAttributes(e,n){const r={item:e,range:Range._createOn(e)};for(const i of r.item.getAttributeKeys())r.attributeKey=i,r.attributeOldValue=null,r.attributeNewValue=r.item.getAttribute(i),this._testAndFire(`attribute:${i}`,r,n)}_createConversionApi(e,n=new Set,r={}){const i={...this._conversionApi,consumable:new ModelConsumable,writer:e,options:r,convertItem:s=>this._convertInsert(Range._createOn(s),i),convertChildren:s=>this._convertInsert(Range._createIn(s),i,{doNotAddConsumables:!0}),convertAttributes:s=>this._testAndFireAddAttributes(s,i),canReuseView:s=>!n.has(i.mapper.toModelElement(s))};return this._firedEventsMap.set(i,new Map),i}}function shouldMarkerChangeBeConverted(o,e,n){const r=e.getRange(),i=Array.from(o.getAncestors());return i.shift(),i.reverse(),!i.some(a=>{if(r.containsItem(a))return!!n.toViewElement(a).getCustomProperty("addHighlight")})}function getEventName(o,e){const n=e.item.is("element")?e.item.name:"$text";return`${o}:${n}`}function walkerValueToEventData(o){const e=o.item,n=Range._createFromPositionAndShift(o.previousPosition,o.length);return{item:e,range:n}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Selection extends EmitterMixin(TypeCheckable){constructor(...e){super(),this._lastRangeBackward=!1,this._ranges=[],this._attrs=new Map,e.length&&this.setTo(...e)}get anchor(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.end:e.start}return null}get focus(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.start:e.end}return null}get isCollapsed(){return this._ranges.length===1?this._ranges[0].isCollapsed:!1}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(e){if(this.rangeCount!=e.rangeCount)return!1;if(this.rangeCount===0)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const n of this._ranges){let r=!1;for(const i of e._ranges)if(n.isEqual(i)){r=!0;break}if(!r)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new Range(e.start,e.end)}getFirstRange(){let e=null;for(const n of this._ranges)(!e||n.start.isBefore(e.start))&&(e=n);return e?new Range(e.start,e.end):null}getLastRange(){let e=null;for(const n of this._ranges)(!e||n.end.isAfter(e.end))&&(e=n);return e?new Range(e.start,e.end):null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}setTo(...e){let[n,r,i]=e;if(typeof r=="object"&&(i=r,r=void 0),n===null)this._setRanges([]);else if(n instanceof Selection)this._setRanges(n.getRanges(),n.isBackward);else if(n&&typeof n.getRanges=="function")this._setRanges(n.getRanges(),n.isBackward);else if(n instanceof Range)this._setRanges([n],!!i&&!!i.backward);else if(n instanceof Position)this._setRanges([new Range(n)]);else if(n instanceof Node$1){const s=!!i&&!!i.backward;let a;if(r=="in")a=Range._createIn(n);else if(r=="on")a=Range._createOn(n);else if(r!==void 0)a=new Range(Position._createAt(n,r));else throw new CKEditorError("model-selection-setto-required-second-parameter",[this,n]);this._setRanges([a],s)}else if(isIterable(n))this._setRanges(n,i&&!!i.backward);else throw new CKEditorError("model-selection-setto-not-selectable",[this,n])}_setRanges(e,n=!1){const r=Array.from(e),i=r.some(s=>{if(!(s instanceof Range))throw new CKEditorError("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every(a=>!a.isEqual(s))});r.length===this._ranges.length&&!i||(this._replaceAllRanges(r),this._lastRangeBackward=!!n,this.fire("change:range",{directChange:!0}))}setFocus(e,n){if(this.anchor===null)throw new CKEditorError("model-selection-setfocus-no-ranges",[this,e]);const r=Position._createAt(e,n);if(r.compareWith(this.focus)=="same")return;const i=this.anchor;this._ranges.length&&this._popRange(),r.compareWith(i)=="before"?(this._pushRange(new Range(r,i)),this._lastRangeBackward=!0):(this._pushRange(new Range(i,r)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(e){return this._attrs.has(e)}removeAttribute(e){this.hasAttribute(e)&&(this._attrs.delete(e),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}setAttribute(e,n){this.getAttribute(e)!==n&&(this._attrs.set(e,n),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}getSelectedElement(){return this.rangeCount!==1?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const e=new WeakSet;for(const n of this.getRanges()){const r=getParentBlock$1(n.start,e);r&&isTopBlockInRange(r,n)&&(yield r);for(const s of n.getWalker()){const a=s.item;s.type=="elementEnd"&&isUnvisitedTopBlock(a,e,n)&&(yield a)}const i=getParentBlock$1(n.end,e);i&&!n.end.isTouching(Position._createAt(i,0))&&isTopBlockInRange(i,n)&&(yield i)}}containsEntireContent(e=this.anchor.root){const n=Position._createAt(e,0),r=Position._createAt(e,"end");return n.isTouching(this.getFirstPosition())&&r.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new Range(e.start,e.end))}_checkRange(e){for(let n=0;n0;)this._popRange()}_popRange(){this._ranges.pop()}}Selection.prototype.is=function(o){return o==="selection"||o==="model:selection"};function isUnvisitedBlock(o,e){return e.has(o)?!1:(e.add(o),o.root.document.model.schema.isBlock(o)&&!!o.parent)}function isUnvisitedTopBlock(o,e,n){return isUnvisitedBlock(o,e)&&isTopBlockInRange(o,n)}function getParentBlock$1(o,e){const r=o.parent.root.document.model.schema,i=o.parent.getAncestors({parentFirst:!0,includeSelf:!0});let s=!1;const a=i.find(u=>s?!1:(s=r.isLimit(u),!s&&isUnvisitedBlock(u,e)));return i.forEach(u=>e.add(u)),a}function isTopBlockInRange(o,e){const n=findAncestorBlock(o);return n?!e.containsRange(Range._createOn(n),!0):!0}function findAncestorBlock(o){const e=o.root.document.model.schema;let n=o.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LiveRange extends EmitterMixin(Range){constructor(e,n){super(e,n),bindWithDocument$1.call(this)}detach(){this.stopListening()}toRange(){return new Range(this.start,this.end)}static fromRange(e){return new LiveRange(e.start,e.end)}}LiveRange.prototype.is=function(o){return o==="liveRange"||o==="model:liveRange"||o=="range"||o==="model:range"};function bindWithDocument$1(){this.listenTo(this.root.document.model,"applyOperation",(o,e)=>{const n=e[0];!n.isDocumentOperation||transform$2.call(this,n)},{priority:"low"})}function transform$2(o){const e=this.getTransformedByOperation(o),n=Range._createFromRanges(e),r=!n.isEqual(this),i=doesOperationChangeRangeContent(this,o);let s=null;if(r){n.root.rootName=="$graveyard"&&(o.type=="remove"?s=o.sourcePosition:s=o.deletionPosition);const a=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",a,{deletionPosition:s})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:s})}function doesOperationChangeRangeContent(o,e){switch(e.type){case"insert":return o.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return o.containsPosition(e.sourcePosition)||o.start.isEqual(e.sourcePosition)||o.containsPosition(e.targetPosition);case"split":return o.containsPosition(e.splitPosition)||o.containsPosition(e.insertionPosition)}return!1}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const storePrefix="selection:";class DocumentSelection extends EmitterMixin(TypeCheckable){constructor(e){super(),this._selection=new LiveSelection(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(e){return this._selection.containsEntireContent(e)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(e){return this._selection.getAttribute(e)}hasAttribute(e){return this._selection.hasAttribute(e)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(e){this._selection.observeMarkers(e)}_setFocus(e,n){this._selection.setFocus(e,n)}_setTo(...e){this._selection.setTo(...e)}_setAttribute(e,n){this._selection.setAttribute(e,n)}_removeAttribute(e){this._selection.removeAttribute(e)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(e){this._selection.restoreGravity(e)}static _getStoreAttributeKey(e){return storePrefix+e}static _isStoreAttributeKey(e){return e.startsWith(storePrefix)}}DocumentSelection.prototype.is=function(o){return o==="selection"||o=="model:selection"||o=="documentSelection"||o=="model:documentSelection"};class LiveSelection extends Selection{constructor(e){super(),this.markers=new Collection({idProperty:"name"}),this._model=e.model,this._document=e,this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this.listenTo(this._model,"applyOperation",(n,r)=>{const i=r[0];!i.isDocumentOperation||i.type=="marker"||i.type=="rename"||i.type=="noop"||(this._ranges.length==0&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{this._validateSelectionRanges(this.getRanges())}),this.listenTo(this._model.markers,"update",(n,r,i,s)=>{this._updateMarker(r,s)}),this.listenTo(this._document,"change",(n,r)=>{clearAttributesStoredInElement(this._model,r)})}get isCollapsed(){return this._ranges.length===0?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let e=0;e{if(this._hasChangedRange=!0,n.root==this._document.graveyard){this._selectionRestorePosition=s.deletionPosition;const a=this._ranges.indexOf(n);this._ranges.splice(a,1),n.detach()}}),n}updateMarkers(){if(!this._observedMarkers.size)return;const e=[];let n=!1;for(const i of this._model.markers){const s=i.name.split(":",1)[0];if(!this._observedMarkers.has(s))continue;const a=i.getRange();for(const u of this.getRanges())a.containsRange(u,!u.isCollapsed)&&e.push(i)}const r=Array.from(this.markers);for(const i of e)this.markers.has(i)||(this.markers.add(i),n=!0);for(const i of Array.from(this.markers))e.includes(i)||(this.markers.remove(i),n=!0);n&&this.fire("change:marker",{oldMarkers:r,directChange:!1})}_updateMarker(e,n){const r=e.name.split(":",1)[0];if(!this._observedMarkers.has(r))return;let i=!1;const s=Array.from(this.markers),a=this.markers.has(e);if(!n)a&&(this.markers.remove(e),i=!0);else{let u=!1;for(const l of this.getRanges())if(n.containsRange(l,!l.isCollapsed)){u=!0;break}u&&!a?(this.markers.add(e),i=!0):!u&&a&&(this.markers.remove(e),i=!0)}i&&this.fire("change:marker",{oldMarkers:s,directChange:!1})}_updateAttributes(e){const n=toMap(this._getSurroundingAttributes()),r=toMap(this.getAttributes());if(e)this._attributePriority=new Map,this._attrs=new Map;else for(const[s,a]of this._attributePriority)a=="low"&&(this._attrs.delete(s),this._attributePriority.delete(s));this._setAttributesTo(n);const i=[];for(const[s,a]of this.getAttributes())(!r.has(s)||r.get(s)!==a)&&i.push(s);for(const[s]of r)this.hasAttribute(s)||i.push(s);i.length>0&&this.fire("change:attribute",{attributeKeys:i,directChange:!1})}_setAttribute(e,n,r=!0){const i=r?"normal":"low";return i=="low"&&this._attributePriority.get(e)=="normal"||super.getAttribute(e)===n?!1:(this._attrs.set(e,n),this._attributePriority.set(e,i),!0)}_removeAttribute(e,n=!0){const r=n?"normal":"low";return r=="low"&&this._attributePriority.get(e)=="normal"||(this._attributePriority.set(e,r),!super.hasAttribute(e))?!1:(this._attrs.delete(e),!0)}_setAttributesTo(e){const n=new Set;for(const[r,i]of this.getAttributes())e.get(r)!==i&&this._removeAttribute(r,!1);for(const[r,i]of e)this._setAttribute(r,i,!1)&&n.add(r);return n}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const n of e.getAttributeKeys())n.startsWith(storePrefix)&&(yield[n.substr(storePrefix.length),e.getAttribute(n)])}_getSurroundingAttributes(){const e=this.getFirstPosition(),n=this._model.schema;let r=null;if(this.isCollapsed){const i=e.textNode?e.textNode:e.nodeBefore,s=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(r=getAttrsIfCharacter(i)),r||(r=getAttrsIfCharacter(s)),!this.isGravityOverridden&&!r){let a=i;for(;a&&!n.isInline(a)&&!r;)a=a.previousSibling,r=getAttrsIfCharacter(a)}if(!r){let a=s;for(;a&&!n.isInline(a)&&!r;)a=a.nextSibling,r=getAttrsIfCharacter(a)}r||(r=this.getStoredAttributes())}else{const i=this.getFirstRange();for(const s of i){if(s.item.is("element")&&n.isObject(s.item))break;if(s.type=="text"){r=s.item.getAttributes();break}}}return r}_fixGraveyardSelection(e){const n=this._model.schema.getNearestSelectionRange(e);n&&this._pushRange(n)}}function getAttrsIfCharacter(o){return o instanceof TextProxy||o instanceof Text$1?o.getAttributes():null}function clearAttributesStoredInElement(o,e){const n=o.document.differ;for(const r of n.getChanges()){if(r.type!="insert")continue;const i=r.position.parent;r.length===i.maxOffset&&o.enqueueChange(e,a=>{const u=Array.from(i.getAttributeKeys()).filter(l=>l.startsWith(storePrefix));for(const l of u)a.removeAttribute(l,i)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ConversionHelpers{constructor(e){this._dispatchers=e}add(e){for(const n of this._dispatchers)e(n);return this}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DowncastHelpers extends ConversionHelpers{elementToElement(e){return this.add(downcastElementToElement(e))}elementToStructure(e){return this.add(downcastElementToStructure(e))}attributeToElement(e){return this.add(downcastAttributeToElement(e))}attributeToAttribute(e){return this.add(downcastAttributeToAttribute(e))}markerToElement(e){return this.add(downcastMarkerToElement(e))}markerToHighlight(e){return this.add(downcastMarkerToHighlight(e))}markerToData(e){return this.add(downcastMarkerToData(e))}}function insertText(){return(o,e,n)=>{if(!n.consumable.consume(e.item,o.name))return;const r=n.writer,i=n.mapper.toViewPosition(e.range.start),s=r.createText(e.item.data);r.insert(i,s)}}function insertAttributesAndChildren(){return(o,e,n)=>{n.convertAttributes(e.item),!e.reconversion&&e.item.is("element")&&!e.item.isEmpty&&n.convertChildren(e.item)}}function remove(){return(o,e,n)=>{const r=n.mapper.toViewPosition(e.position),i=e.position.getShiftedBy(e.length),s=n.mapper.toViewPosition(i,{isPhantom:!0}),a=n.writer.createRange(r,s),u=n.writer.remove(a.getTrimmed());for(const l of n.writer.createRangeIn(u).getItems())n.mapper.unbindViewElement(l,{defer:!0})}}function createViewElementFromHighlightDescriptor(o,e){const n=o.createAttributeElement("span",e.attributes);return e.classes&&n._addClass(e.classes),typeof e.priority=="number"&&(n._priority=e.priority),n._id=e.id,n}function convertRangeSelection(){return(o,e,n)=>{const r=e.selection;if(r.isCollapsed||!n.consumable.consume(r,"selection"))return;const i=[];for(const s of r.getRanges())i.push(n.mapper.toViewRange(s));n.writer.setSelection(i,{backward:r.isBackward})}}function convertCollapsedSelection(){return(o,e,n)=>{const r=e.selection;if(!r.isCollapsed||!n.consumable.consume(r,"selection"))return;const i=n.writer,s=r.getFirstPosition(),a=n.mapper.toViewPosition(s),u=i.breakAttributes(a);i.setSelection(u)}}function clearAttributes(){return(o,e,n)=>{const r=n.writer,i=r.document.selection;for(const s of i.getRanges())s.isCollapsed&&s.end.parent.isAttached()&&n.writer.mergeAttributes(s.start);r.setSelection(null)}}function wrap(o){return(e,n,r)=>{if(!r.consumable.test(n.item,e.name))return;const i=o(n.attributeOldValue,r,n),s=o(n.attributeNewValue,r,n);if(!i&&!s)return;r.consumable.consume(n.item,e.name);const a=r.writer,u=a.document.selection;if(n.item instanceof Selection||n.item instanceof DocumentSelection)a.wrap(u.getFirstRange(),s);else{let l=r.mapper.toViewRange(n.range);n.attributeOldValue!==null&&i&&(l=a.unwrap(l,i)),n.attributeNewValue!==null&&s&&a.wrap(l,s)}}}function insertElement(o,e=defaultConsumer){return(n,r,i)=>{if(!e(r.item,i.consumable,{preflight:!0}))return;const s=o(r.item,i,r);if(!s)return;e(r.item,i.consumable);const a=i.mapper.toViewPosition(r.range.start);i.mapper.bindElements(r.item,s),i.writer.insert(a,s),i.convertAttributes(r.item),reinsertOrConvertNodes(s,r.item.getChildren(),i,{reconversion:r.reconversion})}}function insertStructure(o,e){return(n,r,i)=>{if(!e(r.item,i.consumable,{preflight:!0}))return;const s=new Map;i.writer._registerSlotFactory(createSlotFactory(r.item,s,i));const a=o(r.item,i,r);if(i.writer._clearSlotFactory(),!a)return;validateSlotsChildren(r.item,s,i),e(r.item,i.consumable);const u=i.mapper.toViewPosition(r.range.start);i.mapper.bindElements(r.item,a),i.writer.insert(u,a),i.convertAttributes(r.item),fillSlots(a,s,i,{reconversion:r.reconversion})}}function insertUIElement(o){return(e,n,r)=>{n.isOpening=!0;const i=o(n,r);n.isOpening=!1;const s=o(n,r);if(!i||!s)return;const a=n.markerRange;if(a.isCollapsed&&!r.consumable.consume(a,e.name))return;for(const c of a)if(!r.consumable.consume(c.item,e.name))return;const u=r.mapper,l=r.writer;l.insert(u.toViewPosition(a.start),i),r.mapper.bindElementToMarker(i,n.markerName),a.isCollapsed||(l.insert(u.toViewPosition(a.end),s),r.mapper.bindElementToMarker(s,n.markerName)),e.stop()}}function removeUIElement(){return(o,e,n)=>{const r=n.mapper.markerNameToElements(e.markerName);if(!!r){for(const i of r)n.mapper.unbindElementFromMarkerName(i,e.markerName),n.writer.clear(n.writer.createRangeOn(i),i);n.writer.clearClonedElementsGroup(e.markerName),o.stop()}}}function insertMarkerData(o){return(e,n,r)=>{const i=o(n.markerName,r);if(!i)return;const s=n.markerRange;!r.consumable.consume(s,e.name)||(handleMarkerBoundary(s,!1,r,n,i),handleMarkerBoundary(s,!0,r,n,i),e.stop())}}function handleMarkerBoundary(o,e,n,r,i){const s=e?o.start:o.end,a=s.nodeAfter&&s.nodeAfter.is("element")?s.nodeAfter:null,u=s.nodeBefore&&s.nodeBefore.is("element")?s.nodeBefore:null;if(a||u){let c,d;e&&a||!e&&!u?(c=a,d=!0):(c=u,d=!1);const h=n.mapper.toViewElement(c);if(h){insertMarkerAsAttribute(h,e,d,n,r,i);return}}const l=n.mapper.toViewPosition(s);insertMarkerAsElement(l,e,n,r,i)}function insertMarkerAsAttribute(o,e,n,r,i,s){const a=`data-${s.group}-${e?"start":"end"}-${n?"before":"after"}`,u=o.hasAttribute(a)?o.getAttribute(a).split(","):[];u.unshift(s.name),r.writer.setAttribute(a,u.join(","),o),r.mapper.bindElementToMarker(o,i.markerName)}function insertMarkerAsElement(o,e,n,r,i){const s=`${i.group}-${e?"start":"end"}`,a=i.name?{name:i.name}:null,u=n.writer.createUIElement(s,a);n.writer.insert(o,u),n.mapper.bindElementToMarker(u,r.markerName)}function removeMarkerData(o){return(e,n,r)=>{const i=o(n.markerName,r);if(!i)return;const s=r.mapper.markerNameToElements(n.markerName);if(!s)return;for(const u of s)r.mapper.unbindElementFromMarkerName(u,n.markerName),u.is("containerElement")?(a(`data-${i.group}-start-before`,u),a(`data-${i.group}-start-after`,u),a(`data-${i.group}-end-before`,u),a(`data-${i.group}-end-after`,u)):r.writer.clear(r.writer.createRangeOn(u),u);r.writer.clearClonedElementsGroup(n.markerName),e.stop();function a(u,l){if(l.hasAttribute(u)){const c=new Set(l.getAttribute(u).split(","));c.delete(i.name),c.size==0?r.writer.removeAttribute(u,l):r.writer.setAttribute(u,Array.from(c).join(","),l)}}}}function changeAttribute(o){return(e,n,r)=>{if(!r.consumable.test(n.item,e.name))return;const i=o(n.attributeOldValue,r,n),s=o(n.attributeNewValue,r,n);if(!i&&!s)return;r.consumable.consume(n.item,e.name);const a=r.mapper.toViewElement(n.item),u=r.writer;if(!a)throw new CKEditorError("conversion-attribute-to-attribute-on-text",r.dispatcher,n);if(n.attributeOldValue!==null&&i)if(i.key=="class"){const l=toArray(i.value);for(const c of l)u.removeClass(c,a)}else if(i.key=="style"){const l=Object.keys(i.value);for(const c of l)u.removeStyle(c,a)}else u.removeAttribute(i.key,a);if(n.attributeNewValue!==null&&s)if(s.key=="class"){const l=toArray(s.value);for(const c of l)u.addClass(c,a)}else if(s.key=="style"){const l=Object.keys(s.value);for(const c of l)u.setStyle(c,s.value[c],a)}else u.setAttribute(s.key,s.value,a)}}function highlightText(o){return(e,n,r)=>{if(!n.item||!(n.item instanceof Selection||n.item instanceof DocumentSelection)&&!n.item.is("$textProxy"))return;const i=prepareDescriptor(o,n,r);if(!i||!r.consumable.consume(n.item,e.name))return;const s=r.writer,a=createViewElementFromHighlightDescriptor(s,i),u=s.document.selection;if(n.item instanceof Selection||n.item instanceof DocumentSelection)s.wrap(u.getFirstRange(),a);else{const l=r.mapper.toViewRange(n.range),c=s.wrap(l,a);for(const d of c.getItems())if(d.is("attributeElement")&&d.isSimilar(a)){r.mapper.bindElementToMarker(d,n.markerName);break}}}}function highlightElement(o){return(e,n,r)=>{if(!n.item||!(n.item instanceof Element))return;const i=prepareDescriptor(o,n,r);if(!i||!r.consumable.test(n.item,e.name))return;const s=r.mapper.toViewElement(n.item);if(s&&s.getCustomProperty("addHighlight")){r.consumable.consume(n.item,e.name);for(const u of Range._createIn(n.item))r.consumable.consume(u.item,e.name);s.getCustomProperty("addHighlight")(s,i,r.writer),r.mapper.bindElementToMarker(s,n.markerName)}}}function removeHighlight$1(o){return(e,n,r)=>{if(n.markerRange.isCollapsed)return;const i=prepareDescriptor(o,n,r);if(!i)return;const s=createViewElementFromHighlightDescriptor(r.writer,i),a=r.mapper.markerNameToElements(n.markerName);if(!!a){for(const u of a)r.mapper.unbindElementFromMarkerName(u,n.markerName),u.is("attributeElement")?r.writer.unwrap(r.writer.createRangeOn(u),s):u.getCustomProperty("removeHighlight")(u,i.id,r.writer);r.writer.clearClonedElementsGroup(n.markerName),e.stop()}}}function downcastElementToElement(o){const e=normalizeModelElementConfig(o.model),n=normalizeToElementConfig(o.view,"container");return e.attributes.length&&(e.children=!0),r=>{r.on(`insert:${e.name}`,insertElement(n,createConsumer(e)),{priority:o.converterPriority||"normal"}),(e.children||e.attributes.length)&&r.on("reduceChanges",createChangeReducer(e),{priority:"low"})}}function downcastElementToStructure(o){const e=normalizeModelElementConfig(o.model),n=normalizeToElementConfig(o.view,"container");return e.children=!0,r=>{if(r._conversionApi.schema.checkChild(e.name,"$text"))throw new CKEditorError("conversion-element-to-structure-disallowed-text",r,{elementName:e.name});r.on(`insert:${e.name}`,insertStructure(n,createConsumer(e)),{priority:o.converterPriority||"normal"}),r.on("reduceChanges",createChangeReducer(e),{priority:"low"})}}function downcastAttributeToElement(o){o=cloneDeep(o);let e=o.model;typeof e=="string"&&(e={key:e});let n=`attribute:${e.key}`;if(e.name&&(n+=":"+e.name),e.values)for(const i of e.values)o.view[i]=normalizeToElementConfig(o.view[i],"attribute");else o.view=normalizeToElementConfig(o.view,"attribute");const r=getFromAttributeCreator(o);return i=>{i.on(n,wrap(r),{priority:o.converterPriority||"normal"})}}function downcastAttributeToAttribute(o){o=cloneDeep(o);let e=o.model;typeof e=="string"&&(e={key:e});let n=`attribute:${e.key}`;if(e.name&&(n+=":"+e.name),e.values)for(const i of e.values)o.view[i]=normalizeToAttributeConfig(o.view[i]);else o.view=normalizeToAttributeConfig(o.view);const r=getFromAttributeCreator(o);return i=>{i.on(n,changeAttribute(r),{priority:o.converterPriority||"normal"})}}function downcastMarkerToElement(o){const e=normalizeToElementConfig(o.view,"ui");return n=>{n.on(`addMarker:${o.model}`,insertUIElement(e),{priority:o.converterPriority||"normal"}),n.on(`removeMarker:${o.model}`,removeUIElement(),{priority:o.converterPriority||"normal"})}}function downcastMarkerToData(o){o=cloneDeep(o);const e=o.model;let n=o.view;return n||(n=r=>({group:e,name:r.substr(o.model.length+1)})),r=>{r.on(`addMarker:${e}`,insertMarkerData(n),{priority:o.converterPriority||"normal"}),r.on(`removeMarker:${e}`,removeMarkerData(n),{priority:o.converterPriority||"normal"})}}function downcastMarkerToHighlight(o){return e=>{e.on(`addMarker:${o.model}`,highlightText(o.view),{priority:o.converterPriority||"normal"}),e.on(`addMarker:${o.model}`,highlightElement(o.view),{priority:o.converterPriority||"normal"}),e.on(`removeMarker:${o.model}`,removeHighlight$1(o.view),{priority:o.converterPriority||"normal"})}}function normalizeModelElementConfig(o){return typeof o=="string"&&(o={name:o}),o.attributes?Array.isArray(o.attributes)||(o.attributes=[o.attributes]):o.attributes=[],o.children=!!o.children,o}function normalizeToElementConfig(o,e){return typeof o=="function"?o:(n,r)=>createViewElementFromDefinition(o,r,e)}function createViewElementFromDefinition(o,e,n){typeof o=="string"&&(o={name:o});let r;const i=e.writer,s=Object.assign({},o.attributes);if(n=="container")r=i.createContainerElement(o.name,s);else if(n=="attribute"){const a={priority:o.priority||AttributeElement.DEFAULT_PRIORITY};r=i.createAttributeElement(o.name,s,a)}else r=i.createUIElement(o.name,s);if(o.styles){const a=Object.keys(o.styles);for(const u of a)i.setStyle(u,o.styles[u],r)}if(o.classes){const a=o.classes;if(typeof a=="string")i.addClass(a,r);else for(const u of a)i.addClass(u,r)}return r}function getFromAttributeCreator(o){return o.model.values?(e,n,r)=>{const i=o.view[e];return i?i(e,n,r):null}:o.view}function normalizeToAttributeConfig(o){return typeof o=="string"?e=>({key:o,value:e}):typeof o=="object"?o.value?()=>o:e=>({key:o.key,value:e}):o}function prepareDescriptor(o,e,n){const r=typeof o=="function"?o(e,n):o;return r?(r.priority||(r.priority=10),r.id||(r.id=e.markerName),r):null}function createChangeReducerCallback(o){return(e,n)=>{if(!e.is("element",o.name))return!1;if(n.type=="attribute"){if(o.attributes.includes(n.attributeKey))return!0}else if(o.children)return!0;return!1}}function createChangeReducer(o){const e=createChangeReducerCallback(o);return(n,r)=>{const i=[];r.reconvertedElements||(r.reconvertedElements=new Set);for(const s of r.changes){const a=s.type=="attribute"?s.range.start.nodeAfter:s.position.parent;if(!a||!e(a,s)){i.push(s);continue}if(!r.reconvertedElements.has(a)){r.reconvertedElements.add(a);const u=Position._createBefore(a);i.push({type:"remove",name:a.name,position:u,length:1},{type:"reinsert",name:a.name,position:u,length:1})}}r.changes=i}}function createConsumer(o){return(e,n,r={})=>{const i=["insert"];for(const s of o.attributes)e.hasAttribute(s)&&i.push(`attribute:${s}`);return i.every(s=>n.test(e,s))?(r.preflight||i.forEach(s=>n.consume(e,s)),!0):!1}}function createSlotFactory(o,e,n){return(r,i="children")=>{const s=r.createContainerElement("$slot");let a=null;if(i==="children")a=Array.from(o.getChildren());else if(typeof i=="function")a=Array.from(o.getChildren()).filter(u=>i(u));else throw new CKEditorError("conversion-slot-mode-unknown",n.dispatcher,{modeOrFilter:i});return e.set(s,a),s}}function validateSlotsChildren(o,e,n){const r=Array.from(e.values()).flat(),i=new Set(r);if(i.size!=r.length)throw new CKEditorError("conversion-slot-filter-overlap",n.dispatcher,{element:o});if(i.size!=o.childCount)throw new CKEditorError("conversion-slot-filter-incomplete",n.dispatcher,{element:o})}function fillSlots(o,e,n,r){n.mapper.on("modelToViewPosition",a,{priority:"highest"});let i=null,s=null;for([i,s]of e)reinsertOrConvertNodes(o,s,n,r),n.writer.move(n.writer.createRangeIn(i),n.writer.createPositionBefore(i)),n.writer.remove(i);n.mapper.off("modelToViewPosition",a);function a(u,l){const c=l.modelPosition.nodeAfter,d=s.indexOf(c);d<0||(l.viewPosition=l.mapper.findPositionIn(i,d))}}function reinsertOrConvertNodes(o,e,n,r){for(const i of e)reinsertNode(o.root,i,n,r)||n.convertItem(i)}function reinsertNode(o,e,n,r){const{writer:i,mapper:s}=n;if(!r.reconversion)return!1;const a=s.toViewElement(e);return!a||a.root==o||!n.canReuseView(a)?!1:(i.move(i.createRangeOn(a),s.toViewPosition(Position._createBefore(e))),!0)}function defaultConsumer(o,e,{preflight:n}={}){return n?e.test(o,"insert"):e.consume(o,"insert")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function autoParagraphEmptyRoots(o){const{schema:e,document:n}=o.model;for(const r of n.getRootNames()){const i=n.getRoot(r);if(i.isEmpty&&!e.checkChild(i,"$text")&&e.checkChild(i,"paragraph"))return o.insertElement("paragraph",i),!0}return!1}function isParagraphable(o,e,n){const r=n.createContext(o);return!(!n.checkChild(r,"paragraph")||!n.checkChild(r.push("paragraph"),e))}function wrapInParagraph(o,e){const n=e.createElement("paragraph");return e.insert(n,o),e.createPositionAt(n,0)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UpcastHelpers extends ConversionHelpers{elementToElement(e){return this.add(upcastElementToElement(e))}elementToAttribute(e){return this.add(upcastElementToAttribute(e))}attributeToAttribute(e){return this.add(upcastAttributeToAttribute(e))}elementToMarker(e){return this.add(upcastElementToMarker(e))}dataToMarker(e){return this.add(upcastDataToMarker(e))}}function convertToModelFragment(){return(o,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:r,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=r,e.modelCursor=i}}}function convertText(){return(o,e,{schema:n,consumable:r,writer:i})=>{let s=e.modelCursor;if(!r.test(e.viewItem))return;if(!n.checkChild(s,"$text")){if(!isParagraphable(s,"$text",n)||e.viewItem.data.trim().length==0)return;s=wrapInParagraph(s,i)}r.consume(e.viewItem);const a=i.createText(e.viewItem.data);i.insert(a,s),e.modelRange=i.createRange(s,s.getShiftedBy(a.offsetSize)),e.modelCursor=e.modelRange.end}}function convertSelectionChange(o,e){return(n,r)=>{const i=r.newSelection,s=[];for(const u of i.getRanges())s.push(e.toModelRange(u));const a=o.createSelection(s,{backward:i.isBackward});a.isEqual(o.document.selection)||o.change(u=>{u.setSelection(a)})}}function upcastElementToElement(o){o=cloneDeep(o);const e=prepareToElementConverter(o),n=getViewElementNameFromConfig(o.view),r=n?`element:${n}`:"element";return i=>{i.on(r,e,{priority:o.converterPriority||"normal"})}}function upcastElementToAttribute(o){o=cloneDeep(o),normalizeModelAttributeConfig(o);const e=prepareToAttributeConverter(o,!1),n=getViewElementNameFromConfig(o.view),r=n?`element:${n}`:"element";return i=>{i.on(r,e,{priority:o.converterPriority||"low"})}}function upcastAttributeToAttribute(o){o=cloneDeep(o);let e=null;(typeof o.view=="string"||o.view.key)&&(e=normalizeViewAttributeKeyValueConfig(o)),normalizeModelAttributeConfig(o,e);const n=prepareToAttributeConverter(o,!0);return r=>{r.on("element",n,{priority:o.converterPriority||"low"})}}function upcastElementToMarker(o){const e=normalizeElementToMarkerModelConfig(o.model);return upcastElementToElement({...o,model:e})}function upcastDataToMarker(o){o=cloneDeep(o),o.model||(o.model=i=>i?o.view+":"+i:o.view);const e={view:o.view,model:o.model},n=prepareToElementConverter(normalizeDataToMarkerConfig(e,"start")),r=prepareToElementConverter(normalizeDataToMarkerConfig(e,"end"));return i=>{i.on(`element:${o.view}-start`,n,{priority:o.converterPriority||"normal"}),i.on(`element:${o.view}-end`,r,{priority:o.converterPriority||"normal"});const s=priorities.get("low"),a=priorities.get("highest"),u=priorities.get(o.converterPriority)/a;i.on("element",upcastAttributeToMarker(e),{priority:s+u})}}function upcastAttributeToMarker(o){return(e,n,r)=>{const i=`data-${o.view}`;if(!r.consumable.test(n.viewItem,{attributes:i+"-end-after"})&&!r.consumable.test(n.viewItem,{attributes:i+"-start-after"})&&!r.consumable.test(n.viewItem,{attributes:i+"-end-before"})&&!r.consumable.test(n.viewItem,{attributes:i+"-start-before"}))return;n.modelRange||Object.assign(n,r.convertChildren(n.viewItem,n.modelCursor)),r.consumable.consume(n.viewItem,{attributes:i+"-end-after"})&&s(n.modelRange.end,n.viewItem.getAttribute(i+"-end-after").split(",")),r.consumable.consume(n.viewItem,{attributes:i+"-start-after"})&&s(n.modelRange.end,n.viewItem.getAttribute(i+"-start-after").split(",")),r.consumable.consume(n.viewItem,{attributes:i+"-end-before"})&&s(n.modelRange.start,n.viewItem.getAttribute(i+"-end-before").split(",")),r.consumable.consume(n.viewItem,{attributes:i+"-start-before"})&&s(n.modelRange.start,n.viewItem.getAttribute(i+"-start-before").split(","));function s(a,u){for(const l of u){const c=o.model(l,r),d=r.writer.createElement("$marker",{"data-name":c});r.writer.insert(d,a),n.modelCursor.isEqual(a)?n.modelCursor=n.modelCursor.getShiftedBy(1):n.modelCursor=n.modelCursor._getTransformedByInsertion(a,1),n.modelRange=n.modelRange._getTransformedByInsertion(a,1)[0]}}}}function getViewElementNameFromConfig(o){return typeof o=="string"?o:typeof o=="object"&&typeof o.name=="string"?o.name:null}function prepareToElementConverter(o){const e=new Matcher(o.view);return(n,r,i)=>{const s=e.match(r.viewItem);if(!s)return;const a=s.match;if(a.name=!0,!i.consumable.test(r.viewItem,a))return;const u=getModelElement(o.model,r.viewItem,i);!u||!i.safeInsert(u,r.modelCursor)||(i.consumable.consume(r.viewItem,a),i.convertChildren(r.viewItem,u),i.updateConversionResult(u,r))}}function getModelElement(o,e,n){return o instanceof Function?o(e,n):n.writer.createElement(o)}function normalizeViewAttributeKeyValueConfig(o){typeof o.view=="string"&&(o.view={key:o.view});const e=o.view.key;let n;if(e=="class"||e=="style")n={[e=="class"?"classes":"styles"]:o.view.value};else{const r=typeof o.view.value>"u"?/[\s\S]*/:o.view.value;n={attributes:{[e]:r}}}return o.view.name&&(n.name=o.view.name),o.view=n,e}function normalizeModelAttributeConfig(o,e=null){const n=e===null?!0:s=>s.getAttribute(e),r=typeof o.model!="object"?o.model:o.model.key,i=typeof o.model!="object"||typeof o.model.value>"u"?n:o.model.value;o.model={key:r,value:i}}function prepareToAttributeConverter(o,e){const n=new Matcher(o.view);return(r,i,s)=>{if(!i.modelRange&&e)return;const a=n.match(i.viewItem);if(!a||(onlyViewNameIsDefined(o.view,i.viewItem)?a.match.name=!0:delete a.match.name,!s.consumable.test(i.viewItem,a.match)))return;const u=o.model.key,l=typeof o.model.value=="function"?o.model.value(i.viewItem,s):o.model.value;if(l===null)return;i.modelRange||Object.assign(i,s.convertChildren(i.viewItem,i.modelCursor)),setAttributeOn(i.modelRange,{key:u,value:l},e,s)&&(s.consumable.test(i.viewItem,{name:!0})&&(a.match.name=!0),s.consumable.consume(i.viewItem,a.match))}}function onlyViewNameIsDefined(o,e){const n=typeof o=="function"?o(e):o;return typeof n=="object"&&!getViewElementNameFromConfig(n)?!1:!n.classes&&!n.attributes&&!n.styles}function setAttributeOn(o,e,n,r){let i=!1;for(const s of Array.from(o.getItems({shallow:n})))!r.schema.checkAttribute(s,e.key)||(i=!0,!s.hasAttribute(e.key)&&r.writer.setAttribute(e.key,e.value,s));return i}function normalizeElementToMarkerModelConfig(o){return(e,n)=>{const r=typeof o=="string"?o:o(e,n);return n.writer.createElement("$marker",{"data-name":r})}}function normalizeDataToMarkerConfig(o,e){const n=(r,i)=>{const s=r.getAttribute("name"),a=o.model(s,i);return i.writer.createElement("$marker",{"data-name":a})};return{view:`${o.view}-${e}`,model:n}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditingController extends ObservableMixin(){constructor(e,n){super(),this.model=e,this.view=new View$1(n),this.mapper=new Mapper,this.downcastDispatcher=new DowncastDispatcher({mapper:this.mapper,schema:e.schema});const r=this.model.document,i=r.selection,s=this.model.markers;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(r,"change",()=>{this.view.change(a=>{this.downcastDispatcher.convertChanges(r.differ,s,a),this.downcastDispatcher.convertSelection(i,s,a)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",convertSelectionChange(this.model,this.mapper)),this.downcastDispatcher.on("insert:$text",insertText(),{priority:"lowest"}),this.downcastDispatcher.on("insert",insertAttributesAndChildren(),{priority:"lowest"}),this.downcastDispatcher.on("remove",remove(),{priority:"low"}),this.downcastDispatcher.on("selection",clearAttributes(),{priority:"high"}),this.downcastDispatcher.on("selection",convertRangeSelection(),{priority:"low"}),this.downcastDispatcher.on("selection",convertCollapsedSelection(),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(a=>{if(a.rootName=="$graveyard")return null;const u=new RootEditableElement(this.view.document,a.name);return u.rootName=a.rootName,this.mapper.bindElements(a,u),u})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(e){const n=typeof e=="string"?e:e.name,r=this.model.markers.get(n);if(!r)throw new CKEditorError("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:n});this.model.change(()=>{this.model.markers._refresh(r)})}reconvertItem(e){this.model.change(()=>{this.model.document.differ._refreshItem(e)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ViewConsumable{constructor(){this._consumables=new Map}add(e,n){let r;if(e.is("$text")||e.is("documentFragment")){this._consumables.set(e,!0);return}this._consumables.has(e)?r=this._consumables.get(e):(r=new ViewElementConsumables(e),this._consumables.set(e,r)),r.add(n)}test(e,n){const r=this._consumables.get(e);return r===void 0?null:e.is("$text")||e.is("documentFragment")?r:r.test(n)}consume(e,n){return this.test(e,n)?(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!1):this._consumables.get(e).consume(n),!0):!1}revert(e,n){const r=this._consumables.get(e);r!==void 0&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):r.revert(n))}static consumablesFromElement(e){const n={element:e,name:!0,attributes:[],classes:[],styles:[]},r=e.getAttributeKeys();for(const a of r)a=="style"||a=="class"||n.attributes.push(a);const i=e.getClassNames();for(const a of i)n.classes.push(a);const s=e.getStyleNames();for(const a of s)n.styles.push(a);return n}static createFrom(e,n){if(n||(n=new ViewConsumable),e.is("$text"))return n.add(e),n;e.is("element")&&n.add(e,ViewConsumable.consumablesFromElement(e)),e.is("documentFragment")&&n.add(e);for(const r of e.getChildren())n=ViewConsumable.createFrom(r,n);return n}}const CONSUMABLE_TYPES=["attributes","classes","styles"];class ViewElementConsumables{constructor(e){this.element=e,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(e){e.name&&(this._canConsumeName=!0);for(const n of CONSUMABLE_TYPES)n in e&&this._add(n,e[n])}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const n of CONSUMABLE_TYPES)if(n in e){const r=this._test(n,e[n]);if(r!==!0)return r}return!0}consume(e){e.name&&(this._canConsumeName=!1);for(const n of CONSUMABLE_TYPES)n in e&&this._consume(n,e[n])}revert(e){e.name&&(this._canConsumeName=!0);for(const n of CONSUMABLE_TYPES)n in e&&this._revert(n,e[n])}_add(e,n){const r=isArray$2(n)?n:[n],i=this._consumables[e];for(const s of r){if(e==="attributes"&&(s==="class"||s==="style"))throw new CKEditorError("viewconsumable-invalid-attribute",this);if(i.set(s,!0),e==="styles")for(const a of this.element.document.stylesProcessor.getRelatedStyles(s))i.set(a,!0)}}_test(e,n){const r=isArray$2(n)?n:[n],i=this._consumables[e];for(const s of r)if(e==="attributes"&&(s==="class"||s==="style")){const a=s=="class"?"classes":"styles",u=this._test(a,[...this._consumables[a].keys()]);if(u!==!0)return u}else{const a=i.get(s);if(a===void 0)return null;if(!a)return!1}return!0}_consume(e,n){const r=isArray$2(n)?n:[n],i=this._consumables[e];for(const s of r)if(e==="attributes"&&(s==="class"||s==="style")){const a=s=="class"?"classes":"styles";this._consume(a,[...this._consumables[a].keys()])}else if(i.set(s,!1),e=="styles")for(const a of this.element.document.stylesProcessor.getRelatedStyles(s))i.set(a,!1)}_revert(e,n){const r=isArray$2(n)?n:[n],i=this._consumables[e];for(const s of r)if(e==="attributes"&&(s==="class"||s==="style")){const a=s=="class"?"classes":"styles";this._revert(a,[...this._consumables[a].keys()])}else i.get(s)===!1&&i.set(s,!0)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Schema extends ObservableMixin(){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(e,n)=>{n[0]=new SchemaContext(n[0])},{priority:"highest"}),this.on("checkChild",(e,n)=>{n[0]=new SchemaContext(n[0]),n[1]=this.getDefinition(n[1])},{priority:"highest"})}register(e,n){if(this._sourceDefinitions[e])throw new CKEditorError("schema-cannot-register-item-twice",this,{itemName:e});this._sourceDefinitions[e]=[Object.assign({},n)],this._clearCache()}extend(e,n){if(!this._sourceDefinitions[e])throw new CKEditorError("schema-cannot-extend-missing-item",this,{itemName:e});this._sourceDefinitions[e].push(Object.assign({},n)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(e){let n;return typeof e=="string"?n=e:"is"in e&&(e.is("$text")||e.is("$textProxy"))?n="$text":n=e.name,this.getDefinitions()[n]}isRegistered(e){return!!this.getDefinition(e)}isBlock(e){const n=this.getDefinition(e);return!!(n&&n.isBlock)}isLimit(e){const n=this.getDefinition(e);return n?!!(n.isLimit||n.isObject):!1}isObject(e){const n=this.getDefinition(e);return n?!!(n.isObject||n.isLimit&&n.isSelectable&&n.isContent):!1}isInline(e){const n=this.getDefinition(e);return!!(n&&n.isInline)}isSelectable(e){const n=this.getDefinition(e);return n?!!(n.isSelectable||n.isObject):!1}isContent(e){const n=this.getDefinition(e);return n?!!(n.isContent||n.isObject):!1}checkChild(e,n){return n?this._checkContextMatch(n,e):!1}checkAttribute(e,n){const r=this.getDefinition(e.last);return r?r.allowAttributes.includes(n):!1}checkMerge(e,n){if(e instanceof Position){const r=e.nodeBefore,i=e.nodeAfter;if(!(r instanceof Element))throw new CKEditorError("schema-check-merge-no-element-before",this);if(!(i instanceof Element))throw new CKEditorError("schema-check-merge-no-element-after",this);return this.checkMerge(r,i)}for(const r of n.getChildren())if(!this.checkChild(e,r))return!1;return!0}addChildCheck(e){this.on("checkChild",(n,[r,i])=>{if(!i)return;const s=e(r,i);typeof s=="boolean"&&(n.stop(),n.return=s)},{priority:"high"})}addAttributeCheck(e){this.on("checkAttribute",(n,[r,i])=>{const s=e(r,i);typeof s=="boolean"&&(n.stop(),n.return=s)},{priority:"high"})}setAttributeProperties(e,n){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),n)}getAttributeProperties(e){return this._attributeProperties[e]||{}}getLimitElement(e){let n;for(e instanceof Position?n=e.parent:n=(e instanceof Range?[e]:Array.from(e.getRanges())).reduce((i,s)=>{const a=s.getCommonAncestor();return i?i.getCommonAncestor(a,{includeSelf:!0}):a},null);!this.isLimit(n)&&n.parent;)n=n.parent;return n}checkAttributeInSelection(e,n){if(e.isCollapsed){const i=[...e.getFirstPosition().getAncestors(),new Text$1("",e.getAttributes())];return this.checkAttribute(i,n)}else{const r=e.getRanges();for(const i of r)for(const s of i)if(this.checkAttribute(s.item,n))return!0}return!1}*getValidRanges(e,n){e=convertToMinimalFlatRanges(e);for(const r of e)yield*this._getValidRangesForRange(r,n)}getNearestSelectionRange(e,n="both"){if(this.checkChild(e,"$text"))return new Range(e);let r,i;const s=e.getAncestors().reverse().find(a=>this.isLimit(a))||e.root;(n=="both"||n=="backward")&&(r=new TreeWalker({boundaries:Range._createIn(s),startPosition:e,direction:"backward"})),(n=="both"||n=="forward")&&(i=new TreeWalker({boundaries:Range._createIn(s),startPosition:e}));for(const a of combineWalkers(r,i)){const u=a.walker==r?"elementEnd":"elementStart",l=a.value;if(l.type==u&&this.isObject(l.item))return Range._createOn(l.item);if(this.checkChild(l.nextPosition,"$text"))return new Range(l.nextPosition)}return null}findAllowedParent(e,n){let r=e.parent;for(;r;){if(this.checkChild(r,n))return r;if(this.isLimit(r))return null;r=r.parent}return null}setAllowedAttributes(e,n,r){const i=r.model;for(const[s,a]of Object.entries(n))i.schema.checkAttribute(e,s)&&r.setAttribute(s,a,e)}removeDisallowedAttributes(e,n){for(const r of e)if(r.is("$text"))removeDisallowedAttributeFromNode(this,r,n);else{const s=Range._createIn(r).getPositions();for(const a of s){const u=a.nodeBefore||a.parent;removeDisallowedAttributeFromNode(this,u,n)}}}getAttributesWithProperty(e,n,r){const i={};for(const[s,a]of e.getAttributes()){const u=this.getAttributeProperties(s);u[n]!==void 0&&(r===void 0||r===u[n])&&(i[s]=a)}return i}createContext(e){return new SchemaContext(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},n=this._sourceDefinitions,r=Object.keys(n);for(const i of r)e[i]=compileBaseItemRule(n[i],i);for(const i of r)compileAllowChildren(e,i);for(const i of r)compileAllowContentOf(e,i);for(const i of r)compileAllowWhere(e,i);for(const i of r)compileAllowAttributesOf(e,i),compileInheritPropertiesFrom(e,i);for(const i of r)cleanUpAllowIn(e,i),setupAllowChildren(e,i),cleanUpAllowAttributes(e,i);this._compiledDefinitions=e}_checkContextMatch(e,n,r=n.length-1){const i=n.getItem(r);if(e.allowIn.includes(i.name)){if(r==0)return!0;{const s=this.getDefinition(i);return this._checkContextMatch(s,n,r-1)}}else return!1}*_getValidRangesForRange(e,n){let r=e.start,i=e.start;for(const s of e.getItems({shallow:!0}))s.is("element")&&(yield*this._getValidRangesForRange(Range._createIn(s),n)),this.checkAttribute(s,n)||(r.isEqual(i)||(yield new Range(r,i)),r=Position._createAfter(s)),i=Position._createAfter(s);r.isEqual(i)||(yield new Range(r,i))}}class SchemaContext{constructor(e){if(e instanceof SchemaContext)return e;let n;typeof e=="string"?n=[e]:Array.isArray(e)?n=e:n=e.getAncestors({includeSelf:!0}),this._items=n.map(mapContextItem)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(e){const n=new SchemaContext([e]);return n._items=[...this._items,...n._items],n}getItem(e){return this._items[e]}*getNames(){yield*this._items.map(e=>e.name)}endsWith(e){return Array.from(this.getNames()).join(" ").endsWith(e)}startsWith(e){return Array.from(this.getNames()).join(" ").startsWith(e)}}function compileBaseItemRule(o,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return copyTypes(o,n),copyProperty(o,n,"allowIn"),copyProperty(o,n,"allowContentOf"),copyProperty(o,n,"allowWhere"),copyProperty(o,n,"allowAttributes"),copyProperty(o,n,"allowAttributesOf"),copyProperty(o,n,"allowChildren"),copyProperty(o,n,"inheritTypesFrom"),makeInheritAllWork(o,n),n}function compileAllowChildren(o,e){const n=o[e];for(const r of n.allowChildren){const i=o[r];!i||i.allowIn.push(e)}n.allowChildren.length=0}function compileAllowContentOf(o,e){for(const n of o[e].allowContentOf)o[n]&&getAllowedChildren(o,n).forEach(i=>{i.allowIn.push(e)});delete o[e].allowContentOf}function compileAllowWhere(o,e){for(const n of o[e].allowWhere){const r=o[n];if(r){const i=r.allowIn;o[e].allowIn.push(...i)}}delete o[e].allowWhere}function compileAllowAttributesOf(o,e){for(const n of o[e].allowAttributesOf){const r=o[n];if(r){const i=r.allowAttributes;o[e].allowAttributes.push(...i)}}delete o[e].allowAttributesOf}function compileInheritPropertiesFrom(o,e){const n=o[e];for(const r of n.inheritTypesFrom){const i=o[r];if(i){const s=Object.keys(i).filter(a=>a.startsWith("is"));for(const a of s)a in n||(n[a]=i[a])}}delete n.inheritTypesFrom}function cleanUpAllowIn(o,e){const n=o[e],r=n.allowIn.filter(i=>o[i]);n.allowIn=Array.from(new Set(r))}function setupAllowChildren(o,e){const n=o[e];for(const r of n.allowIn)o[r].allowChildren.push(e)}function cleanUpAllowAttributes(o,e){const n=o[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function copyTypes(o,e){for(const n of o){const r=Object.keys(n).filter(i=>i.startsWith("is"));for(const i of r)e[i]=!!n[i]}}function copyProperty(o,e,n){for(const r of o){const i=r[n];typeof i=="string"?e[n].push(i):Array.isArray(i)&&e[n].push(...i)}}function makeInheritAllWork(o,e){for(const n of o){const r=n.inheritAllFrom;r&&(e.allowContentOf.push(r),e.allowWhere.push(r),e.allowAttributesOf.push(r),e.inheritTypesFrom.push(r))}}function getAllowedChildren(o,e){const n=o[e];return getValues(o).filter(r=>r.allowIn.includes(n.name))}function getValues(o){return Object.keys(o).map(e=>o[e])}function mapContextItem(o){return typeof o=="string"||o.is("documentFragment")?{name:typeof o=="string"?o:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:o.is("element")?o.name:"$text",*getAttributeKeys(){yield*o.getAttributeKeys()},getAttribute(e){return o.getAttribute(e)}}}function*combineWalkers(o,e){let n=!1;for(;!n;){if(n=!0,o){const r=o.next();r.done||(n=!1,yield{walker:o,value:r.value})}if(e){const r=e.next();r.done||(n=!1,yield{walker:e,value:r.value})}}}function*convertToMinimalFlatRanges(o){for(const e of o)yield*e.getMinimalFlatRanges()}function removeDisallowedAttributeFromNode(o,e,n){for(const r of e.getAttributeKeys())o.checkAttribute(e,r)||n.removeAttribute(r,e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UpcastDispatcher extends EmitterMixin(){constructor(e){super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi={...e,consumable:null,writer:null,store:null,convertItem:(n,r)=>this._convertItem(n,r),convertChildren:(n,r)=>this._convertChildren(n,r),safeInsert:(n,r)=>this._safeInsert(n,r),updateConversionResult:(n,r)=>this._updateConversionResult(n,r),splitToAllowedParent:(n,r)=>this._splitToAllowedParent(n,r),getSplitParts:n=>this._getSplitParts(n),keepEmptyElement:n=>this._keepEmptyElement(n)}}convert(e,n,r=["$root"]){this.fire("viewCleanup",e),this._modelCursor=createContextTree(r,n),this.conversionApi.writer=n,this.conversionApi.consumable=ViewConsumable.createFrom(e),this.conversionApi.store={};const{modelRange:i}=this._convertItem(e,this._modelCursor),s=n.createDocumentFragment();if(i){this._removeEmptyElements();for(const a of Array.from(this._modelCursor.parent.getChildren()))n.append(a,s);s.markers=extractMarkersFromModelFragment(s,n)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,s}_convertItem(e,n){const r={viewItem:e,modelCursor:n,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,r,this.conversionApi):e.is("$text")?this.fire("text",r,this.conversionApi):this.fire("documentFragment",r,this.conversionApi),r.modelRange&&!(r.modelRange instanceof Range))throw new CKEditorError("view-conversion-dispatcher-incorrect-result",this);return{modelRange:r.modelRange,modelCursor:r.modelCursor}}_convertChildren(e,n){let r=n.is("position")?n:Position._createAt(n,0);const i=new Range(r);for(const s of Array.from(e.getChildren())){const a=this._convertItem(s,r);a.modelRange instanceof Range&&(i.end=a.modelRange.end,r=a.modelCursor)}return{modelRange:i,modelCursor:r}}_safeInsert(e,n){const r=this._splitToAllowedParent(e,n);return r?(this.conversionApi.writer.insert(e,r.position),!0):!1}_updateConversionResult(e,n){const r=this._getSplitParts(e),i=this.conversionApi.writer;n.modelRange||(n.modelRange=i.createRange(i.createPositionBefore(e),i.createPositionAfter(r[r.length-1])));const s=this._cursorParents.get(e);s?n.modelCursor=i.createPositionAt(s,0):n.modelCursor=n.modelRange.end}_splitToAllowedParent(e,n){const{schema:r,writer:i}=this.conversionApi;let s=r.findAllowedParent(n,e);if(s){if(s===n.parent)return{position:n};this._modelCursor.parent.getAncestors().includes(s)&&(s=null)}if(!s)return isParagraphable(n,e,r)?{position:wrapInParagraph(n,i)}:null;const a=this.conversionApi.writer.split(n,s),u=[];for(const c of a.range.getWalker())if(c.type=="elementEnd")u.push(c.item);else{const d=u.pop(),h=c.item;this._registerSplitPair(d,h)}const l=a.range.end.parent;return this._cursorParents.set(e,l),{position:a.position,cursorParent:l}}_registerSplitPair(e,n){this._splitParts.has(e)||this._splitParts.set(e,[e]);const r=this._splitParts.get(e);this._splitParts.set(n,r),r.push(n)}_getSplitParts(e){let n;return this._splitParts.has(e)?n=this._splitParts.get(e):n=[e],n}_keepEmptyElement(e){this._emptyElementsToKeep.add(e)}_removeEmptyElements(){let e=!1;for(const n of this._splitParts.keys())n.isEmpty&&!this._emptyElementsToKeep.has(n)&&(this.conversionApi.writer.remove(n),this._splitParts.delete(n),e=!0);e&&this._removeEmptyElements()}}function extractMarkersFromModelFragment(o,e){const n=new Set,r=new Map,i=Range._createIn(o).getItems();for(const s of i)s.is("element","$marker")&&n.add(s);for(const s of n){const a=s.getAttribute("data-name"),u=e.createPositionBefore(s);r.has(a)?r.get(a).end=u.clone():r.set(a,new Range(u.clone())),e.remove(s)}return r}function createContextTree(o,e){let n;for(const r of new SchemaContext(o)){const i={};for(const a of r.getAttributeKeys())i[a]=r.getAttribute(a);const s=e.createElement(r.name,i);n&&e.insert(s,n),n=Position._createAt(s,0)}return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BasicHtmlWriter{getHtml(e){const r=document.implementation.createHTMLDocument("").createElement("div");return r.appendChild(e),r.innerHTML}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class HtmlDataProcessor{constructor(e){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new DomConverter(e,{renderingMode:"data"}),this.htmlWriter=new BasicHtmlWriter}toData(e){const n=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(n)}toView(e){const n=this._toDom(e);return this.domConverter.domToView(n,{skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode=e=="marked"?"markedNbsp":"nbsp"}_toDom(e){e.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(e=`${e}`);const n=this.domParser.parseFromString(e,"text/html"),r=n.createDocumentFragment(),i=n.body.childNodes;for(;i.length>0;)r.appendChild(i[0]);return r}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DataController extends EmitterMixin(){constructor(e,n){super(),this.model=e,this.mapper=new Mapper,this.downcastDispatcher=new DowncastDispatcher({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",insertText(),{priority:"lowest"}),this.downcastDispatcher.on("insert",insertAttributesAndChildren(),{priority:"lowest"}),this.upcastDispatcher=new UpcastDispatcher({schema:e.schema}),this.viewDocument=new Document$1(n),this.stylesProcessor=n,this.htmlProcessor=new HtmlDataProcessor(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new DowncastWriter(this.viewDocument),this.upcastDispatcher.on("text",convertText(),{priority:"lowest"}),this.upcastDispatcher.on("element",convertToModelFragment(),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",convertToModelFragment(),{priority:"lowest"}),ObservableMixin().prototype.decorate.call(this,"init"),ObservableMixin().prototype.decorate.call(this,"set"),ObservableMixin().prototype.decorate.call(this,"get"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},autoParagraphEmptyRoots)},{priority:"lowest"})}get(e={}){const{rootName:n="main",trim:r="empty"}=e;if(!this._checkIfRootsExists([n]))throw new CKEditorError("datacontroller-get-non-existent-root",this);const i=this.model.document.getRoot(n);return r==="empty"&&!this.model.hasContent(i,{ignoreWhitespaces:!0})?"":this.stringify(i,e)}stringify(e,n={}){const r=this.toView(e,n);return this.processor.toData(r)}toView(e,n={}){const r=this.viewDocument,i=this._viewWriter;this.mapper.clearBindings();const s=Range._createIn(e),a=new DocumentFragment$1(r);this.mapper.bindElements(e,a);const u=e.is("documentFragment")?e.markers:_getMarkersRelativeToElement(e);return this.downcastDispatcher.convert(s,u,i,n),a}init(e){if(this.model.document.version)throw new CKEditorError("datacontroller-init-document-not-empty",this);let n={};if(typeof e=="string"?n.main=e:n=e,!this._checkIfRootsExists(Object.keys(n)))throw new CKEditorError("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},r=>{for(const i of Object.keys(n)){const s=this.model.document.getRoot(i);r.insert(this.parse(n[i],s),s,0)}}),Promise.resolve()}set(e,n={}){let r={};if(typeof e=="string"?r.main=e:r=e,!this._checkIfRootsExists(Object.keys(r)))throw new CKEditorError("datacontroller-set-non-existent-root",this);this.model.enqueueChange(n.batchType||{},i=>{i.setSelection(null),i.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const s of Object.keys(r)){const a=this.model.document.getRoot(s);i.remove(i.createRangeIn(a)),i.insert(this.parse(r[s],a),a,0)}})}parse(e,n="$root"){const r=this.processor.toView(e);return this.toModel(r,n)}toModel(e,n="$root"){return this.model.change(r=>this.upcastDispatcher.convert(e,r,n))}addStyleProcessorRules(e){e(this.stylesProcessor)}registerRawContentMatcher(e){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(e),this.htmlProcessor.registerRawContentMatcher(e)}destroy(){this.stopListening()}_checkIfRootsExists(e){for(const n of e)if(!this.model.document.getRootNames().includes(n))return!1;return!0}}function _getMarkersRelativeToElement(o){const e=[],n=o.root.document;if(!n)return new Map;const r=Range._createIn(o);for(const i of n.model.markers){const s=i.getRange(),a=s.isCollapsed,u=s.start.isEqual(r.start)||s.end.isEqual(r.end);if(a&&u)e.push([i.name,s]);else{const l=r.getIntersection(s);l&&e.push([i.name,l])}}return e.sort(([i,s],[a,u])=>{if(s.end.compareWith(u.start)!=="after")return 1;if(s.start.compareWith(u.end)!=="before")return-1;switch(s.start.compareWith(u.start)){case"before":return 1;case"after":return-1;default:switch(s.end.compareWith(u.end)){case"before":return 1;case"after":return-1;default:return a.localeCompare(i)}}}),new Map(e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Conversion{constructor(e,n){this._helpers=new Map,this._downcast=toArray(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=toArray(n),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,n){const r=this._downcast.includes(n);if(!this._upcast.includes(n)&&!r)throw new CKEditorError("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[n],isDowncast:r})}for(e){if(!this._helpers.has(e))throw new CKEditorError("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:n,view:r}of _getAllUpcastDefinitions(e))this.for("upcast").elementToElement({model:n,view:r,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:n,view:r}of _getAllUpcastDefinitions(e))this.for("upcast").elementToAttribute({view:r,model:n,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:n,view:r}of _getAllUpcastDefinitions(e))this.for("upcast").attributeToAttribute({view:r,model:n})}_createConversionHelpers({name:e,dispatchers:n,isDowncast:r}){if(this._helpers.has(e))throw new CKEditorError("conversion-group-exists",this);const i=r?new DowncastHelpers(n):new UpcastHelpers(n);this._helpers.set(e,i)}}function*_getAllUpcastDefinitions(o){if(o.model.values)for(const e of o.model.values){const n={key:o.model.key,value:e},r=o.view[e],i=o.upcastAlso?o.upcastAlso[e]:void 0;yield*_getUpcastDefinition(n,r,i)}else yield*_getUpcastDefinition(o.model,o.view,o.upcastAlso)}function*_getUpcastDefinition(o,e,n){if(yield{model:o,view:e},n)for(const r of toArray(n))yield{model:o,view:r}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Operation{constructor(e){this.baseVersion=e,this.isDocumentOperation=this.baseVersion!==null,this.batch=null}_validate(){}toJSON(){const e=Object.assign({},this);return e.__className=this.constructor.className,delete e.batch,delete e.isDocumentOperation,e}static get className(){return"Operation"}static fromJSON(e,n){return new this(e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function _insert(o,e){const n=_normalizeNodes(e),r=n.reduce((a,u)=>a+u.offsetSize,0),i=o.parent;_splitNodeAtPosition(o);const s=o.index;return i._insertChild(s,n),_mergeNodesAtIndex(i,s+n.length),_mergeNodesAtIndex(i,s),new Range(o,o.getShiftedBy(r))}function _remove(o){if(!o.isFlat)throw new CKEditorError("operation-utils-remove-range-not-flat",this);const e=o.start.parent;_splitNodeAtPosition(o.start),_splitNodeAtPosition(o.end);const n=e._removeChildren(o.start.index,o.end.index-o.start.index);return _mergeNodesAtIndex(e,o.start.index),n}function _move(o,e){if(!o.isFlat)throw new CKEditorError("operation-utils-move-range-not-flat",this);const n=_remove(o);return e=e._getTransformedByDeletion(o.start,o.end.offset-o.start.offset),_insert(e,n)}function _setAttribute(o,e,n){_splitNodeAtPosition(o.start),_splitNodeAtPosition(o.end);for(const r of o.getItems({shallow:!0})){const i=r.is("$textProxy")?r.textNode:r;n!==null?i._setAttribute(e,n):i._removeAttribute(e),_mergeNodesAtIndex(i.parent,i.index)}_mergeNodesAtIndex(o.end.parent,o.end.index)}function _normalizeNodes(o){const e=[];function n(r){if(typeof r=="string")e.push(new Text$1(r));else if(r instanceof TextProxy)e.push(new Text$1(r.data,r.getAttributes()));else if(r instanceof Node$1)e.push(r);else if(isIterable(r))for(const i of r)n(i)}n(o);for(let r=1;re.maxOffset)throw new CKEditorError("move-operation-nodes-do-not-exist",this);if(e===n&&r=r&&this.targetPosition.path[s]r._clone(!0))),n=new InsertOperation(this.position,e,this.baseVersion);return n.shouldReceiveAttributes=this.shouldReceiveAttributes,n}getReversed(){const e=this.position.root.document.graveyard,n=new Position(e,[0]);return new MoveOperation(this.position,this.nodes.maxOffset,n,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffsetn._clone(!0))),_insert(this.position,e)}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e.nodes=this.nodes.toJSON(),e}static get className(){return"InsertOperation"}static fromJSON(e,n){const r=[];for(const s of e.nodes)s.name?r.push(Element.fromJSON(s)):r.push(Text$1.fromJSON(s));const i=new InsertOperation(Position.fromJSON(e.position,n),r,e.baseVersion);return i.shouldReceiveAttributes=e.shouldReceiveAttributes,i}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MarkerOperation extends Operation{constructor(e,n,r,i,s,a){super(a),this.name=e,this.oldRange=n?n.clone():null,this.newRange=r?r.clone():null,this.affectsData=s,this._markers=i}get type(){return"marker"}clone(){return new MarkerOperation(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new MarkerOperation(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){this.newRange?this._markers._set(this.name,this.newRange,!0,this.affectsData):this._markers._remove(this.name)}toJSON(){const e=super.toJSON();return this.oldRange&&(e.oldRange=this.oldRange.toJSON()),this.newRange&&(e.newRange=this.newRange.toJSON()),delete e._markers,e}static get className(){return"MarkerOperation"}static fromJSON(e,n){return new MarkerOperation(e.name,e.oldRange?Range.fromJSON(e.oldRange,n):null,e.newRange?Range.fromJSON(e.newRange,n):null,n.model.markers,e.affectsData,e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class AttributeOperation extends Operation{constructor(e,n,r,i,s){super(s),this.range=e.clone(),this.key=n,this.oldValue=r===void 0?null:r,this.newValue=i===void 0?null:i}get type(){return this.oldValue===null?"addAttribute":this.newValue===null?"removeAttribute":"changeAttribute"}clone(){return new AttributeOperation(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new AttributeOperation(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const e=super.toJSON();return e.range=this.range.toJSON(),e}_validate(){if(!this.range.isFlat)throw new CKEditorError("attribute-operation-range-not-flat",this);for(const e of this.range.getItems({shallow:!0})){if(this.oldValue!==null&&!isEqual(e.getAttribute(this.key),this.oldValue))throw new CKEditorError("attribute-operation-wrong-old-value",this,{item:e,key:this.key,value:this.oldValue});if(this.oldValue===null&&this.newValue!==null&&e.hasAttribute(this.key))throw new CKEditorError("attribute-operation-attribute-exists",this,{node:e,key:this.key})}}_execute(){isEqual(this.oldValue,this.newValue)||_setAttribute(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(e,n){return new AttributeOperation(Range.fromJSON(e.range,n),e.key,e.oldValue,e.newValue,e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class NoOperation extends Operation{get type(){return"noop"}clone(){return new NoOperation(this.baseVersion)}getReversed(){return new NoOperation(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class RenameOperation extends Operation{constructor(e,n,r,i){super(i),this.position=e,this.position.stickiness="toNext",this.oldName=n,this.newName=r}get type(){return"rename"}clone(){return new RenameOperation(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new RenameOperation(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const e=this.position.nodeAfter;if(e instanceof Element){if(e.name!==this.oldName)throw new CKEditorError("rename-operation-wrong-name",this)}else throw new CKEditorError("rename-operation-wrong-position",this)}_execute(){const e=this.position.nodeAfter;e.name=this.newName}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e}static get className(){return"RenameOperation"}static fromJSON(e,n){return new RenameOperation(Position.fromJSON(e.position,n),e.oldName,e.newName,e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class RootAttributeOperation extends Operation{constructor(e,n,r,i,s){super(s),this.root=e,this.key=n,this.oldValue=r,this.newValue=i}get type(){return this.oldValue===null?"addRootAttribute":this.newValue===null?"removeRootAttribute":"changeRootAttribute"}clone(){return new RootAttributeOperation(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new RootAttributeOperation(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new CKEditorError("rootattribute-operation-not-a-root",this,{root:this.root,key:this.key});if(this.oldValue!==null&&this.root.getAttribute(this.key)!==this.oldValue)throw new CKEditorError("rootattribute-operation-wrong-old-value",this,{root:this.root,key:this.key});if(this.oldValue===null&&this.newValue!==null&&this.root.hasAttribute(this.key))throw new CKEditorError("rootattribute-operation-attribute-exists",this,{root:this.root,key:this.key})}_execute(){this.newValue!==null?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const e=super.toJSON();return e.root=this.root.toJSON(),e}static get className(){return"RootAttributeOperation"}static fromJSON(e,n){if(!n.getRoot(e.root))throw new CKEditorError("rootattribute-operation-fromjson-no-root",this,{rootName:e.root});return new RootAttributeOperation(n.getRoot(e.root),e.key,e.oldValue,e.newValue,e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MergeOperation extends Operation{constructor(e,n,r,i,s){super(s),this.sourcePosition=e.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=n,this.targetPosition=r.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=i.clone()}get type(){return"merge"}get deletionPosition(){return new Position(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const e=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Range(this.sourcePosition,e)}clone(){return new MergeOperation(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.targetPosition._getTransformedByMergeOperation(this),n=this.sourcePosition.path.slice(0,-1),r=new Position(this.sourcePosition.root,n)._getTransformedByMergeOperation(this);return new SplitOperation(e,this.howMany,r,this.graveyardPosition,this.baseVersion+1)}_validate(){const e=this.sourcePosition.parent,n=this.targetPosition.parent;if(e.parent)if(n.parent){if(this.howMany!=e.maxOffset)throw new CKEditorError("merge-operation-how-many-invalid",this)}else throw new CKEditorError("merge-operation-target-position-invalid",this);else throw new CKEditorError("merge-operation-source-position-invalid",this)}_execute(){const e=this.sourcePosition.parent,n=Range._createIn(e);_move(n,this.targetPosition),_move(Range._createOn(e),this.graveyardPosition)}toJSON(){const e=super.toJSON();return e.sourcePosition=e.sourcePosition.toJSON(),e.targetPosition=e.targetPosition.toJSON(),e.graveyardPosition=e.graveyardPosition.toJSON(),e}static get className(){return"MergeOperation"}static fromJSON(e,n){const r=Position.fromJSON(e.sourcePosition,n),i=Position.fromJSON(e.targetPosition,n),s=Position.fromJSON(e.graveyardPosition,n);return new this(r,e.howMany,i,s,e.baseVersion)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SplitOperation extends Operation{constructor(e,n,r,i,s){super(s),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=n,this.insertionPosition=r,this.graveyardPosition=i?i.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const e=this.insertionPosition.path.slice();return e.push(0),new Position(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Range(this.splitPosition,e)}clone(){return new SplitOperation(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,n=new Position(e,[0]);return new MergeOperation(this.moveTargetPosition,this.howMany,this.splitPosition,n,this.baseVersion+1)}_validate(){const e=this.splitPosition.parent,n=this.splitPosition.offset;if(!e||e.maxOffset{if(o.key===e.key&&o.range.start.hasSameParentAs(e.range.start)){const r=o.range.getDifference(e.range).map(s=>new AttributeOperation(s,o.key,o.oldValue,o.newValue,0)),i=o.range.getIntersection(e.range);return i&&n.aIsStrong&&r.push(new AttributeOperation(i,e.key,e.newValue,o.newValue,0)),r.length==0?[new NoOperation(0)]:r}else return[o]}),setTransformation(AttributeOperation,InsertOperation,(o,e)=>{if(o.range.start.hasSameParentAs(e.position)&&o.range.containsPosition(e.position)){const r=o.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map(i=>new AttributeOperation(i,o.key,o.oldValue,o.newValue,o.baseVersion));if(e.shouldReceiveAttributes){const i=_getComplementaryAttributeOperations(e,o.key,o.oldValue);i&&r.unshift(i)}return r}return o.range=o.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[o]});function _getComplementaryAttributeOperations(o,e,n){const i=o.nodes.getNode(0).getAttribute(e);if(i==n)return null;const s=new Range(o.position,o.position.getShiftedBy(o.howMany));return new AttributeOperation(s,e,i,n,0)}setTransformation(AttributeOperation,MergeOperation,(o,e)=>{const n=[];o.range.start.hasSameParentAs(e.deletionPosition)&&(o.range.containsPosition(e.deletionPosition)||o.range.start.isEqual(e.deletionPosition))&&n.push(Range._createFromPositionAndShift(e.graveyardPosition,1));const r=o.range._getTransformedByMergeOperation(e);return r.isCollapsed||n.push(r),n.map(i=>new AttributeOperation(i,o.key,o.oldValue,o.newValue,o.baseVersion))}),setTransformation(AttributeOperation,MoveOperation,(o,e)=>_breakRangeByMoveOperation(o.range,e).map(r=>new AttributeOperation(r,o.key,o.oldValue,o.newValue,o.baseVersion)));function _breakRangeByMoveOperation(o,e){const n=Range._createFromPositionAndShift(e.sourcePosition,e.howMany);let r=null,i=[];n.containsRange(o,!0)?r=o:o.start.hasSameParentAs(n.start)?(i=o.getDifference(n),r=o.getIntersection(n)):i=[o];const s=[];for(let a of i){a=a._getTransformedByDeletion(e.sourcePosition,e.howMany);const u=e.getMovedRangeStart(),l=a.start.hasSameParentAs(u),c=a._getTransformedByInsertion(u,e.howMany,l);s.push(...c)}return r&&s.push(r._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]),s}setTransformation(AttributeOperation,SplitOperation,(o,e)=>{if(o.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||o.range.end.offset++,[o];if(o.range.start.hasSameParentAs(e.splitPosition)&&o.range.containsPosition(e.splitPosition)){const n=o.clone();return n.range=new Range(e.moveTargetPosition.clone(),o.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),o.range.end=e.splitPosition.clone(),o.range.end.stickiness="toPrevious",[o,n]}return o.range=o.range._getTransformedBySplitOperation(e),[o]}),setTransformation(InsertOperation,AttributeOperation,(o,e)=>{const n=[o];if(o.shouldReceiveAttributes&&o.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(o.position)){const r=_getComplementaryAttributeOperations(o,e.key,e.newValue);r&&n.push(r)}return n}),setTransformation(InsertOperation,InsertOperation,(o,e,n)=>o.position.isEqual(e.position)&&n.aIsStrong?[o]:(o.position=o.position._getTransformedByInsertOperation(e),[o])),setTransformation(InsertOperation,MoveOperation,(o,e)=>(o.position=o.position._getTransformedByMoveOperation(e),[o])),setTransformation(InsertOperation,SplitOperation,(o,e)=>(o.position=o.position._getTransformedBySplitOperation(e),[o])),setTransformation(InsertOperation,MergeOperation,(o,e)=>(o.position=o.position._getTransformedByMergeOperation(e),[o])),setTransformation(MarkerOperation,InsertOperation,(o,e)=>(o.oldRange&&(o.oldRange=o.oldRange._getTransformedByInsertOperation(e)[0]),o.newRange&&(o.newRange=o.newRange._getTransformedByInsertOperation(e)[0]),[o])),setTransformation(MarkerOperation,MarkerOperation,(o,e,n)=>{if(o.name==e.name)if(n.aIsStrong)o.oldRange=e.newRange?e.newRange.clone():null;else return[new NoOperation(0)];return[o]}),setTransformation(MarkerOperation,MergeOperation,(o,e)=>(o.oldRange&&(o.oldRange=o.oldRange._getTransformedByMergeOperation(e)),o.newRange&&(o.newRange=o.newRange._getTransformedByMergeOperation(e)),[o])),setTransformation(MarkerOperation,MoveOperation,(o,e,n)=>{if(o.oldRange&&(o.oldRange=Range._createFromRanges(o.oldRange._getTransformedByMoveOperation(e))),o.newRange){if(n.abRelation){const r=Range._createFromRanges(o.newRange._getTransformedByMoveOperation(e));if(n.abRelation.side=="left"&&e.targetPosition.isEqual(o.newRange.start))return o.newRange.end=r.end,o.newRange.start.path=n.abRelation.path,[o];if(n.abRelation.side=="right"&&e.targetPosition.isEqual(o.newRange.end))return o.newRange.start=r.start,o.newRange.end.path=n.abRelation.path,[o]}o.newRange=Range._createFromRanges(o.newRange._getTransformedByMoveOperation(e))}return[o]}),setTransformation(MarkerOperation,SplitOperation,(o,e,n)=>{if(o.oldRange&&(o.oldRange=o.oldRange._getTransformedBySplitOperation(e)),o.newRange){if(n.abRelation){const r=o.newRange._getTransformedBySplitOperation(e);return o.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?o.newRange.start=Position._createAt(e.insertionPosition):o.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement&&(o.newRange.start=Position._createAt(e.moveTargetPosition)),o.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement?o.newRange.end=Position._createAt(e.moveTargetPosition):o.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?o.newRange.end=Position._createAt(e.insertionPosition):o.newRange.end=r.end,[o]}o.newRange=o.newRange._getTransformedBySplitOperation(e)}return[o]}),setTransformation(MergeOperation,InsertOperation,(o,e)=>(o.sourcePosition.hasSameParentAs(e.position)&&(o.howMany+=e.howMany),o.sourcePosition=o.sourcePosition._getTransformedByInsertOperation(e),o.targetPosition=o.targetPosition._getTransformedByInsertOperation(e),[o])),setTransformation(MergeOperation,MergeOperation,(o,e,n)=>{if(o.sourcePosition.isEqual(e.sourcePosition)&&o.targetPosition.isEqual(e.targetPosition))if(n.bWasUndone){const r=e.graveyardPosition.path.slice();return r.push(0),o.sourcePosition=new Position(e.graveyardPosition.root,r),o.howMany=0,[o]}else return[new NoOperation(0)];if(o.sourcePosition.isEqual(e.sourcePosition)&&!o.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&n.abRelation!="splitAtSource"){const r=o.targetPosition.root.rootName=="$graveyard",i=e.targetPosition.root.rootName=="$graveyard";if(i&&!r||!(r&&!i)&&n.aIsStrong){const l=e.targetPosition._getTransformedByMergeOperation(e),c=o.targetPosition._getTransformedByMergeOperation(e);return[new MoveOperation(l,o.howMany,c,0)]}else return[new NoOperation(0)]}return o.sourcePosition.hasSameParentAs(e.targetPosition)&&(o.howMany+=e.howMany),o.sourcePosition=o.sourcePosition._getTransformedByMergeOperation(e),o.targetPosition=o.targetPosition._getTransformedByMergeOperation(e),(!o.graveyardPosition.isEqual(e.graveyardPosition)||!n.aIsStrong)&&(o.graveyardPosition=o.graveyardPosition._getTransformedByMergeOperation(e)),[o]}),setTransformation(MergeOperation,MoveOperation,(o,e,n)=>{const r=Range._createFromPositionAndShift(e.sourcePosition,e.howMany);return e.type=="remove"&&!n.bWasUndone&&!n.forceWeakRemove&&o.deletionPosition.hasSameParentAs(e.sourcePosition)&&r.containsPosition(o.sourcePosition)?[new NoOperation(0)]:(o.sourcePosition.hasSameParentAs(e.targetPosition)&&(o.howMany+=e.howMany),o.sourcePosition.hasSameParentAs(e.sourcePosition)&&(o.howMany-=e.howMany),o.sourcePosition=o.sourcePosition._getTransformedByMoveOperation(e),o.targetPosition=o.targetPosition._getTransformedByMoveOperation(e),o.graveyardPosition.isEqual(e.targetPosition)||(o.graveyardPosition=o.graveyardPosition._getTransformedByMoveOperation(e)),[o])}),setTransformation(MergeOperation,SplitOperation,(o,e,n)=>{if(e.graveyardPosition&&(o.graveyardPosition=o.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),o.deletionPosition.isEqual(e.graveyardPosition)&&(o.howMany=e.howMany)),o.targetPosition.isEqual(e.splitPosition)){const r=e.howMany!=0,i=e.graveyardPosition&&o.deletionPosition.isEqual(e.graveyardPosition);if(r||i||n.abRelation=="mergeTargetNotMoved")return o.sourcePosition=o.sourcePosition._getTransformedBySplitOperation(e),[o]}if(o.sourcePosition.isEqual(e.splitPosition)){if(n.abRelation=="mergeSourceNotMoved")return o.howMany=0,o.targetPosition=o.targetPosition._getTransformedBySplitOperation(e),[o];if(n.abRelation=="mergeSameElement"||o.sourcePosition.offset>0)return o.sourcePosition=e.moveTargetPosition.clone(),o.targetPosition=o.targetPosition._getTransformedBySplitOperation(e),[o]}return o.sourcePosition.hasSameParentAs(e.splitPosition)&&(o.howMany=e.splitPosition.offset),o.sourcePosition=o.sourcePosition._getTransformedBySplitOperation(e),o.targetPosition=o.targetPosition._getTransformedBySplitOperation(e),[o]}),setTransformation(MoveOperation,InsertOperation,(o,e)=>{const r=Range._createFromPositionAndShift(o.sourcePosition,o.howMany)._getTransformedByInsertOperation(e,!1)[0];return o.sourcePosition=r.start,o.howMany=r.end.offset-r.start.offset,o.targetPosition.isEqual(e.position)||(o.targetPosition=o.targetPosition._getTransformedByInsertOperation(e)),[o]}),setTransformation(MoveOperation,MoveOperation,(o,e,n)=>{const r=Range._createFromPositionAndShift(o.sourcePosition,o.howMany),i=Range._createFromPositionAndShift(e.sourcePosition,e.howMany);let s=n.aIsStrong,a=!n.aIsStrong;n.abRelation=="insertBefore"||n.baRelation=="insertAfter"?a=!0:(n.abRelation=="insertAfter"||n.baRelation=="insertBefore")&&(a=!1);let u;if(o.targetPosition.isEqual(e.targetPosition)&&a?u=o.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):u=o.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),_moveTargetIntoMovedRange(o,e)&&_moveTargetIntoMovedRange(e,o))return[e.getReversed()];if(r.containsPosition(e.targetPosition)&&r.containsRange(i,!0))return r.start=r.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),r.end=r.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),_makeMoveOperationsFromRanges([r],u);if(i.containsPosition(o.targetPosition)&&i.containsRange(r,!0))return r.start=r.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),r.end=r.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),_makeMoveOperationsFromRanges([r],u);const d=compareArrays(o.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if(d=="prefix"||d=="extension")return r.start=r.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),r.end=r.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),_makeMoveOperationsFromRanges([r],u);o.type=="remove"&&e.type!="remove"&&!n.aWasUndone&&!n.forceWeakRemove?s=!0:o.type!="remove"&&e.type=="remove"&&!n.bWasUndone&&!n.forceWeakRemove&&(s=!1);const h=[],f=r.getDifference(i);for(const m of f){m.start=m.start._getTransformedByDeletion(e.sourcePosition,e.howMany),m.end=m.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const g=compareArrays(m.start.getParentPath(),e.getMovedRangeStart().getParentPath())=="same",v=m._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,g);h.push(...v)}const p=r.getIntersection(i);return p!==null&&s&&(p.start=p.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),p.end=p.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),h.length===0?h.push(p):h.length==1?i.start.isBefore(r.start)||i.start.isEqual(r.start)?h.unshift(p):h.push(p):h.splice(1,0,p)),h.length===0?[new NoOperation(o.baseVersion)]:_makeMoveOperationsFromRanges(h,u)}),setTransformation(MoveOperation,SplitOperation,(o,e,n)=>{let r=o.targetPosition.clone();(!o.targetPosition.isEqual(e.insertionPosition)||!e.graveyardPosition||n.abRelation=="moveTargetAfter")&&(r=o.targetPosition._getTransformedBySplitOperation(e));const i=Range._createFromPositionAndShift(o.sourcePosition,o.howMany);if(i.end.isEqual(e.insertionPosition))return e.graveyardPosition||o.howMany++,o.targetPosition=r,[o];if(i.start.hasSameParentAs(e.splitPosition)&&i.containsPosition(e.splitPosition)){let u=new Range(e.splitPosition,i.end);u=u._getTransformedBySplitOperation(e);const l=[new Range(i.start,e.splitPosition),u];return _makeMoveOperationsFromRanges(l,r)}o.targetPosition.isEqual(e.splitPosition)&&n.abRelation=="insertAtSource"&&(r=e.moveTargetPosition),o.targetPosition.isEqual(e.insertionPosition)&&n.abRelation=="insertBetween"&&(r=o.targetPosition);const a=[i._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const u=i.start.isEqual(e.graveyardPosition)||i.containsPosition(e.graveyardPosition);o.howMany>1&&u&&!n.aWasUndone&&a.push(Range._createFromPositionAndShift(e.insertionPosition,1))}return _makeMoveOperationsFromRanges(a,r)}),setTransformation(MoveOperation,MergeOperation,(o,e,n)=>{const r=Range._createFromPositionAndShift(o.sourcePosition,o.howMany);if(e.deletionPosition.hasSameParentAs(o.sourcePosition)&&r.containsPosition(e.sourcePosition)){if(o.type=="remove"&&!n.forceWeakRemove){if(!n.aWasUndone){const a=[];let u=e.graveyardPosition.clone(),l=e.targetPosition._getTransformedByMergeOperation(e);o.howMany>1&&(a.push(new MoveOperation(o.sourcePosition,o.howMany-1,o.targetPosition,0)),u=u._getTransformedByMove(o.sourcePosition,o.targetPosition,o.howMany-1),l=l._getTransformedByMove(o.sourcePosition,o.targetPosition,o.howMany-1));const c=e.deletionPosition._getCombined(o.sourcePosition,o.targetPosition),d=new MoveOperation(u,1,c,0),h=d.getMovedRangeStart().path.slice();h.push(0);const f=new Position(d.targetPosition.root,h);l=l._getTransformedByMove(u,c,1);const p=new MoveOperation(l,e.howMany,f,0);return a.push(d),a.push(p),a}}else if(o.howMany==1)return n.bWasUndone?(o.sourcePosition=e.graveyardPosition.clone(),o.targetPosition=o.targetPosition._getTransformedByMergeOperation(e),[o]):[new NoOperation(0)]}const s=Range._createFromPositionAndShift(o.sourcePosition,o.howMany)._getTransformedByMergeOperation(e);return o.sourcePosition=s.start,o.howMany=s.end.offset-s.start.offset,o.targetPosition=o.targetPosition._getTransformedByMergeOperation(e),[o]}),setTransformation(RenameOperation,InsertOperation,(o,e)=>(o.position=o.position._getTransformedByInsertOperation(e),[o])),setTransformation(RenameOperation,MergeOperation,(o,e)=>o.position.isEqual(e.deletionPosition)?(o.position=e.graveyardPosition.clone(),o.position.stickiness="toNext",[o]):(o.position=o.position._getTransformedByMergeOperation(e),[o])),setTransformation(RenameOperation,MoveOperation,(o,e)=>(o.position=o.position._getTransformedByMoveOperation(e),[o])),setTransformation(RenameOperation,RenameOperation,(o,e,n)=>{if(o.position.isEqual(e.position))if(n.aIsStrong)o.oldName=e.newName;else return[new NoOperation(0)];return[o]}),setTransformation(RenameOperation,SplitOperation,(o,e)=>{const n=o.position.path,r=e.splitPosition.getParentPath();if(compareArrays(n,r)=="same"&&!e.graveyardPosition){const i=new RenameOperation(o.position.getShiftedBy(1),o.oldName,o.newName,0);return[o,i]}return o.position=o.position._getTransformedBySplitOperation(e),[o]}),setTransformation(RootAttributeOperation,RootAttributeOperation,(o,e,n)=>{if(o.root===e.root&&o.key===e.key){if(!n.aIsStrong||o.newValue===e.newValue)return[new NoOperation(0)];o.oldValue=e.newValue}return[o]}),setTransformation(SplitOperation,InsertOperation,(o,e)=>(o.splitPosition.hasSameParentAs(e.position)&&o.splitPosition.offset{if(!o.graveyardPosition&&!n.bWasUndone&&o.splitPosition.hasSameParentAs(e.sourcePosition)){const r=e.graveyardPosition.path.slice();r.push(0);const i=new Position(e.graveyardPosition.root,r),s=SplitOperation.getInsertionPosition(new Position(e.graveyardPosition.root,r)),a=new SplitOperation(i,0,s,null,0);return o.splitPosition=o.splitPosition._getTransformedByMergeOperation(e),o.insertionPosition=SplitOperation.getInsertionPosition(o.splitPosition),o.graveyardPosition=a.insertionPosition.clone(),o.graveyardPosition.stickiness="toNext",[a,o]}return o.splitPosition.hasSameParentAs(e.deletionPosition)&&!o.splitPosition.isAfter(e.deletionPosition)&&o.howMany--,o.splitPosition.hasSameParentAs(e.targetPosition)&&(o.howMany+=e.howMany),o.splitPosition=o.splitPosition._getTransformedByMergeOperation(e),o.insertionPosition=SplitOperation.getInsertionPosition(o.splitPosition),o.graveyardPosition&&(o.graveyardPosition=o.graveyardPosition._getTransformedByMergeOperation(e)),[o]}),setTransformation(SplitOperation,MoveOperation,(o,e,n)=>{const r=Range._createFromPositionAndShift(e.sourcePosition,e.howMany);if(o.graveyardPosition){const s=r.start.isEqual(o.graveyardPosition)||r.containsPosition(o.graveyardPosition);if(!n.bWasUndone&&s){const a=o.splitPosition._getTransformedByMoveOperation(e),u=o.graveyardPosition._getTransformedByMoveOperation(e),l=u.path.slice();l.push(0);const c=new Position(u.root,l);return[new MoveOperation(a,o.howMany,c,0)]}o.graveyardPosition=o.graveyardPosition._getTransformedByMoveOperation(e)}const i=o.splitPosition.isEqual(e.targetPosition);if(i&&(n.baRelation=="insertAtSource"||n.abRelation=="splitBefore"))return o.howMany+=e.howMany,o.splitPosition=o.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),o.insertionPosition=SplitOperation.getInsertionPosition(o.splitPosition),[o];if(i&&n.abRelation&&n.abRelation.howMany){const{howMany:s,offset:a}=n.abRelation;return o.howMany+=s,o.splitPosition=o.splitPosition.getShiftedBy(a),[o]}if(o.splitPosition.hasSameParentAs(e.sourcePosition)&&r.containsPosition(o.splitPosition)){const s=e.howMany-(o.splitPosition.offset-e.sourcePosition.offset);return o.howMany-=s,o.splitPosition.hasSameParentAs(e.targetPosition)&&o.splitPosition.offset{if(o.splitPosition.isEqual(e.splitPosition)){if(!o.graveyardPosition&&!e.graveyardPosition)return[new NoOperation(0)];if(o.graveyardPosition&&e.graveyardPosition&&o.graveyardPosition.isEqual(e.graveyardPosition))return[new NoOperation(0)];if(n.abRelation=="splitBefore")return o.howMany=0,o.graveyardPosition=o.graveyardPosition._getTransformedBySplitOperation(e),[o]}if(o.graveyardPosition&&e.graveyardPosition&&o.graveyardPosition.isEqual(e.graveyardPosition)){const r=o.splitPosition.root.rootName=="$graveyard",i=e.splitPosition.root.rootName=="$graveyard";if(i&&!r||!(r&&!i)&&n.aIsStrong){const l=[];return e.howMany&&l.push(new MoveOperation(e.moveTargetPosition,e.howMany,e.splitPosition,0)),o.howMany&&l.push(new MoveOperation(o.splitPosition,o.howMany,o.moveTargetPosition,0)),l}else return[new NoOperation(0)]}if(o.graveyardPosition&&(o.graveyardPosition=o.graveyardPosition._getTransformedBySplitOperation(e)),o.splitPosition.isEqual(e.insertionPosition)&&n.abRelation=="splitBefore")return o.howMany++,[o];if(e.splitPosition.isEqual(o.insertionPosition)&&n.baRelation=="splitBefore"){const r=e.insertionPosition.path.slice();r.push(0);const i=new Position(e.insertionPosition.root,r),s=new MoveOperation(o.insertionPosition,1,i,0);return[o,s]}return o.splitPosition.hasSameParentAs(e.splitPosition)&&o.splitPosition.offset{const n=e[0];!n.isDocumentOperation||transform.call(this,n)},{priority:"low"})}function transform(o){const e=this.getTransformedByOperation(o);if(!this.isEqual(e)){const n=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Batch{constructor(e={}){typeof e=="string"&&(e=e==="transparent"?{isUndoable:!1}:{},logWarning("batch-constructor-deprecated-string-type"));const{isUndoable:n=!0,isLocal:r=!0,isUndo:i=!1,isTyping:s=!1}=e;this.operations=[],this.isUndoable=n,this.isLocal=r,this.isUndo=i,this.isTyping=s}get type(){return logWarning("batch-type-deprecated"),"default"}get baseVersion(){for(const e of this.operations)if(e.baseVersion!==null)return e.baseVersion;return null}addOperation(e){return e.batch=this,this.operations.push(e),e}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Differ{constructor(e){this._markerCollection=e,this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set}get isEmpty(){return this._changesInElement.size==0&&this._changedMarkers.size==0}bufferOperation(e){const n=e;switch(n.type){case"insert":{if(this._isInInsertedElement(n.position.parent))return;this._markInsert(n.position.parent,n.position.offset,n.nodes.maxOffset);break}case"addAttribute":case"removeAttribute":case"changeAttribute":{for(const r of n.range.getItems({shallow:!0}))this._isInInsertedElement(r.parent)||this._markAttribute(r);break}case"remove":case"move":case"reinsert":{if(n.sourcePosition.isEqual(n.targetPosition)||n.sourcePosition.getShiftedBy(n.howMany).isEqual(n.targetPosition))return;const r=this._isInInsertedElement(n.sourcePosition.parent),i=this._isInInsertedElement(n.targetPosition.parent);r||this._markRemove(n.sourcePosition.parent,n.sourcePosition.offset,n.howMany),i||this._markInsert(n.targetPosition.parent,n.getMovedRangeStart().offset,n.howMany);break}case"rename":{if(this._isInInsertedElement(n.position.parent))return;this._markRemove(n.position.parent,n.position.offset,1),this._markInsert(n.position.parent,n.position.offset,1);const r=Range._createFromPositionAndShift(n.position,1);for(const i of this._markerCollection.getMarkersIntersectingRange(r)){const s=i.getData();this.bufferMarkerChange(i.name,s,s)}break}case"split":{const r=n.splitPosition.parent;this._isInInsertedElement(r)||this._markRemove(r,n.splitPosition.offset,n.howMany),this._isInInsertedElement(n.insertionPosition.parent)||this._markInsert(n.insertionPosition.parent,n.insertionPosition.offset,1),n.graveyardPosition&&this._markRemove(n.graveyardPosition.parent,n.graveyardPosition.offset,1);break}case"merge":{const r=n.sourcePosition.parent;this._isInInsertedElement(r.parent)||this._markRemove(r.parent,r.startOffset,1);const i=n.graveyardPosition.parent;this._markInsert(i,n.graveyardPosition.offset,1);const s=n.targetPosition.parent;this._isInInsertedElement(s)||this._markInsert(s,n.targetPosition.offset,r.maxOffset);break}}this._cachedChanges=null}bufferMarkerChange(e,n,r){const i=this._changedMarkers.get(e);i?(i.newMarkerData=r,i.oldMarkerData.range==null&&r.range==null&&this._changedMarkers.delete(e)):this._changedMarkers.set(e,{newMarkerData:r,oldMarkerData:n})}getMarkersToRemove(){const e=[];for(const[n,r]of this._changedMarkers)r.oldMarkerData.range!=null&&e.push({name:n,range:r.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[n,r]of this._changedMarkers)r.newMarkerData.range!=null&&e.push({name:n,range:r.newMarkerData.range});return e}getChangedMarkers(){return Array.from(this._changedMarkers).map(([e,n])=>({name:e,data:{oldRange:n.oldMarkerData.range,newRange:n.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0)return!0;for(const{newMarkerData:e,oldMarkerData:n}of this._changedMarkers.values()){if(e.affectsData!==n.affectsData)return!0;if(e.affectsData){const r=e.range&&!n.range,i=!e.range&&n.range,s=e.range&&n.range&&!e.range.isEqual(n.range);if(r||i||s)return!0}}return!1}getChanges(e={}){if(this._cachedChanges)return e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let n=[];for(const r of this._changesInElement.keys()){const i=this._changesInElement.get(r).sort((d,h)=>d.offset===h.offset?d.type!=h.type?d.type=="remove"?-1:1:0:d.offsetr.position.root!=i.position.root?r.position.root.rootNamer);for(const r of n)delete r.changeCount,r.type=="attribute"&&(delete r.position,delete r.length);return this._changeCount=0,this._cachedChangesWithGraveyard=n,this._cachedChanges=n.filter(_changesInGraveyardFilter),e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_refreshItem(e){if(this._isInInsertedElement(e.parent))return;this._markRemove(e.parent,e.startOffset,e.offsetSize),this._markInsert(e.parent,e.startOffset,e.offsetSize),this._refreshedItems.add(e);const n=Range._createOn(e);for(const r of this._markerCollection.getMarkersIntersectingRange(n)){const i=r.getData();this.bufferMarkerChange(r.name,i,i)}this._cachedChanges=null}_markInsert(e,n,r){const i={type:"insert",offset:n,howMany:r,count:this._changeCount++};this._markChange(e,i)}_markRemove(e,n,r){const i={type:"remove",offset:n,howMany:r,count:this._changeCount++};this._markChange(e,i),this._removeAllNestedChanges(e,n,r)}_markAttribute(e){const n={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,n)}_markChange(e,n){this._makeSnapshot(e);const r=this._getChangesForElement(e);this._handleChange(n,r),r.push(n);for(let i=0;ir.offset){if(i>s){const a={type:"attribute",offset:s,howMany:i-s,count:this._changeCount++};this._handleChange(a,n),n.push(a)}e.nodesToHandle=r.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=r.offset&&e.offsets?(e.nodesToHandle=i-s,e.offset=s):e.nodesToHandle=0);if(r.type=="remove"&&e.offsetr.offset){const a={type:"attribute",offset:r.offset,howMany:i-r.offset,count:this._changeCount++};this._handleChange(a,n),n.push(a),e.nodesToHandle=r.offset-e.offset,e.howMany=e.nodesToHandle}r.type=="attribute"&&(e.offset>=r.offset&&i<=s?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=r.offset&&i>=s&&(r.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,n,r){return{type:"insert",position:Position._createAt(e,n),name:r.name,attributes:new Map(r.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(e,n,r){return{type:"remove",position:Position._createAt(e,n),name:r.name,attributes:new Map(r.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,n,r){const i=[];r=new Map(r);for(const[s,a]of n){const u=r.has(s)?r.get(s):null;u!==a&&i.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:s,attributeOldValue:a,attributeNewValue:u,changeCount:this._changeCount++}),r.delete(s)}for(const[s,a]of r)i.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:s,attributeOldValue:null,attributeNewValue:a,changeCount:this._changeCount++});return i}_isInInsertedElement(e){const n=e.parent;if(!n)return!1;const r=this._changesInElement.get(n),i=e.startOffset;if(r){for(const s of r)if(s.type=="insert"&&i>=s.offset&&ir){for(let a=0;athis._version+1&&this._gaps.set(this._version,e),this._version=e}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(e){if(e.baseVersion!==this.version)throw new CKEditorError("model-document-history-addoperation-incorrect-version",this,{operation:e,historyVersion:this.version});this._operations.push(e),this._version++,this._baseVersionToOperationIndex.set(e.baseVersion,this._operations.length-1)}getOperations(e,n=this.version){if(!this._operations.length)return[];const r=this._operations[0];e===void 0&&(e=r.baseVersion);let i=n-1;for(const[u,l]of this._gaps)e>u&&eu&&ithis.lastOperation.baseVersion)return[];let s=this._baseVersionToOperationIndex.get(e);s===void 0&&(s=0);let a=this._baseVersionToOperationIndex.get(i);return a===void 0&&(a=this._operations.length-1),this._operations.slice(s,a+1)}getOperation(e){const n=this._baseVersionToOperationIndex.get(e);if(n!==void 0)return this._operations[n]}setOperationAsUndone(e,n){this._undoPairs.set(n,e),this._undoneOperations.add(e)}isUndoingOperation(e){return this._undoPairs.has(e)}isUndoneOperation(e){return this._undoneOperations.has(e)}getUndoneOperation(e){return this._undoPairs.get(e)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class RootElement extends Element{constructor(e,n,r="main"){super(n),this._document=e,this.rootName=r}get document(){return this._document}toJSON(){return this.rootName}}RootElement.prototype.is=function(o,e){return e?e===this.name&&(o==="rootElement"||o==="model:rootElement"||o==="element"||o==="model:element"):o==="rootElement"||o==="model:rootElement"||o==="element"||o==="model:element"||o==="node"||o==="model:node"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const graveyardName="$graveyard";class Document extends EmitterMixin(){constructor(e){super(),this.model=e,this.history=new History,this.selection=new DocumentSelection(this),this.roots=new Collection({idProperty:"rootName"}),this.differ=new Differ(e.markers),this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",graveyardName),this.listenTo(e,"applyOperation",(n,r)=>{const i=r[0];i.isDocumentOperation&&this.differ.bufferOperation(i)},{priority:"high"}),this.listenTo(e,"applyOperation",(n,r)=>{const i=r[0];i.isDocumentOperation&&this.history.addOperation(i)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(e.markers,"update",(n,r,i,s,a)=>{const u={...r.getData(),range:s};this.differ.bufferMarkerChange(r.name,a,u),i===null&&r.on("change",(l,c)=>{const d=r.getData();this.differ.bufferMarkerChange(r.name,{...d,range:c},d)})})}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(graveyardName)}createRoot(e="$root",n="main"){if(this.roots.get(n))throw new CKEditorError("model-document-createroot-name-exists",this,{name:n});const r=new RootElement(this,e,n);return this.roots.add(r),r}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(){return Array.from(this.roots,e=>e.rootName).filter(e=>e!=graveyardName)}registerPostFixer(e){this._postFixers.add(e)}toJSON(){const e=clone$2(this);return e.selection="[engine.model.DocumentSelection]",e.model="[engine.model.Model]",e}_handleChangeBlock(e){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(e),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",e.batch):this.fire("change",e.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){for(const e of this.roots)if(e!==this.graveyard)return e;return this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),n=this.model,r=n.schema,i=n.createPositionFromPath(e,[0]);return r.getNearestSelectionRange(i)||n.createRange(i)}_validateSelectionRange(e){return validateTextNodePosition(e.start)&&validateTextNodePosition(e.end)}_callPostFixers(e){let n=!1;do for(const r of this._postFixers)if(this.selection.refresh(),n=r(e),n)break;while(n)}}function validateTextNodePosition(o){const e=o.textNode;if(e){const n=e.data,r=o.offset-e.startOffset;return!isInsideSurrogatePair(n,r)&&!isInsideCombinedSymbol(n,r)}return!0}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MarkerCollection extends EmitterMixin(){constructor(){super(),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(e){const n=e instanceof Marker?e.name:e;return this._markers.has(n)}get(e){return this._markers.get(e)||null}_set(e,n,r=!1,i=!1){const s=e instanceof Marker?e.name:e;if(s.includes(","))throw new CKEditorError("markercollection-incorrect-marker-name",this);const a=this._markers.get(s);if(a){const c=a.getData(),d=a.getRange();let h=!1;return d.isEqual(n)||(a._attachLiveRange(LiveRange.fromRange(n)),h=!0),r!=a.managedUsingOperations&&(a._managedUsingOperations=r,h=!0),typeof i=="boolean"&&i!=a.affectsData&&(a._affectsData=i,h=!0),h&&this.fire(`update:${s}`,a,d,n,c),a}const u=LiveRange.fromRange(n),l=new Marker(s,u,r,i);return this._markers.set(s,l),this.fire(`update:${s}`,l,null,n,{...l.getData(),range:null}),l}_remove(e){const n=e instanceof Marker?e.name:e,r=this._markers.get(n);return r?(this._markers.delete(n),this.fire(`update:${n}`,r,r.getRange(),null,r.getData()),this._destroyMarker(r),!0):!1}_refresh(e){const n=e instanceof Marker?e.name:e,r=this._markers.get(n);if(!r)throw new CKEditorError("markercollection-refresh-marker-not-exists",this);const i=r.getRange();this.fire(`update:${n}`,r,i,i,r.getData())}*getMarkersAtPosition(e){for(const n of this)n.getRange().containsPosition(e)&&(yield n)}*getMarkersIntersectingRange(e){for(const n of this)n.getRange().getIntersection(e)!==null&&(yield n)}destroy(){for(const e of this._markers.values())this._destroyMarker(e);this._markers=null,this.stopListening()}*getMarkersGroup(e){for(const n of this._markers.values())n.name.startsWith(e+":")&&(yield n)}_destroyMarker(e){e.stopListening(),e._detachLiveRange()}}class Marker extends EmitterMixin(TypeCheckable){constructor(e,n,r,i){super(),this.name=e,this._liveRange=this._attachLiveRange(n),this._managedUsingOperations=r,this._affectsData=i}get managedUsingOperations(){if(!this._liveRange)throw new CKEditorError("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new CKEditorError("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new CKEditorError("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new CKEditorError("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new CKEditorError("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(e){return this._liveRange&&this._detachLiveRange(),e.delegate("change:range").to(this),e.delegate("change:content").to(this),this._liveRange=e,e}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Marker.prototype.is=function(o){return o==="marker"||o==="model:marker"};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DetachOperation extends Operation{constructor(e,n){super(null),this.sourcePosition=e.clone(),this.howMany=n}get type(){return"detach"}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new CKEditorError("detach-operation-on-document-node",this)}_execute(){_remove(Range._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DocumentFragment extends TypeCheckable{constructor(e){super(),this.markers=new Map,this._children=new NodeList,e&&this._insertChild(0,e)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return this.childCount===0}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}getAncestors(){return[]}getChild(e){return this._children.getNode(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}getPath(){return[]}getNodeByPath(e){let n=this;for(const r of e)n=n.getChild(n.offsetToIndex(r));return n}offsetToIndex(e){return this._children.offsetToIndex(e)}toJSON(){const e=[];for(const n of this._children)e.push(n.toJSON());return e}static fromJSON(e){const n=[];for(const r of e)r.name?n.push(Element.fromJSON(r)):n.push(Text$1.fromJSON(r));return new DocumentFragment(n)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,n){const r=normalize$1(n);for(const i of r)i.parent!==null&&i._remove(),i.parent=this;this._children._insertNodes(e,r)}_removeChildren(e,n=1){const r=this._children._removeNodes(e,n);for(const i of r)i.parent=null;return r}}DocumentFragment.prototype.is=function(o){return o==="documentFragment"||o==="model:documentFragment"};function normalize$1(o){return typeof o=="string"?[new Text$1(o)]:(isIterable(o)||(o=[o]),Array.from(o).map(e=>typeof e=="string"?new Text$1(e):e instanceof TextProxy?new Text$1(e.data,e.getAttributes()):e))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Writer{constructor(e,n){this.model=e,this.batch=n}createText(e,n){return new Text$1(e,n)}createElement(e,n){return new Element(e,n)}createDocumentFragment(){return new DocumentFragment}cloneElement(e,n=!0){return e._clone(n)}insert(e,n,r=0){if(this._assertWriterUsedCorrectly(),e instanceof Text$1&&e.data=="")return;const i=Position._createAt(n,r);if(e.parent)if(isSameTree(e.root,i.root)){this.move(Range._createOn(e),i);return}else{if(e.root.document)throw new CKEditorError("model-writer-insert-forbidden-move",this);this.remove(e)}const s=i.root.document?i.root.document.version:null,a=new InsertOperation(i,e,s);if(e instanceof Text$1&&(a.shouldReceiveAttributes=!0),this.batch.addOperation(a),this.model.applyOperation(a),e instanceof DocumentFragment)for(const[u,l]of e.markers){const c=Position._createAt(l.root,0),h={range:new Range(l.start._getCombined(c,i),l.end._getCombined(c,i)),usingOperation:!0,affectsData:!0};this.model.markers.has(u)?this.updateMarker(u,h):this.addMarker(u,h)}}insertText(e,n,r,i){n instanceof DocumentFragment||n instanceof Element||n instanceof Position?this.insert(this.createText(e),n,r):this.insert(this.createText(e,n),r,i)}insertElement(e,n,r,i){n instanceof DocumentFragment||n instanceof Element||n instanceof Position?this.insert(this.createElement(e),n,r):this.insert(this.createElement(e,n),r,i)}append(e,n){this.insert(e,n,"end")}appendText(e,n,r){n instanceof DocumentFragment||n instanceof Element?this.insert(this.createText(e),n,"end"):this.insert(this.createText(e,n),r,"end")}appendElement(e,n,r){n instanceof DocumentFragment||n instanceof Element?this.insert(this.createElement(e),n,"end"):this.insert(this.createElement(e,n),r,"end")}setAttribute(e,n,r){if(this._assertWriterUsedCorrectly(),r instanceof Range){const i=r.getMinimalFlatRanges();for(const s of i)setAttributeOnRange(this,e,n,s)}else setAttributeOnItem(this,e,n,r)}setAttributes(e,n){for(const[r,i]of toMap(e))this.setAttribute(r,i,n)}removeAttribute(e,n){if(this._assertWriterUsedCorrectly(),n instanceof Range){const r=n.getMinimalFlatRanges();for(const i of r)setAttributeOnRange(this,e,null,i)}else setAttributeOnItem(this,e,null,n)}clearAttributes(e){this._assertWriterUsedCorrectly();const n=r=>{for(const i of r.getAttributeKeys())this.removeAttribute(i,r)};if(!(e instanceof Range))n(e);else for(const r of e.getItems())n(r)}move(e,n,r){if(this._assertWriterUsedCorrectly(),!(e instanceof Range))throw new CKEditorError("writer-move-invalid-range",this);if(!e.isFlat)throw new CKEditorError("writer-move-range-not-flat",this);const i=Position._createAt(n,r);if(i.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!isSameTree(e.root,i.root))throw new CKEditorError("writer-move-different-document",this);const s=e.root.document?e.root.document.version:null,a=new MoveOperation(e.start,e.end.offset-e.start.offset,i,s);this.batch.addOperation(a),this.model.applyOperation(a)}remove(e){this._assertWriterUsedCorrectly();const r=(e instanceof Range?e:Range._createOn(e)).getMinimalFlatRanges().reverse();for(const i of r)this._addOperationForAffectedMarkers("move",i),applyRemoveOperation(i.start,i.end.offset-i.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const n=e.nodeBefore,r=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(n instanceof Element))throw new CKEditorError("writer-merge-no-element-before",this);if(!(r instanceof Element))throw new CKEditorError("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,n,r){return this.model.createPositionFromPath(e,n,r)}createPositionAt(e,n){return this.model.createPositionAt(e,n)}createPositionAfter(e){return this.model.createPositionAfter(e)}createPositionBefore(e){return this.model.createPositionBefore(e)}createRange(e,n){return this.model.createRange(e,n)}createRangeIn(e){return this.model.createRangeIn(e)}createRangeOn(e){return this.model.createRangeOn(e)}createSelection(...e){return this.model.createSelection(...e)}_mergeDetached(e){const n=e.nodeBefore,r=e.nodeAfter;this.move(Range._createIn(r),Position._createAt(n,"end")),this.remove(r)}_merge(e){const n=Position._createAt(e.nodeBefore,"end"),r=Position._createAt(e.nodeAfter,0),i=e.root.document.graveyard,s=new Position(i,[0]),a=e.root.document.version,u=new MergeOperation(r,e.nodeAfter.maxOffset,n,s,a);this.batch.addOperation(u),this.model.applyOperation(u)}rename(e,n){if(this._assertWriterUsedCorrectly(),!(e instanceof Element))throw new CKEditorError("writer-rename-not-element-instance",this);const r=e.root.document?e.root.document.version:null,i=new RenameOperation(Position._createBefore(e),e.name,n,r);this.batch.addOperation(i),this.model.applyOperation(i)}split(e,n){this._assertWriterUsedCorrectly();let r=e.parent;if(!r.parent)throw new CKEditorError("writer-split-element-no-parent",this);if(n||(n=r.parent),!e.parent.getAncestors({includeSelf:!0}).includes(n))throw new CKEditorError("writer-split-invalid-limit-element",this);let i,s;do{const a=r.root.document?r.root.document.version:null,u=r.maxOffset-e.offset,l=SplitOperation.getInsertionPosition(e),c=new SplitOperation(e,u,l,null,a);this.batch.addOperation(c),this.model.applyOperation(c),!i&&!s&&(i=r,s=e.parent.nextSibling),e=this.createPositionAfter(e.parent),r=e.parent}while(r!==n);return{position:e,range:new Range(Position._createAt(i,"end"),Position._createAt(s,0))}}wrap(e,n){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new CKEditorError("writer-wrap-range-not-flat",this);const r=n instanceof Element?n:new Element(n);if(r.childCount>0)throw new CKEditorError("writer-wrap-element-not-empty",this);if(r.parent!==null)throw new CKEditorError("writer-wrap-element-attached",this);this.insert(r,e.start);const i=new Range(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(i,Position._createAt(r,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),e.parent===null)throw new CKEditorError("writer-unwrap-element-no-parent",this);this.move(Range._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,n){if(this._assertWriterUsedCorrectly(),!n||typeof n.usingOperation!="boolean")throw new CKEditorError("writer-addmarker-no-usingoperation",this);const r=n.usingOperation,i=n.range,s=n.affectsData===void 0?!1:n.affectsData;if(this.model.markers.has(e))throw new CKEditorError("writer-addmarker-marker-exists",this);if(!i)throw new CKEditorError("writer-addmarker-no-range",this);return r?(applyMarkerOperation(this,e,null,i,s),this.model.markers.get(e)):this.model.markers._set(e,i,r,s)}updateMarker(e,n){this._assertWriterUsedCorrectly();const r=typeof e=="string"?e:e.name,i=this.model.markers.get(r);if(!i)throw new CKEditorError("writer-updatemarker-marker-not-exists",this);if(!n){logWarning("writer-updatemarker-reconvert-using-editingcontroller",{markerName:r}),this.model.markers._refresh(i);return}const s=typeof n.usingOperation=="boolean",a=typeof n.affectsData=="boolean",u=a?n.affectsData:i.affectsData;if(!s&&!n.range&&!a)throw new CKEditorError("writer-updatemarker-wrong-options",this);const l=i.getRange(),c=n.range?n.range:l;if(s&&n.usingOperation!==i.managedUsingOperations){n.usingOperation?applyMarkerOperation(this,r,null,c,u):(applyMarkerOperation(this,r,l,null,u),this.model.markers._set(r,c,void 0,u));return}i.managedUsingOperations?applyMarkerOperation(this,r,l,c,u):this.model.markers._set(r,c,void 0,u)}removeMarker(e){this._assertWriterUsedCorrectly();const n=typeof e=="string"?e:e.name;if(!this.model.markers.has(n))throw new CKEditorError("writer-removemarker-no-marker",this);const r=this.model.markers.get(n);if(!r.managedUsingOperations){this.model.markers._remove(n);return}const i=r.getRange();applyMarkerOperation(this,n,i,null,r.affectsData)}setSelection(...e){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...e)}setSelectionFocus(e,n){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(e,n)}setSelectionAttribute(e,n){if(this._assertWriterUsedCorrectly(),typeof e=="string")this._setSelectionAttribute(e,n);else for(const[r,i]of toMap(e))this._setSelectionAttribute(r,i)}removeSelectionAttribute(e){if(this._assertWriterUsedCorrectly(),typeof e=="string")this._removeSelectionAttribute(e);else for(const n of e)this._removeSelectionAttribute(n)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(e){this.model.document.selection._restoreGravity(e)}_setSelectionAttribute(e,n){const r=this.model.document.selection;if(r.isCollapsed&&r.anchor.parent.isEmpty){const i=DocumentSelection._getStoreAttributeKey(e);this.setAttribute(i,n,r.anchor.parent)}r._setAttribute(e,n)}_removeSelectionAttribute(e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const r=DocumentSelection._getStoreAttributeKey(e);this.removeAttribute(r,n.anchor.parent)}n._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new CKEditorError("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,n){for(const r of this.model.markers){if(!r.managedUsingOperations)continue;const i=r.getRange();let s=!1;if(e==="move"){const a=n;s=a.containsPosition(i.start)||a.start.isEqual(i.start)||a.containsPosition(i.end)||a.end.isEqual(i.end)}else{const a=n,u=a.nodeBefore,l=a.nodeAfter,c=i.start.parent==u&&i.start.isAtEnd,d=i.end.parent==l&&i.end.offset==0,h=i.end.nodeAfter==l,f=i.start.nodeAfter==l;s=c||d||h||f}s&&this.updateMarker(r.name,{range:i})}}}function setAttributeOnRange(o,e,n,r){const i=o.model,s=i.document;let a=r.start,u,l,c;for(const h of r.getWalker({shallow:!0}))c=h.item.getAttribute(e),u&&l!=c&&(l!=n&&d(),a=u),u=h.nextPosition,l=c;u instanceof Position&&u!=a&&l!=n&&d();function d(){const h=new Range(a,u),f=h.root.document?s.version:null,p=new AttributeOperation(h,e,l,n,f);o.batch.addOperation(p),i.applyOperation(p)}}function setAttributeOnItem(o,e,n,r){const i=o.model,s=i.document,a=r.getAttribute(e);let u,l;if(a!=n){if(r.root===r){const d=r.document?s.version:null;l=new RootAttributeOperation(r,e,a,n,d)}else{u=new Range(Position._createBefore(r),o.createPositionAfter(r));const d=u.root.document?s.version:null;l=new AttributeOperation(u,e,a,n,d)}o.batch.addOperation(l),i.applyOperation(l)}}function applyMarkerOperation(o,e,n,r,i){const s=o.model,a=s.document,u=new MarkerOperation(e,n,r,s.markers,!!i,a.version);o.batch.addOperation(u),s.applyOperation(u)}function applyRemoveOperation(o,e,n,r){let i;if(o.root.document){const s=r.document,a=new Position(s.graveyard,[0]);i=new MoveOperation(o,e,a,s.version)}else i=new DetachOperation(o,e);n.addOperation(i),r.applyOperation(i)}function isSameTree(o,e){return o===e||o instanceof RootElement&&e instanceof RootElement}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function injectSelectionPostFixer(o){o.document.registerPostFixer(e=>selectionPostFixer(e,o))}function selectionPostFixer(o,e){const n=e.document.selection,r=e.schema,i=[];let s=!1;for(const a of n.getRanges()){const u=tryFixingRange(a,r);u&&!u.isEqual(a)?(i.push(u),s=!0):i.push(a)}return s&&o.setSelection(mergeIntersectingRanges(i),{backward:n.isBackward}),!1}function tryFixingRange(o,e){return o.isCollapsed?tryFixingCollapsedRange(o,e):tryFixingNonCollapsedRage(o,e)}function tryFixingCollapsedRange(o,e){const n=o.start,r=e.getNearestSelectionRange(n);if(!r){const s=n.getAncestors().reverse().find(a=>e.isObject(a));return s?Range._createOn(s):null}if(!r.isCollapsed)return r;const i=r.start;return n.isEqual(i)?null:new Range(i)}function tryFixingNonCollapsedRage(o,e){const{start:n,end:r}=o,i=e.checkChild(n,"$text"),s=e.checkChild(r,"$text"),a=e.getLimitElement(n),u=e.getLimitElement(r);if(a===u){if(i&&s)return null;if(checkSelectionOnNonLimitElements(n,r,e)){const h=n.nodeAfter&&e.isSelectable(n.nodeAfter)?null:e.getNearestSelectionRange(n,"forward"),p=r.nodeBefore&&e.isSelectable(r.nodeBefore)?null:e.getNearestSelectionRange(r,"backward"),m=h?h.start:n,g=p?p.end:r;return new Range(m,g)}}const l=a&&!a.is("rootElement"),c=u&&!u.is("rootElement");if(l||c){const d=n.nodeAfter&&r.nodeBefore&&n.nodeAfter.parent===r.nodeBefore.parent,h=l&&(!d||!isSelectable(n.nodeAfter,e)),f=c&&(!d||!isSelectable(r.nodeBefore,e));let p=n,m=r;return h&&(p=Position._createBefore(findOutermostLimitAncestor(a,e))),f&&(m=Position._createAfter(findOutermostLimitAncestor(u,e))),new Range(p,m)}return null}function findOutermostLimitAncestor(o,e){let n=o,r=n;for(;e.isLimit(r)&&r.parent;)n=r,r=r.parent;return n}function checkSelectionOnNonLimitElements(o,e,n){const r=o.nodeAfter&&!n.isLimit(o.nodeAfter)||n.checkChild(o,"$text"),i=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,"$text");return r||i}function mergeIntersectingRanges(o){const e=[...o],n=new Set;let r=1;for(;r!n.has(a))}function isSelectable(o,e){return o&&e.isSelectable(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function deleteContent(o,e,n={}){if(e.isCollapsed)return;const r=e.getFirstRange();if(r.root.rootName=="$graveyard")return;const i=o.schema;o.change(s=>{if(!n.doNotResetEntireContent&&shouldEntireContentBeReplacedWithParagraph(i,e)){replaceEntireContentWithParagraph(s,e);return}const a={};if(!n.doNotAutoparagraph){const c=e.getSelectedElement();c&&Object.assign(a,i.getAttributesWithProperty(c,"copyOnReplace",!0))}const[u,l]=getLivePositionsForSelectedBlocks(r);u.isTouching(l)||s.remove(s.createRange(u,l)),n.leaveUnmerged||(mergeBranches(s,u,l),i.removeDisallowedAttributes(u.parent.getChildren(),s)),collapseSelectionAt(s,e,u),!n.doNotAutoparagraph&&shouldAutoparagraph(i,u)&&insertParagraph(s,u,e,a),u.detach(),l.detach()})}function getLivePositionsForSelectedBlocks(o){const e=o.root.document.model,n=o.start;let r=o.end;if(e.hasContent(o,{ignoreMarkers:!0})){const i=getParentBlock(r);if(i&&r.isTouching(e.createPositionAt(i,0))){const s=e.createSelection(o);e.modifySelection(s,{direction:"backward"});const a=s.getLastPosition(),u=e.createRange(a,r);e.hasContent(u,{ignoreMarkers:!0})||(r=a)}}return[LivePosition.fromPosition(n,"toPrevious"),LivePosition.fromPosition(r,"toNext")]}function getParentBlock(o){const e=o.parent,n=e.root.document.model.schema,r=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const i of r){if(n.isLimit(i))return null;if(n.isBlock(i))return i}}function mergeBranches(o,e,n){const r=o.model;if(!checkShouldMerge(o.model.schema,e,n))return;const[i,s]=getAncestorsJustBelowCommonAncestor(e,n);!i||!s||(!r.hasContent(i,{ignoreMarkers:!0})&&r.hasContent(s,{ignoreMarkers:!0})?mergeBranchesRight(o,e,n,i.parent):mergeBranchesLeft(o,e,n,i.parent))}function mergeBranchesLeft(o,e,n,r){const i=e.parent,s=n.parent;if(!(i==r||s==r)){for(e=o.createPositionAfter(i),n=o.createPositionBefore(s),n.isEqual(e)||o.insert(s,e),o.merge(e);n.parent.isEmpty;){const a=n.parent;n=o.createPositionBefore(a),o.remove(a)}!checkShouldMerge(o.model.schema,e,n)||mergeBranchesLeft(o,e,n,r)}}function mergeBranchesRight(o,e,n,r){const i=e.parent,s=n.parent;if(!(i==r||s==r)){for(e=o.createPositionAfter(i),n=o.createPositionBefore(s),n.isEqual(e)||o.insert(i,n);e.parent.isEmpty;){const a=e.parent;e=o.createPositionBefore(a),o.remove(a)}n=o.createPositionBefore(s),mergeRight(o,n),checkShouldMerge(o.model.schema,e,n)&&mergeBranchesRight(o,e,n,r)}}function mergeRight(o,e){const n=e.nodeBefore,r=e.nodeAfter;n.name!=r.name&&o.rename(n,r.name),o.clearAttributes(n),o.setAttributes(Object.fromEntries(r.getAttributes()),n),o.merge(e)}function checkShouldMerge(o,e,n){const r=e.parent,i=n.parent;return r==i||o.isLimit(r)||o.isLimit(i)?!1:isCrossingLimitElement(e,n,o)}function getAncestorsJustBelowCommonAncestor(o,e){const n=o.getAncestors(),r=e.getAncestors();let i=0;for(;n[i]&&n[i]==r[i];)i++;return[n[i],r[i]]}function shouldAutoparagraph(o,e){const n=o.checkChild(e,"$text"),r=o.checkChild(e,"paragraph");return!n&&r}function isCrossingLimitElement(o,e,n){const r=new Range(o,e);for(const i of r.getWalker())if(n.isLimit(i.item))return!1;return!0}function insertParagraph(o,e,n,r={}){const i=o.createElement("paragraph");o.model.schema.setAllowedAttributes(i,r,o),o.insert(i,e),collapseSelectionAt(o,n,o.createPositionAt(i,0))}function replaceEntireContentWithParagraph(o,e){const n=o.model.schema.getLimitElement(e);o.remove(o.createRangeIn(n)),insertParagraph(o,o.createPositionAt(n,0),e)}function shouldEntireContentBeReplacedWithParagraph(o,e){const n=o.getLimitElement(e);if(!e.containsEntireContent(n))return!1;const r=e.getFirstRange();return r.start.parent==r.end.parent?!1:o.checkChild(n,"paragraph")}function collapseSelectionAt(o,e,n){e instanceof DocumentSelection?o.setSelection(n):e.setTo(n)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getSelectedContent(o,e){return o.change(n=>{const r=n.createDocumentFragment(),i=e.getFirstRange();if(!i||i.isCollapsed)return r;const s=i.start.root,a=i.start.getCommonPath(i.end),u=s.getNodeByPath(a);let l;i.start.parent==i.end.parent?l=i:l=n.createRange(n.createPositionAt(u,i.start.path[a.length]),n.createPositionAt(u,i.end.path[a.length]+1));const c=l.end.offset-l.start.offset;for(const d of l.getItems({shallow:!0}))d.is("$textProxy")?n.appendText(d.data,d.getAttributes(),r):n.append(n.cloneElement(d,!0),r);if(l!=i){const d=i._getTransformedByMove(l.start,n.createPositionAt(r,0),c)[0],h=n.createRange(n.createPositionAt(r,0),d.start),f=n.createRange(d.end,n.createPositionAt(r,"end"));removeRangeContent(f,n),removeRangeContent(h,n)}return r})}function removeRangeContent(o,e){const n=[];Array.from(o.getItems({direction:"backward"})).map(r=>e.createRangeOn(r)).filter(r=>(r.start.isAfter(o.start)||r.start.isEqual(o.start))&&(r.end.isBefore(o.end)||r.end.isEqual(o.end))).forEach(r=>{n.push(r.start.parent),e.remove(r)}),n.forEach(r=>{let i=r;for(;i.parent&&i.isEmpty;){const s=e.createRangeOn(i);i=i.parent,e.remove(s)}})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function insertContent(o,e,n,r){return o.change(i=>{let s;n?n instanceof Selection||n instanceof DocumentSelection?s=n:s=i.createSelection(n,r):s=o.document.selection,s.isCollapsed||o.deleteContent(s,{doNotAutoparagraph:!0});const a=new Insertion(o,i,s.anchor),u=[];let l;if(e.is("documentFragment")){if(e.markers.size){const h=[];for(const[f,p]of e.markers){const{start:m,end:g}=p,v=m.isEqual(g);h.push({position:m,name:f,isCollapsed:v},{position:g,name:f,isCollapsed:v})}h.sort(({position:f},{position:p})=>f.isBefore(p)?1:-1);for(const{position:f,name:p,isCollapsed:m}of h){let g=null,v=null;const _=f.parent===e&&f.isAtStart,b=f.parent===e&&f.isAtEnd;!_&&!b?(g=i.createElement("$marker"),i.insert(g,f)):m&&(v=_?"start":"end"),u.push({name:p,element:g,collapsed:v})}}l=e.getChildren()}else l=[e];a.handleNodes(l);let c=a.getSelectionRange();if(e.is("documentFragment")&&u.length){const h=c?LiveRange.fromRange(c):null,f={};for(let p=u.length-1;p>=0;p--){const{name:m,element:g,collapsed:v}=u[p],_=!f[m];if(_&&(f[m]=[]),g){const b=i.createPositionAt(g,"before");f[m].push(b),i.remove(g)}else{const b=a.getAffectedRange();if(!b){v&&f[m].push(a.position);continue}v?f[m].push(b[v]):f[m].push(_?b.start:b.end)}}for(const[p,[m,g]]of Object.entries(f))m&&g&&m.root===g.root&&i.addMarker(p,{usingOperation:!0,affectsData:!0,range:new Range(m,g)});h&&(c=h.toRange(),h.detach())}c&&(s instanceof DocumentSelection?i.setSelection(c):s.setTo(c));const d=a.getAffectedRange()||o.createRange(s.anchor);return a.destroy(),d})}class Insertion{constructor(e,n,r){this.model=e,this.writer=n,this.position=r,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._documentFragment=n.createDocumentFragment(),this._documentFragmentPosition=n.createPositionAt(this._documentFragment,0),this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null}handleNodes(e){for(const n of Array.from(e))this._handleNode(n);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(e){const n=this.writer.createPositionAfter(this._lastNode),r=this.writer.createPositionAfter(e);if(r.isAfter(n)){if(this._lastNode=e,this.position.parent!=e||!this.position.isAtEnd)throw new CKEditorError("insertcontent-invalid-insertion-position",this);this.position=r,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Range._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Range(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){if(this.schema.isObject(e)){this._handleObject(e);return}let n=this._checkAndAutoParagraphToAllowedPosition(e);if(!n&&(n=this._checkAndSplitToAllowedPosition(e),!n)){this._handleDisallowedNode(e);return}this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=LivePosition.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=e.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=e.toPosition(),e.detach()}_handleObject(e){this._checkAndSplitToAllowedPosition(e)?this._appendToFragment(e):this._tryAutoparagraphing(e)}_handleDisallowedNode(e){e.is("element")?this.handleNodes(e.getChildren()):this._tryAutoparagraphing(e)}_appendToFragment(e){if(!this.schema.checkChild(this.position,e))throw new CKEditorError("insertcontent-wrong-position",this,{node:e,position:this.position});this.writer.insert(e,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(e.offsetSize),this.schema.isObject(e)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=e:this._nodeToSelect=null,this._filterAttributesOf.push(e)}_setAffectedBoundaries(e){this._affectedStart||(this._affectedStart=LivePosition.fromPosition(e,"toPrevious")),(!this._affectedEnd||this._affectedEnd.isBefore(e))&&(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=LivePosition.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof Element)||!this._canMergeLeft(e))return;const n=LivePosition._createBefore(e);n.stickiness="toNext";const r=LivePosition.fromPosition(this.position,"toNext");this._affectedStart.isEqual(n)&&(this._affectedStart.detach(),this._affectedStart=LivePosition._createAt(n.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=n.nodeBefore,this._lastNode=n.nodeBefore),this.writer.merge(n),n.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=LivePosition._createAt(n.nodeBefore,"end","toNext")),this.position=r.toPosition(),r.detach(),this._filterAttributesOf.push(this.position.parent),n.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof Element)||!this._canMergeRight(e))return;const n=LivePosition._createAfter(e);if(n.stickiness="toNext",!this.position.isEqual(n))throw new CKEditorError("insertcontent-invalid-insertion-position",this);this.position=Position._createAt(n.nodeBefore,"end");const r=LivePosition.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(n)&&(this._affectedEnd.detach(),this._affectedEnd=LivePosition._createAt(n.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=n.nodeBefore,this._lastNode=n.nodeBefore),this.writer.merge(n),n.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=LivePosition._createAt(n.nodeBefore,0,"toPrevious")),this.position=r.toPosition(),r.detach(),this._filterAttributesOf.push(this.position.parent),n.detach()}_canMergeLeft(e){const n=e.previousSibling;return n instanceof Element&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(n,e)}_canMergeRight(e){const n=e.nextSibling;return n instanceof Element&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(e,n)}_tryAutoparagraphing(e){const n=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,n)&&this.schema.checkChild(n,e)&&(n._appendChild(e),this._handleNode(n))}_checkAndAutoParagraphToAllowedPosition(e){if(this.schema.checkChild(this.position.parent,e))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",e))return!1;this._insertPartialFragment();const n=this.writer.createElement("paragraph");return this.writer.insert(n,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=n,this.position=this.writer.createPositionAt(n,0),!0}_checkAndSplitToAllowedPosition(e){const n=this._getAllowedIn(this.position.parent,e);if(!n)return!1;for(n!=this.position.parent&&this._insertPartialFragment();n!=this.position.parent;)if(this.position.isAtStart){const r=this.position.parent;this.position=this.writer.createPositionBefore(r),r.isEmpty&&r.parent===n&&this.writer.remove(r)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const r=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=r,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(e,n){return this.schema.checkChild(e,n)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function findOptimalInsertionRange$1(o,e,n="auto"){const r=o.getSelectedElement();if(r&&e.schema.isObject(r)&&!e.schema.isInline(r))return n=="before"||n=="after"?e.createRange(e.createPositionAt(r,n)):e.createRangeOn(r);const i=first(o.getSelectedBlocks());if(!i)return e.createRange(o.focus);if(i.isEmpty)return e.createRange(e.createPositionAt(i,0));const s=e.createPositionAfter(i);return o.focus.isTouching(s)?e.createRange(s):e.createRange(e.createPositionBefore(i))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function insertObject(o,e,n,r,i={}){if(!o.schema.isObject(e))throw new CKEditorError("insertobject-element-not-an-object",o,{object:e});let s;n?n instanceof Selection||n instanceof DocumentSelection?s=n:s=o.createSelection(n,r):s=o.document.selection;let a=s;i.findOptimalPosition&&o.schema.isBlock(e)&&(a=o.createSelection(findOptimalInsertionRange$1(s,o,i.findOptimalPosition)));const u=first(s.getSelectedBlocks()),l={};return u&&Object.assign(l,o.schema.getAttributesWithProperty(u,"copyOnReplace",!0)),o.change(c=>{a.isCollapsed||o.deleteContent(a,{doNotAutoparagraph:!0});let d=e;const h=a.anchor.parent;!o.schema.checkChild(h,e)&&o.schema.checkChild(h,"paragraph")&&o.schema.checkChild("paragraph",e)&&(d=c.createElement("paragraph"),c.insert(e,d)),o.schema.setAllowedAttributes(d,l,c);const f=o.insertContent(d,a);return f.isCollapsed||i.setSelection&&updateSelection(c,e,i.setSelection,l),f})}function updateSelection(o,e,n,r){const i=o.model;if(n=="on"){o.setSelection(e,"on");return}if(n!="after")throw new CKEditorError("insertobject-invalid-place-parameter-value",i);let s=e.nextSibling;if(i.schema.isInline(e)){o.setSelection(e,"after");return}!(s&&i.schema.checkChild(s,"$text"))&&i.schema.checkChild(e.parent,"paragraph")&&(s=o.createElement("paragraph"),i.schema.setAllowedAttributes(s,r,o),i.insertContent(s,o.createPositionAfter(e))),s&&o.setSelection(s,0)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const wordBoundaryCharacters=' ,.?!:;"-()';function modifySelection(o,e,n={}){const r=o.schema,i=n.direction!="backward",s=n.unit?n.unit:"character",a=!!n.treatEmojiAsSingleUnit,u=e.focus,l=new TreeWalker({boundaries:getSearchRange(u,i),singleCharacters:!0,direction:i?"forward":"backward"}),c={walker:l,schema:r,isForward:i,unit:s,treatEmojiAsSingleUnit:a};let d;for(;d=l.next();){if(d.done)return;const h=tryExtendingTo(c,d.value);if(h){e instanceof DocumentSelection?o.change(f=>{f.setSelectionFocus(h)}):e.setFocus(h);return}}}function tryExtendingTo(o,e){const{isForward:n,walker:r,unit:i,schema:s,treatEmojiAsSingleUnit:a}=o,{type:u,item:l,nextPosition:c}=e;if(u=="text")return o.unit==="word"?getCorrectWordBreakPosition(r,n):getCorrectPosition(r,i,a);if(u==(n?"elementStart":"elementEnd")){if(s.isSelectable(l))return Position._createAt(l,n?"after":"before");if(s.checkChild(c,"$text"))return c}else{if(s.isLimit(l)){r.skip(()=>!0);return}if(s.checkChild(c,"$text"))return c}}function getCorrectPosition(o,e,n){const r=o.position.textNode;if(r){const i=r.data;let s=o.position.offset-r.startOffset;for(;isInsideSurrogatePair(i,s)||e=="character"&&isInsideCombinedSymbol(i,s)||n&&isInsideEmojiSequence(i,s);)o.next(),s=o.position.offset-r.startOffset}return o.position}function getCorrectWordBreakPosition(o,e){let n=o.position.textNode;for(n||(n=e?o.position.nodeAfter:o.position.nodeBefore);n&&n.is("$text");){const r=o.position.offset-n.startOffset;if(isAtNodeBoundary(n,r,e))n=e?o.position.nodeAfter:o.position.nodeBefore;else{if(isAtWordBoundary(n.data,r,e))break;o.next()}}return o.position}function getSearchRange(o,e){const n=o.root,r=Position._createAt(n,e?"end":0);return e?new Range(o,r):new Range(r,o)}function isAtWordBoundary(o,e,n){const r=e+(n?0:-1);return wordBoundaryCharacters.includes(o.charAt(r))}function isAtNodeBoundary(o,e,n){return e===(n?o.offsetSize:0)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Model$1 extends ObservableMixin(){constructor(){super(),this.markers=new MarkerCollection,this.document=new Document(this),this.schema=new Schema,this._pendingChanges=[],this._currentWriter=null,["insertContent","insertObject","deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(e=>this.decorate(e)),this.on("applyOperation",(e,n)=>{n[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((e,n)=>{if(n.name==="$marker")return!0}),injectSelectionPostFixer(this),this.document.registerPostFixer(autoParagraphEmptyRoots)}change(e){try{return this._pendingChanges.length===0?(this._pendingChanges.push({batch:new Batch,callback:e}),this._runPendingChanges()[0]):e(this._currentWriter)}catch(n){CKEditorError.rethrowUnexpectedError(n,this)}}enqueueChange(e,n){try{e?typeof e=="function"?(n=e,e=new Batch):e instanceof Batch||(e=new Batch(e)):e=new Batch,this._pendingChanges.push({batch:e,callback:n}),this._pendingChanges.length==1&&this._runPendingChanges()}catch(r){CKEditorError.rethrowUnexpectedError(r,this)}}applyOperation(e){e._execute()}insertContent(e,n,r){return insertContent(this,e,n,r)}insertObject(e,n,r,i){return insertObject(this,e,n,r,i)}deleteContent(e,n){deleteContent(this,e,n)}modifySelection(e,n){modifySelection(this,e,n)}getSelectedContent(e){return getSelectedContent(this,e)}hasContent(e,n={}){const r=e instanceof Range?e:Range._createIn(e);if(r.isCollapsed)return!1;const{ignoreWhitespaces:i=!1,ignoreMarkers:s=!1}=n;if(!s){for(const a of this.markers.getMarkersIntersectingRange(r))if(a.affectsData)return!0}for(const a of r.getItems())if(this.schema.isContent(a))if(a.is("$textProxy"))if(i){if(a.data.search(/\S/)!==-1)return!0}else return!0;else return!0;return!1}createPositionFromPath(e,n,r){return new Position(e,n,r)}createPositionAt(e,n){return Position._createAt(e,n)}createPositionAfter(e){return Position._createAfter(e)}createPositionBefore(e){return Position._createBefore(e)}createRange(e,n){return new Range(e,n)}createRangeIn(e){return Range._createIn(e)}createRangeOn(e){return Range._createOn(e)}createSelection(...e){return new Selection(...e)}createBatch(e){return new Batch(e)}createOperationFromJSON(e){return OperationFactory.fromJSON(e,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const e=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const n=this._pendingChanges[0].batch;this._currentWriter=new Writer(this,n);const r=this._pendingChanges[0].callback(this._currentWriter);e.push(r),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return e}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ClickObserver extends DomEventObserver{constructor(e){super(e),this.domEventType="click"}onDomEvent(e){this.fire(e.type,e)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class MouseObserver extends DomEventObserver{constructor(e){super(e),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(e){this.fire(e.type,e)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UpcastWriter{constructor(e){this.document=e}createDocumentFragment(e){return new DocumentFragment$1(this.document,e)}createElement(e,n,r){return new Element$1(this.document,e,n,r)}createText(e){return new Text$2(this.document,e)}clone(e,n=!1){return e._clone(n)}appendChild(e,n){return n._appendChild(e)}insertChild(e,n,r){return r._insertChild(e,n)}removeChildren(e,n,r){return r._removeChildren(e,n)}remove(e){const n=e.parent;return n?this.removeChildren(n.getChildIndex(e),1,n):[]}replace(e,n){const r=e.parent;if(r){const i=r.getChildIndex(e);return this.removeChildren(i,1,r),this.insertChild(i,n,r),!0}return!1}unwrapElement(e){const n=e.parent;if(n){const r=n.getChildIndex(e);this.remove(e),this.insertChild(r,e.getChildren(),n)}}rename(e,n){const r=new Element$1(this.document,e,n.getAttributes(),n.getChildren());return this.replace(n,r)?r:null}setAttribute(e,n,r){r._setAttribute(e,n)}removeAttribute(e,n){n._removeAttribute(e)}addClass(e,n){n._addClass(e)}removeClass(e,n){n._removeClass(e)}setStyle(e,n,r){isPlainObject$1(e)&&r===void 0?n._setStyle(e):r._setStyle(e,n)}removeStyle(e,n){n._removeStyle(e)}setCustomProperty(e,n,r){r._setCustomProperty(e,n)}removeCustomProperty(e,n){return n._removeCustomProperty(e)}createPositionAt(e,n){return Position$1._createAt(e,n)}createPositionAfter(e){return Position$1._createAfter(e)}createPositionBefore(e){return Position$1._createBefore(e)}createRange(e,n){return new Range$1(e,n)}createRangeOn(e){return Range$1._createOn(e)}createRangeIn(e){return Range$1._createIn(e)}createSelection(...e){return new Selection$1(...e)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const HEX_COLOR_REGEXP=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,RGB_COLOR_REGEXP=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,RGBA_COLOR_REGEXP=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,HSL_COLOR_REGEXP=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,HSLA_COLOR_REGEXP=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,COLOR_NAMES=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","orange","aliceblue","antiquewhite","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext","rebeccapurple","currentcolor","transparent"]);function isColor(o){return o.startsWith("#")?HEX_COLOR_REGEXP.test(o):o.startsWith("rgb")?RGB_COLOR_REGEXP.test(o)||RGBA_COLOR_REGEXP.test(o):o.startsWith("hsl")?HSL_COLOR_REGEXP.test(o)||HSLA_COLOR_REGEXP.test(o):COLOR_NAMES.has(o.toLowerCase())}const lengthRegExp=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function isLength(o){return lengthRegExp.test(o)}const PERCENTAGE_VALUE_REGEXP=/^[+-]?[0-9]*([.][0-9]+)?%$/;function isPercentage(o){return PERCENTAGE_VALUE_REGEXP.test(o)}const repeatValues=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function isRepeat(o){return repeatValues.includes(o)}const positionValues=["center","top","bottom","left","right"];function isPosition(o){return positionValues.includes(o)}const attachmentValues=["fixed","scroll","local"];function isAttachment(o){return attachmentValues.includes(o)}const urlRegExp=/^url\(/;function isURL(o){return urlRegExp.test(o)}function getBoxSidesValues(o=""){if(o==="")return{top:void 0,right:void 0,bottom:void 0,left:void 0};const e=getShorthandValues(o),n=e[0],r=e[2]||n,i=e[1]||n,s=e[3]||i;return{top:n,bottom:r,right:i,left:s}}function getBoxSidesValueReducer(o){return e=>{const{top:n,right:r,bottom:i,left:s}=e,a=[];return[n,r,s,i].every(u=>!!u)?a.push([o,getBoxSidesShorthandValue(e)]):(n&&a.push([o+"-top",n]),r&&a.push([o+"-right",r]),i&&a.push([o+"-bottom",i]),s&&a.push([o+"-left",s])),a}}function getBoxSidesShorthandValue({top:o,right:e,bottom:n,left:r}){const i=[];return r!==e?i.push(o,e,n,r):n!==o?i.push(o,e,n):e!==o?i.push(o,e):i.push(o),i.join(" ")}function getPositionShorthandNormalizer(o){return e=>({path:o,value:getBoxSidesValues(e)})}function getShorthandValues(o){return o.replace(/, /g,",").split(" ").map(e=>e.replace(/,/g,", "))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function addBackgroundRules(o){o.setNormalizer("background",getBackgroundNormalizer()),o.setNormalizer("background-color",getBackgroundColorNormalizer()),o.setReducer("background",getBackgroundReducer()),o.setStyleRelation("background",["background-color"])}function getBackgroundNormalizer(){return o=>{const e={},n=getShorthandValues(o);for(const r of n)isRepeat(r)?(e.repeat=e.repeat||[],e.repeat.push(r)):isPosition(r)?(e.position=e.position||[],e.position.push(r)):isAttachment(r)?e.attachment=r:isColor(r)?e.color=r:isURL(r)&&(e.image=r);return{path:"background",value:e}}}function getBackgroundColorNormalizer(){return o=>({path:"background.color",value:o})}function getBackgroundReducer(){return o=>{const e=[];return e.push(["background-color",o.color]),e}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function addMarginRules(o){o.setNormalizer("margin",getPositionShorthandNormalizer("margin")),o.setNormalizer("margin-top",e=>({path:"margin.top",value:e})),o.setNormalizer("margin-right",e=>({path:"margin.right",value:e})),o.setNormalizer("margin-bottom",e=>({path:"margin.bottom",value:e})),o.setNormalizer("margin-left",e=>({path:"margin.left",value:e})),o.setReducer("margin",getBoxSidesValueReducer("margin")),o.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class CommandCollection{constructor(){this._commands=new Map}add(e,n){this._commands.set(e,n)}get(e){return this._commands.get(e)}execute(e,...n){const r=this.get(e);if(!r)throw new CKEditorError("commandcollection-command-not-found",this,{commandName:e});return r.execute(...n)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const e of this.commands())e.destroy()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditingKeystrokeHandler extends KeystrokeHandler{constructor(e){super(),this.editor=e}set(e,n,r={}){if(typeof n=="string"){const i=n;n=(s,a)=>{this.editor.execute(i),a()}}super.set(e,n,r)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Editor extends ObservableMixin(){constructor(e={}){super();const n=this.constructor,r=e.language||n.defaultConfig&&n.defaultConfig.language;this._context=e.context||new Context({language:r}),this._context._addEditor(this,!e.context);const i=Array.from(n.builtinPlugins||[]);this.config=new Config(e,n.defaultConfig),this.config.define("plugins",i),this.config.define(this._context._getEditorConfig()),this.plugins=new PluginCollection(this,i,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new CommandCollection,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new Model$1;const s=new StylesProcessor;this.data=new DataController(this.model,s),this.editing=new EditingController(this.model,s),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Conversion([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new EditingKeystrokeHandler(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new CKEditorError("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if(typeof e!="string"&&typeof e!="symbol")throw new CKEditorError("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)||(this._readOnlyLocks.add(e),this._readOnlyLocks.size===1&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(e){if(typeof e!="string"&&typeof e!="symbol")throw new CKEditorError("editor-read-only-lock-id-invalid",null,{lockId:e});!this._readOnlyLocks.has(e)||(this._readOnlyLocks.delete(e),this._readOnlyLocks.size===0&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const e=this.config,n=e.get("plugins"),r=e.get("removePlugins")||[],i=e.get("extraPlugins")||[],s=e.get("substitutePlugins")||[];return this.plugins.init(n.concat(i),r,s)}destroy(){let e=Promise.resolve();return this.state=="initializing"&&(e=new Promise(n=>this.once("ready",n))),e.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(e,...n){try{return this.commands.execute(e,...n)}catch(r){CKEditorError.rethrowUnexpectedError(r,this)}}focus(){this.editing.view.focus()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ComponentFactory{constructor(e){this.editor=e,this._components=new Map}*names(){for(const e of this._components.values())yield e.originalName}add(e,n){this._components.set(getNormalized(e),{callback:n,originalName:e})}create(e){if(!this.has(e))throw new CKEditorError("componentfactory-item-missing",this,{name:e});return this._components.get(getNormalized(e)).callback(this.editor.locale)}has(e){return this._components.has(getNormalized(e))}}function getNormalized(o){return String(o).toLowerCase()}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ViewCollection extends Collection{constructor(e=[]){super(e,{idProperty:"viewUid"}),this.on("add",(n,r,i)=>{this._renderViewIntoCollectionParent(r,i)}),this.on("remove",(n,r)=>{r.element&&this._parentElement&&r.element.remove()}),this._parentElement=null}destroy(){this.map(e=>e.destroy())}setParent(e){this._parentElement=e;for(const n of this)this._renderViewIntoCollectionParent(n)}delegate(...e){if(!e.length||!isStringArray(e))throw new CKEditorError("ui-viewcollection-delegate-wrong-events",this);return{to:n=>{for(const r of this)for(const i of e)r.delegate(i).to(n);this.on("add",(r,i)=>{for(const s of e)i.delegate(s).to(n)}),this.on("remove",(r,i)=>{for(const s of e)i.stopDelegating(s,n)})}}}_renderViewIntoCollectionParent(e,n){e.isRendered||e.render(),e.element&&this._parentElement&&this._parentElement.insertBefore(e.element,this._parentElement.children[n])}}function isStringArray(o){return o.every(e=>typeof e=="string")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const xhtmlNs="http://www.w3.org/1999/xhtml";class Template extends EmitterMixin(){constructor(e){super(),Object.assign(this,normalize(clone(e))),this._isRendered=!1,this._revertData=null}render(){const e=this._renderNode({intoFragment:!0});return this._isRendered=!0,e}apply(e){return this._revertData=getEmptyRevertData(),this._renderNode({node:e,intoFragment:!1,isApplying:!0,revertData:this._revertData}),e}revert(e){if(!this._revertData)throw new CKEditorError("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){function*e(n){if(n.children)for(const r of n.children)isView(r)?yield r:isTemplate(r)&&(yield*e(r))}yield*e(this)}static bind(e,n){return{to(r,i){return new TemplateToBinding({eventNameOrFunction:r,attribute:r,observable:e,emitter:n,callback:i})},if(r,i,s){return new TemplateIfBinding({observable:e,emitter:n,attribute:r,valueIfTrue:i,callback:s})}}}static extend(e,n){if(e._isRendered)throw new CKEditorError("template-extend-render",[this,e]);extendTemplate(e,normalize(clone(n)))}_renderNode(e){let n;if(e.node?n=this.tag&&this.text:n=this.tag?this.text:!this.text,n)throw new CKEditorError("ui-template-wrong-syntax",this);return this.text?this._renderText(e):this._renderElement(e)}_renderElement(e){let n=e.node;return n||(n=e.node=document.createElementNS(this.ns||xhtmlNs,this.tag)),this._renderAttributes(e),this._renderElementChildren(e),this._setUpListeners(e),n}_renderText(e){let n=e.node;return n?e.revertData.text=n.textContent:n=e.node=document.createTextNode(""),hasTemplateBinding(this.text)?this._bindToObservable({schema:this.text,updater:getTextUpdater(n),data:e}):n.textContent=this.text.join(""),n}_renderAttributes(e){if(!this.attributes)return;const n=e.node,r=e.revertData;for(const i in this.attributes){const s=n.getAttribute(i),a=this.attributes[i];r&&(r.attributes[i]=s);const u=isNamespaced(a)?a[0].ns:null;if(hasTemplateBinding(a)){const l=isNamespaced(a)?a[0].value:a;r&&shouldExtend(i)&&l.unshift(s),this._bindToObservable({schema:l,updater:getAttributeUpdater(n,i,u),data:e})}else if(i=="style"&&typeof a[0]!="string")this._renderStyleAttribute(a[0],e);else{r&&s&&shouldExtend(i)&&a.unshift(s);const l=a.map(c=>c&&(c.value||c)).reduce((c,d)=>c.concat(d),[]).reduce(arrayValueReducer,"");isFalsy(l)||n.setAttributeNS(u,i,l)}}}_renderStyleAttribute(e,n){const r=n.node;for(const i in e){const s=e[i];hasTemplateBinding(s)?this._bindToObservable({schema:[s],updater:getStyleUpdater(r,i),data:n}):r.style[i]=s}}_renderElementChildren(e){const n=e.node,r=e.intoFragment?document.createDocumentFragment():n,i=e.isApplying;let s=0;for(const a of this.children)if(isViewCollection(a)){if(!i){a.setParent(n);for(const u of a)r.appendChild(u.element)}}else if(isView(a))i||(a.isRendered||a.render(),r.appendChild(a.element));else if(isNode(a))r.appendChild(a);else if(i){const u=e.revertData,l=getEmptyRevertData();u.children.push(l),a._renderNode({intoFragment:!1,node:r.childNodes[s++],isApplying:!0,revertData:l})}else r.appendChild(a.render());e.intoFragment&&n.appendChild(r)}_setUpListeners(e){if(!!this.eventListeners)for(const n in this.eventListeners){const r=this.eventListeners[n].map(i=>{const[s,a]=n.split("@");return i.activateDomEventListener(s,a,e)});e.revertData&&e.revertData.bindings.push(r)}}_bindToObservable({schema:e,updater:n,data:r}){const i=r.revertData;syncValueSchemaValue(e,n,r);const s=e.filter(a=>!isFalsy(a)).filter(a=>a.observable).map(a=>a.activateAttributeListener(e,n,r));i&&i.bindings.push(s)}_revertTemplateFromNode(e,n){for(const i of n.bindings)for(const s of i)s();if(n.text){e.textContent=n.text;return}const r=e;for(const i in n.attributes){const s=n.attributes[i];s===null?r.removeAttribute(i):r.setAttribute(i,s)}for(let i=0;isyncValueSchemaValue(e,n,r);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,i),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,i)}}}class TemplateToBinding extends TemplateBinding{constructor(e){super(e),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,n,r){const i=(s,a)=>{(!n||a.target.matches(n))&&(typeof this.eventNameOrFunction=="function"?this.eventNameOrFunction(a):this.observable.fire(this.eventNameOrFunction,a))};return this.emitter.listenTo(r.node,e,i),()=>{this.emitter.stopListening(r.node,e,i)}}}class TemplateIfBinding extends TemplateBinding{constructor(e){super(e),this.valueIfTrue=e.valueIfTrue}getValue(e){const n=super.getValue(e);return isFalsy(n)?!1:this.valueIfTrue||!0}}function hasTemplateBinding(o){return o?(o.value&&(o=o.value),Array.isArray(o)?o.some(hasTemplateBinding):o instanceof TemplateBinding):!1}function getValueSchemaValue(o,e){return o.map(n=>n instanceof TemplateBinding?n.getValue(e):n)}function syncValueSchemaValue(o,e,{node:n}){const r=getValueSchemaValue(o,n);let i;o.length==1&&o[0]instanceof TemplateIfBinding?i=r[0]:i=r.reduce(arrayValueReducer,""),isFalsy(i)?e.remove():e.set(i)}function getTextUpdater(o){return{set(e){o.textContent=e},remove(){o.textContent=""}}}function getAttributeUpdater(o,e,n){return{set(r){o.setAttributeNS(n,e,r)},remove(){o.removeAttributeNS(n,e)}}}function getStyleUpdater(o,e){return{set(n){o.style[e]=n},remove(){o.style[e]=null}}}function clone(o){return cloneDeepWith(o,n=>{if(n&&(n instanceof TemplateBinding||isTemplate(n)||isView(n)||isViewCollection(n)))return n})}function normalize(o){if(typeof o=="string"?o=normalizePlainTextDefinition(o):o.text&&normalizeTextDefinition(o),o.on&&(o.eventListeners=normalizeListeners(o.on),delete o.on),!o.text){o.attributes&&normalizeAttributes(o.attributes);const e=[];if(o.children)if(isViewCollection(o.children))e.push(o.children);else for(const n of o.children)isTemplate(n)||isView(n)||isNode(n)?e.push(n):e.push(new Template(n));o.children=e}return o}function normalizeAttributes(o){for(const e in o)o[e].value&&(o[e].value=toArray(o[e].value)),arrayify(o,e)}function normalizeListeners(o){for(const e in o)arrayify(o,e);return o}function normalizePlainTextDefinition(o){return{text:[o]}}function normalizeTextDefinition(o){o.text=toArray(o.text)}function arrayify(o,e){o[e]=toArray(o[e])}function arrayValueReducer(o,e){return isFalsy(e)?o:isFalsy(o)?e:`${o} ${e}`}function extendObjectValueArray(o,e){for(const n in e)o[n]?o[n].push(...e[n]):o[n]=e[n]}function extendTemplate(o,e){if(e.attributes&&(o.attributes||(o.attributes={}),extendObjectValueArray(o.attributes,e.attributes)),e.eventListeners&&(o.eventListeners||(o.eventListeners={}),extendObjectValueArray(o.eventListeners,e.eventListeners)),e.text&&o.text.push(...e.text),e.children&&e.children.length){if(o.children.length!=e.children.length)throw new CKEditorError("ui-template-extend-children-mismatch",o);let n=0;for(const r of e.children)extendTemplate(o.children[n++],r)}}function isFalsy(o){return!o&&o!==0}function isView(o){return o instanceof View}function isTemplate(o){return o instanceof Template}function isViewCollection(o){return o instanceof ViewCollection}function isNamespaced(o){return isObject$2(o[0])&&o[0].ns}function getEmptyRevertData(){return{children:[],bindings:[],attributes:{}}}function shouldExtend(o){return o=="class"||o=="style"}const globals="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class View extends DomEmitterMixin(ObservableMixin()){constructor(e){super(),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new Collection,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(n,r)=>{r.locale=e,r.t=e&&e.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Template.bind(this,this)}createCollection(e){const n=new ViewCollection(e);return this._viewCollections.add(n),n}registerChild(e){isIterable(e)||(e=[e]);for(const n of e)this._unboundChildren.add(n)}deregisterChild(e){isIterable(e)||(e=[e]);for(const n of e)this._unboundChildren.remove(n)}setTemplate(e){this.template=new Template(e)}extendTemplate(e){Template.extend(this.template,e)}render(){if(this.isRendered)throw new CKEditorError("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(e=>e.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}const balloonpanel="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const toPx$1=toUnit("px"),defaultLimiterElement=global$2.document.body;class BalloonPanelView extends View{constructor(e){super(e);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",n.to("position",r=>`ck-balloon-panel_${r}`),n.if("isVisible","ck-balloon-panel_visible"),n.if("withArrow","ck-balloon-panel_with-arrow"),n.to("class")],style:{top:n.to("top",toPx$1),left:n.to("left",toPx$1)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){this.show();const n=BalloonPanelView.defaultPositions,r=Object.assign({},{element:this.element,positions:[n.southArrowNorth,n.southArrowNorthMiddleWest,n.southArrowNorthMiddleEast,n.southArrowNorthWest,n.southArrowNorthEast,n.northArrowSouth,n.northArrowSouthMiddleWest,n.northArrowSouthMiddleEast,n.northArrowSouthWest,n.northArrowSouthEast,n.viewportStickyNorth],limiter:defaultLimiterElement,fitInViewport:!0},e),i=BalloonPanelView._getOptimalPosition(r),s=parseInt(i.left),a=parseInt(i.top),u=i.name,l=i.config||{},{withArrow:c=!0}=l;this.top=a,this.left=s,this.position=u,this.withArrow=c}pin(e){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this._startPinning(e),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(e){this.attachTo(e);const n=getDomElement(e.target),r=e.limiter?getDomElement(e.limiter):defaultLimiterElement;this.listenTo(global$2.document,"scroll",(i,s)=>{const a=s.target,u=n&&a.contains(n),l=r&&a.contains(r);(u||l||!n||!r)&&this.attachTo(e)},{useCapture:!0}),this.listenTo(global$2.window,"resize",()=>{this.attachTo(e)})}_stopPinning(){this.stopListening(global$2.document,"scroll"),this.stopListening(global$2.window,"resize")}}BalloonPanelView.arrowSideOffset=25,BalloonPanelView.arrowHeightOffset=10,BalloonPanelView.stickyVerticalOffset=20,BalloonPanelView._getOptimalPosition=getOptimalPosition,BalloonPanelView.defaultPositions=generatePositions();function getDomElement(o){return isElement$1(o)?o:isRange(o)?o.commonAncestorContainer:typeof o=="function"?getDomElement(o()):null}function generatePositions(o={}){const{sideOffset:e=BalloonPanelView.arrowSideOffset,heightOffset:n=BalloonPanelView.arrowHeightOffset,stickyVerticalOffset:r=BalloonPanelView.stickyVerticalOffset,config:i}=o;return{northWestArrowSouthWest:(u,l)=>({top:s(u,l),left:u.left-e,name:"arrow_sw",...i&&{config:i}}),northWestArrowSouthMiddleWest:(u,l)=>({top:s(u,l),left:u.left-l.width*.25-e,name:"arrow_smw",...i&&{config:i}}),northWestArrowSouth:(u,l)=>({top:s(u,l),left:u.left-l.width/2,name:"arrow_s",...i&&{config:i}}),northWestArrowSouthMiddleEast:(u,l)=>({top:s(u,l),left:u.left-l.width*.75+e,name:"arrow_sme",...i&&{config:i}}),northWestArrowSouthEast:(u,l)=>({top:s(u,l),left:u.left-l.width+e,name:"arrow_se",...i&&{config:i}}),northArrowSouthWest:(u,l)=>({top:s(u,l),left:u.left+u.width/2-e,name:"arrow_sw",...i&&{config:i}}),northArrowSouthMiddleWest:(u,l)=>({top:s(u,l),left:u.left+u.width/2-l.width*.25-e,name:"arrow_smw",...i&&{config:i}}),northArrowSouth:(u,l)=>({top:s(u,l),left:u.left+u.width/2-l.width/2,name:"arrow_s",...i&&{config:i}}),northArrowSouthMiddleEast:(u,l)=>({top:s(u,l),left:u.left+u.width/2-l.width*.75+e,name:"arrow_sme",...i&&{config:i}}),northArrowSouthEast:(u,l)=>({top:s(u,l),left:u.left+u.width/2-l.width+e,name:"arrow_se",...i&&{config:i}}),northEastArrowSouthWest:(u,l)=>({top:s(u,l),left:u.right-e,name:"arrow_sw",...i&&{config:i}}),northEastArrowSouthMiddleWest:(u,l)=>({top:s(u,l),left:u.right-l.width*.25-e,name:"arrow_smw",...i&&{config:i}}),northEastArrowSouth:(u,l)=>({top:s(u,l),left:u.right-l.width/2,name:"arrow_s",...i&&{config:i}}),northEastArrowSouthMiddleEast:(u,l)=>({top:s(u,l),left:u.right-l.width*.75+e,name:"arrow_sme",...i&&{config:i}}),northEastArrowSouthEast:(u,l)=>({top:s(u,l),left:u.right-l.width+e,name:"arrow_se",...i&&{config:i}}),southWestArrowNorthWest:u=>({top:a(u),left:u.left-e,name:"arrow_nw",...i&&{config:i}}),southWestArrowNorthMiddleWest:(u,l)=>({top:a(u),left:u.left-l.width*.25-e,name:"arrow_nmw",...i&&{config:i}}),southWestArrowNorth:(u,l)=>({top:a(u),left:u.left-l.width/2,name:"arrow_n",...i&&{config:i}}),southWestArrowNorthMiddleEast:(u,l)=>({top:a(u),left:u.left-l.width*.75+e,name:"arrow_nme",...i&&{config:i}}),southWestArrowNorthEast:(u,l)=>({top:a(u),left:u.left-l.width+e,name:"arrow_ne",...i&&{config:i}}),southArrowNorthWest:u=>({top:a(u),left:u.left+u.width/2-e,name:"arrow_nw",...i&&{config:i}}),southArrowNorthMiddleWest:(u,l)=>({top:a(u),left:u.left+u.width/2-l.width*.25-e,name:"arrow_nmw",...i&&{config:i}}),southArrowNorth:(u,l)=>({top:a(u),left:u.left+u.width/2-l.width/2,name:"arrow_n",...i&&{config:i}}),southArrowNorthMiddleEast:(u,l)=>({top:a(u),left:u.left+u.width/2-l.width*.75+e,name:"arrow_nme",...i&&{config:i}}),southArrowNorthEast:(u,l)=>({top:a(u),left:u.left+u.width/2-l.width+e,name:"arrow_ne",...i&&{config:i}}),southEastArrowNorthWest:u=>({top:a(u),left:u.right-e,name:"arrow_nw",...i&&{config:i}}),southEastArrowNorthMiddleWest:(u,l)=>({top:a(u),left:u.right-l.width*.25-e,name:"arrow_nmw",...i&&{config:i}}),southEastArrowNorth:(u,l)=>({top:a(u),left:u.right-l.width/2,name:"arrow_n",...i&&{config:i}}),southEastArrowNorthMiddleEast:(u,l)=>({top:a(u),left:u.right-l.width*.75+e,name:"arrow_nme",...i&&{config:i}}),southEastArrowNorthEast:(u,l)=>({top:a(u),left:u.right-l.width+e,name:"arrow_ne",...i&&{config:i}}),westArrowEast:(u,l)=>({top:u.top+u.height/2-l.height/2,left:u.left-l.width-n,name:"arrow_e",...i&&{config:i}}),eastArrowWest:(u,l)=>({top:u.top+u.height/2-l.height/2,left:u.right+n,name:"arrow_w",...i&&{config:i}}),viewportStickyNorth:(u,l,c)=>u.getIntersection(c)?{top:c.top+r,left:u.left+u.width/2-l.width/2,name:"arrowless",config:{withArrow:!1,...i}}:null};function s(u,l){return u.top-l.height-n}function a(u){return u.bottom+n}}const tooltip="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const BALLOON_CLASS="ck-tooltip";class TooltipManager extends DomEmitterMixin(){constructor(e){if(super(),TooltipManager._editors.add(e),TooltipManager._instance)return TooltipManager._instance;TooltipManager._instance=this,this.tooltipTextView=new View(e.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new BalloonPanelView(e.locale),this.balloonPanelView.class=BALLOON_CLASS,this.balloonPanelView.content.add(this.tooltipTextView),this._resizeObserver=null,this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._pinTooltipDebounced=debounce(this._pinTooltip,600),this.listenTo(global$2.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(global$2.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(global$2.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(global$2.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(global$2.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(e){const n=e.ui.view&&e.ui.view.body;TooltipManager._editors.delete(e),this.stopListening(e.ui),n&&n.has(this.balloonPanelView)&&n.remove(this.balloonPanelView),TooltipManager._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),TooltipManager._instance=null)}static getPositioningFunctions(e){const n=TooltipManager.defaultBalloonPositions;return{s:[n.southArrowNorth,n.southArrowNorthEast,n.southArrowNorthWest],n:[n.northArrowSouth],e:[n.eastArrowWest],w:[n.westArrowEast],sw:[n.southArrowNorthEast],se:[n.southArrowNorthWest]}[e]}_onEnterOrFocus(e,{target:n}){const r=getDescendantWithTooltip(n);!r||r!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(r,getTooltipData(r)))}_onLeaveOrBlur(e,{target:n,relatedTarget:r}){if(e.name==="mouseleave"){if(!isElement$1(n)||this._currentElementWithTooltip&&n!==this._currentElementWithTooltip)return;const i=getDescendantWithTooltip(n),s=getDescendantWithTooltip(r);i&&i!==s&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&n!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(e,{target:n}){!this._currentElementWithTooltip||n.contains(this.balloonPanelView.element)&&n.contains(this._currentElementWithTooltip)||this._unpinTooltip()}_pinTooltip(e,{text:n,position:r,cssClass:i}){const s=first(TooltipManager._editors.values()).ui.view.body;s.has(this.balloonPanelView)||s.add(this.balloonPanelView),this.tooltipTextView.text=n,this.balloonPanelView.pin({target:e,positions:TooltipManager.getPositioningFunctions(r)}),this._resizeObserver=new ResizeObserver(e,()=>{isVisible(e)||this._unpinTooltip()}),this.balloonPanelView.class=[BALLOON_CLASS,i].filter(a=>a).join(" ");for(const a of TooltipManager._editors)this.listenTo(a.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=r}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of TooltipManager._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){if(!isVisible(this._currentElementWithTooltip)){this._unpinTooltip();return}this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:TooltipManager.getPositioningFunctions(this._currentTooltipPosition)})}}TooltipManager.defaultBalloonPositions=generatePositions({heightOffset:5,sideOffset:13}),TooltipManager._editors=new Set,TooltipManager._instance=null;function getDescendantWithTooltip(o){return isElement$1(o)?o.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function getTooltipData(o){return{text:o.dataset.ckeTooltipText,position:o.dataset.ckeTooltipPosition||"s",cssClass:o.dataset.ckeTooltipClass||""}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditorUI extends ObservableMixin(){constructor(e){super(),this.editor=e,this.componentFactory=new ComponentFactory(e),this.focusTracker=new FocusTracker,this.tooltipManager=new TooltipManager(e),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.isReady=!1,this.once("ready",()=>{this.isReady=!0}),this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[],this.listenTo(e.editing.view.document,"layoutChanged",()=>this.update()),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor);for(const e of this._editableElementsMap.values())e.ckeditorInstance=null;this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(e,n){this._editableElementsMap.set(e,n),n.ckeditorInstance||(n.ckeditorInstance=this.editor),this.focusTracker.add(n);const r=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(n)};this.isReady?r():this.once("ready",r)}getEditableElement(e="main"){return this._editableElementsMap.get(e)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(e,n={}){e.isRendered?(this.focusTracker.add(e.element),this.editor.keystrokes.listenTo(e.element)):e.once("render",()=>{this.focusTracker.add(e.element),this.editor.keystrokes.listenTo(e.element)}),this._focusableToolbarDefinitions.push({toolbarView:e,options:n})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const e=this.editor,n=e.config.get("ui.viewportOffset");if(n)return n;const r=e.config.get("toolbar.viewportTopOffset");return r?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:r}):{top:0}}_initFocusTracking(){const e=this.editor,n=e.editing.view;let r,i;e.keystrokes.set("Alt+F10",(s,a)=>{const u=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(u)&&!Array.from(n.domRoots.values()).includes(u)&&(r=u);const l=this._getCurrentFocusedToolbarDefinition();(!l||!i)&&(i=this._getFocusableCandidateToolbarDefinitions());for(let c=0;c{const u=this._getCurrentFocusedToolbarDefinition();!u||(r?(r.focus(),r=null):e.editing.view.focus(),u.options.afterBlur&&u.options.afterBlur(),a())})}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const n of this._focusableToolbarDefinitions){const{toolbarView:r,options:i}=n;(isVisible(r.element)||i.beforeFocus)&&e.push(n)}return e.sort((n,r)=>getToolbarDefinitionWeight(n)-getToolbarDefinitionWeight(r)),e}_getCurrentFocusedToolbarDefinition(){for(const e of this._focusableToolbarDefinitions)if(e.toolbarView.element&&e.toolbarView.element.contains(this.focusTracker.focusedElement))return e;return null}_focusFocusableCandidateToolbar(e){const{toolbarView:n,options:{beforeFocus:r}}=e;return r&&r(),isVisible(n.element)?(n.focus(),!0):!1}}function getToolbarDefinitionWeight(o){const{toolbarView:e,options:n}=o;let r=10;return isVisible(e.element)&&r--,n.isContextual&&r--,r}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function DataApiMixin(o){class e extends o{setData(r){this.data.set(r)}getData(r){return this.data.get(r)}}return e}{const o=DataApiMixin(Object);DataApiMixin.setData=o.prototype.setData,DataApiMixin.getData=o.prototype.getData}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function ElementApiMixin(o){class e extends o{updateSourceElement(r=this.data.get()){if(!this.sourceElement)throw new CKEditorError("editor-missing-sourceelement",this);const i=this.config.get("updateSourceElementOnDestroy"),s=this.sourceElement instanceof HTMLTextAreaElement;if(!i&&!s){setDataInElement(this.sourceElement,"");return}setDataInElement(this.sourceElement,r)}}return e}ElementApiMixin.updateSourceElement=ElementApiMixin(Object).prototype.updateSourceElement;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function secureSourceElement(o){const e=o.sourceElement;if(!!e){if(e.ckeditorInstance)throw new CKEditorError("editor-source-element-already-used",o);e.ckeditorInstance=o,o.once("destroy",()=>{delete e.ckeditorInstance})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class PendingActions extends ContextPlugin{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Collection({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if(typeof e!="string")throw new CKEditorError("pendingactions-add-invalid-message",this);const n=new(ObservableMixin());return n.set("message",e),this._actions.add(n),this.hasAny=!0,n}remove(e){this._actions.remove(e),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const _hoisted_1$15={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$14=vue.createElementVNode("path",{d:"m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"},null,-1),_hoisted_3$12=[_hoisted_2$14];function render$14(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$15,_hoisted_3$12)}const cancel={render:render$14},_hoisted_1$14={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$13=vue.createElementVNode("path",{d:"M2 16h9a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2z"},null,-1),_hoisted_3$11=vue.createElementVNode("path",{"fill-opacity":".6",d:"M17 1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14zm0 1.5H3a.5.5 0 0 0-.492.41L2.5 3v9a.5.5 0 0 0 .41.492L3 12.5h14a.5.5 0 0 0 .492-.41L17.5 12V3a.5.5 0 0 0-.41-.492L17 2.5z"},null,-1),_hoisted_4$t=[_hoisted_2$13,_hoisted_3$11];function render$13(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$14,_hoisted_4$t)}const caption={render:render$13},_hoisted_1$13={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$12=vue.createElementVNode("path",{d:"M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"},null,-1),_hoisted_3$10=[_hoisted_2$12];function render$12(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$13,_hoisted_3$10)}const check={render:render$12},_hoisted_1$12={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$11=vue.createElementVNode("path",{d:"m11.333 2 .19 2.263a5.899 5.899 0 0 1 1.458.604L14.714 3.4 16.6 5.286l-1.467 1.733c.263.452.468.942.605 1.46L18 8.666v2.666l-2.263.19a5.899 5.899 0 0 1-.604 1.458l1.467 1.733-1.886 1.886-1.733-1.467a5.899 5.899 0 0 1-1.46.605L11.334 18H8.667l-.19-2.263a5.899 5.899 0 0 1-1.458-.604L5.286 16.6 3.4 14.714l1.467-1.733a5.899 5.899 0 0 1-.604-1.458L2 11.333V8.667l2.262-.189a5.899 5.899 0 0 1 .605-1.459L3.4 5.286 5.286 3.4l1.733 1.467a5.899 5.899 0 0 1 1.46-.605L8.666 2h2.666zM10 6.267a3.733 3.733 0 1 0 0 7.466 3.733 3.733 0 0 0 0-7.466z"},null,-1),_hoisted_3$$=[_hoisted_2$11];function render$11(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$12,_hoisted_3$$)}const cog={render:render$11},_hoisted_1$11={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$10=vue.createElementVNode("path",{d:"m8.636 9.531-2.758 3.94a.5.5 0 0 0 .122.696l3.224 2.284h1.314l2.636-3.736L8.636 9.53zm.288 8.451L5.14 15.396a2 2 0 0 1-.491-2.786l6.673-9.53a2 2 0 0 1 2.785-.49l3.742 2.62a2 2 0 0 1 .491 2.785l-7.269 10.053-2.147-.066z"},null,-1),_hoisted_3$_=vue.createElementVNode("path",{d:"M4 18h5.523v-1H4zm-2 0h1v-1H2z"},null,-1),_hoisted_4$s=[_hoisted_2$10,_hoisted_3$_];function render$10(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$11,_hoisted_4$s)}const eraser={render:render$10},_hoisted_1$10={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$$=vue.createElementVNode("path",{d:"M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"},null,-1),_hoisted_3$Z=[_hoisted_2$$];function render$$(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$10,_hoisted_3$Z)}const lowVision={render:render$$},_hoisted_1$$={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$_=vue.createElementVNode("path",{d:"M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"},null,-1),_hoisted_3$Y=[_hoisted_2$_];function render$_(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$$,_hoisted_3$Y)}const image$1={render:render$_},_hoisted_1$_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$Z=vue.createElementVNode("path",{d:"m9.239 13.938-2.88-1.663a.75.75 0 0 1 .75-1.3L9 12.067V4.75a.75.75 0 1 1 1.5 0v7.318l1.89-1.093a.75.75 0 0 1 .75 1.3l-2.879 1.663a.752.752 0 0 1-.511.187.752.752 0 0 1-.511-.187zM4.25 17a.75.75 0 1 1 0-1.5h10.5a.75.75 0 0 1 0 1.5H4.25z"},null,-1),_hoisted_3$X=[_hoisted_2$Z];function render$Z(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$_,_hoisted_3$X)}const alignBottom={render:render$Z},_hoisted_1$Z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$Y=vue.createElementVNode("path",{d:"M9.75 11.875a.752.752 0 0 1 .508.184l2.883 1.666a.75.75 0 0 1-.659 1.344l-.091-.044-1.892-1.093.001 4.318a.75.75 0 1 1-1.5 0v-4.317l-1.89 1.092a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .51-.187zM15.25 9a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM9.75.375a.75.75 0 0 1 .75.75v4.318l1.89-1.093.092-.045a.75.75 0 0 1 .659 1.344l-2.883 1.667a.752.752 0 0 1-.508.184.752.752 0 0 1-.511-.187L6.359 5.65a.75.75 0 0 1 .75-1.299L9 5.442V1.125a.75.75 0 0 1 .75-.75z"},null,-1),_hoisted_3$W=[_hoisted_2$Y];function render$Y(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$Z,_hoisted_3$W)}const alignMiddle={render:render$Y},_hoisted_1$Y={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$X=vue.createElementVNode("path",{d:"m10.261 7.062 2.88 1.663a.75.75 0 0 1-.75 1.3L10.5 8.933v7.317a.75.75 0 1 1-1.5 0V8.932l-1.89 1.093a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .511-.187.752.752 0 0 1 .511.187zM15.25 4a.75.75 0 1 1 0 1.5H4.75a.75.75 0 0 1 0-1.5h10.5z"},null,-1),_hoisted_3$V=[_hoisted_2$X];function render$X(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$Y,_hoisted_3$V)}const alignTop={render:render$X},_hoisted_1$X={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$W=vue.createElementVNode("path",{d:"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"},null,-1),_hoisted_3$U=[_hoisted_2$W];function render$W(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$X,_hoisted_3$U)}const alignLeft={render:render$W},_hoisted_1$W={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$V=vue.createElementVNode("path",{d:"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z"},null,-1),_hoisted_3$T=[_hoisted_2$V];function render$V(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$W,_hoisted_3$T)}const alignCenter={render:render$V},_hoisted_1$V={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$U=vue.createElementVNode("path",{d:"M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z"},null,-1),_hoisted_3$S=[_hoisted_2$U];function render$U(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$V,_hoisted_3$S)}const alignRight={render:render$U},_hoisted_1$U={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$T=vue.createElementVNode("path",{d:"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"},null,-1),_hoisted_3$R=[_hoisted_2$T];function render$T(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$U,_hoisted_3$R)}const alignJustify={render:render$T},_hoisted_1$T={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$S=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm0 12h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$Q=vue.createElementVNode("path",{d:"M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"},null,-1),_hoisted_4$r=[_hoisted_2$S,_hoisted_3$Q];function render$S(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$T,_hoisted_4$r)}const objectBlockLeft$1={render:render$S},_hoisted_1$S={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$R=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm0 12h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$P=vue.createElementVNode("path",{d:"M15.003 7v5.5a1 1 0 0 1-1 1H5.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H6.5V12h6.997V7.5z"},null,-1),_hoisted_4$q=[_hoisted_2$R,_hoisted_3$P];function render$R(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$S,_hoisted_4$q)}const objectCenter$1={render:render$R},_hoisted_1$R={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$Q=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm0 12h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$O=vue.createElementVNode("path",{d:"M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"},null,-1),_hoisted_4$p=[_hoisted_2$Q,_hoisted_3$O];function render$Q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$R,_hoisted_4$p)}const objectBlockRight$1={render:render$Q},_hoisted_1$Q={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$P=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm0 12h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$N=vue.createElementVNode("path",{d:"M18 7v5.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm-1.505.5H3.504V12h12.991V7.5z"},null,-1),_hoisted_4$o=[_hoisted_2$P,_hoisted_3$N];function render$P(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$Q,_hoisted_4$o)}const objectFullWidth$1={render:render$P},_hoisted_1$P={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$O=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zM2 15h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$M=vue.createElementVNode("path",{d:"M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"},null,-1),_hoisted_4$n=[_hoisted_2$O,_hoisted_3$M];function render$O(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$P,_hoisted_4$n)}const objectInline$1={render:render$O},_hoisted_1$O={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$N=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zm0-3H18v1.5h-4.5zm0-3H18v1.5h-4.5zM2 15h16v1.5H2z",opacity:".5"},null,-1),_hoisted_3$L=vue.createElementVNode("path",{d:"M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"},null,-1),_hoisted_4$m=[_hoisted_2$N,_hoisted_3$L];function render$N(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$O,_hoisted_4$m)}const objectLeft$1={render:render$N},_hoisted_1$N={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$M=vue.createElementVNode("path",{d:"M2 3h16v1.5H2zm0 12h16v1.5H2zm0-9h5v1.5H2zm0 3h5v1.5H2zm0 3h5v1.5H2z",opacity:".5"},null,-1),_hoisted_3$K=vue.createElementVNode("path",{d:"M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"},null,-1),_hoisted_4$l=[_hoisted_2$M,_hoisted_3$K];function render$M(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$N,_hoisted_4$l)}const objectRight$1={render:render$M},_hoisted_1$M={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$L=vue.createElementVNode("path",{d:"M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"},null,-1),_hoisted_3$J=vue.createElementVNode("path",{d:"M18.095 2H1.905C.853 2 0 2.895 0 4v12c0 1.105.853 2 1.905 2h16.19C19.147 18 20 17.105 20 16V4c0-1.105-.853-2-1.905-2zm0 1.5c.263 0 .476.224.476.5v12c0 .276-.213.5-.476.5H1.905a.489.489 0 0 1-.476-.5V4c0-.276.213-.5.476-.5h16.19z"},null,-1),_hoisted_4$k=[_hoisted_2$L,_hoisted_3$J];function render$L(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$M,_hoisted_4$k)}const objectSizeFull={render:render$L},_hoisted_1$L={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$K=vue.createElementVNode("path",{d:"M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"},null,-1),_hoisted_3$I=vue.createElementVNode("path",{d:"M13 6H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2zm0 1.5a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5h11z"},null,-1),_hoisted_4$j=[_hoisted_2$K,_hoisted_3$I];function render$K(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$L,_hoisted_4$j)}const objectSizeLarge={render:render$K},_hoisted_1$K={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$J=vue.createElementVNode("path",{d:"M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"},null,-1),_hoisted_3$H=vue.createElementVNode("path",{d:"M7 10H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2zm0 1.5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h5z"},null,-1),_hoisted_4$i=[_hoisted_2$J,_hoisted_3$H];function render$J(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$K,_hoisted_4$i)}const objectSizeSmall={render:render$J},_hoisted_1$J={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$I=vue.createElementVNode("path",{d:"M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"},null,-1),_hoisted_3$G=vue.createElementVNode("path",{d:"M10 8H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm0 1.5a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h8z"},null,-1),_hoisted_4$h=[_hoisted_2$I,_hoisted_3$G];function render$I(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$J,_hoisted_4$h)}const objectSizeMedium={render:render$I},_hoisted_1$I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$H=vue.createElementVNode("path",{d:"m7.3 17.37-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506 13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5 9.375 17H19v1.5H8z"},null,-1),_hoisted_3$F=[_hoisted_2$H];function render$H(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$I,_hoisted_3$F)}const pencil={render:render$H},_hoisted_1$H={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$G=vue.createElementVNode("path",{d:"M6.999 2H15a1 1 0 0 1 0 2h-1.004v13a1 1 0 1 1-2 0V4H8.999v13a1 1 0 1 1-2 0v-7A4 4 0 0 1 3 6a4 4 0 0 1 3.999-4z"},null,-1),_hoisted_3$E=[_hoisted_2$G];function render$G(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$H,_hoisted_3$E)}const pilcrow={render:render$G},_hoisted_1$G={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$F=vue.createElementVNode("path",{d:"M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"},null,-1),_hoisted_3$D=[_hoisted_2$F];function render$F(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$G,_hoisted_3$D)}const quote={render:render$F},_hoisted_1$F={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$E=vue.createElementVNode("circle",{cx:"9.5",cy:"4.5",r:"1.5"},null,-1),_hoisted_3$C=vue.createElementVNode("circle",{cx:"9.5",cy:"10.5",r:"1.5"},null,-1),_hoisted_4$g=vue.createElementVNode("circle",{cx:"9.5",cy:"16.5",r:"1.5"},null,-1),_hoisted_5$4=[_hoisted_2$E,_hoisted_3$C,_hoisted_4$g];function render$E(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$F,_hoisted_5$4)}const threeVerticalDots$1={render:render$E},_hoisted_1$E={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$D=vue.createElementVNode("path",{d:"M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"},null,-1),_hoisted_3$B=[_hoisted_2$D];function render$D(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$E,_hoisted_3$B)}const bold={render:render$D},_hoisted_1$D={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$C=vue.createElementVNode("path",{d:"M10.5 5.5H7v5h3.5a2.5 2.5 0 1 0 0-5zM5 3h6.5v.025a5 5 0 0 1 0 9.95V13H7v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"},null,-1),_hoisted_3$A=[_hoisted_2$C];function render$C(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$D,_hoisted_3$A)}const paragraph={render:render$C},_hoisted_1$C={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$B=vue.createElementVNode("path",{d:"M10 2a1 1 0 0 0-1 1v6H3a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V3a1 1 0 0 0-1-1Z"},null,-1),_hoisted_3$z=[_hoisted_2$B];function render$B(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$C,_hoisted_3$z)}const plus={render:render$B},_hoisted_1$B={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$A=vue.createStaticVNode('',2),_hoisted_4$f=[_hoisted_2$A];function render$A(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$B,_hoisted_4$f)}const text={render:render$A},_hoisted_1$A={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$z=vue.createElementVNode("g",{"clip-path":"url(#a)"},[vue.createElementVNode("path",{d:"M19 4.5 14 0H3v12.673l.868-1.041c.185-.222.4-.402.632-.54V1.5h8v5h5v7.626a2.24 2.24 0 0 1 1.5.822V4.5ZM14 5V2l3.3 3H14Zm-3.692 12.5c.062.105.133.206.213.303L11.52 19H8v-.876a2.243 2.243 0 0 0 1.82-.624h.488Zm7.518-.657a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Zm-15.056-.38a.75.75 0 0 1-.096-1.056l2.346-2.815a.95.95 0 0 1 1.46 0l2.346 2.815a.75.75 0 1 1-1.152.96L6.5 14.96V20H5v-5.04l-1.174 1.408a.75.75 0 0 1-1.056.096Z","clip-rule":"evenodd"})],-1),_hoisted_3$y=vue.createElementVNode("defs",null,[vue.createElementVNode("clipPath",{id:"a"},[vue.createElementVNode("path",{d:"M0 0h20v20H0z"})])],-1),_hoisted_4$e=[_hoisted_2$z,_hoisted_3$y];function render$z(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$A,_hoisted_4$e)}const importExport={render:render$z};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const icons={bold,cancel,caption,check,cog,eraser,image:image$1,lowVision,importExport,paragraph,plus,text,alignBottom,alignMiddle,alignTop,alignLeft,alignCenter,alignRight,alignJustify,objectLeft:objectLeft$1,objectCenter:objectCenter$1,objectRight:objectRight$1,objectFullWidth:objectFullWidth$1,objectInline:objectInline$1,objectBlockLeft:objectBlockLeft$1,objectBlockRight:objectBlockRight$1,objectSizeFull,objectSizeLarge,objectSizeSmall,objectSizeMedium,pencil,pilcrow,quote,threeVerticalDots:threeVerticalDots$1};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DecoupledEditorUI extends EditorUI{constructor(e,n){super(e),this.view=n}init(){const e=this.editor,n=this.view,r=e.editing.view,i=n.editable,s=r.document.getRoot();i.name=s.rootName,n.render();const a=i.element;this.setEditableElement(i.name,a),n.editable.bind("isFocused").to(this.focusTracker),r.attachDomRoot(a),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const e=this.view;this.editor.editing.view.detachDomRoot(e.editable.name),e.destroy()}_initToolbar(){const e=this.editor,n=this.view;n.toolbar.fillFromConfig(e.config.get("toolbar"),this.componentFactory),this.addToolbar(n.toolbar)}_initPlaceholder(){const e=this.editor,n=e.editing.view,r=n.document.getRoot(),i=e.sourceElement,s=e.config.get("placeholder")||i&&i.tagName.toLowerCase()==="textarea"&&i.getAttribute("placeholder");s&&enablePlaceholder({view:n,element:r,text:s,isDirectHost:!1,keepOnFocus:!0})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function clickOutsideHandler({emitter:o,activator:e,callback:n,contextElements:r}){o.listenTo(document,"mousedown",(i,s)=>{if(!e())return;const a=typeof s.composedPath=="function"?s.composedPath():[];for(const u of r)if(u.contains(s.target)||a.includes(u))return;n()})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function injectCssTransitionDisabler(o){const e=o;e.set("_isCssTransitionsDisabled",!1),e.disableCssTransitions=()=>{e._isCssTransitionsDisabled=!0},e.enableCssTransitions=()=>{e._isCssTransitionsDisabled=!1},e.extendTemplate({attributes:{class:[e.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function submitHandler({view:o}){o.listenTo(o.element,"submit",(e,n)=>{n.preventDefault(),o.fire("submit")},{useCapture:!0})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function addKeyboardHandlingForGrid({keystrokeHandler:o,focusTracker:e,gridItems:n,numberOfColumns:r,uiLanguageDirection:i}){const s=typeof r=="number"?()=>r:r;o.set("arrowright",a((c,d)=>i==="rtl"?l(c,d.length):u(c,d.length))),o.set("arrowleft",a((c,d)=>i==="rtl"?u(c,d.length):l(c,d.length))),o.set("arrowup",a((c,d)=>{let h=c-s();return h<0&&(h=c+s()*Math.floor(d.length/s()),h>d.length-1&&(h-=s())),h})),o.set("arrowdown",a((c,d)=>{let h=c+s();return h>d.length-1&&(h=c%s()),h}));function a(c){return d=>{const h=n.find(m=>m.element===e.focusedElement),f=n.getIndex(h),p=c(f,n);n.get(p).focus(),d.stopPropagation(),d.preventDefault()}}function u(c,d){return c===d-1?0:c+1}function l(c,d){return c===0?d-1:c-1}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BodyCollection extends ViewCollection{constructor(e,n=[]){super(n),this.locale=e}attachToDom(){this._bodyCollectionContainer=new Template({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let e=document.querySelector(".ck-body-wrapper");e||(e=createElement(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(e)),e.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const e=document.querySelector(".ck-body-wrapper");e&&e.childElementCount==0&&e.remove()}}const icon="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IconView extends View{constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon","ck-reset_all-excluded",e.if("isColorInherited","ck-icon_inherit-color")],viewBox:e.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const n=new DOMParser().parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),r=n.getAttribute("viewBox");r&&(this.viewBox=r);for(const{name:i,value:s}of Array.from(n.attributes))IconView.presentationalAttributeNames.includes(i)&&this.element.setAttribute(i,s);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;n.childNodes.length>0;)this.element.appendChild(n.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(e=>{e.style.fill=this.fillColor})}}IconView.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];const button="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ButtonView extends View{constructor(e){super(e);const n=this.bindTemplate,r=uid();this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._createLabelView(r),this.iconView=new IconView,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const i={tag:"button",attributes:{class:["ck","ck-button",n.to("class"),n.if("isEnabled","ck-disabled",s=>!s),n.if("isVisible","ck-hidden",s=>!s),n.to("isOn",s=>s?"ck-on":"ck-off"),n.if("withText","ck-button_with-text"),n.if("withKeystroke","ck-button_with-keystroke")],type:n.to("type",s=>s||"button"),tabindex:n.to("tabindex"),"aria-labelledby":`ck-editor__aria-label_${r}`,"aria-disabled":n.if("isEnabled",!0,s=>!s),"aria-pressed":n.to("isOn",s=>this.isToggleable?String(!!s):!1),"data-cke-tooltip-text":n.to("_tooltipString"),"data-cke-tooltip-position":n.to("tooltipPosition")},children:this.children,on:{click:n.to(s=>{this.isEnabled?this.fire("execute"):s.preventDefault()})}};env.isSafari&&(i.on.mousedown=n.to(s=>{this.focus(),s.preventDefault()})),this.setTemplate(i)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}_createLabelView(e){const n=new View,r=this.bindTemplate;return n.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:r.to("labelStyle"),id:`ck-editor__aria-label_${e}`},children:[{text:this.bindTemplate.to("label")}]}),n}_createKeystrokeView(){const e=new View;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",n=>getEnvKeystrokeText(n))}]}),e}_getTooltipString(e,n,r){return e?typeof e=="string"?e:(r&&(r=getEnvKeystrokeText(r)),e instanceof Function?e(n,r):`${n}${r?` (${r})`:""}`):""}}const switchbutton="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SwitchButtonView extends ButtonView{constructor(e){super(e),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const e=new View;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getLocalizedColorOptions(o,e){const n=o.t,r={Black:n("Black"),"Dim grey":n("Dim grey"),Grey:n("Grey"),"Light grey":n("Light grey"),White:n("White"),Red:n("Red"),Orange:n("Orange"),Yellow:n("Yellow"),"Light green":n("Light green"),Green:n("Green"),Aquamarine:n("Aquamarine"),Turquoise:n("Turquoise"),"Light blue":n("Light blue"),Blue:n("Blue"),Purple:n("Purple")};return e.map(i=>{const s=r[i.label];return s&&s!=i.label&&(i.label=s),i})}function normalizeColorOptions(o){return o.map(normalizeSingleColorDefinition).filter(e=>!!e)}function normalizeSingleColorDefinition(o){return typeof o=="string"?{model:o,label:o,hasBorder:!1,view:{name:"span",styles:{color:o}}}:{model:o.color,label:o.label||o.color,hasBorder:o.hasBorder===void 0?!1:o.hasBorder,view:{name:"span",styles:{color:`${o.color}`}}}}const _hoisted_1$z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$y=vue.createElementVNode("path",{d:"M16.935 5.328a2 2 0 0 1 0 2.829l-7.778 7.778a2 2 0 0 1-2.829 0L3.5 13.107a1.999 1.999 0 1 1 2.828-2.829l.707.707a1 1 0 0 0 1.414 0l5.658-5.657a2 2 0 0 1 2.828 0z",class:"ck-icon__fill"},null,-1),_hoisted_3$x=vue.createElementVNode("path",{d:"M14.814 6.035 8.448 12.4a1 1 0 0 1-1.414 0l-1.413-1.415A1 1 0 1 0 4.207 12.4l2.829 2.829a1 1 0 0 0 1.414 0l7.778-7.778a1 1 0 1 0-1.414-1.415z"},null,-1),_hoisted_4$d=[_hoisted_2$y,_hoisted_3$x];function render$y(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$z,_hoisted_4$d)}const checkIcon={render:render$y};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ColorTileView extends ButtonView{constructor(e){super(e);const n=this.bindTemplate;this.set("color",void 0),this.set("hasBorder",!1),this.icon=checkIcon,this.extendTemplate({attributes:{style:{backgroundColor:n.to("color")},class:["ck","ck-color-grid__tile",n.if("hasBorder","ck-color-table__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}const colorgrid="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ColorGridView extends View{constructor(e,n){super(e);const r=n&&n.colorDefinitions||[];this.columns=n&&n.columns?n.columns:5;const i={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.items.on("add",(s,a)=>{a.isOn=a.color===this.selectedColor}),r.forEach(s=>{const a=new ColorTileView;a.set({color:s.color,label:s.label,tooltip:!0,hasBorder:s.options.hasBorder}),a.on("execute",()=>{this.fire("execute",{value:s.color,hasBorder:s.options.hasBorder,label:s.label})}),this.items.add(a)}),this.setTemplate({tag:"div",children:this.items,attributes:{class:["ck","ck-color-grid"],style:i}}),this.on("change:selectedColor",(s,a,u)=>{for(const l of this.items)l.isOn=l.color===u})}focus(){this.items.length&&this.items.first.focus()}focusLast(){this.items.length&&this.items.last.focus()}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",(e,n)=>{this.focusTracker.add(n.element)}),this.items.on("remove",(e,n)=>{this.focusTracker.remove(n.element)}),this.keystrokes.listenTo(this.element),addKeyboardHandlingForGrid({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:this.columns,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}const _hoisted_1$y={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},_hoisted_2$x=vue.createElementVNode("path",{d:"M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"},null,-1),_hoisted_3$w=[_hoisted_2$x];function render$x(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$y,_hoisted_3$w)}const dropdownArrowIcon={render:render$x};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DropdownButtonView extends ButtonView{constructor(e){super(e),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",n=>String(n))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new IconView;return e.content=dropdownArrowIcon,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}const splitbutton="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SplitButtonView extends View{constructor(e){super(e);const n=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(),this.arrowView=this._createArrowView(),this.keystrokes=new KeystrokeHandler,this.focusTracker=new FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",n.to("class"),n.if("isVisible","ck-hidden",r=>!r),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e,n)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),n())}),this.keystrokes.set("arrowleft",(e,n)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),n())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(){const e=new ButtonView;return e.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),e.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),e.delegate("execute").to(this),e}_createArrowView(){const e=new ButtonView,n=e.bindTemplate;return e.icon=dropdownArrowIcon,e.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":n.to("isOn"),"aria-haspopup":!0,"aria-expanded":n.to("isOn",r=>String(r))}}),e.bind("isEnabled").to(this),e.bind("label").to(this),e.bind("tooltip").to(this),e.delegate("execute").to(this,"open"),e}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DropdownPanelView extends View{constructor(e){super(e);const n=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",n.to("position",r=>`ck-dropdown__panel_${r}`),n.if("isVisible","ck-dropdown__panel-visible")]},children:this.children,on:{selectstart:n.to(r=>r.preventDefault())}})}focus(){if(this.children.length){const e=this.children.first;typeof e.focus=="function"?e.focus():logWarning("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const e=this.children.last;typeof e.focusLast=="function"?e.focusLast():e.focus()}}}const dropdown="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DropdownView extends View{constructor(e,n,r){super(e);const i=this.bindTemplate;this.buttonView=n,this.panelView=r,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.keystrokes=new KeystrokeHandler,this.focusTracker=new FocusTracker,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",i.to("class"),i.if("isEnabled","ck-disabled",s=>!s)],id:i.to("id"),"aria-describedby":i.to("ariaDescribedById")},children:[n,r]}),n.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":i.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",(n,r,i)=>{!i||(this.panelPosition==="auto"?this.panelView.position=DropdownView._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name:this.panelView.position=this.panelPosition)}),this.keystrokes.listenTo(this.element);const e=(n,r)=>{this.isOpen&&(this.isOpen=!1,r())};this.keystrokes.set("arrowdown",(n,r)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,r())}),this.keystrokes.set("arrowright",(n,r)=>{this.isOpen&&r()}),this.keystrokes.set("arrowleft",e),this.keystrokes.set("esc",e)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:e,north:n,southEast:r,southWest:i,northEast:s,northWest:a,southMiddleEast:u,southMiddleWest:l,northMiddleEast:c,northMiddleWest:d}=DropdownView.defaultPanelPositions;return this.locale.uiLanguageDirection!=="rtl"?[r,i,u,l,e,s,a,c,d,n]:[i,r,l,u,e,a,s,d,c,n]}}DropdownView.defaultPanelPositions={south:(o,e)=>({top:o.bottom,left:o.left-(e.width-o.width)/2,name:"s"}),southEast:o=>({top:o.bottom,left:o.left,name:"se"}),southWest:(o,e)=>({top:o.bottom,left:o.left-e.width+o.width,name:"sw"}),southMiddleEast:(o,e)=>({top:o.bottom,left:o.left-(e.width-o.width)/4,name:"sme"}),southMiddleWest:(o,e)=>({top:o.bottom,left:o.left-(e.width-o.width)*3/4,name:"smw"}),north:(o,e)=>({top:o.top-e.height,left:o.left-(e.width-o.width)/2,name:"n"}),northEast:(o,e)=>({top:o.top-e.height,left:o.left,name:"ne"}),northWest:(o,e)=>({top:o.top-e.height,left:o.left-e.width+o.width,name:"nw"}),northMiddleEast:(o,e)=>({top:o.top-e.height,left:o.left-(e.width-o.width)/4,name:"nme"}),northMiddleWest:(o,e)=>({top:o.top-e.height,left:o.left-(e.width-o.width)*3/4,name:"nmw"})},DropdownView._getOptimalPosition=getOptimalPosition;/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FocusCycler{constructor(e){if(this.focusables=e.focusables,this.focusTracker=e.focusTracker,this.keystrokeHandler=e.keystrokeHandler,this.actions=e.actions,e.actions&&e.keystrokeHandler)for(const n in e.actions){let r=e.actions[n];typeof r=="string"&&(r=[r]);for(const i of r)e.keystrokeHandler.set(i,(s,a)=>{this[n](),a()})}}get first(){return this.focusables.find(isFocusable)||null}get last(){return this.focusables.filter(isFocusable).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let e=null;return this.focusTracker.focusedElement===null?null:(this.focusables.find((n,r)=>{const i=n.element===this.focusTracker.focusedElement;return i&&(e=r),i}),e)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(e){e&&e.focus()}_getFocusableItem(e){const n=this.current,r=this.focusables.length;if(!r)return null;if(n===null)return this[e===1?"first":"last"];let i=(n+r+e)%r;do{const s=this.focusables.get(i);if(isFocusable(s))return s;i=(i+r+e)%r}while(i!==n);return null}}function isFocusable(o){return!!(o.focus&&isVisible(o.element))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ToolbarSeparatorView extends View{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ToolbarLineBreakView extends View{constructor(e){super(e),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function preventDefault(o){return o.bindTemplate.to(e=>{e.target===o.element&&e.preventDefault()})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function normalizeToolbarConfig(o){return Array.isArray(o)?{items:o,removeItems:[]}:o?Object.assign({items:[],removeItems:[]},o):{items:[],removeItems:[]}}const toolbar="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const{threeVerticalDots}=icons,NESTED_TOOLBAR_ICONS={alignLeft:icons.alignLeft,bold:icons.bold,importExport:icons.importExport,paragraph:icons.paragraph,plus:icons.plus,text:icons.text,threeVerticalDots:icons.threeVerticalDots};class ToolbarView extends View{constructor(e,n){super(e);const r=this.bindTemplate,i=this.t;this.options=n||{},this.set("ariaLabel",i("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new ItemsView(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const s=e.uiLanguageDirection==="rtl";this._focusCycler=new FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[s?"arrowright":"arrowleft","arrowup"],focusNext:[s?"arrowleft":"arrowright","arrowdown"]}});const a=["ck","ck-toolbar",r.to("class"),r.if("isCompact","ck-toolbar_compact")];this.options.shouldGroupWhenFull&&this.options.isFloating&&a.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:a,role:"toolbar","aria-label":r.to("ariaLabel"),style:{maxWidth:r.to("maxWidth")}},children:this.children,on:{mousedown:preventDefault(this)}}),this._behavior=this.options.shouldGroupWhenFull?new DynamicGrouping(this):new StaticLayout(this)}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",(e,n)=>{this.focusTracker.add(n.element)}),this.items.on("remove",(e,n)=>{this.focusTracker.remove(n.element)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(e,n,r){const i=normalizeToolbarConfig(e),s=r||i.removeItems,a=this._cleanItemsConfiguration(i.items,n,s).map(u=>isObject$2(u)?this._createNestedToolbarDropdown(u,n,s):u==="|"?new ToolbarSeparatorView:u==="-"?new ToolbarLineBreakView:n.create(u)).filter(u=>!!u);this.items.addMany(a)}_cleanItemsConfiguration(e,n,r){const i=e.filter((s,a,u)=>s==="|"?!0:r.indexOf(s)!==-1?!1:s==="-"?this.options.shouldGroupWhenFull?(logWarning("toolbarview-line-break-ignored-when-grouping-items",u),!1):!0:!isObject$2(s)&&!n.has(s)?(logWarning("toolbarview-item-unavailable",{item:s}),!1):!0);return this._cleanSeparatorsAndLineBreaks(i)}_cleanSeparatorsAndLineBreaks(e){const n=a=>a!=="-"&&a!=="|",r=e.length,i=e.findIndex(n);if(i===-1)return[];const s=r-e.slice().reverse().findIndex(n);return e.slice(i,s).filter((a,u,l)=>n(a)?!0:!(u>0&&l[u-1]===a))}_createNestedToolbarDropdown(e,n,r){let{label:i,icon:s,items:a,tooltip:u=!0,withText:l=!1}=e;if(a=this._cleanItemsConfiguration(a,n,r),!a.length)return null;const c=this.locale,d=createDropdown(c);return i||logWarning("toolbarview-nested-toolbar-dropdown-missing-label",e),d.class="ck-toolbar__nested-toolbar-dropdown",d.buttonView.set({label:i,tooltip:u,withText:!!l}),s!==!1?d.buttonView.icon=NESTED_TOOLBAR_ICONS[s]||s||threeVerticalDots:d.buttonView.withText=!0,addToolbarToDropdown(d,[]),d.toolbarView.fillFromConfig(a,n,r),d}}class ItemsView extends View{constructor(e){super(e),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class StaticLayout{constructor(e){const n=e.bindTemplate;e.set("isVertical",!1),e.itemsView.children.bindTo(e.items).using(r=>r),e.focusables.bindTo(e.items).using(r=>r),e.extendTemplate({attributes:{class:[n.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class DynamicGrouping{constructor(e){this.view=e,this.viewChildren=e.children,this.viewFocusables=e.focusables,this.viewItemsView=e.itemsView,this.viewFocusTracker=e.focusTracker,this.viewLocale=e.locale,this.ungroupedItems=e.createCollection(),this.groupedItems=e.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,e.itemsView.children.bindTo(this.ungroupedItems).using(n=>n),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),e.children.on("change",this._updateFocusCycleableItems.bind(this)),e.items.on("change",(n,r)=>{const i=r.index,s=Array.from(r.added);for(const a of r.removed)i>=this.ungroupedItems.length?this.groupedItems.remove(a):this.ungroupedItems.remove(a);for(let a=i;athis.ungroupedItems.length?this.groupedItems.add(u,a-this.ungroupedItems.length):this.ungroupedItems.add(u,a)}this._updateGrouping()}),e.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(e){this.viewElement=e.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(e)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!isVisible(this.viewElement)){this.shouldUpdateGroupingOnNextResize=!0;return}const e=this.groupedItems.length;let n;for(;this._areItemsOverflowing;)this._groupLastItem(),n=!0;if(!n&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==e&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const e=this.viewElement,n=this.viewLocale.uiLanguageDirection,r=new Rect(e.lastChild),i=new Rect(e);if(!this.cachedPadding){const s=global$2.window.getComputedStyle(e),a=n==="ltr"?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(s[a])}return n==="ltr"?r.right>i.right-this.cachedPadding:r.left{(!e||e!==n.contentRect.width||this.shouldUpdateGroupingOnNextResize)&&(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),e=n.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(e){e.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new ToolbarSeparatorView),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const e=this.viewLocale,n=e.t,r=createDropdown(e);return r.class="ck-toolbar__grouped-dropdown",r.panelPosition=e.uiLanguageDirection==="ltr"?"sw":"se",addToolbarToDropdown(r,[]),r.buttonView.set({label:n("Show more items"),tooltip:!0,tooltipPosition:e.uiLanguageDirection==="rtl"?"se":"sw",icon:threeVerticalDots}),r.toolbarView.items.bindTo(this.groupedItems).using(i=>i),r}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(e=>{this.viewFocusables.add(e)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}const list="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListView extends View{constructor(e){super(e),this.items=this.createCollection(),this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this._focusCycler=new FocusCycler({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"]},children:this.items})}render(){super.render();for(const e of this.items)this.focusTracker.add(e.element);this.items.on("add",(e,n)=>{this.focusTracker.add(n.element)}),this.items.on("remove",(e,n)=>{this.focusTracker.remove(n.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListItemView extends View{constructor(e){super(e);const n=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",n.if("isVisible","ck-hidden",r=>!r)]},children:this.children})}focus(){this.children.first.focus()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListSeparatorView extends View{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}const toolbardropdown="",listdropdown="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function createDropdown(o,e=DropdownButtonView){const n=new e(o),r=new DropdownPanelView(o),i=new DropdownView(o,n,r);return n.bind("isEnabled").to(i),n instanceof SplitButtonView?n.arrowView.bind("isOn").to(i,"isOpen"):n.bind("isOn").to(i,"isOpen"),addDefaultBehavior(i),i}function addToolbarToDropdown(o,e,n={}){const r=o.locale,i=r.t,s=o.toolbarView=new ToolbarView(r);s.set("ariaLabel",i("Dropdown toolbar")),o.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.map(a=>s.items.add(a)),n.enableActiveItemFocusOnDropdownOpen&&focusChildOnDropdownOpen(o,()=>s.items.find(a=>a.isOn)),o.panelView.children.add(s),s.items.delegate("execute").to(o)}function addListToDropdown(o,e){const n=o.locale,r=o.listView=new ListView(n);r.items.bindTo(e).using(i=>{if(i.type==="separator")return new ListSeparatorView(n);if(i.type==="button"||i.type==="switchbutton"){const s=new ListItemView(n);let a;return i.type==="button"?a=new ButtonView(n):a=new SwitchButtonView(n),a.bind(...Object.keys(i.model)).to(i.model),a.delegate("execute").to(s),s.children.add(a),s}return null}),o.panelView.children.add(r),r.items.delegate("execute").to(o),focusChildOnDropdownOpen(o,()=>r.items.find(i=>i instanceof ListItemView?i.children.first.isOn:!1))}function focusChildOnDropdownOpen(o,e){o.on("change:isOpen",()=>{if(!o.isOpen)return;const n=e();!n||(typeof n.focus=="function"?n.focus():logWarning("ui-dropdown-focus-child-on-open-child-missing-focus",{view:n}))},{priority:priorities.low-10})}function addDefaultBehavior(o){closeDropdownOnClickOutside(o),closeDropdownOnExecute(o),closeDropdownOnBlur(o),focusDropdownContentsOnArrows(o),focusDropdownButtonOnClose(o),focusDropdownPanelOnOpen(o)}function closeDropdownOnClickOutside(o){o.on("render",()=>{clickOutsideHandler({emitter:o,activator:()=>o.isOpen,callback:()=>{o.isOpen=!1},contextElements:[o.element]})})}function closeDropdownOnExecute(o){o.on("execute",e=>{e.source instanceof SwitchButtonView||(o.isOpen=!1)})}function closeDropdownOnBlur(o){o.focusTracker.on("change:isFocused",(e,n,r)=>{o.isOpen&&!r&&(o.isOpen=!1)})}function focusDropdownContentsOnArrows(o){o.keystrokes.set("arrowdown",(e,n)=>{o.isOpen&&(o.panelView.focus(),n())}),o.keystrokes.set("arrowup",(e,n)=>{o.isOpen&&(o.panelView.focusLast(),n())})}function focusDropdownButtonOnClose(o){o.on("change:isOpen",(e,n,r)=>{r||o.panelView.element.contains(global$2.document.activeElement)&&o.buttonView.focus()})}function focusDropdownPanelOnOpen(o){o.on("change:isOpen",(e,n,r)=>{!r||o.panelView.focus()},{priority:"low"})}const editorui="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditorUIView extends View{constructor(e){super(e),this.body=new BodyCollection(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}const label="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LabelView extends View{constructor(e){super(e),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${uid()}`;const n=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:n.to("for")},children:[{text:n.to("text")}]})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EditableUIView extends View{constructor(e,n,r){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:e.contentLanguage,dir:e.contentLanguageDirection}}),this.name=null,this.set("isFocused",!1),this._editableElement=r,this._hasExternalElement=!!this._editableElement,this._editingView=n}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}_updateIsFocusedClasses(){const e=this._editingView;e.isRenderingInProgress?r(this):n(this);function n(i){e.change(s=>{const a=e.document.getRoot(i.name);s.addClass(i.isFocused?"ck-focused":"ck-blurred",a),s.removeClass(i.isFocused?"ck-blurred":"ck-focused",a)})}function r(i){e.once("change:isRenderingInProgress",(s,a,u)=>{u?r(i):n(i)})}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InlineEditableUIView extends EditableUIView{constructor(e,n,r,i={}){super(e,n,r);const s=e.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=i.label||(()=>s("Editor editing area: %0",this.name))}render(){super.render();const e=this._editingView;e.change(n=>{const r=e.document.getRoot(this.name);n.setAttribute("aria-label",this._generateLabel(this),r)})}}const formheader="",input="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InputView extends View{constructor(e){super(e),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new FocusTracker,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0),this.set("inputMode","text");const n=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",n.if("isFocused","ck-input_focused"),n.if("isEmpty","ck-input-text_empty"),n.if("hasError","ck-error")],id:n.to("id"),placeholder:n.to("placeholder"),readonly:n.to("isReadOnly"),inputmode:n.to("inputMode"),"aria-invalid":n.if("hasError",!0),"aria-describedby":n.to("ariaDescribedById")},on:{input:n.to((...r)=>{this.fire("input",...r),this._updateIsEmpty()}),change:n.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(e,n,r)=>{this._setDomElementValue(r),this._updateIsEmpty()})}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}_updateIsEmpty(){this.isEmpty=isInputElementEmpty(this.element)}_setDomElementValue(e){this.element.value=!e&&e!==0?"":e}}function isInputElementEmpty(o){return!o.value}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InputTextView extends InputView{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InputNumberView extends InputView{constructor(e,{min:n,max:r,step:i}={}){super(e);const s=this.bindTemplate;this.set("min",n),this.set("max",r),this.set("step",i),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:s.to("min"),max:s.to("max"),step:s.to("step")}})}}const labeledfieldview="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LabeledFieldView extends View{constructor(e,n){super(e);const r=`ck-labeled-field-view-${uid()}`,i=`ck-labeled-field-view-status-${uid()}`;this.fieldView=n(this,r,i),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(r),this.statusView=this._createStatusView(i),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(a,u)=>a||u);const s=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",s.to("class"),s.if("isEnabled","ck-disabled",a=>!a),s.if("isEmpty","ck-labeled-field-view_empty"),s.if("isFocused","ck-labeled-field-view_focused"),s.if("placeholder","ck-labeled-field-view_placeholder"),s.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(e){const n=new LabelView(this.locale);return n.for=e,n.bind("text").to(this,"label"),n}_createStatusView(e){const n=new View(this.locale),r=this.bindTemplate;return n.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",r.if("errorText","ck-labeled-field-view__status_error"),r.if("_statusText","ck-hidden",i=>!i)],id:e,role:r.if("errorText","alert")},children:[{text:r.to("_statusText")}]}),n}focus(){this.fieldView.focus()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function createLabeledInputText(o,e,n){const r=new InputTextView(o.locale);return r.set({id:e,ariaDescribedById:n}),r.bind("isReadOnly").to(o,"isEnabled",i=>!i),r.bind("hasError").to(o,"errorText",i=>!!i),r.on("input",()=>{o.errorText=null}),o.bind("isEmpty","isFocused","placeholder").to(r),r}function createLabeledInputNumber(o,e,n){const r=new InputNumberView(o.locale);return r.set({id:e,ariaDescribedById:n,inputMode:"numeric"}),r.bind("isReadOnly").to(o,"isEnabled",i=>!i),r.bind("hasError").to(o,"errorText",i=>!!i),r.on("input",()=>{o.errorText=null}),o.bind("isEmpty","isFocused","placeholder").to(r),r}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Notification extends ContextPlugin{static get pluginName(){return"Notification"}init(){this.on("show:warning",(e,n)=>{window.alert(n.message)},{priority:"lowest"})}showSuccess(e,n={}){this._showNotification({message:e,type:"success",namespace:n.namespace,title:n.title})}showInfo(e,n={}){this._showNotification({message:e,type:"info",namespace:n.namespace,title:n.title})}showWarning(e,n={}){this._showNotification({message:e,type:"warning",namespace:n.namespace,title:n.title})}_showNotification(e){const n=e.namespace?`show:${e.type}:${e.namespace}`:`show:${e.type}`;this.fire(n,{message:e.message,type:e.type,title:e.title||""})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Model extends ObservableMixin(){constructor(e,n){super(),n&&extend$3(this,n),e&&this.set(e)}}const _hoisted_1$x={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$w=vue.createElementVNode("path",{d:"M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"},null,-1),_hoisted_3$v=[_hoisted_2$w];function render$w(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$x,_hoisted_3$v)}const prevIcon={render:render$w},_hoisted_1$w={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$v=vue.createElementVNode("path",{d:"M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"},null,-1),_hoisted_3$u=[_hoisted_2$v];function render$v(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$w,_hoisted_3$u)}const nextIcon={render:render$v},balloonrotator="",fakepanel="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const toPx=toUnit("px");class ContextualBalloon extends Plugin{static get pluginName(){return"ContextualBalloon"}constructor(e){super(e),this.positionLimiter=()=>{const n=this.editor.editing.view,i=n.document.selection.editableElement;return i?n.domConverter.mapViewToDom(i.root):null},this.set("visibleView",null),this.view=new BalloonPanelView(e.locale),e.ui.view.body.add(this.view),e.ui.focusTracker.add(this.view.element),this._viewToStack=new Map,this._idToStack=new Map,this.set("_numberOfStacks",0),this.set("_singleViewMode",!1),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}destroy(){super.destroy(),this.view.destroy(),this._rotatorView.destroy(),this._fakePanelsView.destroy()}hasView(e){return Array.from(this._viewToStack.keys()).includes(e)}add(e){if(this.hasView(e.view))throw new CKEditorError("contextualballoon-add-view-exist",[this,e]);const n=e.stackId||"main";if(!this._idToStack.has(n)){this._idToStack.set(n,new Map([[e.view,e]])),this._viewToStack.set(e.view,this._idToStack.get(n)),this._numberOfStacks=this._idToStack.size,(!this._visibleStack||e.singleViewMode)&&this.showStack(n);return}const r=this._idToStack.get(n);e.singleViewMode&&this.showStack(n),r.set(e.view,e),this._viewToStack.set(e.view,r),r===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new CKEditorError("contextualballoon-remove-view-not-exist",[this,e]);const n=this._viewToStack.get(e);this._singleViewMode&&this.visibleView===e&&(this._singleViewMode=!1),this.visibleView===e&&(n.size===1?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(n.values())[n.size-2])),n.size===1?(this._idToStack.delete(this._getStackId(n)),this._numberOfStacks=this._idToStack.size):n.delete(e),this._viewToStack.delete(e)}updatePosition(e){e&&(this._visibleStack.get(this.visibleView).position=e),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(e){this.visibleStack=e;const n=this._idToStack.get(e);if(!n)throw new CKEditorError("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==n&&this._showView(Array.from(n.values()).pop())}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(e){return Array.from(this._idToStack.entries()).find(r=>r[1]===e)[0]}_showNextStack(){const e=Array.from(this._idToStack.values());let n=e.indexOf(this._visibleStack)+1;e[n]||(n=0),this.showStack(this._getStackId(e[n]))}_showPrevStack(){const e=Array.from(this._idToStack.values());let n=e.indexOf(this._visibleStack)-1;e[n]||(n=e.length-1),this.showStack(this._getStackId(e[n]))}_createRotatorView(){const e=new RotatorView(this.editor.locale),n=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(r,i)=>!i&&r>1),e.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(r,i)=>{if(i<2)return"";const s=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return n("%0 of %1",[s,i])}),e.buttonNextView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),e.buttonPrevView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),e}_createFakePanelsView(){const e=new FakePanelsView(this.editor.locale,this.view);return e.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(n,r)=>!r&&n>=2?Math.min(n-1,2):0),e.listenTo(this.view,"change:top",()=>e.updatePosition()),e.listenTo(this.view,"change:left",()=>e.updatePosition()),this.editor.ui.view.body.add(e),e}_showView({view:e,balloonClassName:n="",withArrow:r=!0,singleViewMode:i=!1}){this.view.class=n,this.view.withArrow=r,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),i&&(this._singleViewMode=!0)}_getBalloonPosition(){let e=Array.from(this._visibleStack.values()).pop().position;return e&&(e.limiter||(e=Object.assign({},e,{limiter:this.positionLimiter})),e=Object.assign({},e,{viewportOffsetConfig:this.editor.ui.viewportOffset})),e}}class RotatorView extends View{constructor(e){super(e);const n=e.t,r=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new FocusTracker,this.buttonPrevView=this._createButtonView(n("Previous"),prevIcon),this.buttonNextView=this._createButtonView(n("Next"),nextIcon),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",r.to("isNavigationVisible",i=>i?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:r.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(e){this.hideView(),this.content.add(e)}hideView(){this.content.clear()}_createButtonView(e,n){const r=new ButtonView(this.locale);return r.set({label:e,icon:n,tooltip:!0}),r}}class FakePanelsView extends View{constructor(e,n){super(e);const r=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=n,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",r.to("numberOfPanels",i=>i?"":"ck-hidden")],style:{top:r.to("top",toPx),left:r.to("left",toPx),width:r.to("width",toPx),height:r.to("height",toPx)}},children:this.content}),this.on("change:numberOfPanels",(i,s,a,u)=>{a>u?this._addPanels(a-u):this._removePanels(u-a),this.updatePosition()})}_addPanels(e){for(;e--;){const n=new View;n.setTemplate({tag:"div"}),this.content.add(n),this.registerChild(n)}}_removePanels(e){for(;e--;){const n=this.content.last;this.content.remove(n),this.deregisterChild(n),n.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:e,left:n}=this._balloonPanelView,{width:r,height:i}=new Rect(this._balloonPanelView.element);Object.assign(this,{top:e,left:n,width:r,height:i})}}}const stickypanel="",blocktoolbar="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DecoupledEditorUIView extends EditorUIView{constructor(e,n,r={}){super(e);const i=e.t;this.toolbar=new ToolbarView(e,{shouldGroupWhenFull:r.shouldToolbarGroupWhenFull}),this.editable=new InlineEditableUIView(e,n,r.editableElement,{label:s=>i("Rich Text Editor. Editing area: %0",s.name)}),this.toolbar.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:e.uiLanguageDirection}})}render(){super.render(),this.registerChild([this.toolbar,this.editable])}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DecoupledEditor$1 extends DataApiMixin(ElementApiMixin(Editor)){constructor(e,n={}){if(!isElement(e)&&n.initialData!==void 0)throw new CKEditorError("editor-create-initial-data",null);super(n),this.config.get("initialData")===void 0&&this.config.set("initialData",getInitialData(e)),isElement(e)&&(this.sourceElement=e,secureSourceElement(this)),this.model.document.createRoot();const r=!this.config.get("toolbar.shouldNotGroupWhenFull"),i=new DecoupledEditorUIView(this.locale,this.editing.view,{editableElement:this.sourceElement,shouldToolbarGroupWhenFull:r});this.ui=new DecoupledEditorUI(this,i)}destroy(){const e=this.getData();return this.ui.destroy(),super.destroy().then(()=>{this.sourceElement&&this.updateSourceElement(e)})}static create(e,n={}){return new Promise(r=>{if(isElement(e)&&e.tagName==="TEXTAREA")throw new CKEditorError("editor-wrong-element",null);const i=new this(e,n);r(i.initPlugins().then(()=>i.ui.init()).then(()=>i.data.init(i.config.get("initialData"))).then(()=>i.fire("ready")).then(()=>i))})}}function getInitialData(o){return isElement(o)?getDataFromElement(o):o}function isElement(o){return isElement$1(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ClipboardObserver extends DomEventObserver{constructor(e){super(e);const n=this.document;this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"],this.listenTo(n,"paste",r("clipboardInput"),{priority:"low"}),this.listenTo(n,"drop",r("clipboardInput"),{priority:"low"}),this.listenTo(n,"dragover",r("dragging"),{priority:"low"});function r(i){return(s,a)=>{a.preventDefault();const u=a.dropRange?[a.dropRange]:null,l=new EventInfo(n,i);n.fire(l,{dataTransfer:a.dataTransfer,method:s.name,targetRanges:u,target:a.target}),l.stop.called&&a.stopPropagation()}}}onDomEvent(e){const n={dataTransfer:new DataTransfer("clipboardData"in e?e.clipboardData:e.dataTransfer)};(e.type=="drop"||e.type=="dragover")&&(n.dropRange=getDropViewRange(this.view,e)),this.fire(e.type,e,n)}}function getDropViewRange(o,e){const n=e.target.ownerDocument,r=e.clientX,i=e.clientY;let s;return n.caretRangeFromPoint&&n.caretRangeFromPoint(r,i)?s=n.caretRangeFromPoint(r,i):e.rangeParent&&(s=n.createRange(),s.setStart(e.rangeParent,e.rangeOffset),s.collapse(!0)),s?o.domConverter.domRangeToView(s):null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function plainTextToHtml(o){return o=o.replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  "),(o.includes("

")||o.includes("
"))&&(o=`

${o}

`),o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function normalizeClipboardData(o){return o.replace(/(\s+)<\/span>/g,(e,n)=>n.length==1?" ":n).replace(//g,"")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const smallPaddingElements=["figcaption","li"];function viewToPlainText(o){let e="";if(o.is("$text")||o.is("$textProxy"))e=o.data;else if(o.is("element","img")&&o.hasAttribute("alt"))e=o.getAttribute("alt");else if(o.is("element","br"))e=` `;else{let n=null;for(const r of o.getChildren()){const i=viewToPlainText(r);n&&(n.is("containerElement")||r.is("containerElement"))&&(smallPaddingElements.includes(n.name)||smallPaddingElements.includes(r.name)?e+=` `:e+=` `),e+=i,n=r}}return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ClipboardPipeline extends Plugin{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(ClipboardObserver),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const e=this.editor,n=e.model,r=e.editing.view,i=r.document;this.listenTo(i,"clipboardInput",s=>{e.isReadOnly&&s.stop()},{priority:"highest"}),this.listenTo(i,"clipboardInput",(s,a)=>{const u=a.dataTransfer;let l;if(a.content)l=a.content;else{let d="";u.getData("text/html")?d=normalizeClipboardData(u.getData("text/html")):u.getData("text/plain")&&(d=plainTextToHtml(u.getData("text/plain"))),l=this.editor.data.htmlProcessor.toView(d)}const c=new EventInfo(this,"inputTransformation");this.fire(c,{content:l,dataTransfer:u,targetRanges:a.targetRanges,method:a.method}),c.stop.called&&s.stop(),r.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(s,a)=>{if(a.content.isEmpty)return;const l=this.editor.data.toModel(a.content,"$clipboardHolder");l.childCount!=0&&(s.stop(),n.change(()=>{this.fire("contentInsertion",{content:l,method:a.method,dataTransfer:a.dataTransfer,targetRanges:a.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(s,a)=>{a.resultRange=n.insertContent(a.content)},{priority:"low"})}_setupCopyCut(){const e=this.editor,n=e.model.document,i=e.editing.view.document,s=(a,u)=>{const l=u.dataTransfer;u.preventDefault();const c=e.data.toView(e.model.getSelectedContent(n.selection));i.fire("clipboardOutput",{dataTransfer:l,content:c,method:a.name})};this.listenTo(i,"copy",s,{priority:"low"}),this.listenTo(i,"cut",(a,u)=>{e.isReadOnly?u.preventDefault():s(a,u)},{priority:"low"}),this.listenTo(i,"clipboardOutput",(a,u)=>{u.content.isEmpty||(u.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(u.content)),u.dataTransfer.setData("text/plain",viewToPlainText(u.content))),u.method=="cut"&&e.model.deleteContent(n.selection)},{priority:"low"})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ChangeBuffer{constructor(e,n=20){this._batch=null,this.model=e,this._size=0,this.limit=n,this._isLocked=!1,this._changeCallback=(r,i)=>{i.isLocal&&i.isUndoable&&i!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(e){this._size+=e,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(e=!1){(!this.isLocked||e)&&(this._batch=null,this._size=0)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InsertTextCommand extends Command{constructor(e,n){super(e),this._buffer=new ChangeBuffer(e.model,n)}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const n=this.editor.model,r=n.document,i=e.text||"",s=i.length;let a=r.selection;e.selection?a=e.selection:e.range&&(a=n.createSelection(e.range));const u=e.resultRange;n.enqueueChange(this._buffer.batch,l=>{this._buffer.lock(),n.deleteContent(a),i&&n.insertContent(l.createText(i,r.selection.getAttributes()),a),u?l.setSelection(u):a.is("documentSelection")||l.setSelection(a),this._buffer.unlock(),this._buffer.input(s)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const TYPING_INPUT_TYPES=["insertText","insertReplacementText"];class InsertTextObserver extends Observer{constructor(e){super(e),env.isAndroid&&TYPING_INPUT_TYPES.push("insertCompositionText");const n=e.document;n.on("beforeinput",(r,i)=>{if(!this.isEnabled)return;const{data:s,targetRanges:a,inputType:u,domEvent:l}=i;if(!TYPING_INPUT_TYPES.includes(u))return;const c=new EventInfo(n,"insertText");n.fire(c,new DomEventData(e,l,{text:s,selection:e.createSelection(a)})),c.stop.called&&r.stop()}),n.on("compositionend",(r,{data:i,domEvent:s})=>{!this.isEnabled||env.isAndroid||!i||n.fire("insertText",new DomEventData(e,s,{text:i,selection:n.selection}))},{priority:"lowest"})}observe(){}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Input extends Plugin{static get pluginName(){return"Input"}init(){const e=this.editor,n=e.model,r=e.editing.view,i=n.document.selection;r.addObserver(InsertTextObserver);const s=new InsertTextCommand(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",s),e.commands.add("input",s),this.listenTo(r.document,"insertText",(a,u)=>{r.document.isComposing||u.preventDefault();const{text:l,selection:c,resultRange:d}=u,h=Array.from(c.getRanges()).map(m=>e.editing.mapper.toModelRange(m));let f=l;if(env.isAndroid){const m=Array.from(h[0].getItems()).reduce((g,v)=>g+(v.is("$textProxy")?v.data:""),"");m&&(m.length<=f.length?f.startsWith(m)&&(f=f.substring(m.length),h[0].start=h[0].start.getShiftedBy(m.length)):m.startsWith(f)&&(h[0].start=h[0].start.getShiftedBy(f.length),f=""))}const p={text:f,selection:n.createSelection(h)};d&&(p.resultRange=e.editing.mapper.toModelRange(d)),e.execute("insertText",p)}),env.isAndroid?this.listenTo(r.document,"keydown",(a,u)=>{i.isCollapsed||u.keyCode!=229||!r.document.isComposing||deleteSelectionContent(n,s)}):this.listenTo(r.document,"compositionstart",()=>{i.isCollapsed||deleteSelectionContent(n,s)})}}function deleteSelectionContent(o,e){if(!e.isEnabled)return;const n=e.buffer;n.lock(),o.enqueueChange(n.batch,()=>{o.deleteContent(o.document.selection)}),n.unlock()}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DeleteCommand extends Command{constructor(e,n){super(e),this.direction=n,this._buffer=new ChangeBuffer(e.model,e.config.get("typing.undoStep"))}get buffer(){return this._buffer}execute(e={}){const n=this.editor.model,r=n.document;n.enqueueChange(this._buffer.batch,i=>{this._buffer.lock();const s=i.createSelection(e.selection||r.selection),a=e.sequence||1,u=s.isCollapsed;if(s.isCollapsed&&n.modifySelection(s,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(a)){this._replaceEntireContentWithParagraph(i);return}if(this._shouldReplaceFirstBlockWithParagraph(s,a)){this.editor.execute("paragraph",{selection:s});return}if(s.isCollapsed)return;let l=0;s.getFirstRange().getMinimalFlatRanges().forEach(c=>{l+=count(c.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),n.deleteContent(s,{doNotResetEntireContent:u,direction:this.direction}),this._buffer.input(l),i.setSelection(s),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const n=this.editor.model,i=n.document.selection,s=n.schema.getLimitElement(i);if(!(i.isCollapsed&&i.containsEntireContent(s))||!n.schema.checkChild(s,"paragraph"))return!1;const u=s.getChild(0);return!(u&&u.is("element","paragraph"))}_replaceEntireContentWithParagraph(e){const n=this.editor.model,i=n.document.selection,s=n.schema.getLimitElement(i),a=e.createElement("paragraph");e.remove(e.createRangeIn(s)),e.insert(a,s),e.setSelection(a,0)}_shouldReplaceFirstBlockWithParagraph(e,n){const r=this.editor.model;if(n>1||this.direction!="backward"||!e.isCollapsed)return!1;const i=e.getFirstPosition(),s=r.schema.getLimitElement(i),a=s.getChild(0);return!(i.parent!=a||!e.containsEntireContent(a)||!r.schema.checkChild(s,"paragraph")||a.name=="paragraph")}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const DELETE_CHARACTER="character",DELETE_WORD="word",DELETE_CODE_POINT="codePoint",DELETE_SELECTION="selection",DELETE_BACKWARD="backward",DELETE_FORWARD="forward",DELETE_EVENT_TYPES={deleteContent:{unit:DELETE_SELECTION,direction:DELETE_BACKWARD},deleteContentBackward:{unit:DELETE_CODE_POINT,direction:DELETE_BACKWARD},deleteWordBackward:{unit:DELETE_WORD,direction:DELETE_BACKWARD},deleteHardLineBackward:{unit:DELETE_SELECTION,direction:DELETE_BACKWARD},deleteSoftLineBackward:{unit:DELETE_SELECTION,direction:DELETE_BACKWARD},deleteContentForward:{unit:DELETE_CHARACTER,direction:DELETE_FORWARD},deleteWordForward:{unit:DELETE_WORD,direction:DELETE_FORWARD},deleteHardLineForward:{unit:DELETE_SELECTION,direction:DELETE_FORWARD},deleteSoftLineForward:{unit:DELETE_SELECTION,direction:DELETE_FORWARD}};class DeleteObserver extends Observer{constructor(e){super(e);const n=e.document;let r=0;n.on("keydown",()=>{r++}),n.on("keyup",()=>{r=0}),n.on("beforeinput",(i,s)=>{if(!this.isEnabled)return;const{targetRanges:a,domEvent:u,inputType:l}=s,c=DELETE_EVENT_TYPES[l];if(!c)return;const d={direction:c.direction,unit:c.unit,sequence:r};d.unit==DELETE_SELECTION&&(d.selectionToRemove=e.createSelection(a[0])),env.isAndroid&&l==="deleteContentBackward"&&(d.sequence=1,a.length==1&&(a[0].start.parent!=a[0].end.parent||a[0].start.offset+1!=a[0].end.offset)&&(d.unit=DELETE_SELECTION,d.selectionToRemove=e.createSelection(a)));const h=new BubblingEventInfo(n,"delete",a[0]);n.fire(h,new DomEventData(e,u,d)),h.stop.called&&i.stop()}),env.isBlink&&enableChromeWorkaround(this)}observe(){}}function enableChromeWorkaround(o){const e=o.view,n=e.document;let r=null,i=!1;n.on("keydown",(u,{keyCode:l})=>{r=l,i=!1}),n.on("keyup",(u,{keyCode:l,domEvent:c})=>{const d=n.selection,h=o.isEnabled&&l==r&&s(l)&&!d.isCollapsed&&!i;if(r=null,h){const f=d.getFirstRange(),p=new BubblingEventInfo(n,"delete",f),m={unit:DELETE_SELECTION,direction:a(l),selectionToRemove:d};n.fire(p,new DomEventData(e,c,m))}}),n.on("beforeinput",(u,{inputType:l})=>{const c=DELETE_EVENT_TYPES[l];s(r)&&c&&c.direction==a(r)&&(i=!0)},{priority:"high"}),n.on("beforeinput",(u,{inputType:l,data:c})=>{r==keyCodes.delete&&l=="insertText"&&c=="\x7F"&&u.stop()},{priority:"high"});function s(u){return u==keyCodes.backspace||u==keyCodes.delete}function a(u){return u==keyCodes.backspace?DELETE_BACKWARD:DELETE_FORWARD}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Delete extends Plugin{static get pluginName(){return"Delete"}init(){const e=this.editor,n=e.editing.view,r=n.document,i=e.model.document;n.addObserver(DeleteObserver),this._undoOnBackspace=!1;const s=new DeleteCommand(e,"forward");e.commands.add("deleteForward",s),e.commands.add("forwardDelete",s),e.commands.add("delete",new DeleteCommand(e,"backward")),this.listenTo(r,"delete",(a,u)=>{r.isComposing||u.preventDefault();const{direction:l,sequence:c,selectionToRemove:d,unit:h}=u,f=l==="forward"?"deleteForward":"delete",p={sequence:c};if(h=="selection"){const m=Array.from(d.getRanges()).map(g=>e.editing.mapper.toModelRange(g));p.selection=e.model.createSelection(m)}else p.unit=h;e.execute(f,p),n.scrollToTheSelection()},{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(r,"delete",(a,u)=>{this._undoOnBackspace&&u.direction=="backward"&&u.sequence==1&&u.unit=="codePoint"&&(this._undoOnBackspace=!1,e.execute("undo"),u.preventDefault(),a.stop())},{context:"$capture"}),this.listenTo(i,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Typing extends Plugin{static get requires(){return[Input,Delete]}static get pluginName(){return"Typing"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getLastTextLine(o,e){let n=o.start;return{text:Array.from(o.getItems()).reduce((i,s)=>s.is("$text")||s.is("$textProxy")?i+s.data:(n=e.createPositionAfter(s),""),""),range:e.createRange(n,o.end)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TextWatcher extends ObservableMixin(){constructor(e,n){super(),this.model=e,this.testCallback=n,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(e.document.selection),this.stopListening(e.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const n=this.model.document;this.listenTo(n.selection,"change:range",(r,{directChange:i})=>{if(!!i){if(!n.selection.isCollapsed){this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1);return}this._evaluateTextBeforeSelection("selection")}}),this.listenTo(n,"change:data",(r,i)=>{i.isUndo||!i.isLocal||this._evaluateTextBeforeSelection("data",{batch:i})})}_evaluateTextBeforeSelection(e,n={}){const r=this.model,s=r.document.selection,a=r.createRange(r.createPositionAt(s.focus.parent,0),s.focus),{text:u,range:l}=getLastTextLine(a,r),c=this.testCallback(u);if(!c&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!c,c){const d=Object.assign(n,{text:u,range:l});typeof c=="object"&&Object.assign(d,c),this.fire(`matched:${e}`,d)}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TwoStepCaretMovement extends Plugin{static get pluginName(){return"TwoStepCaretMovement"}constructor(e){super(e),this.attributes=new Set,this._overrideUid=null}init(){const e=this.editor,n=e.model,r=e.editing.view,i=e.locale,s=n.document.selection;this.listenTo(r.document,"arrowKey",(a,u)=>{if(!s.isCollapsed||u.shiftKey||u.altKey||u.ctrlKey)return;const l=u.keyCode==keyCodes.arrowright,c=u.keyCode==keyCodes.arrowleft;if(!l&&!c)return;const d=i.contentLanguageDirection;let h=!1;d==="ltr"&&l||d==="rtl"&&c?h=this._handleForwardMovement(u):h=this._handleBackwardMovement(u),h===!0&&a.stop()},{context:"$text",priority:"highest"}),this._isNextGravityRestorationSkipped=!1,this.listenTo(s,"change:range",(a,u)=>{if(this._isNextGravityRestorationSkipped){this._isNextGravityRestorationSkipped=!1;return}!this._isGravityOverridden||!u.directChange&&isBetweenDifferentAttributes(s.getFirstPosition(),this.attributes)||this._restoreGravity()})}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const n=this.attributes,i=this.editor.model.document.selection,s=i.getFirstPosition();return this._isGravityOverridden||s.isAtStart&&hasAnyAttribute$1(i,n)?!1:isBetweenDifferentAttributes(s,n)?(preventCaretMovement(e),this._overrideGravity(),!0):!1}_handleBackwardMovement(e){const n=this.attributes,r=this.editor.model,i=r.document.selection,s=i.getFirstPosition();return this._isGravityOverridden?(preventCaretMovement(e),this._restoreGravity(),setSelectionAttributesFromTheNodeBefore(r,n,s),!0):s.isAtStart?hasAnyAttribute$1(i,n)?(preventCaretMovement(e),setSelectionAttributesFromTheNodeBefore(r,n,s),!0):!1:isStepAfterAnyAttributeBoundary(s,n)?s.isAtEnd&&!hasAnyAttribute$1(i,n)&&isBetweenDifferentAttributes(s,n)?(preventCaretMovement(e),setSelectionAttributesFromTheNodeBefore(r,n,s),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1):!1}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(e=>e.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(e=>{e.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function hasAnyAttribute$1(o,e){for(const n of e)if(o.hasAttribute(n))return!0;return!1}function setSelectionAttributesFromTheNodeBefore(o,e,n){const r=n.nodeBefore;o.change(i=>{r?i.setSelectionAttribute(r.getAttributes()):i.removeSelectionAttribute(e)})}function preventCaretMovement(o){o.preventDefault()}function isStepAfterAnyAttributeBoundary(o,e){const n=o.getShiftedBy(-1);return isBetweenDifferentAttributes(n,e)}function isBetweenDifferentAttributes(o,e){const{nodeBefore:n,nodeAfter:r}=o;for(const i of e){const s=n?n.getAttribute(i):void 0;if((r?r.getAttribute(i):void 0)!==s)return!0}return!1}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const TRANSFORMATIONS={copyright:{from:"(c)",to:"\xA9"},registeredTrademark:{from:"(r)",to:"\xAE"},trademark:{from:"(tm)",to:"\u2122"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"\xBD",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"\u2153",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"\u2154",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"\xBC",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"\xBE",null]},lessThanOrEqual:{from:"<=",to:"\u2264"},greaterThanOrEqual:{from:">=",to:"\u2265"},notEqual:{from:"!=",to:"\u2260"},arrowLeft:{from:"<-",to:"\u2190"},arrowRight:{from:"->",to:"\u2192"},horizontalEllipsis:{from:"...",to:"\u2026"},enDash:{from:/(^| )(--)( )$/,to:[null,"\u2013",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"\u2014",null]},quotesPrimary:{from:buildQuotesRegExp('"'),to:[null,"\u201C",null,"\u201D"]},quotesSecondary:{from:buildQuotesRegExp("'"),to:[null,"\u2018",null,"\u2019"]},quotesPrimaryEnGb:{from:buildQuotesRegExp("'"),to:[null,"\u2018",null,"\u2019"]},quotesSecondaryEnGb:{from:buildQuotesRegExp('"'),to:[null,"\u201C",null,"\u201D"]},quotesPrimaryPl:{from:buildQuotesRegExp('"'),to:[null,"\u201E",null,"\u201D"]},quotesSecondaryPl:{from:buildQuotesRegExp("'"),to:[null,"\u201A",null,"\u2019"]}},TRANSFORMATION_GROUPS={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},DEFAULT_TRANSFORMATIONS=["symbols","mathematical","typography","quotes"];class TextTransformation extends Plugin{static get requires(){return["Delete","Input"]}static get pluginName(){return"TextTransformation"}constructor(e){super(e),e.config.define("typing",{transformations:{include:DEFAULT_TRANSFORMATIONS}})}init(){const n=this.editor.model.document.selection;n.on("change:range",()=>{this.isEnabled=!n.anchor.parent.is("element","codeBlock")}),this._enableTransformationWatchers()}_enableTransformationWatchers(){const e=this.editor,n=e.model,r=e.plugins.get("Delete"),i=normalizeTransformations(e.config.get("typing.transformations")),s=u=>{for(const l of i)if(l.from.test(u))return{normalizedTransformation:l}},a=new TextWatcher(e.model,s);a.on("matched:data",(u,l)=>{if(!l.batch.isTyping)return;const{from:c,to:d}=l.normalizedTransformation,h=c.exec(l.text),f=d(h.slice(1)),p=l.range;let m=h.index;n.enqueueChange(g=>{for(let v=1;v{r.requestUndoOnBackspace()})})}),a.bind("isEnabled").to(this)}}function normalizeFrom(o){return typeof o=="string"?new RegExp(`(${escapeRegExp(o)})$`):o}function normalizeTo(o){return typeof o=="string"?()=>[o]:o instanceof Array?()=>o:o}function getTextAttributesAfterPosition(o){return(o.textNode?o.textNode:o.nodeAfter).getAttributes()}function buildQuotesRegExp(o){return new RegExp(`(^|\\s)(${o})([^${o}]*)(${o})$`)}function normalizeTransformations(o){const e=o.extra||[],n=o.remove||[],r=s=>!n.includes(s),i=o.include.concat(e).filter(r);return expandGroupsAndRemoveDuplicates(i).filter(r).map(s=>typeof s=="string"&&TRANSFORMATIONS[s]?TRANSFORMATIONS[s]:s).filter(s=>typeof s=="object").map(s=>({from:normalizeFrom(s.from),to:normalizeTo(s.to)}))}function expandGroupsAndRemoveDuplicates(o){const e=new Set;for(const n of o)if(typeof n=="string"&&TRANSFORMATION_GROUPS[n])for(const r of TRANSFORMATION_GROUPS[n])e.add(r);else e.add(n);return Array.from(e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function findAttributeRange(o,e,n,r){return r.createRange(_findBound(o,e,n,!0,r),_findBound(o,e,n,!1,r))}function _findBound(o,e,n,r,i){let s=o.textNode||(r?o.nodeBefore:o.nodeAfter),a=null;for(;s&&s.getAttribute(e)==n;)a=s,s=r?s.previousSibling:s.nextSibling;return a?i.createPositionAt(a,r?"before":"after"):o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function inlineHighlight(o,e,n,r){const i=o.editing.view,s=new Set;i.document.registerPostFixer(a=>{const u=o.model.document.selection;let l=!1;if(u.hasAttribute(e)){const c=findAttributeRange(u.getFirstPosition(),e,u.getAttribute(e),o.model),d=o.editing.mapper.toViewRange(c);for(const h of d.getItems())h.is("element",n)&&!h.hasClass(r)&&(a.addClass(r,h),s.add(h),l=!0)}return l}),o.conversion.for("editingDowncast").add(a=>{a.on("insert",u,{priority:"highest"}),a.on("remove",u,{priority:"highest"}),a.on("attribute",u,{priority:"highest"}),a.on("selection",u,{priority:"highest"});function u(){i.change(l=>{for(const c of s.values())l.removeClass(r,c),s.delete(c)})}})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function*getCopyOnEnterAttributes(o,e){for(const n of e)n&&o.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class EnterCommand extends Command{execute(){this.editor.model.change(e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})})}enterBlock(e){const n=this.editor.model,r=n.document.selection,i=n.schema,s=r.isCollapsed,a=r.getFirstRange(),u=a.start.parent,l=a.end.parent;if(i.isLimit(u)||i.isLimit(l))return!s&&u==l&&n.deleteContent(r),!1;if(s){const c=getCopyOnEnterAttributes(e.model.schema,r.getAttributes());return splitBlock(e,a.start),e.setSelectionAttribute(c),!0}else{const c=!(a.start.isAtStart&&a.end.isAtEnd),d=u==l;if(n.deleteContent(r,{leaveUnmerged:c}),c){if(d)return splitBlock(e,r.focus),!0;e.setSelection(l,0)}}return!1}}function splitBlock(o,e){o.split(e),o.setSelection(e.parent.nextSibling,0)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const ENTER_EVENT_TYPES={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class EnterObserver extends Observer{constructor(e){super(e);const n=this.document;n.on("beforeinput",(r,i)=>{if(!this.isEnabled)return;const s=i.domEvent,a=ENTER_EVENT_TYPES[i.inputType];if(!a)return;const u=new BubblingEventInfo(n,"enter",i.targetRanges[0]);n.fire(u,new DomEventData(e,s,{isSoft:a.isSoft})),u.stop.called&&r.stop()})}observe(){}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Enter extends Plugin{static get pluginName(){return"Enter"}init(){const e=this.editor,n=e.editing.view,r=n.document;n.addObserver(EnterObserver),e.commands.add("enter",new EnterCommand(e)),this.listenTo(r,"enter",(i,s)=>{r.isComposing||s.preventDefault(),!s.isSoft&&(e.execute("enter"),n.scrollToTheSelection())},{priority:"low"})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ShiftEnterCommand extends Command{execute(){const e=this.editor.model,n=e.document;e.change(r=>{softBreakAction(e,r,n.selection),this.fire("afterExecute",{writer:r})})}refresh(){const e=this.editor.model,n=e.document;this.isEnabled=isEnabled(e.schema,n.selection)}}function isEnabled(o,e){if(e.rangeCount>1)return!1;const n=e.anchor;if(!n||!o.checkChild(n,"softBreak"))return!1;const r=e.getFirstRange(),i=r.start.parent,s=r.end.parent;return!((isInsideLimitElement(i,o)||isInsideLimitElement(s,o))&&i!==s)}function softBreakAction(o,e,n){const r=n.isCollapsed,i=n.getFirstRange(),s=i.start.parent,a=i.end.parent,u=s==a;if(r){const l=getCopyOnEnterAttributes(o.schema,n.getAttributes());insertBreak(o,e,i.end),e.removeSelectionAttribute(n.getAttributeKeys()),e.setSelectionAttribute(l)}else{const l=!(i.start.isAtStart&&i.end.isAtEnd);o.deleteContent(n,{leaveUnmerged:l}),u?insertBreak(o,e,n.focus):l&&e.setSelection(a,0)}}function insertBreak(o,e,n){const r=e.createElement("softBreak");o.insertContent(r,n),e.setSelection(r,"after")}function isInsideLimitElement(o,e){return o.is("rootElement")?!1:e.isLimit(o)||isInsideLimitElement(o.parent,e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ShiftEnter extends Plugin{static get pluginName(){return"ShiftEnter"}init(){const e=this.editor,n=e.model.schema,r=e.conversion,i=e.editing.view,s=i.document;n.register("softBreak",{allowWhere:"$text",isInline:!0}),r.for("upcast").elementToElement({model:"softBreak",view:"br"}),r.for("downcast").elementToElement({model:"softBreak",view:(a,{writer:u})=>u.createEmptyElement("br")}),i.addObserver(EnterObserver),e.commands.add("shiftEnter",new ShiftEnterCommand(e)),this.listenTo(s,"enter",(a,u)=>{s.isComposing||u.preventDefault(),u.isSoft&&(e.execute("shiftEnter"),i.scrollToTheSelection())},{priority:"low"})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class HighlightStack extends EmitterMixin(){constructor(){super(),this._stack=[]}add(e,n){const r=this._stack,i=r[0];this._insertDescriptor(e);const s=r[0];i!==s&&!compareDescriptors(i,s)&&this.fire("change:top",{oldDescriptor:i,newDescriptor:s,writer:n})}remove(e,n){const r=this._stack,i=r[0];this._removeDescriptor(e);const s=r[0];i!==s&&!compareDescriptors(i,s)&&this.fire("change:top",{oldDescriptor:i,newDescriptor:s,writer:n})}_insertDescriptor(e){const n=this._stack,r=n.findIndex(s=>s.id===e.id);if(compareDescriptors(e,n[r]))return;r>-1&&n.splice(r,1);let i=0;for(;n[i]&&shouldABeBeforeB(n[i],e);)i++;n.splice(i,0,e)}_removeDescriptor(e){const n=this._stack,r=n.findIndex(i=>i.id===e);r>-1&&n.splice(r,1)}}function compareDescriptors(o,e){return o&&e&&o.priority==e.priority&&classesToString(o.classes)==classesToString(e.classes)}function shouldABeBeforeB(o,e){return o.priority>e.priority?!0:o.priorityclassesToString(e.classes)}function classesToString(o){return Array.isArray(o)?o.sort().join(","):o}const _hoisted_1$v={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},_hoisted_2$u=vue.createStaticVNode('',3),_hoisted_5$3=[_hoisted_2$u];function render$u(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$v,_hoisted_5$3)}const dragHandleIcon={render:render$u};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const WIDGET_CLASS_NAME="ck-widget",WIDGET_SELECTED_CLASS_NAME="ck-widget_selected";function isWidget(o){return o.is("element")?!!o.getCustomProperty("widget"):!1}function toWidget(o,e,n={}){if(!o.is("containerElement"))throw new CKEditorError("widget-to-widget-wrong-element-type",null,{element:o});return e.setAttribute("contenteditable","false",o),e.addClass(WIDGET_CLASS_NAME,o),e.setCustomProperty("widget",!0,o),o.getFillerOffset=getFillerOffset,e.setCustomProperty("widgetLabel",[],o),n.label&&setLabel(o,n.label),n.hasSelectionHandle&&addSelectionHandle(o,e),setHighlightHandling(o,e),o}function addHighlight(o,e,n){if(e.classes&&n.addClass(toArray(e.classes),o),e.attributes)for(const r in e.attributes)n.setAttribute(r,e.attributes[r],o)}function removeHighlight(o,e,n){if(e.classes&&n.removeClass(toArray(e.classes),o),e.attributes)for(const r in e.attributes)n.removeAttribute(r,o)}function setHighlightHandling(o,e,n=addHighlight,r=removeHighlight){const i=new HighlightStack;i.on("change:top",(u,l)=>{l.oldDescriptor&&r(o,l.oldDescriptor,l.writer),l.newDescriptor&&n(o,l.newDescriptor,l.writer)});const s=(u,l,c)=>i.add(l,c),a=(u,l,c)=>i.remove(l,c);e.setCustomProperty("addHighlight",s,o),e.setCustomProperty("removeHighlight",a,o)}function setLabel(o,e){o.getCustomProperty("widgetLabel").push(e)}function getLabel(o){return o.getCustomProperty("widgetLabel").reduce((n,r)=>typeof r=="function"?n?n+". "+r():r():n?n+". "+r:r,"")}function toWidgetEditable(o,e,n={}){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],o),e.setAttribute("role","textbox",o),n.label&&e.setAttribute("aria-label",n.label,o),e.setAttribute("contenteditable",o.isReadOnly?"false":"true",o),o.on("change:isReadOnly",(r,i,s)=>{e.setAttribute("contenteditable",s?"false":"true",o)}),o.on("change:isFocused",(r,i,s)=>{s?e.addClass("ck-editor__nested-editable_focused",o):e.removeClass("ck-editor__nested-editable_focused",o)}),setHighlightHandling(o,e),o}function findOptimalInsertionRange(o,e){const n=o.getSelectedElement();if(n){const r=getTypeAroundFakeCaretPosition(o);if(r)return e.createRange(e.createPositionAt(n,r))}return findOptimalInsertionRange$1(o,e)}function getFillerOffset(){return null}function addSelectionHandle(o,e){const n=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(r){const i=this.toDomElement(r),s=new IconView;return s.set("content",dragHandleIcon),s.render(),i.appendChild(s.element),i});e.insert(e.createPositionAt(o,0),n),e.addClass(["ck-widget_with-selection-handle"],o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const TYPE_AROUND_SELECTION_ATTRIBUTE="widget-type-around";function isTypeAroundWidget(o,e,n){return!!o&&isWidget(o)&&!n.isInline(e)}function getClosestTypeAroundDomButton(o){return o.closest(".ck-widget__type-around__button")}function getTypeAroundButtonPosition(o){return o.classList.contains("ck-widget__type-around__button_before")?"before":"after"}function getClosestWidgetViewElement(o,e){const n=o.closest(".ck-widget");return e.mapDomToView(n)}function getTypeAroundFakeCaretPosition(o){return o.getAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE)}const _hoisted_1$u={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 8"},_hoisted_2$t=vue.createElementVNode("path",{d:"M9.055.263v3.972h-6.77M1 4.216l2-2.038m-2 2 2 2.038"},null,-1),_hoisted_3$t=[_hoisted_2$t];function render$t(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$u,_hoisted_3$t)}const returnIcon={render:render$t},widgettypearound="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const POSSIBLE_INSERTION_POSITIONS=["before","after"],RETURN_ARROW_ICON_ELEMENT=new DOMParser().parseFromString(returnIcon,"image/svg+xml").firstChild,PLUGIN_DISABLED_EDITING_ROOT_CLASS="ck-widget__type-around_disabled";class WidgetTypeAround extends Plugin{static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Enter,Delete]}constructor(e){super(e),this._currentFakeCaretModelElement=null}init(){const e=this.editor,n=e.editing.view;this.on("change:isEnabled",(r,i,s)=>{n.change(a=>{for(const u of n.document.roots)s?a.removeClass(PLUGIN_DISABLED_EDITING_ROOT_CLASS,u):a.addClass(PLUGIN_DISABLED_EDITING_ROOT_CLASS,u)}),s||e.model.change(a=>{a.removeSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(e,n){const r=this.editor,i=r.editing.view,s=r.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);r.execute("insertParagraph",{position:r.model.createPositionAt(e,n),attributes:s}),i.focus(),i.scrollToTheSelection()}_listenToIfEnabled(e,n,r,i){this.listenTo(e,n,(...s)=>{this.isEnabled&&r(...s)},i)}_insertParagraphAccordingToFakeCaretPosition(){const r=this.editor.model.document.selection,i=getTypeAroundFakeCaretPosition(r);if(!i)return!1;const s=r.getSelectedElement();return this._insertParagraph(s,i),!0}_enableTypeAroundUIInjection(){const e=this.editor,n=e.model.schema,r=e.locale.t,i={before:r("Insert paragraph before block"),after:r("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",(s,a,u)=>{const l=u.mapper.toViewElement(a.item);!l||isTypeAroundWidget(l,a.item,n)&&(injectUIIntoWidget(u.writer,i,l),l.getCustomProperty("widgetLabel").push(()=>this.isEnabled?r("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,n=e.model,r=n.document.selection,i=n.schema,s=e.editing.view;this._listenToIfEnabled(s.document,"arrowKey",(u,l)=>{this._handleArrowKeyPress(u,l)},{context:[isWidget,"$text"],priority:"high"}),this._listenToIfEnabled(r,"change:range",(u,l)=>{!l.directChange||e.model.change(c=>{c.removeSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE)})}),this._listenToIfEnabled(n.document,"change:data",()=>{const u=r.getSelectedElement();if(u){const l=e.editing.mapper.toViewElement(u);if(isTypeAroundWidget(l,u,i))return}e.model.change(l=>{l.removeSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE)})}),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",(u,l,c)=>{const d=c.writer;if(this._currentFakeCaretModelElement){const m=c.mapper.toViewElement(this._currentFakeCaretModelElement);m&&(d.removeClass(POSSIBLE_INSERTION_POSITIONS.map(a),m),this._currentFakeCaretModelElement=null)}const h=l.selection.getSelectedElement();if(!h)return;const f=c.mapper.toViewElement(h);if(!isTypeAroundWidget(f,h,i))return;const p=getTypeAroundFakeCaretPosition(l.selection);!p||(d.addClass(a(p),f),this._currentFakeCaretModelElement=h)}),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",(u,l,c)=>{c||e.model.change(d=>{d.removeSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE)})});function a(u){return`ck-widget_type-around_show-fake-caret_${u}`}}_handleArrowKeyPress(e,n){const r=this.editor,i=r.model,s=i.document.selection,a=i.schema,u=r.editing.view,l=n.keyCode,c=isForwardArrowKeyCode(l,r.locale.contentLanguageDirection),d=u.document.selection.getSelectedElement(),h=r.editing.mapper.toModelElement(d);let f;isTypeAroundWidget(d,h,a)?f=this._handleArrowKeyPressOnSelectedWidget(c):s.isCollapsed?f=this._handleArrowKeyPressWhenSelectionNextToAWidget(c):n.shiftKey||(f=this._handleArrowKeyPressWhenNonCollapsedSelection(c)),f&&(n.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const r=this.editor.model,i=r.document.selection,s=getTypeAroundFakeCaretPosition(i);return r.change(a=>{if(s){if(!(s===(e?"after":"before")))return a.removeSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE),!0}else return a.setSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE,e?"after":"before"),!0;return!1})}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const n=this.editor,r=n.model,i=r.schema,s=n.plugins.get("Widget"),a=s._getObjectElementNextToSelection(e),u=n.editing.mapper.toViewElement(a);return isTypeAroundWidget(u,a,i)?(r.change(l=>{s._setSelectionOverElement(a),l.setSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE,e?"before":"after")}),!0):!1}_handleArrowKeyPressWhenNonCollapsedSelection(e){const n=this.editor,r=n.model,i=r.schema,s=n.editing.mapper,a=r.document.selection,u=e?a.getLastPosition().nodeBefore:a.getFirstPosition().nodeAfter,l=s.toViewElement(u);return isTypeAroundWidget(l,u,i)?(r.change(c=>{c.setSelection(u,"on"),c.setSelectionAttribute(TYPE_AROUND_SELECTION_ATTRIBUTE,e?"after":"before")}),!0):!1}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,n=e.editing.view;this._listenToIfEnabled(n.document,"mousedown",(r,i)=>{const s=getClosestTypeAroundDomButton(i.domTarget);if(!s)return;const a=getTypeAroundButtonPosition(s),u=getClosestWidgetViewElement(s,n.domConverter),l=e.editing.mapper.toModelElement(u);this._insertParagraph(l,a),i.preventDefault(),r.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,n=e.model.document.selection,r=e.editing.view;this._listenToIfEnabled(r.document,"enter",(i,s)=>{if(i.eventPhase!="atTarget")return;const a=n.getSelectedElement(),u=e.editing.mapper.toViewElement(a),l=e.model.schema;let c;this._insertParagraphAccordingToFakeCaretPosition()?c=!0:isTypeAroundWidget(u,a,l)&&(this._insertParagraph(a,s.isSoft?"before":"after"),c=!0),c&&(s.preventDefault(),i.stop())},{context:isWidget})}_enableInsertingParagraphsOnTypingKeystroke(){const n=this.editor.editing.view.document;this._listenToIfEnabled(n,"insertText",(r,i)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(i.selection=n.selection)},{priority:"high"}),env.isAndroid?this._listenToIfEnabled(n,"keydown",(r,i)=>{i.keyCode==229&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(n,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const e=this.editor,n=e.editing.view,r=e.model,i=r.schema;this._listenToIfEnabled(n.document,"delete",(s,a)=>{if(s.eventPhase!="atTarget")return;const u=getTypeAroundFakeCaretPosition(r.document.selection);if(!u)return;const l=a.direction,c=r.document.selection.getSelectedElement(),d=u==="before",h=l=="forward";if(d===h)e.execute("delete",{selection:r.createSelection(c,"on")});else{const p=i.getNearestSelectionRange(r.createPositionAt(c,u),l);if(p)if(!p.isCollapsed)r.change(m=>{m.setSelection(p),e.execute(h?"deleteForward":"delete")});else{const m=r.createSelection(p.start);if(r.modifySelection(m,{direction:l}),!m.focus.isEqual(p.start))r.change(g=>{g.setSelection(p),e.execute(h?"deleteForward":"delete")});else{const g=getDeepestEmptyElementAncestor(i,p.start.parent);r.deleteContent(r.createSelection(g,"on"),{doNotAutoparagraph:!0})}}}a.preventDefault(),s.stop()},{context:isWidget})}_enableInsertContentIntegration(){const e=this.editor,n=this.editor.model,r=n.document.selection;this._listenToIfEnabled(e.model,"insertContent",(i,[s,a])=>{if(a&&!a.is("documentSelection"))return;const u=getTypeAroundFakeCaretPosition(r);if(!!u)return i.stop(),n.change(l=>{const c=r.getSelectedElement(),d=n.createPositionAt(c,u),h=l.createSelection(d),f=n.insertContent(s,h);return l.setSelection(h),f})},{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,r=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",(i,s)=>{const[,a,,u={}]=s;if(a&&!a.is("documentSelection"))return;const l=getTypeAroundFakeCaretPosition(r);!l||(u.findOptimalPosition=l,s[3]=u)},{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,r=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",(i,[s])=>{if(s&&!s.is("documentSelection"))return;getTypeAroundFakeCaretPosition(r)&&i.stop()},{priority:"high"})}}function injectUIIntoWidget(o,e,n){const r=o.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(i){const s=this.toDomElement(i);return injectButtons(s,e),injectFakeCaret(s),s});o.insert(o.createPositionAt(n,"end"),r)}function injectButtons(o,e){for(const n of POSSIBLE_INSERTION_POSITIONS){const r=new Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${n}`],title:e[n],"aria-hidden":"true"},children:[o.ownerDocument.importNode(RETURN_ARROW_ICON_ELEMENT,!0)]});o.appendChild(r.render())}}function injectFakeCaret(o){const e=new Template({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});o.appendChild(e.render())}function getDeepestEmptyElementAncestor(o,e){let n=e;for(const r of e.getAncestors({parentFirst:!0})){if(r.childCount>1||o.isLimit(r))break;n=r}return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function verticalNavigationHandler(o){const e=o.model;return(n,r)=>{const i=r.keyCode==keyCodes.arrowup,s=r.keyCode==keyCodes.arrowdown,a=r.shiftKey,u=e.document.selection;if(!i&&!s)return;const l=s;if(a&&selectionWillShrink(u,l))return;const c=findTextRangeFromSelection(o,u,l);if(!!c){if(c.isCollapsed){if(u.isCollapsed)return;if(a)return}(c.isCollapsed||isSingleLineRange(o,c,l))&&(e.change(d=>{const h=l?c.end:c.start;if(a){const f=e.createSelection(u.anchor);f.setFocus(h),d.setSelection(f)}else d.setSelection(h)}),n.stop(),r.preventDefault(),r.stopPropagation())}}}function findTextRangeFromSelection(o,e,n){const r=o.model;if(n){const i=e.isCollapsed?e.focus:e.getLastPosition(),s=getNearestNonInlineLimit(r,i,"forward");if(!s)return null;const a=r.createRange(i,s),u=getNearestTextPosition(r.schema,a,"backward");return u?r.createRange(i,u):null}else{const i=e.isCollapsed?e.focus:e.getFirstPosition(),s=getNearestNonInlineLimit(r,i,"backward");if(!s)return null;const a=r.createRange(s,i),u=getNearestTextPosition(r.schema,a,"forward");return u?r.createRange(u,i):null}}function getNearestNonInlineLimit(o,e,n){const r=o.schema,i=o.createRangeIn(e.root),s=n=="forward"?"elementStart":"elementEnd";for(const{previousPosition:a,item:u,type:l}of i.getWalker({startPosition:e,direction:n})){if(r.isLimit(u)&&!r.isInline(u))return a;if(l==s&&r.isBlock(u))return null}return null}function getNearestTextPosition(o,e,n){const r=n=="backward"?e.end:e.start;if(o.checkChild(r,"$text"))return r;for(const{nextPosition:i}of e.getWalker({direction:n}))if(o.checkChild(i,"$text"))return i;return null}function isSingleLineRange(o,e,n){const r=o.model,i=o.view.domConverter;if(n){const c=r.createSelection(e.start);r.modifySelection(c),!c.focus.isAtEnd&&!e.start.isEqual(c.focus)&&(e=r.createRange(c.focus,e.end))}const s=o.mapper.toViewRange(e),a=i.viewRangeToDom(s),u=Rect.getDomRangeRects(a);let l;for(const c of u){if(l===void 0){l=Math.round(c.bottom);continue}if(Math.round(c.top)>=l)return!1;l=Math.max(l,Math.round(c.bottom))}return!0}function selectionWillShrink(o,e){return!o.isCollapsed&&o.isBackward==e}const widget="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Widget extends Plugin{static get pluginName(){return"Widget"}static get requires(){return[WidgetTypeAround,Delete]}init(){const e=this.editor,n=e.editing.view,r=n.document;this._previouslySelected=new Set,this.editor.editing.downcastDispatcher.on("selection",(i,s,a)=>{const u=a.writer,l=s.selection;if(l.isCollapsed)return;const c=l.getSelectedElement();if(!c)return;const d=e.editing.mapper.toViewElement(c);!isWidget(d)||!a.consumable.consume(l,"selection")||u.setSelection(u.createRangeOn(d),{fake:!0,label:getLabel(d)})}),this.editor.editing.downcastDispatcher.on("selection",(i,s,a)=>{this._clearPreviouslySelectedWidgets(a.writer);const u=a.writer,l=u.document.selection;let c=null;for(const d of l.getRanges())for(const h of d){const f=h.item;isWidget(f)&&!isChild(f,c)&&(u.addClass(WIDGET_SELECTED_CLASS_NAME,f),this._previouslySelected.add(f),c=f)}},{priority:"low"}),n.addObserver(MouseObserver),this.listenTo(r,"mousedown",(...i)=>this._onMousedown(...i)),this.listenTo(r,"arrowKey",(...i)=>{this._handleSelectionChangeOnArrowKeyPress(...i)},{context:[isWidget,"$text"]}),this.listenTo(r,"arrowKey",(...i)=>{this._preventDefaultOnArrowKeyPress(...i)},{context:"$root"}),this.listenTo(r,"arrowKey",verticalNavigationHandler(this.editor.editing),{context:"$text"}),this.listenTo(r,"delete",(i,s)=>{this._handleDelete(s.direction=="forward")&&(s.preventDefault(),i.stop())},{context:"$root"})}_onMousedown(e,n){const r=this.editor,i=r.editing.view,s=i.document;let a=n.target;if(isInsideNestedEditable(a)){if((env.isSafari||env.isGecko)&&n.domEvent.detail>=3){const l=r.editing.mapper,c=a.is("attributeElement")?a.findAncestor(h=>!h.is("attributeElement")):a,d=l.toModelElement(c);n.preventDefault(),this.editor.model.change(h=>{h.setSelection(d,"in")})}return}if(!isWidget(a)&&(a=a.findAncestor(isWidget),!a))return;env.isAndroid&&n.preventDefault(),s.isFocused||i.focus();const u=r.editing.mapper.toModelElement(a);this._setSelectionOverElement(u)}_handleSelectionChangeOnArrowKeyPress(e,n){const r=n.keyCode,i=this.editor.model,s=i.schema,a=i.document.selection,u=a.getSelectedElement(),l=getLocalizedArrowKeyCodeDirection(r,this.editor.locale.contentLanguageDirection),c=l=="down"||l=="right",d=l=="up"||l=="down";if(u&&s.isObject(u)){const f=c?a.getLastPosition():a.getFirstPosition(),p=s.getNearestSelectionRange(f,c?"forward":"backward");p&&(i.change(m=>{m.setSelection(p)}),n.preventDefault(),e.stop());return}if(!a.isCollapsed&&!n.shiftKey){const f=a.getFirstPosition(),p=a.getLastPosition(),m=f.nodeAfter,g=p.nodeBefore;(m&&s.isObject(m)||g&&s.isObject(g))&&(i.change(v=>{v.setSelection(c?p:f)}),n.preventDefault(),e.stop());return}if(!a.isCollapsed)return;const h=this._getObjectElementNextToSelection(c);if(h&&s.isObject(h)){if(s.isInline(h)&&d)return;this._setSelectionOverElement(h),n.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,n){const r=this.editor.model,i=r.schema,s=r.document.selection.getSelectedElement();s&&i.isObject(s)&&(n.preventDefault(),e.stop())}_handleDelete(e){if(this.editor.isReadOnly)return;const r=this.editor.model.document.selection;if(!r.isCollapsed)return;const i=this._getObjectElementNextToSelection(e);if(i)return this.editor.model.change(s=>{let a=r.anchor.parent;for(;a.isEmpty;){const u=a;a=u.parent,s.remove(u)}this._setSelectionOverElement(i)}),!0}_setSelectionOverElement(e){this.editor.model.change(n=>{n.setSelection(n.createRangeOn(e))})}_getObjectElementNextToSelection(e){const n=this.editor.model,r=n.schema,i=n.document.selection,s=n.createSelection(i);if(n.modifySelection(s,{direction:e?"forward":"backward"}),s.isEqual(i))return null;const a=e?s.focus.nodeBefore:s.focus.nodeAfter;return!!a&&r.isObject(a)?a:null}_clearPreviouslySelectedWidgets(e){for(const n of this._previouslySelected)e.removeClass(WIDGET_SELECTED_CLASS_NAME,n);this._previouslySelected.clear()}}function isInsideNestedEditable(o){let e=o;for(;e;){if(e.is("editableElement")&&!e.is("rootElement"))return!0;if(isWidget(e))return!1;e=e.parent}return!1}function isChild(o,e){return e?Array.from(o.getAncestors()).includes(e):!1}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class WidgetToolbarRepository extends Plugin{static get requires(){return[ContextualBalloon]}static get pluginName(){return"WidgetToolbarRepository"}init(){const e=this.editor;if(e.plugins.has("BalloonToolbar")){const n=e.plugins.get("BalloonToolbar");this.listenTo(n,"show",r=>{isWidgetSelected(e.editing.view.document.selection)&&r.stop()},{priority:"high"})}this._toolbarDefinitions=new Map,this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(e.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(e.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const e of this._toolbarDefinitions.values())e.view.destroy()}register(e,{ariaLabel:n,items:r,getRelatedElement:i,balloonClassName:s="ck-toolbar-container"}){if(!r.length){logWarning("widget-toolbar-no-items",{toolbarId:e});return}const a=this.editor,u=a.t,l=new ToolbarView(a.locale);if(l.ariaLabel=n||u("Widget toolbar"),this._toolbarDefinitions.has(e))throw new CKEditorError("widget-toolbar-duplicated",this,{toolbarId:e});l.fillFromConfig(r,a.ui.componentFactory);const c={view:l,getRelatedElement:i,balloonClassName:s};a.ui.addToolbar(l,{isContextual:!0,beforeFocus:()=>{const d=i(a.editing.view.document.selection);d&&this._showToolbar(c,d)},afterBlur:()=>{this._hideToolbar(c)}}),this._toolbarDefinitions.set(e,c)}_updateToolbarsVisibility(){let e=0,n=null,r=null;for(const i of this._toolbarDefinitions.values()){const s=i.getRelatedElement(this.editor.editing.view.document.selection);if(!this.isEnabled||!s)this._isToolbarInBalloon(i)&&this._hideToolbar(i);else if(!this.editor.ui.focusTracker.isFocused)this._isToolbarVisible(i)&&this._hideToolbar(i);else{const a=s.getAncestors().length;a>e&&(e=a,n=s,r=i)}}r&&this._showToolbar(r,n)}_hideToolbar(e){this._balloon.remove(e.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(e,n){this._isToolbarVisible(e)?repositionContextualBalloon$1(this.editor,n):this._isToolbarInBalloon(e)||(this._balloon.add({view:e.view,position:getBalloonPositionData$1(this.editor,n),balloonClassName:e.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const r of this._toolbarDefinitions.values())if(this._isToolbarVisible(r)){const i=r.getRelatedElement(this.editor.editing.view.document.selection);repositionContextualBalloon$1(this.editor,i)}}))}_isToolbarVisible(e){return this._balloon.visibleView===e.view}_isToolbarInBalloon(e){return this._balloon.hasView(e.view)}}function repositionContextualBalloon$1(o,e){const n=o.plugins.get("ContextualBalloon"),r=getBalloonPositionData$1(o,e);n.updatePosition(r)}function getBalloonPositionData$1(o,e){const n=o.editing.view,r=BalloonPanelView.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[r.northArrowSouth,r.northArrowSouthWest,r.northArrowSouthEast,r.southArrowNorth,r.southArrowNorthWest,r.southArrowNorthEast,r.viewportStickyNorth]}}function isWidgetSelected(o){const e=o.getSelectedElement();return!!(e&&isWidget(e))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ResizeState extends ObservableMixin(){constructor(e){super(),this.set("activeHandlePosition",null),this.set("proposedWidthPercents",null),this.set("proposedWidth",null),this.set("proposedHeight",null),this.set("proposedHandleHostWidth",null),this.set("proposedHandleHostHeight",null),this._options=e,this._referenceCoordinates=null}get originalWidth(){return this._originalWidth}get originalHeight(){return this._originalHeight}get originalWidthPercents(){return this._originalWidthPercents}get aspectRatio(){return this._aspectRatio}begin(e,n,r){const i=new Rect(n);this.activeHandlePosition=getHandlePosition(e),this._referenceCoordinates=getAbsoluteBoundaryPoint(n,getOppositePosition(this.activeHandlePosition)),this._originalWidth=i.width,this._originalHeight=i.height,this._aspectRatio=i.width/i.height;const s=r.style.width;s&&s.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(s):this._originalWidthPercents=calculateHostPercentageWidth(r,i)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}function calculateHostPercentageWidth(o,e){const n=o.parentElement,r=parseFloat(n.ownerDocument.defaultView.getComputedStyle(n).width);return e.width/r*100}function getAbsoluteBoundaryPoint(o,e){const n=new Rect(o),r=e.split("-"),i={x:r[1]=="right"?n.right:n.left,y:r[0]=="bottom"?n.bottom:n.top};return i.x+=o.ownerDocument.defaultView.scrollX,i.y+=o.ownerDocument.defaultView.scrollY,i}function getResizerHandleClass(o){return`ck-widget__resizer__handle-${o}`}function getHandlePosition(o){const e=["top-left","top-right","bottom-right","bottom-left"];for(const n of e)if(o.classList.contains(getResizerHandleClass(n)))return n}function getOppositePosition(o){const e=o.split("-"),n={top:"bottom",bottom:"top",left:"right",right:"left"};return`${n[e[0]]}-${n[e[1]]}`}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SizeView extends View{constructor(){super();const e=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-size-view",e.to("_viewPosition",n=>n?`ck-orientation-${n}`:"")],style:{display:e.if("_isVisible","none",n=>!n)}},children:[{text:e.to("_label")}]})}_bindToState(e,n){this.bind("_isVisible").to(n,"proposedWidth",n,"proposedHeight",(r,i)=>r!==null&&i!==null),this.bind("_label").to(n,"proposedHandleHostWidth",n,"proposedHandleHostHeight",n,"proposedWidthPercents",(r,i,s)=>e.unit==="px"?`${r}\xD7${i}`:`${s}%`),this.bind("_viewPosition").to(n,"activeHandlePosition",n,"proposedHandleHostWidth",n,"proposedHandleHostHeight",(r,i,s)=>i<50||s<50?"above-center":r)}_dismiss(){this.unbind(),this._isVisible=!1}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Resizer extends ObservableMixin(){constructor(e){super(),this._options=e,this._viewResizerWrapper=null,this.set("isEnabled",!0),this.set("isSelected",!1),this.bind("isVisible").to(this,"isEnabled",this,"isSelected",(n,r)=>n&&r),this.decorate("begin"),this.decorate("cancel"),this.decorate("commit"),this.decorate("updateSize"),this.on("commit",n=>{!this.state.proposedWidth&&!this.state.proposedWidthPercents&&(this._cleanup(),n.stop())},{priority:"high"})}get state(){return this._state}show(){this._options.editor.editing.view.change(n=>{n.removeClass("ck-hidden",this._viewResizerWrapper)})}hide(){this._options.editor.editing.view.change(n=>{n.addClass("ck-hidden",this._viewResizerWrapper)})}attach(){const e=this,n=this._options.viewElement;this._options.editor.editing.view.change(i=>{const s=i.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},function(a){const u=this.toDomElement(a);return e._appendHandles(u),e._appendSizeUI(u),u});i.insert(i.createPositionAt(n,"end"),s),i.addClass("ck-widget_with-resizer",n),this._viewResizerWrapper=s,this.isVisible||this.hide()}),this.on("change:isVisible",()=>{this.isVisible?(this.show(),this.redraw()):this.hide()})}begin(e){this._state=new ResizeState(this._options),this._sizeView._bindToState(this._options,this.state),this._initialViewWidth=this._options.viewElement.getStyle("width"),this.state.begin(e,this._getHandleHost(),this._getResizeHost())}updateSize(e){const n=this._proposeNewSize(e);this._options.editor.editing.view.change(c=>{const d=this._options.unit||"%",h=(d==="%"?n.widthPercents:n.width)+d;c.setStyle("width",h,this._options.viewElement)});const i=this._getHandleHost(),s=new Rect(i),a=Math.round(s.width),u=Math.round(s.height),l=new Rect(i);n.width=Math.round(l.width),n.height=Math.round(l.height),this.redraw(s),this.state.update({...n,handleHostWidth:a,handleHostHeight:u})}commit(){const e=this._options.unit||"%",n=(e==="%"?this.state.proposedWidthPercents:this.state.proposedWidth)+e;this._options.editor.editing.view.change(()=>{this._cleanup(),this._options.onCommit(n)})}cancel(){this._cleanup()}destroy(){this.cancel()}redraw(e){const n=this._domResizerWrapper;if(!existsInDom(n))return;const r=n.parentElement,i=this._getHandleHost(),s=this._viewResizerWrapper,a=[s.getStyle("width"),s.getStyle("height"),s.getStyle("left"),s.getStyle("top")];let u;if(r.isSameNode(i)){const l=e||new Rect(i);u=[l.width+"px",l.height+"px",void 0,void 0]}else u=[i.offsetWidth+"px",i.offsetHeight+"px",i.offsetLeft+"px",i.offsetTop+"px"];compareArrays(a,u)!=="same"&&this._options.editor.editing.view.change(l=>{l.setStyle({width:u[0],height:u[1],left:u[2],top:u[3]},s)})}containsHandle(e){return this._domResizerWrapper.contains(e)}static isResizeHandle(e){return e.classList.contains("ck-widget__resizer__handle")}_cleanup(){this._sizeView._dismiss(),this._options.editor.editing.view.change(n=>{n.setStyle("width",this._initialViewWidth,this._options.viewElement)})}_proposeNewSize(e){const n=this.state,r=extractCoordinates(e),i=this._options.isCentered?this._options.isCentered(this):!0,s={x:n._referenceCoordinates.x-(r.x+n.originalWidth),y:r.y-n.originalHeight-n._referenceCoordinates.y};i&&n.activeHandlePosition.endsWith("-right")&&(s.x=r.x-(n._referenceCoordinates.x+n.originalWidth)),i&&(s.x*=2);let a=Math.abs(n.originalWidth+s.x),u=Math.abs(n.originalHeight+s.y);return(a/n.aspectRatio>u?"width":"height")=="width"?u=a/n.aspectRatio:a=u*n.aspectRatio,{width:Math.round(a),height:Math.round(u),widthPercents:Math.min(Math.round(n.originalWidthPercents/n.originalWidth*a*100)/100,100)}}_getResizeHost(){const e=this._domResizerWrapper.parentElement;return this._options.getResizeHost(e)}_getHandleHost(){const e=this._domResizerWrapper.parentElement;return this._options.getHandleHost(e)}get _domResizerWrapper(){return this._options.editor.editing.view.domConverter.mapViewToDom(this._viewResizerWrapper)}_appendHandles(e){const n=["top-left","top-right","bottom-right","bottom-left"];for(const r of n)e.appendChild(new Template({tag:"div",attributes:{class:`ck-widget__resizer__handle ${getResizerClass(r)}`}}).render())}_appendSizeUI(e){this._sizeView=new SizeView,this._sizeView.render(),e.appendChild(this._sizeView.element)}}function getResizerClass(o){return`ck-widget__resizer__handle-${o}`}function extractCoordinates(o){return{x:o.pageX,y:o.pageY}}function existsInDom(o){return o&&o.ownerDocument&&o.ownerDocument.contains(o)}const widgetresize="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class WidgetResize extends Plugin{static get pluginName(){return"WidgetResize"}init(){const e=this.editor.editing,n=global$2.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),this._resizers=new Map,e.view.addObserver(MouseObserver),this._observer=new(DomEmitterMixin()),this.listenTo(e.view.document,"mousedown",this._mouseDownListener.bind(this),{priority:"high"}),this._observer.listenTo(n,"mousemove",this._mouseMoveListener.bind(this)),this._observer.listenTo(n,"mouseup",this._mouseUpListener.bind(this)),this._redrawSelectedResizerThrottled=throttle$2(()=>this.redrawSelectedResizer(),200),this.editor.ui.on("update",this._redrawSelectedResizerThrottled),this.editor.model.document.on("change",()=>{for(const[i,s]of this._resizers)i.isAttached()||(this._resizers.delete(i),s.destroy())},{priority:"lowest"}),this._observer.listenTo(global$2.window,"resize",this._redrawSelectedResizerThrottled);const r=this.editor.editing.view.document.selection;r.on("change",()=>{const i=r.getSelectedElement(),s=this.getResizerByViewElement(i)||null;s?this.select(s):this.deselect()})}redrawSelectedResizer(){this.selectedResizer&&this.selectedResizer.isVisible&&this.selectedResizer.redraw()}destroy(){super.destroy(),this._observer.stopListening();for(const e of this._resizers.values())e.destroy();this._redrawSelectedResizerThrottled.cancel()}select(e){this.deselect(),this.selectedResizer=e,this.selectedResizer.isSelected=!0}deselect(){this.selectedResizer&&(this.selectedResizer.isSelected=!1),this.selectedResizer=null}attachTo(e){const n=new Resizer(e),r=this.editor.plugins;if(n.attach(),r.has("WidgetToolbarRepository")){const a=r.get("WidgetToolbarRepository");n.on("begin",()=>{a.forceDisabled("resize")},{priority:"lowest"}),n.on("cancel",()=>{a.clearForceDisabled("resize")},{priority:"highest"}),n.on("commit",()=>{a.clearForceDisabled("resize")},{priority:"highest"})}this._resizers.set(e.viewElement,n);const s=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(s)==n&&this.select(n),n}getResizerByViewElement(e){return this._resizers.get(e)}_getResizerByHandle(e){for(const n of this._resizers.values())if(n.containsHandle(e))return n}_mouseDownListener(e,n){const r=n.domTarget;!Resizer.isResizeHandle(r)||(this._activeResizer=this._getResizerByHandle(r)||null,this._activeResizer&&(this._activeResizer.begin(r),e.stop(),n.preventDefault()))}_mouseMoveListener(e,n){this._activeResizer&&this._activeResizer.updateSize(n)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}const clipboard="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DragDrop extends Plugin{static get pluginName(){return"DragDrop"}static get requires(){return[ClipboardPipeline,Widget]}init(){const e=this.editor,n=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,this._updateDropMarkerThrottled=throttle$2(r=>this._updateDropMarker(r),40),this._removeDropMarkerDelayed=delay(()=>this._removeDropMarker(),40),this._clearDraggableAttributesDelayed=delay(()=>this._clearDraggableAttributes(),40),n.addObserver(ClipboardObserver),n.addObserver(MouseObserver),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDropMarker(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",(r,i,s)=>{s?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(r,i,s)=>{s||this._finalizeDragging(!1)}),env.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._updateDropMarkerThrottled.cancel(),this._removeDropMarkerDelayed.cancel(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,n=e.model,r=n.document,i=e.editing.view,s=i.document;this.listenTo(s,"dragstart",(a,u)=>{const l=r.selection;if(u.target&&u.target.is("editableElement")){u.preventDefault();return}const c=u.target?findDraggableWidget(u.target):null;if(c){const f=e.editing.mapper.toModelElement(c);this._draggedRange=LiveRange.fromRange(n.createRangeOn(f)),e.plugins.has("WidgetToolbarRepository")&&e.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}else if(!s.selection.isCollapsed){const f=s.selection.getSelectedElement();(!f||!isWidget(f))&&(this._draggedRange=LiveRange.fromRange(l.getFirstRange()))}if(!this._draggedRange){u.preventDefault();return}this._draggingUid=uid(),u.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",u.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const d=n.createSelection(this._draggedRange.toRange()),h=e.data.toView(n.getSelectedContent(d));s.fire("clipboardOutput",{dataTransfer:u.dataTransfer,content:h,method:"dragstart"}),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(s,"dragend",(a,u)=>{this._finalizeDragging(!u.dataTransfer.isCanceled&&u.dataTransfer.dropEffect=="move")},{priority:"low"}),this.listenTo(s,"dragenter",()=>{!this.isEnabled||i.focus()}),this.listenTo(s,"dragleave",()=>{this._removeDropMarkerDelayed()}),this.listenTo(s,"dragging",(a,u)=>{if(!this.isEnabled){u.dataTransfer.dropEffect="none";return}this._removeDropMarkerDelayed.cancel();const l=findDropTargetRange(e,u.targetRanges,u.target);this._draggedRange||(u.dataTransfer.dropEffect="copy"),env.isGecko||(u.dataTransfer.effectAllowed=="copy"?u.dataTransfer.dropEffect="copy":["all","copyMove"].includes(u.dataTransfer.effectAllowed)&&(u.dataTransfer.dropEffect="move")),l&&this._updateDropMarkerThrottled(l)},{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,r=e.editing.view.document;this.listenTo(r,"clipboardInput",(i,s)=>{if(s.method!="drop")return;const a=findDropTargetRange(e,s.targetRanges,s.target);if(this._removeDropMarker(),!a){this._finalizeDragging(!1),i.stop();return}if(this._draggedRange&&this._draggingUid!=s.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),getFinalDropEffect(s.dataTransfer)=="move"&&this._draggedRange&&this._draggedRange.containsRange(a,!0)){this._finalizeDragging(!1),i.stop();return}s.targetRanges=[e.editing.mapper.toViewRange(a)]},{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get(ClipboardPipeline);e.on("contentInsertion",(n,r)=>{if(!this.isEnabled||r.method!=="drop")return;const i=r.targetRanges.map(s=>this.editor.editing.mapper.toModelRange(s));this.editor.model.change(s=>s.setSelection(i))},{priority:"high"}),e.on("contentInsertion",(n,r)=>{if(!this.isEnabled||r.method!=="drop")return;const i=getFinalDropEffect(r.dataTransfer)=="move",s=!r.resultRange||!r.resultRange.isCollapsed;this._finalizeDragging(s&&i)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,n=e.editing.view,r=n.document;this.listenTo(r,"mousedown",(i,s)=>{if(env.isAndroid||!s)return;this._clearDraggableAttributesDelayed.cancel();let a=findDraggableWidget(s.target);if(env.isBlink&&!e.isReadOnly&&!a&&!r.selection.isCollapsed){const u=r.selection.getSelectedElement();(!u||!isWidget(u))&&(a=r.selection.editableElement)}a&&(n.change(u=>{u.setAttribute("draggable","true",a)}),this._draggableElement=e.editing.mapper.toModelElement(a))}),this.listenTo(r,"mouseup",()=>{env.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const e=this.editor.editing;e.view.change(n=>{this._draggableElement&&this._draggableElement.root.rootName!="$graveyard"&&n.removeAttribute("draggable",e.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_setupDropMarker(){const e=this.editor;e.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),e.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(n,{writer:r})=>{if(!!e.model.schema.checkChild(n.markerRange.start,"$text"))return r.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(s){const a=this.toDomElement(s);return a.append("\u2060",s.createElement("span"),"\u2060"),a})}})}_updateDropMarker(e){const n=this.editor,r=n.model.markers;n.model.change(i=>{r.has("drop-target")?r.get("drop-target").getRange().isEqual(e)||i.updateMarker("drop-target",{range:e}):i.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})})}_removeDropMarker(){const e=this.editor.model;this._removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),e.markers.has("drop-target")&&e.change(n=>{n.removeMarker("drop-target")})}_finalizeDragging(e){const n=this.editor,r=n.model;this._removeDropMarker(),this._clearDraggableAttributes(),n.plugins.has("WidgetToolbarRepository")&&n.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._draggedRange&&(e&&this.isEnabled&&r.deleteContent(r.createSelection(this._draggedRange),{doNotAutoparagraph:!0}),this._draggedRange.detach(),this._draggedRange=null)}}function findDropTargetRange(o,e,n){const r=o.model,i=o.editing.mapper;let s=null;const a=e?e[0].start:null;if(n.is("uiElement")&&(n=n.parent),s=findDropTargetRangeOnWidget(o,n),s)return s;const u=getClosestMappedModelElement(o,n),l=a?i.toModelPosition(a):null;return l?(s=findDropTargetRangeBetweenBlocks(o,l,u),s||(s=r.schema.getNearestSelectionRange(l,env.isGecko?"forward":"backward"),s)?s:findDropTargetRangeOnAncestorObject(o,l.parent)):findDropTargetRangeInElement(o,u)}function findDropTargetRangeOnWidget(o,e){const n=o.model,r=o.editing.mapper;if(isWidget(e))return n.createRangeOn(r.toModelElement(e));if(!e.is("editableElement")){const i=e.findAncestor(s=>isWidget(s)||s.is("editableElement"));if(isWidget(i))return n.createRangeOn(r.toModelElement(i))}return null}function findDropTargetRangeInElement(o,e){const n=o.model,r=n.schema,i=n.createPositionAt(e,0);return r.getNearestSelectionRange(i,"forward")}function findDropTargetRangeBetweenBlocks(o,e,n){const r=o.model;if(!r.schema.checkChild(n,"$block"))return null;const i=r.createPositionAt(n,0),s=e.path.slice(0,i.path.length),u=r.createPositionFromPath(e.root,s).nodeAfter;return u&&r.schema.isObject(u)?r.createRangeOn(u):null}function findDropTargetRangeOnAncestorObject(o,e){const n=o.model;let r=e;for(;r;){if(n.schema.isObject(r))return n.createRangeOn(r);r=r.parent}return null}function getClosestMappedModelElement(o,e){const n=o.editing.mapper,r=o.editing.view,i=n.toModelElement(e);if(i)return i;const s=r.createPositionBefore(e),a=n.findMappedViewAncestor(s);return n.toModelElement(a)}function getFinalDropEffect(o){return env.isGecko?o.dropEffect:["all","copyMove"].includes(o.effectAllowed)?"move":"copy"}function delay(o,e){let n;function r(...i){r.cancel(),n=setTimeout(()=>o(...i),e)}return r.cancel=()=>{clearTimeout(n)},r}function findDraggableWidget(o){if(o.is("editableElement"))return null;if(o.hasClass("ck-widget__selection-handle"))return o.findAncestor(isWidget);if(isWidget(o))return o;const e=o.findAncestor(n=>isWidget(n)||n.is("editableElement"));return isWidget(e)?e:null}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class PastePlainText extends Plugin{static get pluginName(){return"PastePlainText"}static get requires(){return[ClipboardPipeline]}init(){const e=this.editor,n=e.model,r=e.editing.view,i=r.document,s=n.document.selection;let a=!1;r.addObserver(ClipboardObserver),this.listenTo(i,"keydown",(u,l)=>{a=l.shiftKey}),e.plugins.get(ClipboardPipeline).on("contentInsertion",(u,l)=>{!a&&!isPlainTextFragment(l.content,n.schema)||n.change(c=>{const d=Array.from(s.getAttributes()).filter(([f])=>n.schema.getAttributeProperties(f).isFormatting);s.isCollapsed||n.deleteContent(s,{doNotAutoparagraph:!0}),d.push(...s.getAttributes());const h=c.createRangeIn(l.content);for(const f of h.getItems())f.is("$textProxy")&&c.setAttributes(d,f)})})}}function isPlainTextFragment(o,e){if(o.childCount>1)return!1;const n=o.getChild(0);return e.isObject(n)?!1:Array.from(n.getAttributeKeys()).length==0}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Clipboard extends Plugin{static get pluginName(){return"Clipboard"}static get requires(){return[ClipboardPipeline,DragDrop,PastePlainText]}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SelectAllCommand extends Command{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,n=e.document.selection;let r=e.schema.getLimitElement(n);if(n.containsEntireContent(r)||!isSelectAllScope(e.schema,r))do if(r=r.parent,!r)return;while(!isSelectAllScope(e.schema,r));e.change(i=>{i.setSelection(r,"in")})}}function isSelectAllScope(o,e){return o.isLimit(e)&&(o.checkChild(e,"$text")||o.checkChild(e,"paragraph"))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const SELECT_ALL_KEYSTROKE=parseKeystroke("Ctrl+A");class SelectAllEditing extends Plugin{static get pluginName(){return"SelectAllEditing"}init(){const e=this.editor,r=e.editing.view.document;e.commands.add("selectAll",new SelectAllCommand(e)),this.listenTo(r,"keydown",(i,s)=>{getCode(s)===SELECT_ALL_KEYSTROKE&&(e.execute("selectAll"),s.preventDefault())})}}const _hoisted_1$t={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$s=vue.createElementVNode("path",{d:"M.75 15.5a.75.75 0 0 1 .75.75V18l.008.09A.5.5 0 0 0 2 18.5h1.75a.75.75 0 1 1 0 1.5H1.5l-.144-.007a1.5 1.5 0 0 1-1.35-1.349L0 18.5v-2.25a.75.75 0 0 1 .75-.75zm18.5 0a.75.75 0 0 1 .75.75v2.25l-.007.144a1.5 1.5 0 0 1-1.349 1.35L18.5 20h-2.25a.75.75 0 1 1 0-1.5H18a.5.5 0 0 0 .492-.41L18.5 18v-1.75a.75.75 0 0 1 .75-.75zm-10.45 3c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm.45-5.5a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5h8.5zM1.3 11c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM1.3 7c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5h-2.5a.75.75 0 1 1 0-1.5h2.5zm-5 0a.75.75 0 1 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5h5.5zm-6.5-5a.75.75 0 0 1 0 1.5H2a.5.5 0 0 0-.492.41L1.5 2v1.75a.75.75 0 0 1-1.5 0V1.5l.007-.144A1.5 1.5 0 0 1 1.356.006L1.5 0h2.25zM18.5 0l.144.007a1.5 1.5 0 0 1 1.35 1.349L20 1.5v2.25a.75.75 0 1 1-1.5 0V2l-.008-.09A.5.5 0 0 0 18 1.5h-1.75a.75.75 0 1 1 0-1.5h2.25zM8.8 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6z"},null,-1),_hoisted_3$s=[_hoisted_2$s];function render$s(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$t,_hoisted_3$s)}const selectAllIcon={render:render$s};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SelectAllUI extends Plugin{static get pluginName(){return"SelectAllUI"}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",n=>{const r=e.commands.get("selectAll"),i=new ButtonView(n),s=n.t;return i.set({label:s("Select all"),icon:selectAllIcon,keystroke:"Ctrl+A",tooltip:!0}),i.bind("isEnabled").to(r,"isEnabled"),this.listenTo(i,"execute",()=>{e.execute("selectAll"),e.editing.view.focus()}),i})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class SelectAll extends Plugin{static get requires(){return[SelectAllEditing,SelectAllUI]}static get pluginName(){return"SelectAll"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BaseCommand extends Command{constructor(e){super(e),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this.listenTo(e.data,"set",(n,r)=>{r[1]={...r[1]};const i=r[1];i.batchType||(i.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(e.data,"set",(n,r)=>{r[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}addBatch(e){const n=this.editor.model.document.selection,r={ranges:n.hasOwnRange?Array.from(n.getRanges()):[],isBackward:n.isBackward};this._stack.push({batch:e,selection:r}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,n,r){const i=this.editor.model,s=i.document,a=[],u=e.map(c=>c.getTransformedByOperations(r)),l=u.flat();for(const c of u){const d=c.filter(h=>h.root!=s.graveyard).filter(h=>!isRangeContainedByAnyOtherRange(h,l));!d.length||(normalizeRanges(d),a.push(d[0]))}a.length&&i.change(c=>{c.setSelection(a,{backward:n})})}_undo(e,n){const r=this.editor.model,i=r.document;this._createdBatches.add(n);const s=e.operations.slice().filter(a=>a.isDocumentOperation);s.reverse();for(const a of s){const u=a.baseVersion+1,l=Array.from(i.history.getOperations(u)),d=transformSets([a.getReversed()],l,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(const h of d)n.addOperation(h),r.applyOperation(h),i.history.setOperationAsUndone(a,h)}}}function normalizeRanges(o){o.sort((e,n)=>e.start.isBefore(n.start)?-1:1);for(let e=1;en!==o&&n.containsRange(o,!0))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UndoCommand extends BaseCommand{execute(e=null){const n=e?this._stack.findIndex(s=>s.batch==e):this._stack.length-1,r=this._stack.splice(n,1)[0],i=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(i,()=>{this._undo(r.batch,i);const s=this.editor.model.document.history.getOperations(r.batch.baseVersion);this._restoreSelection(r.selection.ranges,r.selection.isBackward,s),this.fire("revert",r.batch,i)}),this.refresh()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class RedoCommand extends BaseCommand{execute(){const e=this._stack.pop(),n=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(n,()=>{const i=e.batch.operations[e.batch.operations.length-1].baseVersion+1,s=this.editor.model.document.history.getOperations(i);this._restoreSelection(e.selection.ranges,e.selection.isBackward,s),this._undo(e.batch,n)}),this.refresh()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UndoEditing extends Plugin{static get pluginName(){return"UndoEditing"}constructor(e){super(e),this._batchRegistry=new WeakSet}init(){const e=this.editor;this._undoCommand=new UndoCommand(e),this._redoCommand=new RedoCommand(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",(n,r)=>{const i=r[0];if(!i.isDocumentOperation)return;const s=i.batch,a=this._redoCommand._createdBatches.has(s),u=this._undoCommand._createdBatches.has(s);this._batchRegistry.has(s)||(this._batchRegistry.add(s),s.isUndoable&&(a?this._undoCommand.addBatch(s):u||(this._undoCommand.addBatch(s),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(n,r,i)=>{this._redoCommand.addBatch(i)}),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo")}}const _hoisted_1$s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$r=vue.createElementVNode("path",{d:"m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"},null,-1),_hoisted_3$r=[_hoisted_2$r];function render$r(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$s,_hoisted_3$r)}const undoIcon={render:render$r},_hoisted_1$r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$q=vue.createElementVNode("path",{d:"m14.958 9.367-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"},null,-1),_hoisted_3$q=[_hoisted_2$q];function render$q(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$r,_hoisted_3$q)}const redoIcon={render:render$q};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UndoUI extends Plugin{static get pluginName(){return"UndoUI"}init(){const e=this.editor,n=e.locale,r=e.t,i=n.uiLanguageDirection=="ltr"?undoIcon:redoIcon,s=n.uiLanguageDirection=="ltr"?redoIcon:undoIcon;this._addButton("undo",r("Undo"),"CTRL+Z",i),this._addButton("redo",r("Redo"),"CTRL+Y",s)}_addButton(e,n,r,i){const s=this.editor;s.ui.componentFactory.add(e,a=>{const u=s.commands.get(e),l=new ButtonView(a);return l.set({label:n,icon:i,keystroke:r,tooltip:!0}),l.bind("isEnabled").to(u,"isEnabled"),this.listenTo(l,"execute",()=>{s.execute(e),s.editing.view.focus()}),l})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Undo extends Plugin{static get requires(){return[UndoEditing,UndoUI]}static get pluginName(){return"Undo"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Essentials extends Plugin{static get requires(){return[Clipboard,Enter,SelectAll,ShiftEnter,Typing,Undo]}static get pluginName(){return"Essentials"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const supportedOptions=["left","right","center","justify"];function isSupported(o){return supportedOptions.includes(o)}function isDefault(o,e){return e.contentLanguageDirection=="rtl"?o==="right":o==="left"}function normalizeAlignmentOptions(o){const e=o.map(r=>{let i;return typeof r=="string"?i={name:r}:i=r,i}).filter(r=>{const i=!!supportedOptions.includes(r.name);return i||logWarning("alignment-config-name-not-recognized",{option:r}),i}),n=e.filter(r=>!!r.className).length;if(n&&n{const a=s.slice(i+1);if(a.some(l=>l.name==r.name))throw new CKEditorError("alignment-config-name-already-defined",{option:r,configuredOptions:o});if(r.className&&a.some(c=>c.className==r.className))throw new CKEditorError("alignment-config-classname-already-defined",{option:r,configuredOptions:o})}),e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const ALIGNMENT="alignment";class AlignmentCommand extends Command{refresh(){const n=this.editor.locale,r=first(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=!!r&&this._canBeAligned(r),this.isEnabled&&r.hasAttribute("alignment")?this.value=r.getAttribute("alignment"):this.value=n.contentLanguageDirection==="rtl"?"right":"left"}execute(e={}){const n=this.editor,r=n.locale,i=n.model,s=i.document,a=e.value;i.change(u=>{const l=Array.from(s.selection.getSelectedBlocks()).filter(h=>this._canBeAligned(h)),c=l[0].getAttribute("alignment");isDefault(a,r)||c===a||!a?removeAlignmentFromSelection(l,u):setAlignmentOnSelection(l,u,a)})}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,ALIGNMENT)}}function removeAlignmentFromSelection(o,e){for(const n of o)e.removeAttribute(ALIGNMENT,n)}function setAlignmentOnSelection(o,e,n){for(const r of o)e.setAttribute(ALIGNMENT,n,r)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class AlignmentEditing extends Plugin{static get pluginName(){return"AlignmentEditing"}constructor(e){super(e),e.config.define("alignment",{options:[...supportedOptions.map(n=>({name:n}))]})}init(){const e=this.editor,n=e.locale,r=e.model.schema,s=normalizeAlignmentOptions(e.config.get("alignment.options")).filter(c=>isSupported(c.name)&&!isDefault(c.name,n)),a=s.some(c=>!!c.className);r.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),a?e.conversion.attributeToAttribute(buildClassDefinition(s)):e.conversion.for("downcast").attributeToAttribute(buildDowncastInlineDefinition(s));const u=buildUpcastInlineDefinitions(s);for(const c of u)e.conversion.for("upcast").attributeToAttribute(c);const l=buildUpcastCompatibilityDefinitions(s);for(const c of l)e.conversion.for("upcast").attributeToAttribute(c);e.commands.add("alignment",new AlignmentCommand(e))}}function buildDowncastInlineDefinition(o){const e={model:{key:"alignment",values:o.map(n=>n.name)},view:{}};for(const{name:n}of o)e.view[n]={key:"style",value:{"text-align":n}};return e}function buildUpcastInlineDefinitions(o){const e=[];for(const{name:n}of o)e.push({view:{key:"style",value:{"text-align":n}},model:{key:"alignment",value:n}});return e}function buildUpcastCompatibilityDefinitions(o){const e=[];for(const{name:n}of o)e.push({view:{key:"align",value:n},model:{key:"alignment",value:n}});return e}function buildClassDefinition(o){const e={model:{key:"alignment",values:o.map(n=>n.name)},view:{}};for(const n of o)e.view[n.name]={key:"class",value:n.className};return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const iconsMap=new Map([["left",icons.alignLeft],["right",icons.alignRight],["center",icons.alignCenter],["justify",icons.alignJustify]]);class AlignmentUI extends Plugin{get localizedOptionTitles(){const e=this.editor.t;return{left:e("Align left"),right:e("Align right"),center:e("Align center"),justify:e("Justify")}}static get pluginName(){return"AlignmentUI"}init(){const e=this.editor,n=e.ui.componentFactory,r=e.t,i=normalizeAlignmentOptions(e.config.get("alignment.options"));i.map(s=>s.name).filter(isSupported).forEach(s=>this._addButton(s)),n.add("alignment",s=>{const a=createDropdown(s),u=i.map(c=>n.create(`alignment:${c.name}`));addToolbarToDropdown(a,u,{enableActiveItemFocusOnDropdownOpen:!0}),a.buttonView.set({label:r("Text alignment"),tooltip:!0}),a.toolbarView.isVertical=!0,a.toolbarView.ariaLabel=r("Text alignment toolbar"),a.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const l=s.contentLanguageDirection==="rtl"?iconsMap.get("right"):iconsMap.get("left");return a.buttonView.bind("icon").toMany(u,"isOn",(...c)=>{const d=c.findIndex(h=>h);return d<0?l:u[d].icon}),a.bind("isEnabled").toMany(u,"isEnabled",(...c)=>c.some(d=>d)),this.listenTo(a,"execute",()=>{e.editing.view.focus()}),a})}_addButton(e){const n=this.editor;n.ui.componentFactory.add(`alignment:${e}`,r=>{const i=n.commands.get("alignment"),s=new ButtonView(r);return s.set({label:this.localizedOptionTitles[e],icon:iconsMap.get(e),tooltip:!0,isToggleable:!0}),s.bind("isEnabled").to(i),s.bind("isOn").to(i,"value",a=>a===e),this.listenTo(s,"execute",()=>{n.execute("alignment",{value:e}),n.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Alignment extends Plugin{static get requires(){return[AlignmentEditing,AlignmentUI]}static get pluginName(){return"Alignment"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontCommand extends Command{constructor(e,n){super(e),this.attributeKey=n}refresh(){const e=this.editor.model,n=e.document;this.value=n.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(n.selection,this.attributeKey)}execute(e={}){const n=this.editor.model,i=n.document.selection,s=e.value;n.change(a=>{if(i.isCollapsed)s?a.setSelectionAttribute(this.attributeKey,s):a.removeSelectionAttribute(this.attributeKey);else{const u=n.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const l of u)s?a.setAttribute(this.attributeKey,s,l):a.removeAttribute(this.attributeKey,l)}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class DocumentColorCollection extends Collection{constructor(e){super(e),this.set("isEmpty",!0),this.on("change",()=>{this.set("isEmpty",this.length===0)})}add(e,n){this.find(r=>r.color===e.color)||super.add(e,n)}hasColor(e){return!!this.find(n=>n.color===e)}}mix(DocumentColorCollection,ObservableMixin);const fontcolor="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ColorTableView extends View{constructor(e,{colors:n,columns:r,removeButtonLabel:i,documentColorsLabel:s,documentColorsCount:a}){super(e),this.items=this.createCollection(),this.colorDefinitions=n,this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.set("selectedColor"),this.removeButtonLabel=i,this.columns=r,this.documentColors=new DocumentColorCollection,this.documentColorsCount=a,this._focusables=new ViewCollection,this._focusCycler=new FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._documentColorsLabel=s,this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-table"]},children:this.items}),this.items.add(this._createRemoveColorButton())}updateDocumentColors(e,n){const r=e.document,i=this.documentColorsCount;this.documentColors.clear();for(const s of r.getRootNames()){const a=r.getRoot(s),u=e.createRangeIn(a);for(const l of u.getItems())if(l.is("$textProxy")&&l.hasAttribute(n)&&(this._addColorToDocumentColors(l.getAttribute(n)),this.documentColors.length>=i))return}}updateSelectedColors(){const e=this.documentColorsGrid,n=this.staticColorsGrid,r=this.selectedColor;n.selectedColor=r,e&&(e.selectedColor=r)}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendGrids(){if(!this.staticColorsGrid&&(this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.focusTracker.add(this.staticColorsGrid.element),this._focusables.add(this.staticColorsGrid),this.documentColorsCount)){const e=Template.bind(this.documentColors,this.documentColors),n=new LabelView(this.locale);n.text=this._documentColorsLabel,n.extendTemplate({attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]}}),this.items.add(n),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid),this.focusTracker.add(this.documentColorsGrid.element),this._focusables.add(this.documentColorsGrid)}}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_createRemoveColorButton(){const e=new ButtonView;return e.set({withText:!0,icon:icons.eraser,label:this.removeButtonLabel}),e.class="ck-color-table__remove-color",e.on("execute",()=>{this.fire("execute",{value:null})}),e.render(),this.focusTracker.add(e.element),this._focusables.add(e),e}_createStaticColorsGrid(){const e=new ColorGridView(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});return e.delegate("execute").to(this),e}_createDocumentColorsGrid(){const e=Template.bind(this.documentColors,this.documentColors),n=new ColorGridView(this.locale,{columns:this.columns});return n.delegate("execute").to(this),n.extendTemplate({attributes:{class:e.if("isEmpty","ck-hidden")}}),n.items.bindTo(this.documentColors).using(r=>{const i=new ColorTileView;return i.set({color:r.color,hasBorder:r.options&&r.options.hasBorder}),r.label&&i.set({label:r.label,tooltip:!0}),i.on("execute",()=>{this.fire("execute",{value:r.color})}),i}),this.documentColors.on("change:isEmpty",(r,i,s)=>{s&&(n.selectedColor=null)}),n}_addColorToDocumentColors(e){const n=this.colorDefinitions.find(r=>r.color===e);n?this.documentColors.add(Object.assign({},n)):this.documentColors.add({color:e,label:e,options:{hasBorder:!1}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const FONT_SIZE="fontSize",FONT_FAMILY="fontFamily",FONT_COLOR="fontColor",FONT_BACKGROUND_COLOR="fontBackgroundColor";function buildDefinition(o,e){const n={model:{key:o,values:[]},view:{},upcastAlso:{}};for(const r of e)n.model.values.push(r.model),n.view[r.model]=r.view,r.upcastAlso&&(n.upcastAlso[r.model]=r.upcastAlso);return n}function renderUpcastAttribute(o){return e=>normalizeColorCode(e.getStyle(o))}function renderDowncastElement(o){return(e,{writer:n})=>n.createAttributeElement("span",{style:`${o}:${e}`},{priority:7})}function addColorTableToDropdown({dropdownView:o,colors:e,columns:n,removeButtonLabel:r,documentColorsLabel:i,documentColorsCount:s}){const a=o.locale,u=new ColorTableView(a,{colors:e,columns:n,removeButtonLabel:r,documentColorsLabel:i,documentColorsCount:s});return o.colorTableView=u,o.panelView.children.add(u),u.delegate("execute").to(o,"execute"),u}function normalizeColorCode(o){return o.replace(/\s/g,"")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontSizeCommand extends FontCommand{constructor(e){super(e,FONT_SIZE)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function normalizeOptions$1(o){return o.map(e=>getOptionDefinition$1(e)).filter(e=>!!e)}const namedPresets={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function getOptionDefinition$1(o){if(isFullItemDefinition(o))return attachPriority(o);const e=findPreset(o);if(e)return attachPriority(e);if(o==="default")return{model:void 0,title:"Default"};if(!isNumericalDefinition(o))return generatePixelPreset(o)}function generatePixelPreset(o){return(typeof o=="number"||typeof o=="string")&&(o={title:String(o),model:`${parseFloat(o)}px`}),o.view={name:"span",styles:{"font-size":o.model}},attachPriority(o)}function attachPriority(o){return o.view.priority||(o.view.priority=7),o}function findPreset(o){return namedPresets[o]||namedPresets[o.model]}function isFullItemDefinition(o){return typeof o=="object"&&o.title&&o.model&&o.view}function isNumericalDefinition(o){let e;if(typeof o=="object")if(o.model)e=parseFloat(o.model);else throw new CKEditorError("font-size-invalid-definition",null,o);else e=parseFloat(o);return isNaN(e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const styleFontSize=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class FontSizeEditing extends Plugin{static get pluginName(){return"FontSizeEditing"}constructor(e){super(e),e.config.define(FONT_SIZE,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:FONT_SIZE}),e.model.schema.setAttributeProperties(FONT_SIZE,{isFormatting:!0,copyOnEnter:!0});const n=e.config.get("fontSize.supportAllValues"),r=normalizeOptions$1(this.editor.config.get("fontSize.options")).filter(s=>s.model),i=buildDefinition(FONT_SIZE,r);n?(this._prepareAnyValueConverters(i),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(FONT_SIZE,new FontSizeCommand(e))}_prepareAnyValueConverters(e){const n=this.editor,r=e.model.values.filter(i=>!isLength(String(i))&&!isPercentage(String(i)));if(r.length)throw new CKEditorError("font-size-invalid-use-of-named-presets",null,{presets:r});n.conversion.for("downcast").attributeToElement({model:FONT_SIZE,view:(i,{writer:s})=>{if(!!i)return s.createAttributeElement("span",{style:"font-size:"+i},{priority:7})}}),n.conversion.for("upcast").elementToAttribute({model:{key:FONT_SIZE,value:i=>i.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:FONT_SIZE,value:n=>{const r=n.getAttribute("size"),i=r[0]==="-"||r[0]==="+";let s=parseInt(r,10);i&&(s=3+s);const a=styleFontSize.length-1,u=Math.min(Math.max(s,0),a);return styleFontSize[u]}}})}}const _hoisted_1$q={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$p=vue.createElementVNode("path",{d:"M9.816 11.5 7.038 4.785 4.261 11.5h5.555zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13zm7.55 2.279.779-.779.707.707-2.265 2.265-2.193-2.265.707-.707.765.765V4.825c0-.042 0-.083.002-.123l-.77.77-.707-.707L17.207 2.5l2.265 2.265-.707.707-.782-.782c.002.043.003.089.003.135v10.454z"},null,-1),_hoisted_3$p=[_hoisted_2$p];function render$p(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$q,_hoisted_3$p)}const fontSizeIcon={render:render$p},fontsize="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontSizeUI extends Plugin{static get pluginName(){return"FontSizeUI"}init(){const e=this.editor,n=e.t,r=this._getLocalizedOptions(),i=e.commands.get(FONT_SIZE);e.ui.componentFactory.add(FONT_SIZE,s=>{const a=createDropdown(s);return addListToDropdown(a,_prepareListOptions$1(r,i)),a.buttonView.set({label:n("Font Size"),icon:fontSizeIcon,tooltip:!0}),a.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),a.bind("isEnabled").to(i),this.listenTo(a,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),a})}_getLocalizedOptions(){const e=this.editor,n=e.t,r={Default:n("Default"),Tiny:n("Tiny"),Small:n("Small"),Big:n("Big"),Huge:n("Huge")};return normalizeOptions$1(e.config.get(FONT_SIZE).options).map(s=>{const a=r[s.title];return a&&a!=s.title&&(s=Object.assign({},s,{title:a})),s})}}function _prepareListOptions$1(o,e){const n=new Collection;for(const r of o){const i={type:"button",model:new Model({commandName:FONT_SIZE,commandParam:r.model,label:r.title,class:"ck-fontsize-option",withText:!0})};r.view&&r.view.styles&&i.model.set("labelStyle",`font-size:${r.view.styles["font-size"]}`),r.view&&r.view.classes&&i.model.set("class",`${i.model.class} ${r.view.classes}`),i.model.bind("isOn").to(e,"value",s=>s===r.model),n.add(i)}return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontSize extends Plugin{static get requires(){return[FontSizeEditing,FontSizeUI]}static get pluginName(){return"FontSize"}normalizeSizeOptions(e){return normalizeOptions$1(e)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontFamilyCommand extends FontCommand{constructor(e){super(e,FONT_FAMILY)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function normalizeOptions(o){return o.map(getOptionDefinition).filter(e=>!!e)}function getOptionDefinition(o){if(typeof o=="object")return o;if(o==="default")return{title:"Default",model:void 0};if(typeof o=="string")return generateFontPreset(o)}function generateFontPreset(o){const e=o.replace(/"|'/g,"").split(","),n=e[0],r=e.map(normalizeFontNameForCSS).join(", ");return{title:n,model:r,view:{name:"span",styles:{"font-family":r},priority:7}}}function normalizeFontNameForCSS(o){return o=o.trim(),o.indexOf(" ")>0&&(o=`'${o}'`),o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontFamilyEditing extends Plugin{static get pluginName(){return"FontFamilyEditing"}constructor(e){super(e),e.config.define(FONT_FAMILY,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:FONT_FAMILY}),e.model.schema.setAttributeProperties(FONT_FAMILY,{isFormatting:!0,copyOnEnter:!0});const n=normalizeOptions(e.config.get("fontFamily.options")).filter(i=>i.model),r=buildDefinition(FONT_FAMILY,n);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(r),e.commands.add(FONT_FAMILY,new FontFamilyCommand(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:FONT_FAMILY,view:(n,{writer:r})=>r.createAttributeElement("span",{style:"font-family:"+n},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:FONT_FAMILY,value:n=>n.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:FONT_FAMILY,value:n=>n.getAttribute("face")}})}}const _hoisted_1$p={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$o=vue.createElementVNode("path",{d:"M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z"},null,-1),_hoisted_3$o=[_hoisted_2$o];function render$o(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$p,_hoisted_3$o)}const fontFamilyIcon={render:render$o};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontFamilyUI extends Plugin{static get pluginName(){return"FontFamilyUI"}init(){const e=this.editor,n=e.t,r=this._getLocalizedOptions(),i=e.commands.get(FONT_FAMILY);e.ui.componentFactory.add(FONT_FAMILY,s=>{const a=createDropdown(s);return addListToDropdown(a,_prepareListOptions(r,i)),a.buttonView.set({label:n("Font Family"),icon:fontFamilyIcon,tooltip:!0}),a.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),a.bind("isEnabled").to(i),this.listenTo(a,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),a})}_getLocalizedOptions(){const e=this.editor,n=e.t;return normalizeOptions(e.config.get(FONT_FAMILY).options).map(i=>(i.title==="Default"&&(i.title=n("Default")),i))}}function _prepareListOptions(o,e){const n=new Collection;for(const r of o){const i={type:"button",model:new Model({commandName:FONT_FAMILY,commandParam:r.model,label:r.title,withText:!0})};i.model.bind("isOn").to(e,"value",s=>s===r.model?!0:!s||!r.model?!1:s.split(",")[0].replace(/'/g,"").toLowerCase()===r.model.toLowerCase()),r.view&&r.view.styles&&i.model.set("labelStyle",`font-family: ${r.view.styles["font-family"]}`),n.add(i)}return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontFamily extends Plugin{static get requires(){return[FontFamilyEditing,FontFamilyUI]}static get pluginName(){return"FontFamily"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontColorCommand extends FontCommand{constructor(e){super(e,FONT_COLOR)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontColorEditing extends Plugin{static get pluginName(){return"FontColorEditing"}constructor(e){super(e),e.config.define(FONT_COLOR,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:FONT_COLOR,value:renderUpcastAttribute("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:FONT_COLOR,value:n=>n.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:FONT_COLOR,view:renderDowncastElement("color")}),e.commands.add(FONT_COLOR,new FontColorCommand(e)),e.model.schema.extend("$text",{allowAttributes:FONT_COLOR}),e.model.schema.setAttributeProperties(FONT_COLOR,{isFormatting:!0,copyOnEnter:!0})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ColorUI extends Plugin{constructor(e,{commandName:n,icon:r,componentName:i,dropdownLabel:s}){super(e),this.commandName=n,this.componentName=i,this.icon=r,this.dropdownLabel=s,this.columns=e.config.get(`${this.componentName}.columns`),this.colorTableView=void 0}init(){const e=this.editor,n=e.locale,r=n.t,i=e.commands.get(this.commandName),s=normalizeColorOptions(e.config.get(this.componentName).colors),a=getLocalizedColorOptions(n,s),u=e.config.get(`${this.componentName}.documentColors`);e.ui.componentFactory.add(this.componentName,l=>{const c=createDropdown(l);return this.colorTableView=addColorTableToDropdown({dropdownView:c,colors:a.map(d=>({label:d.label,color:d.model,options:{hasBorder:d.hasBorder}})),columns:this.columns,removeButtonLabel:r("Remove color"),documentColorsLabel:u!==0?r("Document colors"):void 0,documentColorsCount:u===void 0?this.columns:u}),this.colorTableView.bind("selectedColor").to(i,"value"),c.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),c.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),c.bind("isEnabled").to(i),c.on("execute",(d,h)=>{e.execute(this.commandName,h),e.editing.view.focus()}),c.on("change:isOpen",(d,h,f)=>{c.colorTableView.appendGrids(),f&&(u!==0&&this.colorTableView.updateDocumentColors(e.model,this.componentName),this.colorTableView.updateSelectedColors())}),focusChildOnDropdownOpen(c,()=>c.colorTableView.staticColorsGrid.items.find(d=>d.isOn)),c})}}const _hoisted_1$o={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$n=vue.createElementVNode("path",{d:"M12.4 10.3 10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zm3.1 7H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z"},null,-1),_hoisted_3$n=[_hoisted_2$n];function render$n(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$o,_hoisted_3$n)}const fontColorIcon={render:render$n};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontColorUI extends ColorUI{constructor(e){const n=e.locale.t;super(e,{commandName:FONT_COLOR,componentName:FONT_COLOR,icon:fontColorIcon,dropdownLabel:n("Font Color")})}static get pluginName(){return"FontColorUI"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontColor extends Plugin{static get requires(){return[FontColorEditing,FontColorUI]}static get pluginName(){return"FontColor"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontBackgroundColorCommand extends FontCommand{constructor(e){super(e,FONT_BACKGROUND_COLOR)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontBackgroundColorEditing extends Plugin{static get pluginName(){return"FontBackgroundColorEditing"}constructor(e){super(e),e.config.define(FONT_BACKGROUND_COLOR,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(addBackgroundRules),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:FONT_BACKGROUND_COLOR,value:renderUpcastAttribute("background-color")}}),e.conversion.for("downcast").attributeToElement({model:FONT_BACKGROUND_COLOR,view:renderDowncastElement("background-color")}),e.commands.add(FONT_BACKGROUND_COLOR,new FontBackgroundColorCommand(e)),e.model.schema.extend("$text",{allowAttributes:FONT_BACKGROUND_COLOR}),e.model.schema.setAttributeProperties(FONT_BACKGROUND_COLOR,{isFormatting:!0,copyOnEnter:!0})}}const _hoisted_1$n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$m=vue.createElementVNode("path",{d:"M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z"},null,-1),_hoisted_3$m=[_hoisted_2$m];function render$m(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$n,_hoisted_3$m)}const fontBackgroundColorIcon={render:render$m};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontBackgroundColorUI extends ColorUI{constructor(e){const n=e.locale.t;super(e,{commandName:FONT_BACKGROUND_COLOR,componentName:FONT_BACKGROUND_COLOR,icon:fontBackgroundColorIcon,dropdownLabel:n("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FontBackgroundColor extends Plugin{static get requires(){return[FontBackgroundColorEditing,FontBackgroundColorUI]}static get pluginName(){return"FontBackgroundColor"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FileReader extends ObservableMixin(){constructor(){super();const e=new window.FileReader;this._reader=e,this._data=void 0,this.set("loaded",0),e.onprogress=n=>{this.loaded=n.loaded}}get error(){return this._reader.error}get data(){return this._data}read(e){const n=this._reader;return this.total=e.size,new Promise((r,i)=>{n.onload=()=>{const s=n.result;this._data=s,r(s)},n.onerror=()=>{i("error")},n.onabort=()=>{i("aborted")},this._reader.readAsDataURL(e)})}abort(){this._reader.abort()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FileRepository extends Plugin{static get pluginName(){return"FileRepository"}static get requires(){return[PendingActions]}init(){this.loaders=new Collection,this.loaders.on("change",()=>this._updatePendingAction()),this._loadersMap=new Map,this._pendingAction=null,this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(e,n)=>n?e/n*100:0)}getLoader(e){return this._loadersMap.get(e)||null}createLoader(e){if(!this.createUploadAdapter)return logWarning("filerepository-no-upload-adapter"),null;const n=new FileLoader(Promise.resolve(e),this.createUploadAdapter);return this.loaders.add(n),this._loadersMap.set(e,n),e instanceof Promise&&n.file.then(r=>{this._loadersMap.set(r,n)}).catch(()=>{}),n.on("change:uploaded",()=>{let r=0;for(const i of this.loaders)r+=i.uploaded;this.uploaded=r}),n.on("change:uploadTotal",()=>{let r=0;for(const i of this.loaders)i.uploadTotal&&(r+=i.uploadTotal);this.uploadTotal=r}),n}destroyLoader(e){const n=e instanceof FileLoader?e:this.getLoader(e);n._destroy(),this.loaders.remove(n),this._loadersMap.forEach((r,i)=>{r===n&&this._loadersMap.delete(i)})}_updatePendingAction(){const e=this.editor.plugins.get(PendingActions);if(this.loaders.length){if(!this._pendingAction){const n=this.editor.t,r=i=>`${n("Upload in progress")} ${parseInt(i)}%.`;this._pendingAction=e.add(r(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",r)}}else e.remove(this._pendingAction),this._pendingAction=null}}class FileLoader extends ObservableMixin(){constructor(e,n){super(),this.id=uid(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=n(this),this._reader=new FileReader,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(r,i)=>i?r/i*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(e=>this._filePromiseWrapper?e:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if(this.status!="idle")throw new CKEditorError("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(e=>this._reader.read(e)).then(e=>{if(this.status!=="reading")throw this.status;return this.status="idle",e}).catch(e=>{throw e==="aborted"?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:e)})}upload(){if(this.status!="idle")throw new CKEditorError("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(e=>(this.uploadResponse=e,this.status="idle",e)).catch(e=>{throw this.status==="aborted"?"aborted":(this.status="error",e)})}abort(){const e=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?e=="reading"?this._reader.abort():e=="uploading"&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(e){const n={};return n.promise=new Promise((r,i)=>{n.rejecter=i,n.isFulfilled=!1,e.then(s=>{n.isFulfilled=!0,r(s)}).catch(s=>{n.isFulfilled=!0,i(s)})}),n}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class FileDialogButtonView extends View{constructor(e){super(e),this.buttonView=new ButtonView(e),this._fileInputView=new FileInputView(e),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",()=>{this._fileInputView.open()})}focus(){this.buttonView.focus()}}class FileInputView extends View{constructor(e){super(e),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const n=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:n.to("acceptedType"),multiple:n.to("allowMultipleFiles")},on:{change:n.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const TOKEN_COOKIE_NAME="ckCsrfToken",TOKEN_LENGTH=40,tokenCharset="abcdefghijklmnopqrstuvwxyz0123456789";function getCsrfToken(){let o=getCookie(TOKEN_COOKIE_NAME);return(!o||o.length!=TOKEN_LENGTH)&&(o=generateToken(TOKEN_LENGTH),setCookie(TOKEN_COOKIE_NAME,o)),o}function getCookie(o){o=o.toLowerCase();const e=document.cookie.split(";");for(const n of e){const r=n.split("=");if(decodeURIComponent(r[0].trim().toLowerCase())===o)return decodeURIComponent(r[1])}return null}function setCookie(o,e){document.cookie=encodeURIComponent(o)+"="+encodeURIComponent(e)+";path=/"}function generateToken(o){let e="";const n=new Uint8Array(o);window.crypto.getRandomValues(n);for(let r=0;r.5?i.toUpperCase():i}return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class CKFinderUploadAdapter extends Plugin{static get requires(){return[FileRepository]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const e=this.editor.config.get("ckfinder.uploadUrl");!e||(this.editor.plugins.get(FileRepository).createUploadAdapter=n=>new UploadAdapter(n,e,this.editor.t))}}class UploadAdapter{constructor(e,n,r){this.loader=e,this.url=n,this.t=r}upload(){return this.loader.file.then(e=>new Promise((n,r)=>{this._initRequest(),this._initListeners(n,r,e),this._sendRequest(e)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,n,r){const i=this.xhr,s=this.loader,a=this.t,u=a("Cannot upload file:")+` ${r.name}.`;i.addEventListener("error",()=>n(u)),i.addEventListener("abort",()=>n()),i.addEventListener("load",()=>{const l=i.response;if(!l||!l.uploaded)return n(l&&l.error&&l.error.message?l.error.message:u);e({default:l.url})}),i.upload&&i.upload.addEventListener("progress",l=>{l.lengthComputable&&(s.uploadTotal=l.total,s.uploaded=l.loaded)})}_sendRequest(e){const n=new FormData;n.append("upload",e),n.append("ckCsrfToken",getCsrfToken()),this.xhr.send(n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function blockAutoformatEditing(o,e,n,r){let i,s=null;typeof r=="function"?i=r:(s=o.commands.get(r),i=()=>{o.execute(r)}),o.model.document.on("change:data",(a,u)=>{if(s&&!s.isEnabled||!e.isEnabled)return;const l=first(o.model.document.selection.getRanges());if(!l.isCollapsed||u.isUndo||!u.isLocal)return;const c=Array.from(o.model.document.differ.getChanges()),d=c[0];if(c.length!=1||d.type!=="insert"||d.name!="$text"||d.length!=1)return;const h=d.position.parent;if(h.is("element","codeBlock")||h.is("element","listItem")&&typeof r!="function"&&!["numberedList","bulletedList","todoList"].includes(r)||s&&s.value===!0)return;const f=h.getChild(0),p=o.model.createRangeOn(f);if(!p.containsRange(l)&&!l.end.isEqual(p.end))return;const m=n.exec(f.data.substr(0,l.end.offset));!m||o.model.enqueueChange(g=>{const v=g.createPositionAt(h,0),_=g.createPositionAt(h,m[0].length),b=new LiveRange(v,_);if(i({match:m})!==!1){g.remove(b);const A=o.model.document.selection.getFirstRange(),k=g.createRangeIn(h);h.isEmpty&&!k.isEqual(A)&&!k.containsRange(A,!0)&&g.remove(h)}b.detach(),o.model.enqueueChange(()=>{o.plugins.get("Delete").requestUndoOnBackspace()})})})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function inlineAutoformatEditing(o,e,n,r){let i,s;n instanceof RegExp?i=n:s=n,s=s||(a=>{let u;const l=[],c=[];for(;(u=i.exec(a))!==null&&!(u&&u.length<4);){let{index:d,"1":h,"2":f,"3":p}=u;const m=h+f+p;d+=u[0].length-m.length;const g=[d,d+h.length],v=[d+h.length+f.length,d+h.length+f.length+p.length];l.push(g),l.push(v),c.push([d+h.length,d+h.length+f.length])}return{remove:l,format:c}}),o.model.document.on("change:data",(a,u)=>{if(u.isUndo||!u.isLocal||!e.isEnabled)return;const l=o.model,c=l.document.selection;if(!c.isCollapsed)return;const d=Array.from(l.document.differ.getChanges()),h=d[0];if(d.length!=1||h.type!=="insert"||h.name!="$text"||h.length!=1)return;const f=c.focus,p=f.parent,{text:m,range:g}=getTextAfterCode(l.createRange(l.createPositionAt(p,0),f),l),v=s(m),_=testOutputToRanges(g.start,v.format,l),b=testOutputToRanges(g.start,v.remove,l);!(_.length&&b.length)||l.enqueueChange(y=>{if(r(y,_)!==!1){for(const k of b.reverse())y.remove(k);l.enqueueChange(()=>{o.plugins.get("Delete").requestUndoOnBackspace()})}})})}function testOutputToRanges(o,e,n){return e.filter(r=>r[0]!==void 0&&r[1]!==void 0).map(r=>n.createRange(o.getShiftedBy(r[0]),o.getShiftedBy(r[1])))}function getTextAfterCode(o,e){let n=o.start;return{text:Array.from(o.getItems()).reduce((i,s)=>!(s.is("$text")||s.is("$textProxy"))||s.getAttribute("code")?(n=e.createPositionAfter(s),""):i+s.data,""),range:e.createRange(n,o.end)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Autoformat extends Plugin{static get requires(){return[Delete]}static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const e=this.editor.commands;e.get("bulletedList")&&blockAutoformatEditing(this.editor,this,/^[*-]\s$/,"bulletedList"),e.get("numberedList")&&blockAutoformatEditing(this.editor,this,/^1[.|)]\s$/,"numberedList"),e.get("todoList")&&blockAutoformatEditing(this.editor,this,/^\[\s?\]\s$/,"todoList"),e.get("checkTodoList")&&blockAutoformatEditing(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const e=this.editor.commands;if(e.get("bold")){const n=getCallbackFunctionForInlineAutoformat(this.editor,"bold");inlineAutoformatEditing(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,n),inlineAutoformatEditing(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,n)}if(e.get("italic")){const n=getCallbackFunctionForInlineAutoformat(this.editor,"italic");inlineAutoformatEditing(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,n),inlineAutoformatEditing(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,n)}if(e.get("code")){const n=getCallbackFunctionForInlineAutoformat(this.editor,"code");inlineAutoformatEditing(this.editor,this,/(`)([^`]+)(`)$/g,n)}if(e.get("strikethrough")){const n=getCallbackFunctionForInlineAutoformat(this.editor,"strikethrough");inlineAutoformatEditing(this.editor,this,/(~~)([^~]+)(~~)$/g,n)}}_addHeadingAutoformats(){const e=this.editor.commands.get("heading");e&&e.modelElements.filter(n=>n.match(/^heading[1-6]$/)).forEach(n=>{const r=n[7],i=new RegExp(`^(#{${r}})\\s$`);blockAutoformatEditing(this.editor,this,i,()=>{if(!e.isEnabled||e.value===n)return!1;this.editor.execute("heading",{value:n})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&blockAutoformatEditing(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const e=this.editor,n=e.model.document.selection;e.commands.get("codeBlock")&&blockAutoformatEditing(e,this,/^```$/,()=>{if(n.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&blockAutoformatEditing(this.editor,this,/^---$/,"horizontalLine")}}function getCallbackFunctionForInlineAutoformat(o,e){return(n,r)=>{if(!o.commands.get(e).isEnabled)return!1;const s=o.model.schema.getValidRanges(r,e);for(const a of s)n.setAttribute(e,!0,a);n.removeSelectionAttribute(e)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class AttributeCommand extends Command{constructor(e,n){super(e),this.attributeKey=n}refresh(){const e=this.editor.model,n=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(n.selection,this.attributeKey)}execute(e={}){const n=this.editor.model,i=n.document.selection,s=e.forceValue===void 0?!this.value:e.forceValue;n.change(a=>{if(i.isCollapsed)s?a.setSelectionAttribute(this.attributeKey,!0):a.removeSelectionAttribute(this.attributeKey);else{const u=n.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const l of u)s?a.setAttribute(this.attributeKey,s,l):a.removeAttribute(this.attributeKey,l)}})}_getValueFromFirstAllowedNode(){const e=this.editor.model,n=e.schema,r=e.document.selection;if(r.isCollapsed)return r.hasAttribute(this.attributeKey);for(const i of r.getRanges())for(const s of i.getItems())if(n.checkAttribute(s,this.attributeKey))return s.hasAttribute(this.attributeKey);return!1}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const BOLD$1="bold";class BoldEditing extends Plugin{static get pluginName(){return"BoldEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:BOLD$1}),e.model.schema.setAttributeProperties(BOLD$1,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:BOLD$1,view:"strong",upcastAlso:["b",n=>{const r=n.getStyle("font-weight");if(!r)return null;if(r=="bold"||Number(r)>=600)return{name:!0,styles:["font-weight"]}}]}),e.commands.add(BOLD$1,new AttributeCommand(e,BOLD$1)),e.keystrokes.set("CTRL+B",BOLD$1)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const BOLD="bold";class BoldUI extends Plugin{static get pluginName(){return"BoldUI"}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add(BOLD,r=>{const i=e.commands.get(BOLD),s=new ButtonView(r);return s.set({label:n("Bold"),icon:icons.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute(BOLD),e.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Bold extends Plugin{static get requires(){return[BoldEditing,BoldUI]}static get pluginName(){return"Bold"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const ITALIC$1="italic";class ItalicEditing extends Plugin{static get pluginName(){return"ItalicEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:ITALIC$1}),e.model.schema.setAttributeProperties(ITALIC$1,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:ITALIC$1,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add(ITALIC$1,new AttributeCommand(e,ITALIC$1)),e.keystrokes.set("CTRL+I",ITALIC$1)}}const _hoisted_1$m={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$l=vue.createElementVNode("path",{d:"m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"},null,-1),_hoisted_3$l=[_hoisted_2$l];function render$l(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$m,_hoisted_3$l)}const italicIcon={render:render$l};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const ITALIC="italic";class ItalicUI extends Plugin{static get pluginName(){return"ItalicUI"}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add(ITALIC,r=>{const i=e.commands.get(ITALIC),s=new ButtonView(r);return s.set({label:n("Italic"),icon:italicIcon,keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute(ITALIC),e.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Italic extends Plugin{static get requires(){return[ItalicEditing,ItalicUI]}static get pluginName(){return"Italic"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const STRIKETHROUGH$1="strikethrough";class StrikethroughEditing extends Plugin{static get pluginName(){return"StrikethroughEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:STRIKETHROUGH$1}),e.model.schema.setAttributeProperties(STRIKETHROUGH$1,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:STRIKETHROUGH$1,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),e.commands.add(STRIKETHROUGH$1,new AttributeCommand(e,STRIKETHROUGH$1)),e.keystrokes.set("CTRL+SHIFT+X","strikethrough")}}const _hoisted_1$l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$k=vue.createElementVNode("path",{d:"M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"},null,-1),_hoisted_3$k=vue.createElementVNode("path",{d:"M3 10.5V9h14v1.5z"},null,-1),_hoisted_4$c=[_hoisted_2$k,_hoisted_3$k];function render$k(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$l,_hoisted_4$c)}const strikethroughIcon={render:render$k};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const STRIKETHROUGH="strikethrough";class StrikethroughUI extends Plugin{static get pluginName(){return"StrikethroughUI"}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add(STRIKETHROUGH,r=>{const i=e.commands.get(STRIKETHROUGH),s=new ButtonView(r);return s.set({label:n("Strikethrough"),icon:strikethroughIcon,keystroke:"CTRL+SHIFT+X",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute(STRIKETHROUGH),e.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Strikethrough extends Plugin{static get requires(){return[StrikethroughEditing,StrikethroughUI]}static get pluginName(){return"Strikethrough"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const UNDERLINE$1="underline";class UnderlineEditing extends Plugin{static get pluginName(){return"UnderlineEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:UNDERLINE$1}),e.model.schema.setAttributeProperties(UNDERLINE$1,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:UNDERLINE$1,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),e.commands.add(UNDERLINE$1,new AttributeCommand(e,UNDERLINE$1)),e.keystrokes.set("CTRL+U","underline")}}const _hoisted_1$k={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$j=vue.createElementVNode("path",{d:"M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z"},null,-1),_hoisted_3$j=[_hoisted_2$j];function render$j(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$k,_hoisted_3$j)}const underlineIcon={render:render$j};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const UNDERLINE="underline";class UnderlineUI extends Plugin{static get pluginName(){return"UnderlineUI"}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add(UNDERLINE,r=>{const i=e.commands.get(UNDERLINE),s=new ButtonView(r);return s.set({label:n("Underline"),icon:underlineIcon,keystroke:"CTRL+U",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute(UNDERLINE),e.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Underline extends Plugin{static get requires(){return[UnderlineEditing,UnderlineUI]}static get pluginName(){return"Underline"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BlockQuoteCommand extends Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const n=this.editor.model,r=n.schema,i=n.document.selection,s=Array.from(i.getSelectedBlocks()),a=e.forceValue===void 0?!this.value:e.forceValue;n.change(u=>{if(!a)this._removeQuote(u,s.filter(findQuote));else{const l=s.filter(c=>findQuote(c)||checkCanBeQuoted(r,c));this._applyQuote(u,l)}})}_getValue(){const e=this.editor.model.document.selection,n=first(e.getSelectedBlocks());return!!(n&&findQuote(n))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,n=this.editor.model.schema,r=first(e.getSelectedBlocks());return r?checkCanBeQuoted(n,r):!1}_removeQuote(e,n){getRangesOfBlockGroups(e,n).reverse().forEach(r=>{if(r.start.isAtStart&&r.end.isAtEnd){e.unwrap(r.start.parent);return}if(r.start.isAtStart){const s=e.createPositionBefore(r.start.parent);e.move(r,s);return}r.end.isAtEnd||e.split(r.end);const i=e.createPositionAfter(r.end.parent);e.move(r,i)})}_applyQuote(e,n){const r=[];getRangesOfBlockGroups(e,n).reverse().forEach(i=>{let s=findQuote(i.start);s||(s=e.createElement("blockQuote"),e.wrap(i,s)),r.push(s)}),r.reverse().reduce((i,s)=>i.nextSibling==s?(e.merge(e.createPositionAfter(i)),i):s)}}function findQuote(o){return o.parent.name=="blockQuote"?o.parent:null}function getRangesOfBlockGroups(o,e){let n,r=0;const i=[];for(;r{const u=e.model.document.differ.getChanges();for(const l of u)if(l.type=="insert"){const c=l.position.nodeAfter;if(!c)continue;if(c.is("element","blockQuote")&&c.isEmpty)return a.remove(c),!0;if(c.is("element","blockQuote")&&!n.checkChild(l.position,c))return a.unwrap(c),!0;if(c.is("element")){const d=a.createRangeIn(c);for(const h of d.getItems())if(h.is("element","blockQuote")&&!n.checkChild(a.createPositionBefore(h),h))return a.unwrap(h),!0}}else if(l.type=="remove"){const c=l.position.parent;if(c.is("element","blockQuote")&&c.isEmpty)return a.remove(c),!0}return!1});const r=this.editor.editing.view.document,i=e.model.document.selection,s=e.commands.get("blockQuote");this.listenTo(r,"enter",(a,u)=>{if(!i.isCollapsed||!s.value)return;i.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),u.preventDefault(),a.stop())},{context:"blockquote"}),this.listenTo(r,"delete",(a,u)=>{if(u.direction!="backward"||!i.isCollapsed||!s.value)return;const l=i.getLastPosition().parent;l.isEmpty&&!l.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),u.preventDefault(),a.stop())},{context:"blockquote"})}}const blockquote="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BlockQuoteUI extends Plugin{static get pluginName(){return"BlockQuoteUI"}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add("blockQuote",r=>{const i=e.commands.get("blockQuote"),s=new ButtonView(r);return s.set({label:n("Block quote"),icon:icons.quote,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute("blockQuote"),e.editing.view.focus()}),s})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class BlockQuote extends Plugin{static get requires(){return[BlockQuoteEditing,BlockQuoteUI]}static get pluginName(){return"BlockQuote"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ParagraphCommand extends Command{refresh(){const e=this.editor.model,n=e.document,r=first(n.selection.getSelectedBlocks());this.value=!!r&&r.is("element","paragraph"),this.isEnabled=!!r&&checkCanBecomeParagraph(r,e.schema)}execute(e={}){const n=this.editor.model,r=n.document;n.change(i=>{const s=(e.selection||r.selection).getSelectedBlocks();for(const a of s)!a.is("element","paragraph")&&checkCanBecomeParagraph(a,n.schema)&&i.rename(a,"paragraph")})}}function checkCanBecomeParagraph(o,e){return e.checkChild(o.parent,"paragraph")&&!e.isObject(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InsertParagraphCommand extends Command{execute(e){const n=this.editor.model,r=e.attributes;let i=e.position;n.change(s=>{const a=s.createElement("paragraph");if(r&&n.schema.setAllowedAttributes(a,r,s),!n.schema.checkChild(i.parent,a)){const u=n.schema.findAllowedParent(i,a);if(!u)return;i=s.split(i,u).position}n.insertContent(a,i),s.setSelection(a,"in")})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Paragraph extends Plugin{static get pluginName(){return"Paragraph"}init(){const e=this.editor,n=e.model;e.commands.add("paragraph",new ParagraphCommand(e)),e.commands.add("insertParagraph",new InsertParagraphCommand(e)),n.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(r,{writer:i})=>!Paragraph.paragraphLikeElements.has(r.name)||r.isEmpty?null:i.createElement("paragraph"),view:/.+/,converterPriority:"low"})}}Paragraph.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class HeadingCommand extends Command{constructor(e,n){super(e),this.modelElements=n}refresh(){const e=first(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some(n=>checkCanBecomeHeading(e,n,this.editor.model.schema))}execute(e){const n=this.editor.model,r=n.document,i=e.value;n.change(s=>{const a=Array.from(r.selection.getSelectedBlocks()).filter(u=>checkCanBecomeHeading(u,i,n.schema));for(const u of a)u.is("element",i)||s.rename(u,i)})}}function checkCanBecomeHeading(o,e,n){return n.checkChild(o.parent,e)&&!n.isObject(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const defaultModelElement="paragraph";class HeadingEditing extends Plugin{static get pluginName(){return"HeadingEditing"}constructor(e){super(e),e.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Paragraph]}init(){const e=this.editor,n=e.config.get("heading.options"),r=[];for(const i of n)i.model!==defaultModelElement&&(e.model.schema.register(i.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(i),r.push(i.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new HeadingCommand(e,r))}afterInit(){const e=this.editor,n=e.commands.get("enter"),r=e.config.get("heading.options");n&&this.listenTo(n,"afterExecute",(i,s)=>{const a=e.model.document.selection.getFirstPosition().parent;r.some(l=>a.is("element",l.model))&&!a.is("element",defaultModelElement)&&a.childCount===0&&s.writer.rename(a,defaultModelElement)})}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:priorities.get("low")+1})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function getLocalizedOptions(o){const e=o.t,n={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return o.config.get("heading.options").map(r=>{const i=n[r.title];return i&&i!=r.title&&(r.title=i),r})}const heading="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class HeadingUI extends Plugin{static get pluginName(){return"HeadingUI"}init(){const e=this.editor,n=e.t,r=getLocalizedOptions(e),i=n("Choose heading"),s=n("Heading");e.ui.componentFactory.add("heading",a=>{const u={},l=new Collection,c=e.commands.get("heading"),d=e.commands.get("paragraph"),h=[c];for(const p of r){const m={type:"button",model:new Model({label:p.title,class:p.class,withText:!0})};p.model==="paragraph"?(m.model.bind("isOn").to(d,"value"),m.model.set("commandName","paragraph"),h.push(d)):(m.model.bind("isOn").to(c,"value",g=>g===p.model),m.model.set({commandName:"heading",commandValue:p.model})),l.add(m),u[p.model]=p.title}const f=createDropdown(a);return addListToDropdown(f,l),f.buttonView.set({isOn:!1,withText:!0,tooltip:s}),f.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),f.bind("isEnabled").toMany(h,"isEnabled",(...p)=>p.some(m=>m)),f.buttonView.bind("label").to(c,"value",d,"value",(p,m)=>{const g=p||m&&"paragraph";return u[g]?u[g]:i}),this.listenTo(f,"execute",p=>{e.execute(p.source.commandName,p.source.commandValue?{value:p.source.commandValue}:void 0),e.editing.view.focus()}),f})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Heading extends Plugin{static get requires(){return[HeadingEditing,HeadingUI]}static get pluginName(){return"Heading"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageTextAlternativeCommand extends Command{refresh(){const r=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!r,this.isEnabled&&r.hasAttribute("alt")?this.value=r.getAttribute("alt"):this.value=!1}execute(e){const n=this.editor,r=n.plugins.get("ImageUtils"),i=n.model,s=r.getClosestSelectedImageElement(i.document.selection);i.change(a=>{a.setAttribute("alt",e.newValue,s)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function createInlineImageViewElement(o){return o.createContainerElement("span",{class:"image-inline"},o.createEmptyElement("img"))}function createBlockImageViewElement(o){return o.createContainerElement("figure",{class:"image"},[o.createEmptyElement("img"),o.createSlot()])}function getImgViewElementMatcher(o,e){const n=o.plugins.get("ImageUtils"),r=o.plugins.has("ImageInlineEditing")&&o.plugins.has("ImageBlockEditing");return s=>n.isInlineImageView(s)?r&&(s.getStyle("display")=="block"||s.findAncestor(n.isBlockImageView)?"imageBlock":"imageInline")!==e?null:i(s):null;function i(s){const a={name:!0};return s.hasAttribute("src")&&(a.attributes=["src"]),a}}function determineImageTypeForInsertionAtSelection(o,e){const n=first(e.getSelectedBlocks());return!n||o.isObject(n)||n.isEmpty&&n.name!="listItem"?"imageBlock":"imageInline"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageUtils extends Plugin{static get pluginName(){return"ImageUtils"}isImage(e){return this.isInlineImage(e)||this.isBlockImage(e)}isInlineImageView(e){return!!e&&e.is("element","img")}isBlockImageView(e){return!!e&&e.is("element","figure")&&e.hasClass("image")}insertImage(e={},n=null,r=null){const i=this.editor,s=i.model,a=s.document.selection;r=determineImageTypeForInsertion(i,n||a,r),e={...Object.fromEntries(a.getAttributes()),...e};for(const u in e)s.schema.checkAttribute(r,u)||delete e[u];return s.change(u=>{const l=u.createElement(r,e);return s.insertObject(l,n,null,{setSelection:"on",findOptimalPosition:!n&&r!="imageInline"}),l.parent?l:null})}getClosestSelectedImageWidget(e){const n=e.getFirstPosition();if(!n)return null;const r=e.getSelectedElement();if(r&&this.isImageWidget(r))return r;let i=n.parent;for(;i;){if(i.is("element")&&this.isImageWidget(i))return i;i=i.parent}return null}getClosestSelectedImageElement(e){const n=e.getSelectedElement();return this.isImage(n)?n:e.getFirstPosition().findAncestor("imageBlock")}isImageAllowed(){const n=this.editor.model.document.selection;return isImageAllowedInParent(this.editor,n)&&isNotInsideImage(n)}toImageWidget(e,n,r){return n.setCustomProperty("image",!0,e),toWidget(e,n,{label:()=>{const a=this.findViewImgElement(e).getAttribute("alt");return a?`${a} ${r}`:r}})}isImageWidget(e){return!!e.getCustomProperty("image")&&isWidget(e)}isBlockImage(e){return!!e&&e.is("element","imageBlock")}isInlineImage(e){return!!e&&e.is("element","imageInline")}findViewImgElement(e){if(this.isInlineImageView(e))return e;const n=this.editor.editing.view;for(const{item:r}of n.createRangeIn(e))if(this.isInlineImageView(r))return r}}function isImageAllowedInParent(o,e){if(determineImageTypeForInsertion(o,e)=="imageBlock"){const r=getInsertImageParent(e,o.model);if(o.model.schema.checkChild(r,"imageBlock"))return!0}else if(o.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}function isNotInsideImage(o){return[...o.focus.getAncestors()].every(e=>!e.is("element","imageBlock"))}function getInsertImageParent(o,e){const r=findOptimalInsertionRange(o,e).start.parent;return r.isEmpty&&!r.is("element","$root")?r.parent:r}function determineImageTypeForInsertion(o,e,n){const r=o.model.schema,i=o.config.get("image.insert.type");return o.plugins.has("ImageBlockEditing")?o.plugins.has("ImageInlineEditing")?n||(i==="inline"?"imageInline":i==="block"?"imageBlock":e.is("selection")?determineImageTypeForInsertionAtSelection(r,e):r.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageTextAlternativeEditing extends Plugin{static get requires(){return[ImageUtils]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new ImageTextAlternativeCommand(this.editor))}}const textalternativeform="",responsiveform="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class TextAlternativeFormView extends View{constructor(e){super(e);const n=this.locale.t;this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(n("Save"),icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("Cancel"),icons.cancel,"ck-button-cancel","cancel"),this._focusables=new ViewCollection,this._focusCycler=new FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]}),injectCssTransitionDisabler(this)}render(){super.render(),this.keystrokes.listenTo(this.element),submitHandler({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(e,n,r,i){const s=new ButtonView(this.locale);return s.set({label:e,icon:n,tooltip:!0}),s.extendTemplate({attributes:{class:r}}),i&&s.delegate("execute").to(this,i),s}_createLabeledInputView(){const e=this.locale.t,n=new LabeledFieldView(this.locale,createLabeledInputText);return n.label=e("Text alternative"),n}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function repositionContextualBalloon(o){const e=o.plugins.get("ContextualBalloon");if(o.plugins.get("ImageUtils").getClosestSelectedImageWidget(o.editing.view.document.selection)){const n=getBalloonPositionData(o);e.updatePosition(n)}}function getBalloonPositionData(o){const e=o.editing.view,n=BalloonPanelView.defaultPositions,r=o.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(r.getClosestSelectedImageWidget(e.document.selection)),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast,n.viewportStickyNorth]}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageTextAlternativeUI extends Plugin{static get requires(){return[ContextualBalloon]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton(),this._createForm()}destroy(){super.destroy(),this._form.destroy()}_createButton(){const e=this.editor,n=e.t;e.ui.componentFactory.add("imageTextAlternative",r=>{const i=e.commands.get("imageTextAlternative"),s=new ButtonView(r);return s.set({label:n("Change image text alternative"),icon:icons.lowVision,tooltip:!0}),s.bind("isEnabled").to(i,"isEnabled"),s.bind("isOn").to(i,"value",a=>!!a),this.listenTo(s,"execute",()=>{this._showForm()}),s})}_createForm(){const e=this.editor,r=e.editing.view.document,i=e.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new TextAlternativeFormView(e.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(s,a)=>{this._hideForm(!0),a()}),this.listenTo(e.ui,"update",()=>{i.getClosestSelectedImageWidget(r.selection)?this._isVisible&&repositionContextualBalloon(e):this._hideForm(!0)}),clickOutsideHandler({emitter:this._form,activator:()=>this._isVisible,contextElements:[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;const e=this.editor,n=e.commands.get("imageTextAlternative"),r=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:getBalloonPositionData(e)}),r.fieldView.value=r.fieldView.element.value=n.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e){!this._isInBalloon||(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return this._balloon.visibleView===this._form}get _isInBalloon(){return this._balloon.hasView(this._form)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageTextAlternative extends Plugin{static get requires(){return[ImageTextAlternativeEditing,ImageTextAlternativeUI]}static get pluginName(){return"ImageTextAlternative"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function upcastImageFigure(o){return n=>{n.on("element:figure",e)};function e(n,r,i){if(!i.consumable.test(r.viewItem,{name:!0,classes:"image"}))return;const s=o.findViewImgElement(r.viewItem);if(!s||!i.consumable.test(s,{name:!0}))return;i.consumable.consume(r.viewItem,{name:!0,classes:"image"});const a=i.convertItem(s,r.modelCursor),u=first(a.modelRange.getItems());if(!u){i.consumable.revert(r.viewItem,{name:!0,classes:"image"});return}i.convertChildren(r.viewItem,u),i.updateConversionResult(u,r)}}function upcastPicture(o){const e=["srcset","media","type","sizes"];return r=>{r.on("element:picture",n)};function n(r,i,s){const a=i.viewItem;if(!s.consumable.test(a,{name:!0}))return;const u=new Map;for(const d of a.getChildren())if(d.is("element","source")){const h={};for(const f of e)d.hasAttribute(f)&&s.consumable.test(d,{attributes:f})&&(h[f]=d.getAttribute(f));Object.keys(h).length&&u.set(d,h)}const l=o.findViewImgElement(a);if(!l)return;let c=i.modelCursor.parent;if(!c.is("element","imageBlock")){const d=s.convertItem(l,i.modelCursor);i.modelRange=d.modelRange,i.modelCursor=d.modelCursor,c=first(d.modelRange.getItems())}s.consumable.consume(a,{name:!0});for(const[d,h]of u)s.consumable.consume(d,{attributes:Object.keys(h)});u.size&&s.writer.setAttribute("sources",Array.from(u.values()),c),s.convertChildren(a,c)}}function downcastSrcsetAttribute(o,e){return r=>{r.on(`attribute:srcset:${e}`,n)};function n(r,i,s){if(!s.consumable.consume(i.item,r.name))return;const a=s.writer,u=s.mapper.toViewElement(i.item),l=o.findViewImgElement(u);if(i.attributeNewValue===null){const c=i.attributeOldValue;c.data&&(a.removeAttribute("srcset",l),a.removeAttribute("sizes",l),c.width&&a.removeAttribute("width",l))}else{const c=i.attributeNewValue;c.data&&(a.setAttribute("srcset",c.data,l),a.setAttribute("sizes","100vw",l),c.width&&a.setAttribute("width",c.width,l))}}}function downcastSourcesAttribute(o){return n=>{n.on("attribute:sources:imageBlock",e),n.on("attribute:sources:imageInline",e)};function e(n,r,i){if(!i.consumable.consume(r.item,n.name))return;const s=i.writer,a=i.mapper.toViewElement(r.item),u=o.findViewImgElement(a);if(r.attributeNewValue&&r.attributeNewValue.length){const l=s.createContainerElement("picture",null,r.attributeNewValue.map(h=>s.createEmptyElement("source",h))),c=[];let d=u.parent;for(;d&&d.is("attributeElement");){const h=d.parent;s.unwrap(s.createRangeOn(u),d),c.unshift(d),d=h}s.insert(s.createPositionBefore(u),l),s.move(s.createRangeOn(u),s.createPositionAt(l,"end"));for(const h of c)s.wrap(s.createRangeOn(l),h)}else if(u.parent.is("element","picture")){const l=u.parent;s.move(s.createRangeOn(u),s.createPositionBefore(l)),s.remove(l)}}}function downcastImageAttribute(o,e,n){return i=>{i.on(`attribute:${n}:${e}`,r)};function r(i,s,a){if(!a.consumable.consume(s.item,i.name))return;const u=a.writer,l=a.mapper.toViewElement(s.item),c=o.findViewImgElement(l);u.setAttribute(s.attributeKey,s.attributeNewValue||"",c)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageLoadObserver extends Observer{observe(e){this.listenTo(e,"load",(n,r)=>{const i=r.target;this.checkShouldIgnoreEventFromTarget(i)||i.tagName=="IMG"&&this._fireEvents(r)},{useCapture:!0})}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class InsertImageCommand extends Command{constructor(e){super(e);const n=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||n==="block"&&logWarning("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||n==="inline"&&logWarning("image-inline-plugin-required")}refresh(){this.isEnabled=this.editor.plugins.get("ImageUtils").isImageAllowed()}execute(e){const n=toArray(e.source),r=this.editor.model.document.selection,i=this.editor.plugins.get("ImageUtils"),s=Object.fromEntries(r.getAttributes());n.forEach((a,u)=>{const l=r.getSelectedElement();if(typeof a=="string"&&(a={src:a}),u&&l&&i.isImage(l)){const c=this.editor.model.createPositionAfter(l);i.insertImage({...a,...s},c)}else i.insertImage({...a,...s})})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageEditing extends Plugin{static get requires(){return[ImageUtils]}static get pluginName(){return"ImageEditing"}init(){const e=this.editor,n=e.conversion;e.editing.view.addObserver(ImageLoadObserver),n.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:i=>{const s={data:i.getAttribute("srcset")};return i.hasAttribute("width")&&(s.width=i.getAttribute("width")),s}}});const r=new InsertImageCommand(e);e.commands.add("insertImage",r),e.commands.add("imageInsert",r)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageTypeCommand extends Command{constructor(e,n){super(e),this._modelElementName=n}refresh(){const n=this.editor.plugins.get("ImageUtils"),r=n.getClosestSelectedImageElement(this.editor.model.document.selection);this._modelElementName==="imageBlock"?this.isEnabled=n.isInlineImage(r):this.isEnabled=n.isBlockImage(r)}execute(){const e=this.editor,n=this.editor.model,r=e.plugins.get("ImageUtils"),i=r.getClosestSelectedImageElement(n.document.selection),s=Object.fromEntries(i.getAttributes());return!s.src&&!s.uploadId?null:n.change(a=>{const u=Array.from(n.markers).filter(d=>d.getRange().containsItem(i)),l=r.insertImage(s,n.createSelection(i,"on"),this._modelElementName);if(!l)return null;const c=a.createRangeOn(l);for(const d of u){const h=d.getRange(),f=h.root.rootName!="$graveyard"?h.getJoined(c,!0):c;a.updateMarker(d,{range:f})}return{oldElement:i,newElement:l}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageBlockEditing extends Plugin{static get requires(){return[ImageEditing,ImageUtils,ClipboardPipeline]}static get pluginName(){return"ImageBlockEditing"}init(){const e=this.editor;e.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),e.plugins.has("ImageInlineEditing")&&(e.commands.add("imageTypeBlock",new ImageTypeCommand(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,n=e.t,r=e.conversion,i=e.plugins.get("ImageUtils");r.for("dataDowncast").elementToStructure({model:"imageBlock",view:(s,{writer:a})=>createBlockImageViewElement(a)}),r.for("editingDowncast").elementToStructure({model:"imageBlock",view:(s,{writer:a})=>i.toImageWidget(createBlockImageViewElement(a),a,n("image widget"))}),r.for("downcast").add(downcastImageAttribute(i,"imageBlock","src")).add(downcastImageAttribute(i,"imageBlock","alt")).add(downcastSrcsetAttribute(i,"imageBlock")),r.for("upcast").elementToElement({view:getImgViewElementMatcher(e,"imageBlock"),model:(s,{writer:a})=>a.createElement("imageBlock",s.hasAttribute("src")?{src:s.getAttribute("src")}:null)}).add(upcastImageFigure(i))}_setupClipboardIntegration(){const e=this.editor,n=e.model,r=e.editing.view,i=e.plugins.get("ImageUtils");this.listenTo(e.plugins.get("ClipboardPipeline"),"inputTransformation",(s,a)=>{const u=Array.from(a.content.getChildren());let l;if(!u.every(i.isInlineImageView))return;a.targetRanges?l=e.editing.mapper.toModelRange(a.targetRanges[0]):l=n.document.selection.getFirstRange();const c=n.createSelection(l);if(determineImageTypeForInsertionAtSelection(n.schema,c)==="imageBlock"){const d=new UpcastWriter(r.document),h=u.map(f=>d.createElement("figure",{class:"image"},f));a.content=d.createDocumentFragment(h)}})}}const image="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageBlock extends Plugin{static get requires(){return[ImageBlockEditing,Widget,ImageTextAlternative]}static get pluginName(){return"ImageBlock"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageInlineEditing extends Plugin{static get requires(){return[ImageEditing,ImageUtils,ClipboardPipeline]}static get pluginName(){return"ImageInlineEditing"}init(){const e=this.editor,n=e.model.schema;n.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),n.addChildCheck((r,i)=>{if(r.endsWith("caption")&&i.name==="imageInline")return!1}),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new ImageTypeCommand(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,n=e.t,r=e.conversion,i=e.plugins.get("ImageUtils");r.for("dataDowncast").elementToElement({model:"imageInline",view:(s,{writer:a})=>a.createEmptyElement("img")}),r.for("editingDowncast").elementToStructure({model:"imageInline",view:(s,{writer:a})=>i.toImageWidget(createInlineImageViewElement(a),a,n("image widget"))}),r.for("downcast").add(downcastImageAttribute(i,"imageInline","src")).add(downcastImageAttribute(i,"imageInline","alt")).add(downcastSrcsetAttribute(i,"imageInline")),r.for("upcast").elementToElement({view:getImgViewElementMatcher(e,"imageInline"),model:(s,{writer:a})=>a.createElement("imageInline",s.hasAttribute("src")?{src:s.getAttribute("src")}:null)})}_setupClipboardIntegration(){const e=this.editor,n=e.model,r=e.editing.view,i=e.plugins.get("ImageUtils");this.listenTo(e.plugins.get("ClipboardPipeline"),"inputTransformation",(s,a)=>{const u=Array.from(a.content.getChildren());let l;if(!u.every(i.isBlockImageView))return;a.targetRanges?l=e.editing.mapper.toModelRange(a.targetRanges[0]):l=n.document.selection.getFirstRange();const c=n.createSelection(l);if(determineImageTypeForInsertionAtSelection(n.schema,c)==="imageInline"){const d=new UpcastWriter(r.document),h=u.map(f=>f.childCount===1?(Array.from(f.getAttributes()).forEach(p=>d.setAttribute(...p,i.findViewImgElement(f))),f.getChild(0)):f);a.content=d.createDocumentFragment(h)}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageInline extends Plugin{static get requires(){return[ImageInlineEditing,Widget,ImageTextAlternative]}static get pluginName(){return"ImageInline"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Image$1 extends Plugin{static get requires(){return[ImageBlock,ImageInline]}static get pluginName(){return"Image"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ToggleImageCaptionCommand extends Command{refresh(){const e=this.editor,n=e.plugins.get("ImageCaptionUtils");if(!e.plugins.has(ImageBlockEditing)){this.isEnabled=!1,this.value=!1;return}const r=e.model.document.selection,i=r.getSelectedElement();if(!i){const s=n.getCaptionFromModelSelection(r);this.isEnabled=!!s,this.value=!!s;return}this.isEnabled=this.editor.plugins.get("ImageUtils").isImage(i),this.isEnabled?this.value=!!n.getCaptionFromImageModelElement(i):this.value=!1}execute(e={}){const{focusCaptionOnShow:n}=e;this.editor.model.change(r=>{this.value?this._hideImageCaption(r):this._showImageCaption(r,n)})}_showImageCaption(e,n){const i=this.editor.model.document.selection,s=this.editor.plugins.get("ImageCaptionEditing");let a=i.getSelectedElement();const u=s._getSavedCaption(a);this.editor.plugins.get("ImageUtils").isInlineImage(a)&&(this.editor.execute("imageTypeBlock"),a=i.getSelectedElement());const l=u||e.createElement("caption");e.append(l,a),n&&e.setSelection(l,"in")}_hideImageCaption(e){const n=this.editor,r=n.model.document.selection,i=n.plugins.get("ImageCaptionEditing"),s=n.plugins.get("ImageCaptionUtils");let a=r.getSelectedElement(),u;a?u=s.getCaptionFromImageModelElement(a):(u=s.getCaptionFromModelSelection(r),a=u.parent),i._saveCaption(a,u),e.setSelection(a,"on"),e.remove(u)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageCaptionUtils extends Plugin{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[ImageUtils]}getCaptionFromImageModelElement(e){for(const n of e.getChildren())if(!!n&&n.is("element","caption"))return n;return null}getCaptionFromModelSelection(e){const n=this.editor.plugins.get("ImageUtils"),r=e.getFirstPosition().findAncestor("caption");return r&&n.isBlockImage(r.parent)?r:null}matchImageCaptionViewElement(e){const n=this.editor.plugins.get("ImageUtils");return e.name=="figcaption"&&n.isBlockImageView(e.parent)?{name:!0}:null}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageCaptionEditing extends Plugin{static get requires(){return[ImageUtils,ImageCaptionUtils]}static get pluginName(){return"ImageCaptionEditing"}constructor(e){super(e),this._savedCaptionsMap=new WeakMap}init(){const e=this.editor,n=e.model.schema;n.isRegistered("caption")?n.extend("caption",{allowIn:"imageBlock"}):n.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleImageCaption",new ToggleImageCaptionCommand(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,n=e.editing.view,r=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),s=e.t;e.conversion.for("upcast").elementToElement({view:a=>i.matchImageCaptionViewElement(a),model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(a,{writer:u})=>r.isBlockImage(a.parent)?u.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(a,{writer:u})=>{if(!r.isBlockImage(a.parent))return null;const l=u.createEditableElement("figcaption");u.setCustomProperty("imageCaption",!0,l),enablePlaceholder({view:n,element:l,text:s("Enter image caption"),keepOnFocus:!0});const c=a.parent.getAttribute("alt"),d=c?s("Caption for image: %0",[c]):s("Caption for the image");return toWidgetEditable(l,u,{label:d})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,n=e.plugins.get("ImageUtils"),r=e.plugins.get("ImageCaptionUtils"),i=e.commands.get("imageTypeInline"),s=e.commands.get("imageTypeBlock"),a=u=>{if(!u.return)return;const{oldElement:l,newElement:c}=u.return;if(!l)return;if(n.isBlockImage(l)){const h=r.getCaptionFromImageModelElement(l);if(h){this._saveCaption(c,h);return}}const d=this._getSavedCaption(l);d&&this._saveCaption(c,d)};i&&this.listenTo(i,"execute",a,{priority:"low"}),s&&this.listenTo(s,"execute",a,{priority:"low"})}_getSavedCaption(e){const n=this._savedCaptionsMap.get(e);return n?Element.fromJSON(n):null}_saveCaption(e,n){this._savedCaptionsMap.set(e,n.toJSON())}_registerCaptionReconversion(){const e=this.editor,n=e.model,r=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils");n.document.on("change:data",()=>{const s=n.document.differ.getChanges();for(const a of s){if(a.attributeKey!=="alt")continue;const u=a.range.start.nodeAfter;if(r.isBlockImage(u)){const l=i.getCaptionFromImageModelElement(u);if(!l)return;e.editing.reconvertItem(l)}}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageCaptionUI extends Plugin{static get requires(){return[ImageCaptionUtils]}static get pluginName(){return"ImageCaptionUI"}init(){const e=this.editor,n=e.editing.view,r=e.plugins.get("ImageCaptionUtils"),i=e.t;e.ui.componentFactory.add("toggleImageCaption",s=>{const a=e.commands.get("toggleImageCaption"),u=new ButtonView(s);return u.set({icon:icons.caption,tooltip:!0,isToggleable:!0}),u.bind("isOn","isEnabled").to(a,"value","isEnabled"),u.bind("label").to(a,"value",l=>i(l?"Toggle caption off":"Toggle caption on")),this.listenTo(u,"execute",()=>{e.execute("toggleImageCaption",{focusCaptionOnShow:!0});const l=r.getCaptionFromModelSelection(e.model.document.selection);if(l){const c=e.editing.mapper.toViewElement(l);n.scrollToTheSelection(),n.change(d=>{d.addClass("image__caption_highlighted",c)})}e.editing.view.focus()}),u})}}const imagecaption="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageCaption extends Plugin{static get requires(){return[ImageCaptionEditing,ImageCaptionUI]}static get pluginName(){return"ImageCaption"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ResizeImageCommand extends Command{refresh(){const e=this.editor,r=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!r,!r||!r.hasAttribute("width")?this.value=null:this.value={width:r.getAttribute("width"),height:null}}execute(e){const n=this.editor,r=n.model,s=n.plugins.get("ImageUtils").getClosestSelectedImageElement(r.document.selection);this.value={width:e.width,height:null},s&&r.change(a=>{a.setAttribute("width",e.width,s)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageResizeEditing extends Plugin{static get requires(){return[ImageUtils]}static get pluginName(){return"ImageResizeEditing"}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{name:"resizeImage:25",value:"25",icon:"small"},{name:"resizeImage:50",value:"50",icon:"medium"},{name:"resizeImage:75",value:"75",icon:"large"}]})}init(){const e=this.editor,n=new ResizeImageCommand(e);this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",n),e.commands.add("imageResize",n)}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:"width"}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:"width"})}_registerConverters(e){const n=this.editor;n.conversion.for("downcast").add(r=>r.on(`attribute:width:${e}`,(i,s,a)=>{if(!a.consumable.consume(s.item,i.name))return;const u=a.writer,l=a.mapper.toViewElement(s.item);s.attributeNewValue!==null?(u.setStyle("width",s.attributeNewValue,l),u.addClass("image_resized",l)):(u.removeStyle("width",l),u.removeClass("image_resized",l))})),n.conversion.for("upcast").attributeToAttribute({view:{name:e==="imageBlock"?"figure":"img",styles:{width:/.+/}},model:{key:"width",value:r=>r.getStyle("width")}})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const RESIZE_ICONS={small:icons.objectSizeSmall,medium:icons.objectSizeMedium,large:icons.objectSizeLarge,original:icons.objectSizeFull};class ImageResizeButtons extends Plugin{static get requires(){return[ImageResizeEditing]}static get pluginName(){return"ImageResizeButtons"}constructor(e){super(e),this._resizeUnit=e.config.get("image.resizeUnit")}init(){const e=this.editor,n=e.config.get("image.resizeOptions"),r=e.commands.get("resizeImage");this.bind("isEnabled").to(r);for(const i of n)this._registerImageResizeButton(i);this._registerImageResizeDropdown(n)}_registerImageResizeButton(e){const n=this.editor,{name:r,value:i,icon:s}=e,a=i?i+this._resizeUnit:null;n.ui.componentFactory.add(r,u=>{const l=new ButtonView(u),c=n.commands.get("resizeImage"),d=this._getOptionLabelValue(e,!0);if(!RESIZE_ICONS[s])throw new CKEditorError("imageresizebuttons-missing-icon",n,e);return l.set({label:d,icon:RESIZE_ICONS[s],tooltip:d,isToggleable:!0}),l.bind("isEnabled").to(this),l.bind("isOn").to(c,"value",getIsOnButtonCallback(a)),this.listenTo(l,"execute",()=>{n.execute("resizeImage",{width:a})}),l})}_registerImageResizeDropdown(e){const n=this.editor,r=n.t,i=e.find(a=>!a.value),s=a=>{const u=n.commands.get("resizeImage"),l=createDropdown(a,DropdownButtonView),c=l.buttonView;return c.set({tooltip:r("Resize image"),commandValue:i.value,icon:RESIZE_ICONS.medium,isToggleable:!0,label:this._getOptionLabelValue(i),withText:!0,class:"ck-resize-image-button"}),c.bind("label").to(u,"value",d=>d&&d.width?d.width:this._getOptionLabelValue(i)),l.bind("isOn").to(u),l.bind("isEnabled").to(this),addListToDropdown(l,this._getResizeDropdownListItemDefinitions(e,u)),l.listView.ariaLabel=r("Image resize list"),this.listenTo(l,"execute",d=>{n.execute(d.source.commandName,{width:d.source.commandValue}),n.editing.view.focus()}),l};n.ui.componentFactory.add("resizeImage",s),n.ui.componentFactory.add("imageResize",s)}_getOptionLabelValue(e,n){const r=this.editor.t;return e.label?e.label:n?e.value?r("Resize image to %0",e.value+this._resizeUnit):r("Resize image to the original size"):e.value?e.value+this._resizeUnit:r("Original")}_getResizeDropdownListItemDefinitions(e,n){const r=new Collection;return e.map(i=>{const s=i.value?i.value+this._resizeUnit:null,a={type:"button",model:new Model({commandName:"resizeImage",commandValue:s,label:this._getOptionLabelValue(i),withText:!0,icon:null})};a.model.bind("isOn").to(n,"value",getIsOnButtonCallback(s)),r.add(a)}),r}}function getIsOnButtonCallback(o){return e=>o===null&&e===o?!0:e&&e.width===o}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const RESIZABLE_IMAGES_CSS_SELECTOR="figure.image.ck-widget > img,figure.image.ck-widget > picture > img,figure.image.ck-widget > a > img,figure.image.ck-widget > a > picture > img,span.image-inline.ck-widget > img,span.image-inline.ck-widget > picture > img",IMAGE_WIDGETS_CLASSES_MATCH_REGEXP=/(image|image-inline)/,RESIZED_IMAGE_CLASS="image_resized";class ImageResizeHandles extends Plugin{static get requires(){return[WidgetResize]}static get pluginName(){return"ImageResizeHandles"}init(){const e=this.editor.commands.get("resizeImage");this.bind("isEnabled").to(e),this._setupResizerCreator()}_setupResizerCreator(){const e=this.editor,n=e.editing.view;n.addObserver(ImageLoadObserver),this.listenTo(n.document,"imageLoaded",(r,i)=>{if(!i.target.matches(RESIZABLE_IMAGES_CSS_SELECTOR))return;const s=e.editing.view.domConverter,u=s.domToView(i.target).findAncestor({classes:IMAGE_WIDGETS_CLASSES_MATCH_REGEXP});let l=this.editor.plugins.get(WidgetResize).getResizerByViewElement(u);if(l){l.redraw();return}const c=e.editing.mapper,d=c.toModelElement(u);l=e.plugins.get(WidgetResize).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:d,viewElement:u,editor:e,getHandleHost(h){return h.querySelector("img")},getResizeHost(){return s.mapViewToDom(c.toViewElement(d.parent))},isCentered(){const h=d.getAttribute("imageStyle");return!h||h=="block"||h=="alignCenter"},onCommit(h){n.change(f=>{f.removeClass(RESIZED_IMAGE_CLASS,u)}),e.execute("resizeImage",{width:h})}}),l.on("updateSize",()=>{u.hasClass(RESIZED_IMAGE_CLASS)||n.change(h=>{h.addClass(RESIZED_IMAGE_CLASS,u)})}),l.bind("isEnabled").to(this)})}}const imageresize="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageResize extends Plugin{static get requires(){return[ImageResizeEditing,ImageResizeHandles,ImageResizeButtons]}static get pluginName(){return"ImageResize"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageStyleCommand extends Command{constructor(e,n){super(e),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(n.map(r=>{if(r.isDefault)for(const i of r.modelElements)this._defaultStyles[i]=r.name;return[r.name,r]}))}refresh(){const r=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!r,this.isEnabled?r.hasAttribute("imageStyle")?this.value=r.getAttribute("imageStyle"):this.value=this._defaultStyles[r.name]:this.value=!1}execute(e={}){const n=this.editor,r=n.model,i=n.plugins.get("ImageUtils");r.change(s=>{const a=e.value;let u=i.getClosestSelectedImageElement(r.document.selection);a&&this.shouldConvertImageType(a,u)&&(this.editor.execute(i.isBlockImage(u)?"imageTypeInline":"imageTypeBlock"),u=i.getClosestSelectedImageElement(r.document.selection)),!a||this._styles.get(a).isDefault?s.removeAttribute("imageStyle",u):s.setAttribute("imageStyle",a,u)})}shouldConvertImageType(e,n){return!this._styles.get(e).modelElements.includes(n.name)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const{objectFullWidth,objectInline,objectLeft,objectRight,objectCenter,objectBlockLeft,objectBlockRight}=icons,DEFAULT_OPTIONS={get inline(){return{name:"inline",title:"In line",icon:objectInline,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:objectLeft,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:objectBlockLeft,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:objectCenter,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:objectRight,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:objectBlockRight,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:objectCenter,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:objectRight,modelElements:["imageBlock"],className:"image-style-side"}}},DEFAULT_ICONS={full:objectFullWidth,left:objectBlockLeft,right:objectBlockRight,center:objectCenter,inlineLeft:objectLeft,inlineRight:objectRight,inline:objectInline},DEFAULT_DROPDOWN_DEFINITIONS=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function normalizeStyles(o){return(o.configuredStyles.options||[]).map(r=>normalizeDefinition(r)).filter(r=>isValidOption(r,o))}function getDefaultStylesConfiguration(o,e){return o&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:o?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}}function getDefaultDropdownDefinitions(o){return o.has("ImageBlockEditing")&&o.has("ImageInlineEditing")?[...DEFAULT_DROPDOWN_DEFINITIONS]:[]}function normalizeDefinition(o){return typeof o=="string"?DEFAULT_OPTIONS[o]?o={...DEFAULT_OPTIONS[o]}:o={name:o}:o=extendStyle(DEFAULT_OPTIONS[o.name],o),typeof o.icon=="string"&&(o.icon=DEFAULT_ICONS[o.icon]||o.icon),o}function isValidOption(o,{isBlockPluginLoaded:e,isInlinePluginLoaded:n}){const{modelElements:r,name:i}=o;if(!r||!r.length||!i)return warnInvalidStyle({style:o}),!1;{const s=[e?"imageBlock":null,n?"imageInline":null];if(!r.some(a=>s.includes(a)))return logWarning("image-style-missing-dependency",{style:o,missingPlugins:r.map(a=>a==="imageBlock"?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}function extendStyle(o,e){const n={...e};for(const r in o)Object.prototype.hasOwnProperty.call(e,r)||(n[r]=o[r]);return n}function warnInvalidStyle(o){logWarning("image-style-configuration-definition-invalid",o)}const utils={normalizeStyles,getDefaultStylesConfiguration,getDefaultDropdownDefinitions,warnInvalidStyle,DEFAULT_OPTIONS,DEFAULT_ICONS,DEFAULT_DROPDOWN_DEFINITIONS};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function modelToViewStyleAttribute(o){return(e,n,r)=>{if(!r.consumable.consume(n.item,e.name))return;const i=getStyleDefinitionByName(n.attributeNewValue,o),s=getStyleDefinitionByName(n.attributeOldValue,o),a=r.mapper.toViewElement(n.item),u=r.writer;s&&u.removeClass(s.className,a),i&&u.addClass(i.className,a)}}function viewToModelStyleAttribute(o){const e={imageInline:o.filter(n=>!n.isDefault&&n.modelElements.includes("imageInline")),imageBlock:o.filter(n=>!n.isDefault&&n.modelElements.includes("imageBlock"))};return(n,r,i)=>{if(!r.modelRange)return;const s=r.viewItem,a=first(r.modelRange.getItems());if(!!a&&!!i.schema.checkAttribute(a,"imageStyle"))for(const u of e[a.name])i.consumable.consume(s,{classes:u.className})&&i.writer.setAttribute("imageStyle",u.name,a)}}function getStyleDefinitionByName(o,e){for(const n of e)if(n.name===o)return n}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageStyleEditing extends Plugin{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[ImageUtils]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:n}=utils,r=this.editor,i=r.plugins.has("ImageBlockEditing"),s=r.plugins.has("ImageInlineEditing");r.config.define("image.styles",n(i,s)),this.normalizedStyles=e({configuredStyles:r.config.get("image.styles"),isBlockPluginLoaded:i,isInlinePluginLoaded:s}),this._setupConversion(i,s),this._setupPostFixer(),r.commands.add("imageStyle",new ImageStyleCommand(r,this.normalizedStyles))}_setupConversion(e,n){const r=this.editor,i=r.model.schema,s=modelToViewStyleAttribute(this.normalizedStyles),a=viewToModelStyleAttribute(this.normalizedStyles);r.editing.downcastDispatcher.on("attribute:imageStyle",s),r.data.downcastDispatcher.on("attribute:imageStyle",s),e&&(i.extend("imageBlock",{allowAttributes:"imageStyle"}),r.data.upcastDispatcher.on("element:figure",a,{priority:"low"})),n&&(i.extend("imageInline",{allowAttributes:"imageStyle"}),r.data.upcastDispatcher.on("element:img",a,{priority:"low"}))}_setupPostFixer(){const e=this.editor,n=e.model.document,r=e.plugins.get(ImageUtils),i=new Map(this.normalizedStyles.map(s=>[s.name,s]));n.registerPostFixer(s=>{let a=!1;for(const u of n.differ.getChanges())if(u.type=="insert"||u.type=="attribute"&&u.attributeKey=="imageStyle"){let l=u.type=="insert"?u.position.nodeAfter:u.range.start.nodeAfter;if(l&&l.is("element","paragraph")&&l.childCount>0&&(l=l.getChild(0)),!r.isImage(l))continue;const c=l.getAttribute("imageStyle");if(!c)continue;const d=i.get(c);(!d||!d.modelElements.includes(l.name))&&(s.removeAttribute("imageStyle",l),a=!0)}return a})}}const imagestyle="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageStyleUI extends Plugin{static get requires(){return[ImageStyleEditing]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Wrap text":e("Wrap text"),"Break text":e("Break text"),"In line":e("In line"),"Full size image":e("Full size image"),"Side image":e("Side image"),"Left aligned image":e("Left aligned image"),"Centered image":e("Centered image"),"Right aligned image":e("Right aligned image")}}init(){const e=this.editor.plugins,n=this.editor.config.get("image.toolbar")||[],r=translateStyles(e.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const s of r)this._createButton(s);const i=translateStyles([...n.filter(isObject$2),...utils.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const s of i)this._createDropdown(s,r)}_createDropdown(e,n){const r=this.editor.ui.componentFactory;r.add(e.name,i=>{let s;const{defaultItem:a,items:u,title:l}=e,c=u.filter(p=>n.find(({name:m})=>getUIComponentName(m)===p)).map(p=>{const m=r.create(p);return p===a&&(s=m),m});u.length!==c.length&&utils.warnInvalidStyle({dropdown:e});const d=createDropdown(i,SplitButtonView),h=d.buttonView,f=h.arrowView;return addToolbarToDropdown(d,c,{enableActiveItemFocusOnDropdownOpen:!0}),h.set({label:getDropdownButtonTitle(l,s.label),class:null,tooltip:!0}),f.unbind("label"),f.set({label:l}),h.bind("icon").toMany(c,"isOn",(...p)=>{const m=p.findIndex(identity);return m<0?s.icon:c[m].icon}),h.bind("label").toMany(c,"isOn",(...p)=>{const m=p.findIndex(identity);return getDropdownButtonTitle(l,m<0?s.label:c[m].label)}),h.bind("isOn").toMany(c,"isOn",(...p)=>p.some(identity)),h.bind("class").toMany(c,"isOn",(...p)=>p.some(identity)?"ck-splitbutton_flatten":null),h.on("execute",()=>{c.some(({isOn:p})=>p)?d.isOpen=!d.isOpen:s.fire("execute")}),d.bind("isEnabled").toMany(c,"isEnabled",(...p)=>p.some(identity)),this.listenTo(d,"execute",()=>{this.editor.editing.view.focus()}),d})}_createButton(e){const n=e.name;this.editor.ui.componentFactory.add(getUIComponentName(n),r=>{const i=this.editor.commands.get("imageStyle"),s=new ButtonView(r);return s.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),s.bind("isEnabled").to(i,"isEnabled"),s.bind("isOn").to(i,"value",a=>a===n),s.on("execute",this._executeCommand.bind(this,n)),s})}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function translateStyles(o,e){for(const n of o)e[n.title]&&(n.title=e[n.title]);return o}function getUIComponentName(o){return`imageStyle:${o}`}function getDropdownButtonTitle(o,e){return(o?o+": ":"")+e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageStyle extends Plugin{static get requires(){return[ImageStyleEditing,ImageStyleUI]}static get pluginName(){return"ImageStyle"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageToolbar extends Plugin{static get requires(){return[WidgetToolbarRepository,ImageUtils]}static get pluginName(){return"ImageToolbar"}afterInit(){const e=this.editor,n=e.t,r=e.plugins.get(WidgetToolbarRepository),i=e.plugins.get("ImageUtils");r.register("image",{ariaLabel:n("Image toolbar"),items:normalizeDeclarativeConfig(e.config.get("image.toolbar")||[]),getRelatedElement:s=>i.getClosestSelectedImageWidget(s)})}}function normalizeDeclarativeConfig(o){return o.map(e=>isObject$2(e)?e.name:e)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function createImageTypeRegExp(o){const e=o.map(n=>n.replace("+","\\+"));return new RegExp(`^image\\/(${e.join("|")})$`)}function fetchLocalImage(o){return new Promise((e,n)=>{const r=o.getAttribute("src");fetch(r).then(i=>i.blob()).then(i=>{const s=getImageMimeType(i,r),u=`image.${s.replace("image/","")}`,l=new File([i],u,{type:s});e(l)}).catch(i=>i&&i.name==="TypeError"?convertLocalImageOnCanvas(r).then(e).catch(n):n(i))})}function isLocalImage(o,e){return!o.isInlineImageView(e)||!e.getAttribute("src")?!1:e.getAttribute("src").match(/^data:image\/\w+;base64,/g)||e.getAttribute("src").match(/^blob:/g)}function getImageMimeType(o,e){return o.type?o.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}function convertLocalImageOnCanvas(o){return getBlobFromCanvas(o).then(e=>{const n=getImageMimeType(e,o),i=`image.${n.replace("image/","")}`;return new File([e],i,{type:n})})}function getBlobFromCanvas(o){return new Promise((e,n)=>{const r=global$2.document.createElement("img");r.addEventListener("load",()=>{const i=global$2.document.createElement("canvas");i.width=r.width,i.height=r.height,i.getContext("2d").drawImage(r,0,0),i.toBlob(a=>a?e(a):n())}),r.addEventListener("error",()=>n()),r.src=o})}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageUploadUI extends Plugin{static get pluginName(){return"ImageUploadUI"}init(){const e=this.editor,n=e.t,r=i=>{const s=new FileDialogButtonView(i),a=e.commands.get("uploadImage"),u=e.config.get("image.upload.types"),l=createImageTypeRegExp(u);return s.set({acceptedType:u.map(c=>`image/${c}`).join(","),allowMultipleFiles:!0}),s.buttonView.set({label:n("Insert image"),icon:icons.image,tooltip:!0}),s.buttonView.bind("isEnabled").to(a),s.on("done",(c,d)=>{const h=Array.from(d).filter(f=>l.test(f.type));h.length&&(e.execute("uploadImage",{file:h}),e.editing.view.focus())}),s};e.ui.componentFactory.add("uploadImage",r),e.ui.componentFactory.add("imageUpload",r)}}const imageuploadprogress="",imageuploadicon="",imageuploadloader="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageUploadProgress extends Plugin{static get pluginName(){return"ImageUploadProgress"}constructor(e){super(e),this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",(...n)=>this.uploadStatusChange(...n)),e.plugins.has("ImageInlineEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",(...n)=>this.uploadStatusChange(...n))}uploadStatusChange(e,n,r){const i=this.editor,s=n.item,a=s.getAttribute("uploadId");if(!r.consumable.consume(n.item,e.name))return;const u=i.plugins.get("ImageUtils"),l=i.plugins.get(FileRepository),c=a?n.attributeNewValue:null,d=this.placeholder,h=i.editing.mapper.toViewElement(s),f=r.writer;if(c=="reading"){_startAppearEffect(h,f),_showPlaceholder(u,d,h,f);return}if(c=="uploading"){const p=l.loaders.get(a);_startAppearEffect(h,f),p?(_hidePlaceholder(h,f),_showProgressBar(h,f,p,i.editing.view),_displayLocalImage(u,h,f,p)):_showPlaceholder(u,d,h,f);return}c=="complete"&&l.loaders.get(a)&&_showCompleteIcon(h,f,i.editing.view),_hideProgressBar(h,f),_hidePlaceholder(h,f),_stopAppearEffect(h,f)}}function _startAppearEffect(o,e){o.hasClass("ck-appear")||e.addClass("ck-appear",o)}function _stopAppearEffect(o,e){e.removeClass("ck-appear",o)}function _showPlaceholder(o,e,n,r){n.hasClass("ck-image-upload-placeholder")||r.addClass("ck-image-upload-placeholder",n);const i=o.findViewImgElement(n);i.getAttribute("src")!==e&&r.setAttribute("src",e,i),_getUIElement(n,"placeholder")||r.insert(r.createPositionAfter(i),_createPlaceholder(r))}function _hidePlaceholder(o,e){o.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",o),_removeUIElement(o,e,"placeholder")}function _showProgressBar(o,e,n,r){const i=_createProgressBar(e);e.insert(e.createPositionAt(o,"end"),i),n.on("change:uploadedPercent",(s,a,u)=>{r.change(l=>{l.setStyle("width",u+"%",i)})})}function _hideProgressBar(o,e){_removeUIElement(o,e,"progressBar")}function _showCompleteIcon(o,e,n){const r=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(o,"end"),r),setTimeout(()=>{n.change(i=>i.remove(i.createRangeOn(r)))},3e3)}function _createProgressBar(o){const e=o.createUIElement("div",{class:"ck-progress-bar"});return o.setCustomProperty("progressBar",!0,e),e}function _createPlaceholder(o){const e=o.createUIElement("div",{class:"ck-upload-placeholder-loader"});return o.setCustomProperty("placeholder",!0,e),e}function _getUIElement(o,e){for(const n of o.getChildren())if(n.getCustomProperty(e))return n}function _removeUIElement(o,e,n){const r=_getUIElement(o,n);r&&e.remove(e.createRangeOn(r))}function _displayLocalImage(o,e,n,r){if(r.data){const i=o.findViewImgElement(e);n.setAttribute("src",r.data,i)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UploadImageCommand extends Command{refresh(){const e=this.editor,n=e.plugins.get("ImageUtils"),r=e.model.document.selection.getSelectedElement();this.isEnabled=n.isImageAllowed()||n.isImage(r)}execute(e){const n=toArray(e.file),r=this.editor.model.document.selection,i=this.editor.plugins.get("ImageUtils"),s=Object.fromEntries(r.getAttributes());n.forEach((a,u)=>{const l=r.getSelectedElement();if(u&&l&&i.isImage(l)){const c=this.editor.model.createPositionAfter(l);this._uploadImage(a,s,c)}else this._uploadImage(a,s)})}_uploadImage(e,n,r){const i=this.editor,a=i.plugins.get(FileRepository).createLoader(e),u=i.plugins.get("ImageUtils");!a||u.insertImage({...n,uploadId:a.id},r)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageUploadEditing extends Plugin{static get requires(){return[FileRepository,Notification,ClipboardPipeline,ImageUtils]}static get pluginName(){return"ImageUploadEditing"}constructor(e){super(e),e.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}init(){const e=this.editor,n=e.model.document,r=e.conversion,i=e.plugins.get(FileRepository),s=e.plugins.get("ImageUtils"),a=createImageTypeRegExp(e.config.get("image.upload.types")),u=new UploadImageCommand(e);e.commands.add("uploadImage",u),e.commands.add("imageUpload",u),r.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",(l,c)=>{if(isHtmlIncluded(c.dataTransfer))return;const d=Array.from(c.dataTransfer.files).filter(h=>h?a.test(h.type):!1);!d.length||(l.stop(),e.model.change(h=>{c.targetRanges&&h.setSelection(c.targetRanges.map(f=>e.editing.mapper.toModelRange(f))),e.model.enqueueChange(()=>{e.execute("uploadImage",{file:d})})}))}),this.listenTo(e.plugins.get("ClipboardPipeline"),"inputTransformation",(l,c)=>{const d=Array.from(e.editing.view.createRangeIn(c.content)).filter(f=>isLocalImage(s,f.item)&&!f.item.getAttribute("uploadProcessed")).map(f=>({promise:fetchLocalImage(f.item),imageElement:f.item}));if(!d.length)return;const h=new UpcastWriter(e.editing.view.document);for(const f of d){h.setAttribute("uploadProcessed",!0,f.imageElement);const p=i.createLoader(f.promise);p&&(h.setAttribute("src","",f.imageElement),h.setAttribute("uploadId",p.id,f.imageElement))}}),e.editing.view.document.on("dragover",(l,c)=>{c.preventDefault()}),n.on("change",()=>{const l=n.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),c=new Set;for(const d of l)if(d.type=="insert"&&d.name!="$text"){const h=d.position.nodeAfter,f=d.position.root.rootName=="$graveyard";for(const p of getImagesFromChangeItem(e,h)){const m=p.getAttribute("uploadId");if(!m)continue;const g=i.loaders.get(m);!g||(f?c.has(m)||g.abort():(c.add(m),this._uploadImageElements.set(m,p),g.status=="idle"&&this._readAndUpload(g)))}}}),this.on("uploadComplete",(l,{imageElement:c,data:d})=>{const h=d.urls?d.urls:d;this.editor.model.change(f=>{f.setAttribute("src",h.default,c),this._parseAndSetSrcsetAttributeOnImage(h,c,f)})},{priority:"low"})}afterInit(){const e=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&e.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&e.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(e){const n=this.editor,r=n.model,i=n.locale.t,s=n.plugins.get(FileRepository),a=n.plugins.get(Notification),u=n.plugins.get("ImageUtils"),l=this._uploadImageElements;return r.enqueueChange({isUndoable:!1},d=>{d.setAttribute("uploadStatus","reading",l.get(e.id))}),e.read().then(()=>{const d=e.upload(),h=l.get(e.id);if(env.isSafari){const f=n.editing.mapper.toViewElement(h),p=u.findViewImgElement(f);n.editing.view.once("render",()=>{if(!p.parent)return;const m=n.editing.view.domConverter.mapViewToDom(p.parent);if(!m)return;const g=m.style.display;m.style.display="none",m._ckHack=m.offsetHeight,m.style.display=g})}return r.enqueueChange({isUndoable:!1},f=>{f.setAttribute("uploadStatus","uploading",h)}),d}).then(d=>{r.enqueueChange({isUndoable:!1},h=>{const f=l.get(e.id);h.setAttribute("uploadStatus","complete",f),this.fire("uploadComplete",{data:d,imageElement:f})}),c()}).catch(d=>{if(e.status!=="error"&&e.status!=="aborted")throw d;e.status=="error"&&d&&a.showWarning(d,{title:i("Upload failed"),namespace:"upload"}),r.enqueueChange({isUndoable:!1},h=>{h.remove(l.get(e.id))}),c()});function c(){r.enqueueChange({isUndoable:!1},d=>{const h=l.get(e.id);d.removeAttribute("uploadId",h),d.removeAttribute("uploadStatus",h),l.delete(e.id)}),s.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,n,r){let i=0;const s=Object.keys(e).filter(a=>{const u=parseInt(a,10);if(!isNaN(u))return i=Math.max(i,u),!0}).map(a=>`${e[a]} ${a}w`).join(", ");s!=""&&r.setAttribute("srcset",{data:s,width:i},n)}}function isHtmlIncluded(o){return Array.from(o.types).includes("text/html")&&o.getData("text/html")!==""}function getImagesFromChangeItem(o,e){const n=o.plugins.get("ImageUtils");return Array.from(o.model.createRangeOn(e)).filter(r=>n.isImage(r.item)).map(r=>r.item)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ImageUpload extends Plugin{static get pluginName(){return"ImageUpload"}static get requires(){return[ImageUploadEditing,ImageUploadUI,ImageUploadProgress]}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentEditing extends Plugin{static get pluginName(){return"IndentEditing"}init(){const e=this.editor;e.commands.add("indent",new MultiCommand(e)),e.commands.add("outdent",new MultiCommand(e))}}const _hoisted_1$j={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$i=vue.createElementVNode("path",{d:"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95 5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"},null,-1),_hoisted_3$i=[_hoisted_2$i];function render$i(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$j,_hoisted_3$i)}const indentIcon={render:render$i},_hoisted_1$i={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$h=vue.createElementVNode("path",{d:"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"},null,-1),_hoisted_3$h=[_hoisted_2$h];function render$h(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$i,_hoisted_3$h)}const outdentIcon={render:render$h};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentUI extends Plugin{static get pluginName(){return"IndentUI"}init(){const e=this.editor,n=e.locale,r=e.t,i=n.uiLanguageDirection=="ltr"?indentIcon:outdentIcon,s=n.uiLanguageDirection=="ltr"?outdentIcon:indentIcon;this._defineButton("indent",r("Increase indent"),i),this._defineButton("outdent",r("Decrease indent"),s)}_defineButton(e,n,r){const i=this.editor;i.ui.componentFactory.add(e,s=>{const a=i.commands.get(e),u=new ButtonView(s);return u.set({label:n,icon:r,tooltip:!0}),u.bind("isOn","isEnabled").to(a,"value","isEnabled"),this.listenTo(u,"execute",()=>{i.execute(e),i.editing.view.focus()}),u})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Indent extends Plugin{static get pluginName(){return"Indent"}static get requires(){return[IndentEditing,IndentUI]}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentBlockCommand extends Command{constructor(e,n){super(e),this._indentBehavior=n}refresh(){const n=this.editor.model,r=first(n.document.selection.getSelectedBlocks());if(!r||!n.schema.checkAttribute(r,"blockIndent")){this.isEnabled=!1;return}this.isEnabled=this._indentBehavior.checkEnabled(r.getAttribute("blockIndent"))}execute(){const e=this.editor.model,n=getBlocksToChange(e);e.change(r=>{for(const i of n){const s=i.getAttribute("blockIndent"),a=this._indentBehavior.getNextIndent(s);a?r.setAttribute("blockIndent",a,i):r.removeAttribute("blockIndent",i)}})}}function getBlocksToChange(o){const e=o.document.selection,n=o.schema;return Array.from(e.getSelectedBlocks()).filter(i=>n.checkAttribute(i,"blockIndent"))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentUsingOffset{constructor(e){this.isForward=e.direction==="forward",this.offset=e.offset,this.unit=e.unit}checkEnabled(e){const n=parseFloat(e||0);return this.isForward||n>0}getNextIndent(e){const n=parseFloat(e||0);if(!(!e||e.endsWith(this.unit)))return this.isForward?this.offset+this.unit:void 0;const i=this.isForward?this.offset:-this.offset,s=n+i;return s>0?s+this.unit:void 0}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentUsingClasses{constructor(e){this.isForward=e.direction==="forward",this.classes=e.classes}checkEnabled(e){const n=this.classes.indexOf(e);return this.isForward?n=0}getNextIndent(e){const n=this.classes.indexOf(e),r=this.isForward?1:-1;return this.classes[n+r]}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const DEFAULT_ELEMENTS=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class IndentBlock extends Plugin{constructor(e){super(e),e.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}init(){const e=this.editor,n=e.config.get("indentBlock"),r=!n.classes||!n.classes.length,i=Object.assign({direction:"forward"},n),s=Object.assign({direction:"backward"},n);r?(e.data.addStyleProcessorRules(addMarginRules),this._setupConversionUsingOffset(e.conversion),e.commands.add("indentBlock",new IndentBlockCommand(e,new IndentUsingOffset(i))),e.commands.add("outdentBlock",new IndentBlockCommand(e,new IndentUsingOffset(s)))):(this._setupConversionUsingClasses(n.classes),e.commands.add("indentBlock",new IndentBlockCommand(e,new IndentUsingClasses(i))),e.commands.add("outdentBlock",new IndentBlockCommand(e,new IndentUsingClasses(s))))}afterInit(){const e=this.editor,n=e.model.schema,r=e.commands.get("indent"),i=e.commands.get("outdent"),s=e.config.get("heading.options");(s&&s.map(l=>l.model)||DEFAULT_ELEMENTS).forEach(l=>{n.isRegistered(l)&&n.extend(l,{allowAttributes:"blockIndent"})}),n.setAttributeProperties("blockIndent",{isFormatting:!0}),r.registerChildCommand(e.commands.get("indentBlock")),i.registerChildCommand(e.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const e=this.editor.conversion,r=this.editor.locale.contentLanguageDirection==="rtl"?"margin-right":"margin-left";e.for("upcast").attributeToAttribute({view:{styles:{[r]:/[\s\S]+/}},model:{key:"blockIndent",value:i=>i.getStyle(r)}}),e.for("downcast").attributeToAttribute({model:"blockIndent",view:i=>({key:"style",value:{[r]:i}})})}_setupConversionUsingClasses(e){const n={model:{key:"blockIndent",values:[]},view:{}};for(const r of e)n.model.values.push(r),n.view[r]={key:"class",value:[r]};this.editor.conversion.attributeToAttribute(n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class AutomaticDecorators{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(e){Array.isArray(e)?e.forEach(n=>this._definitions.add(n)):this._definitions.add(e)}getDispatcher(){return e=>{e.on("attribute:linkHref",(n,r,i)=>{if(!i.consumable.test(r.item,"attribute:linkHref")||!(r.item.is("selection")||i.schema.isInline(r.item)))return;const s=i.writer,a=s.document.selection;for(const u of this._definitions){const l=s.createAttributeElement("a",u.attributes,{priority:5});u.classes&&s.addClass(u.classes,l);for(const c in u.styles)s.setStyle(c,u.styles[c],l);s.setCustomProperty("link",!0,l),u.callback(r.attributeNewValue)?r.item.is("selection")?s.wrap(a.getFirstRange(),l):s.wrap(i.mapper.toViewRange(r.range),l):s.unwrap(i.mapper.toViewRange(r.range),l)}},{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",(n,r,{writer:i,mapper:s})=>{const a=s.toViewElement(r.item),u=Array.from(a.getChildren()).find(l=>l.name==="a");for(const l of this._definitions){const c=toMap(l.attributes);if(l.callback(r.attributeNewValue)){for(const[d,h]of c)d==="class"?i.addClass(h,u):i.setAttribute(d,h,u);l.classes&&i.addClass(l.classes,u);for(const d in l.styles)i.setStyle(d,l.styles[d],u)}else{for(const[d,h]of c)d==="class"?i.removeClass(h,u):i.removeAttribute(d,u);l.classes&&i.removeClass(l.classes,u);for(const d in l.styles)i.removeStyle(d,u)}}})}}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const ATTRIBUTE_WHITESPACES=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,SAFE_URL=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,EMAIL_REG_EXP=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,PROTOCOL_REG_EXP=/^((\w+:(\/{2,})?)|(\W))/i,LINK_KEYSTROKE="Ctrl+K";function isLinkElement(o){return o.is("attributeElement")&&!!o.getCustomProperty("link")}function createLinkElement(o,{writer:e}){const n=e.createAttributeElement("a",{href:o},{priority:5});return e.setCustomProperty("link",!0,n),n}function ensureSafeUrl(o){return o=String(o),isSafeUrl(o)?o:"#"}function isSafeUrl(o){return o.replace(ATTRIBUTE_WHITESPACES,"").match(SAFE_URL)}function getLocalizedDecorators(o,e){const n={"Open in a new tab":o("Open in a new tab"),Downloadable:o("Downloadable")};return e.forEach(r=>(r.label&&n[r.label]&&(r.label=n[r.label]),r)),e}function normalizeDecorators(o){const e=[];if(o)for(const[n,r]of Object.entries(o)){const i=Object.assign({},r,{id:`link${upperFirst$1(n)}`});e.push(i)}return e}function isLinkableElement(o,e){return o?e.checkAttribute(o.name,"linkHref"):!1}function isEmail(o){return EMAIL_REG_EXP.test(o)}function addLinkProtocolIfApplicable(o,e){const n=isEmail(o)?"mailto:":e,r=!!n&&!linkHasProtocol(o);return o&&r?n+o:o}function linkHasProtocol(o){return PROTOCOL_REG_EXP.test(o)}function openLink(o){window.open(o,"_blank","noopener")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LinkCommand extends Command{constructor(e){super(e),this.manualDecorators=new Collection,this.automaticDecorators=new AutomaticDecorators}restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,n=e.document.selection,r=n.getSelectedElement()||first(n.getSelectedBlocks());isLinkableElement(r,e.schema)?(this.value=r.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttribute(r,"linkHref")):(this.value=n.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttributeInSelection(n,"linkHref"));for(const i of this.manualDecorators)i.value=this._getDecoratorStateFromModel(i.id)}execute(e,n={}){const r=this.editor.model,i=r.document.selection,s=[],a=[];for(const u in n)n[u]?s.push(u):a.push(u);r.change(u=>{if(i.isCollapsed){const l=i.getFirstPosition();if(i.hasAttribute("linkHref")){const c=findAttributeRange(l,"linkHref",i.getAttribute("linkHref"),r);u.setAttribute("linkHref",e,c),s.forEach(d=>{u.setAttribute(d,!0,c)}),a.forEach(d=>{u.removeAttribute(d,c)}),u.setSelection(u.createPositionAfter(c.end.nodeBefore))}else if(e!==""){const c=toMap(i.getAttributes());c.set("linkHref",e),s.forEach(h=>{c.set(h,!0)});const{end:d}=r.insertContent(u.createText(e,c),l);u.setSelection(d)}["linkHref",...s,...a].forEach(c=>{u.removeSelectionAttribute(c)})}else{const l=r.schema.getValidRanges(i.getRanges(),"linkHref"),c=[];for(const h of i.getSelectedBlocks())r.schema.checkAttribute(h,"linkHref")&&c.push(u.createRangeOn(h));const d=c.slice();for(const h of l)this._isRangeToUpdate(h,c)&&d.push(h);for(const h of d)u.setAttribute("linkHref",e,h),s.forEach(f=>{u.setAttribute(f,!0,h)}),a.forEach(f=>{u.removeAttribute(f,h)})}})}_getDecoratorStateFromModel(e){const n=this.editor.model,r=n.document.selection,i=r.getSelectedElement();return isLinkableElement(i,n.schema)?i.getAttribute(e):r.getAttribute(e)}_isRangeToUpdate(e,n){for(const r of n)if(r.containsRange(e))return!1;return!0}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class UnlinkCommand extends Command{refresh(){const e=this.editor.model,n=e.document.selection,r=n.getSelectedElement();isLinkableElement(r,e.schema)?this.isEnabled=e.schema.checkAttribute(r,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(n,"linkHref")}execute(){const e=this.editor,n=this.editor.model,r=n.document.selection,i=e.commands.get("link");n.change(s=>{const a=r.isCollapsed?[findAttributeRange(r.getFirstPosition(),"linkHref",r.getAttribute("linkHref"),n)]:n.schema.getValidRanges(r.getRanges(),"linkHref");for(const u of a)if(s.removeAttribute("linkHref",u),i)for(const l of i.manualDecorators)s.removeAttribute(l.id,u)})}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ManualDecorator{constructor({id:e,label:n,attributes:r,classes:i,styles:s,defaultValue:a}){this.id=e,this.set("value"),this.defaultValue=a,this.label=n,this.attributes=r,this.classes=i,this.styles=s}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}mix(ManualDecorator,ObservableMixin);const link="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const HIGHLIGHT_CLASS="ck-link_selected",DECORATOR_AUTOMATIC="automatic",DECORATOR_MANUAL="manual",EXTERNAL_LINKS_REGEXP=/^(https?:)?\/\//;class LinkEditing extends Plugin{static get pluginName(){return"LinkEditing"}static get requires(){return[TwoStepCaretMovement,Input,ClipboardPipeline]}constructor(e){super(e),e.config.define("link",{addTargetToExternalLinks:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:createLinkElement}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(i,s)=>createLinkElement(ensureSafeUrl(i),s)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:i=>i.getAttribute("href")}}),e.commands.add("link",new LinkCommand(e)),e.commands.add("unlink",new UnlinkCommand(e));const n=getLocalizedDecorators(e.t,normalizeDecorators(e.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter(i=>i.mode===DECORATOR_AUTOMATIC)),this._enableManualDecorators(n.filter(i=>i.mode===DECORATOR_MANUAL)),e.plugins.get(TwoStepCaretMovement).registerAttribute("linkHref"),inlineHighlight(e,"linkHref","a",HIGHLIGHT_CLASS),this._enableLinkOpen(),this._enableInsertContentSelectionAttributesFixer(),this._enableClickingAfterLink(),this._enableTypingOverLink(),this._handleDeleteContentAfterLink()}_enableAutomaticDecorators(e){const n=this.editor,i=n.commands.get("link").automaticDecorators;n.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:DECORATOR_AUTOMATIC,callback:s=>EXTERNAL_LINKS_REGEXP.test(s),attributes:{target:"_blank",rel:"noopener noreferrer"}}),i.add(e),i.length&&n.conversion.for("downcast").add(i.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const n=this.editor,i=n.commands.get("link").manualDecorators;e.forEach(s=>{n.model.schema.extend("$text",{allowAttributes:s.id}),s=new ManualDecorator(s),i.add(s),n.conversion.for("downcast").attributeToElement({model:s.id,view:(a,{writer:u,schema:l},{item:c})=>{if(!!(c.is("selection")||l.isInline(c))&&a){const d=u.createAttributeElement("a",s.attributes,{priority:5});s.classes&&u.addClass(s.classes,d);for(const h in s.styles)u.setStyle(h,s.styles[h],d);return u.setCustomProperty("link",!0,d),d}}}),n.conversion.for("upcast").elementToAttribute({view:{name:"a",...s._createPattern()},model:{key:s.id}})})}_enableLinkOpen(){const e=this.editor,r=e.editing.view.document;this.listenTo(r,"click",(i,s)=>{if(!(env.isMac?s.domEvent.metaKey:s.domEvent.ctrlKey))return;let u=s.domTarget;if(u.tagName.toLowerCase()!="a"&&(u=u.closest("a")),!u)return;const l=u.getAttribute("href");!l||(i.stop(),s.preventDefault(),openLink(l))},{context:"$capture"}),this.listenTo(r,"keydown",(i,s)=>{const a=e.commands.get("link").value;!(a&&s.keyCode===keyCodes.enter&&s.altKey)||(i.stop(),openLink(a))})}_enableInsertContentSelectionAttributesFixer(){const n=this.editor.model,r=n.document.selection;this.listenTo(n,"insertContent",()=>{const i=r.anchor.nodeBefore,s=r.anchor.nodeAfter;!r.hasAttribute("linkHref")||!i||!i.hasAttribute("linkHref")||s&&s.hasAttribute("linkHref")||n.change(a=>{removeLinkAttributesFromSelection(a,getLinkAttributesAllowedOnText(n.schema))})},{priority:"low"})}_enableClickingAfterLink(){const e=this.editor,n=e.model;e.editing.view.addObserver(MouseObserver);let r=!1;this.listenTo(e.editing.view.document,"mousedown",()=>{r=!0}),this.listenTo(e.editing.view.document,"selectionChange",()=>{if(!r)return;r=!1;const i=n.document.selection;if(!i.isCollapsed||!i.hasAttribute("linkHref"))return;const s=i.getFirstPosition(),a=findAttributeRange(s,"linkHref",i.getAttribute("linkHref"),n);(s.isTouching(a.start)||s.isTouching(a.end))&&n.change(u=>{removeLinkAttributesFromSelection(u,getLinkAttributesAllowedOnText(n.schema))})})}_enableTypingOverLink(){const e=this.editor,n=e.editing.view;let r,i;this.listenTo(n.document,"delete",()=>{i=!0},{priority:"high"}),this.listenTo(e.model,"deleteContent",()=>{const s=e.model.document.selection;if(!s.isCollapsed){if(i){i=!1;return}!isTyping(e)||shouldCopyAttributes(e.model)&&(r=s.getAttributes())}},{priority:"high"}),this.listenTo(e.model,"insertContent",(s,[a])=>{i=!1,isTyping(e)&&(!r||(e.model.change(u=>{for(const[l,c]of r)u.setAttribute(l,c,a)}),r=null))},{priority:"high"})}_handleDeleteContentAfterLink(){const e=this.editor,n=e.model,r=n.document.selection,i=e.editing.view;let s=!1,a=!1;this.listenTo(i.document,"delete",(u,l)=>{a=l.direction==="backward"},{priority:"high"}),this.listenTo(n,"deleteContent",()=>{s=!1;const u=r.getFirstPosition(),l=r.getAttribute("linkHref");if(!l)return;const c=findAttributeRange(u,"linkHref",l,n);s=c.containsPosition(u)||c.end.isEqual(u)},{priority:"high"}),this.listenTo(n,"deleteContent",()=>{!a||(a=!1,!s&&e.model.enqueueChange(u=>{removeLinkAttributesFromSelection(u,getLinkAttributesAllowedOnText(n.schema))}))},{priority:"low"})}}function removeLinkAttributesFromSelection(o,e){o.removeSelectionAttribute("linkHref");for(const n of e)o.removeSelectionAttribute(n)}function shouldCopyAttributes(o){const e=o.document.selection,n=e.getFirstPosition(),r=e.getLastPosition(),i=n.nodeAfter;if(!i||!i.is("$text")||!i.hasAttribute("linkHref"))return!1;const s=r.textNode||r.nodeBefore;return i===s?!0:findAttributeRange(n,"linkHref",i.getAttribute("linkHref"),o).containsRange(o.createRange(n,r),!0)}function isTyping(o){return o.model.change(n=>n.batch).isTyping}function getLinkAttributesAllowedOnText(o){return o.getDefinition("$text").allowAttributes.filter(n=>n.startsWith("link"))}const linkform="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LinkFormView extends View{constructor(e,n){super(e);const r=e.t;this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(r("Save"),icons.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(r("Cancel"),icons.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(n),this.children=this._createFormChildren(n.manualDecorators),this._focusables=new ViewCollection,this._focusCycler=new FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const i=["ck","ck-link-form","ck-responsive-form"];n.manualDecorators.length&&i.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:i,tabindex:"-1"},children:this.children}),injectCssTransitionDisabler(this)}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((e,n)=>(e[n.name]=n.isOn,e),{})}render(){super.render(),submitHandler({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(n=>{this._focusables.add(n),this.focusTracker.add(n.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const e=this.locale.t,n=new LabeledFieldView(this.locale,createLabeledInputText);return n.label=e("Link URL"),n}_createButton(e,n,r,i){const s=new ButtonView(this.locale);return s.set({label:e,icon:n,tooltip:!0}),s.extendTemplate({attributes:{class:r}}),i&&s.delegate("execute").to(this,i),s}_createManualDecoratorSwitches(e){const n=this.createCollection();for(const r of e.manualDecorators){const i=new SwitchButtonView(this.locale);i.set({name:r.id,label:r.label,withText:!0}),i.bind("isOn").toMany([r,e],"value",(s,a)=>a===void 0&&s===void 0?r.defaultValue:s),i.on("execute",()=>{r.set("value",!i.isOn)}),n.add(i)}return n}_createFormChildren(e){const n=this.createCollection();if(n.add(this.urlInputView),e.length){const r=new View;r.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(i=>({tag:"li",children:[i],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),n.add(r)}return n.add(this.saveButtonView),n.add(this.cancelButtonView),n}}const linkactions="",_hoisted_1$h={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$g=vue.createElementVNode("path",{d:"m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"},null,-1),_hoisted_3$g=[_hoisted_2$g];function render$g(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$h,_hoisted_3$g)}const unlinkIcon={render:render$g};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class LinkActionsView extends View{constructor(e){super(e);const n=e.t;this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(n("Unlink"),unlinkIcon,"unlink"),this.editButtonView=this._createButton(n("Edit link"),icons.pencil,"edit"),this.set("href"),this._focusables=new ViewCollection,this._focusCycler=new FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(n=>{this._focusables.add(n),this.focusTracker.add(n.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(e,n,r){const i=new ButtonView(this.locale);return i.set({label:e,icon:n,tooltip:!0}),i.delegate("execute").to(this,r),i}_createPreviewButton(){const e=new ButtonView(this.locale),n=this.bindTemplate,r=this.t;return e.set({withText:!0,tooltip:r("Open link in new tab")}),e.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:n.to("href",i=>i&&ensureSafeUrl(i)),target:"_blank",rel:"noopener noreferrer"}}),e.bind("label").to(this,"href",i=>i||r("This link has no URL")),e.bind("isEnabled").to(this,"href",i=>!!i),e.template.tag="a",e.template.eventListeners={},e}}const _hoisted_1$g={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$f=vue.createElementVNode("path",{d:"m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"},null,-1),_hoisted_3$f=[_hoisted_2$f];function render$f(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$g,_hoisted_3$f)}const linkIcon={render:render$f};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const VISUAL_SELECTION_MARKER_NAME="link-ui";class LinkUI extends Plugin{static get requires(){return[ContextualBalloon]}static get pluginName(){return"LinkUI"}init(){const e=this.editor;e.editing.view.addObserver(ClickObserver),this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._balloon=e.plugins.get(ContextualBalloon),this._createToolbarLinkButton(),this._enableUserBalloonInteractions(),e.conversion.for("editingDowncast").markerToHighlight({model:VISUAL_SELECTION_MARKER_NAME,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:VISUAL_SELECTION_MARKER_NAME,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView.destroy()}_createActionsView(){const e=this.editor,n=new LinkActionsView(e.locale),r=e.commands.get("link"),i=e.commands.get("unlink");return n.bind("href").to(r,"value"),n.editButtonView.bind("isEnabled").to(r),n.unlinkButtonView.bind("isEnabled").to(i),this.listenTo(n,"edit",()=>{this._addFormView()}),this.listenTo(n,"unlink",()=>{e.execute("unlink"),this._hideUI()}),n.keystrokes.set("Esc",(s,a)=>{this._hideUI(),a()}),n.keystrokes.set(LINK_KEYSTROKE,(s,a)=>{this._addFormView(),a()}),n}_createFormView(){const e=this.editor,n=e.commands.get("link"),r=e.config.get("link.defaultProtocol"),i=new LinkFormView(e.locale,n);return i.urlInputView.fieldView.bind("value").to(n,"value"),i.urlInputView.bind("isReadOnly").to(n,"isEnabled",s=>!s),i.saveButtonView.bind("isEnabled").to(n),this.listenTo(i,"submit",()=>{const{value:s}=i.urlInputView.fieldView.element,a=addLinkProtocolIfApplicable(s,r);e.execute("link",a,i.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(i,"cancel",()=>{this._closeFormView()}),i.keystrokes.set("Esc",(s,a)=>{this._closeFormView(),a()}),i}_createToolbarLinkButton(){const e=this.editor,n=e.commands.get("link"),r=e.t;e.keystrokes.set(LINK_KEYSTROKE,(i,s)=>{s(),n.isEnabled&&this._showUI(!0)}),e.ui.componentFactory.add("link",i=>{const s=new ButtonView(i);return s.isEnabled=!0,s.label=r("Link"),s.icon=linkIcon,s.keystroke=LINK_KEYSTROKE,s.tooltip=!0,s.isToggleable=!0,s.bind("isEnabled").to(n,"isEnabled"),s.bind("isOn").to(n,"value",a=>!!a),this.listenTo(s,"execute",()=>this._showUI(!0)),s})}_enableUserBalloonInteractions(){const e=this.editor.editing.view.document;this.listenTo(e,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),this.editor.keystrokes.set("Tab",(n,r)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),r())},{priority:"high"}),this.editor.keystrokes.set("Esc",(n,r)=>{this._isUIVisible&&(this._hideUI(),r())}),clickOutsideHandler({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this._isFormInPanel)return;const n=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=n.value||""}_closeFormView(){const e=this.editor.commands.get("link");e.restoreManualDecoratorStates(),e.value!==void 0?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(e=!1){this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),e&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const e=this.editor;this.stopListening(e.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const e=this.editor,n=e.editing.view.document;let r=this._getSelectedLinkElement(),i=a();const s=()=>{const u=this._getSelectedLinkElement(),l=a();r&&!u||!r&&l!==i?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),r=u,i=l};function a(){return n.selection.focus.getAncestors().reverse().find(u=>u.is("element"))}this.listenTo(e.ui,"update",s),this.listenTo(this._balloon,"change:visibleView",s)}get _isFormInPanel(){return this._balloon.hasView(this.formView)}get _areActionsInPanel(){return this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const e=this.editor.editing.view,n=this.editor.model,r=e.document;let i=null;if(n.markers.has(VISUAL_SELECTION_MARKER_NAME)){const s=Array.from(this.editor.editing.mapper.markerNameToElements(VISUAL_SELECTION_MARKER_NAME)),a=e.createRange(e.createPositionBefore(s[0]),e.createPositionAfter(s[s.length-1]));i=e.domConverter.viewRangeToDom(a)}else i=()=>{const s=this._getSelectedLinkElement();return s?e.domConverter.mapViewToDom(s):e.domConverter.viewRangeToDom(r.selection.getFirstRange())};return{target:i}}_getSelectedLinkElement(){const e=this.editor.editing.view,n=e.document.selection,r=n.getSelectedElement();if(n.isCollapsed||r&&isWidget(r))return findLinkElementAncestor(n.getFirstPosition());{const i=n.getFirstRange().getTrimmed(),s=findLinkElementAncestor(i.start),a=findLinkElementAncestor(i.end);return!s||s!=a?null:e.createRangeIn(s).getTrimmed().isEqual(i)?s:null}}_showFakeVisualSelection(){const e=this.editor.model;e.change(n=>{const r=e.document.selection.getFirstRange();if(e.markers.has(VISUAL_SELECTION_MARKER_NAME))n.updateMarker(VISUAL_SELECTION_MARKER_NAME,{range:r});else if(r.start.isAtEnd){const i=r.start.getLastMatchingPosition(({item:s})=>!e.schema.isContent(s),{boundaries:r});n.addMarker(VISUAL_SELECTION_MARKER_NAME,{usingOperation:!1,affectsData:!1,range:n.createRange(i,r.end)})}else n.addMarker(VISUAL_SELECTION_MARKER_NAME,{usingOperation:!1,affectsData:!1,range:r})})}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(VISUAL_SELECTION_MARKER_NAME)&&e.change(n=>{n.removeMarker(VISUAL_SELECTION_MARKER_NAME)})}}function findLinkElementAncestor(o){return o.getAncestors().find(e=>isLinkElement(e))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const MIN_LINK_LENGTH_WITH_SPACE_AT_END=4,URL_REG_EXP=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i"),URL_GROUP_IN_MATCH=2;class AutoLink extends Plugin{static get requires(){return[Delete]}static get pluginName(){return"AutoLink"}init(){const n=this.editor.model.document.selection;n.on("change:range",()=>{this.isEnabled=!n.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling()}_enableTypingHandling(){const e=this.editor,n=new TextWatcher(e.model,r=>{if(!isSingleSpaceAtTheEnd(r))return;const i=getUrlAtTextEnd(r.substr(0,r.length-1));if(i)return{url:i}});n.on("matched:data",(r,i)=>{const{batch:s,range:a,url:u}=i;if(!s.isTyping)return;const l=a.end.getShiftedBy(-1),c=l.getShiftedBy(-u.length),d=e.model.createRange(c,l);this._applyAutoLink(u,d)}),n.bind("isEnabled").to(this)}_enableEnterHandling(){const e=this.editor,n=e.model,r=e.commands.get("enter");!r||r.on("execute",()=>{const i=n.document.selection.getFirstPosition();if(!i.parent.previousSibling)return;const s=n.createRangeIn(i.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(s)})}_enableShiftEnterHandling(){const e=this.editor,n=e.model,r=e.commands.get("shiftEnter");!r||r.on("execute",()=>{const i=n.document.selection.getFirstPosition(),s=n.createRange(n.createPositionAt(i.parent,0),i.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(s)})}_checkAndApplyAutoLinkOnRange(e){const n=this.editor.model,{text:r,range:i}=getLastTextLine(e,n),s=getUrlAtTextEnd(r);if(s){const a=n.createRange(i.end.getShiftedBy(-s.length),i.end);this._applyAutoLink(s,a)}}_applyAutoLink(e,n){const r=this.editor.model,i=this.editor.config.get("link.defaultProtocol"),s=addLinkProtocolIfApplicable(e,i);!this.isEnabled||!isLinkAllowedOnRange(n,r)||!linkHasProtocol(s)||linkIsAlreadySet(n)||this._persistAutoLink(s,n)}_persistAutoLink(e,n){const r=this.editor.model,i=this.editor.plugins.get("Delete");r.enqueueChange(s=>{s.setAttribute("linkHref",e,n),r.enqueueChange(()=>{i.requestUndoOnBackspace()})})}}function isSingleSpaceAtTheEnd(o){return o.length>MIN_LINK_LENGTH_WITH_SPACE_AT_END&&o[o.length-1]===" "&&o[o.length-2]!==" "}function getUrlAtTextEnd(o){const e=URL_REG_EXP.exec(o);return e?e[URL_GROUP_IN_MATCH]:null}function isLinkAllowedOnRange(o,e){return e.schema.checkAttributeInSelection(e.createSelection(o),"linkHref")}function linkIsAlreadySet(o){const e=o.start.nodeAfter;return e&&e.hasAttribute("linkHref")}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class Link extends Plugin{static get requires(){return[LinkEditing,LinkUI,AutoLink]}static get pluginName(){return"Link"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListCommand extends Command{constructor(e,n){super(e),this.type=n}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const n=this.editor.model,r=n.document,i=Array.from(r.selection.getSelectedBlocks()).filter(a=>checkCanBecomeListItem(a,n.schema)),s=e.forceValue!==void 0?!e.forceValue:this.value;n.change(a=>{if(s){let u=i[i.length-1].nextSibling,l=Number.POSITIVE_INFINITY,c=[];for(;u&&u.name=="listItem"&&u.getAttribute("listIndent")!==0;){const d=u.getAttribute("listIndent");d=n;)s>i.getAttribute("listIndent")&&(s=i.getAttribute("listIndent")),i.getAttribute("listIndent")==s&&o[e?"unshift":"push"](i),i=i[e?"previousSibling":"nextSibling"]}}function checkCanBecomeListItem(o,e){return e.checkChild(o.parent,"listItem")&&!e.isObject(o)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class IndentCommand extends Command{constructor(e,n){super(e),this._indentBy=n=="forward"?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,n=e.document;let r=Array.from(n.selection.getSelectedBlocks());e.change(i=>{const s=r[r.length-1];let a=s.nextSibling;for(;a&&a.name=="listItem"&&a.getAttribute("listIndent")>s.getAttribute("listIndent");)r.push(a),a=a.nextSibling;this._indentBy<0&&(r=r.reverse());for(const u of r){const l=u.getAttribute("listIndent")+this._indentBy;l<0?i.rename(u,"paragraph"):i.setAttribute("listIndent",l,u)}this.fire("_executeCleanup",r)})}_checkEnabled(){const e=first(this.editor.model.document.selection.getSelectedBlocks());if(!e||!e.is("element","listItem"))return!1;if(this._indentBy>0){const n=e.getAttribute("listIndent"),r=e.getAttribute("listType");let i=e.previousSibling;for(;i&&i.is("element","listItem")&&i.getAttribute("listIndent")>=n;){if(i.getAttribute("listIndent")==n)return i.getAttribute("listType")==r;i=i.previousSibling}return!1}return!0}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function createViewListItemElement(o){const e=o.createContainerElement("li");return e.getFillerOffset=getListItemFillerOffset,e}function generateLiInUl(o,e){const n=e.mapper,r=e.writer,i=o.getAttribute("listType")=="numbered"?"ol":"ul",s=createViewListItemElement(r),a=r.createContainerElement(i,null);return r.insert(r.createPositionAt(a,0),s),n.bindElements(o,s),s}function injectViewList(o,e,n,r){const i=e.parent,s=n.mapper,a=n.writer;let u=s.toViewPosition(r.createPositionBefore(o));const l=getSiblingListItem(o.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:o.getAttribute("listIndent")}),c=o.previousSibling;if(l&&l.getAttribute("listIndent")==o.getAttribute("listIndent")){const d=s.toViewElement(l);u=a.breakContainer(a.createPositionAfter(d))}else if(c&&c.name=="listItem"){u=s.toViewPosition(r.createPositionAt(c,"end"));const d=s.findMappedViewAncestor(u),h=findNestedList(d);h?u=a.createPositionBefore(h):u=a.createPositionAt(d,"end")}else u=s.toViewPosition(r.createPositionBefore(o));if(u=positionAfterUiElements(u),a.insert(u,i),c&&c.name=="listItem"){const d=s.toViewElement(c),f=a.createRange(a.createPositionAt(d,0),u).getWalker({ignoreElementEnd:!0});for(const p of f)if(p.item.is("element","li")){const m=a.breakContainer(a.createPositionBefore(p.item)),g=p.item.parent,v=a.createPositionAt(e,"end");mergeViewLists(a,v.nodeBefore,v.nodeAfter),a.move(a.createRangeOn(g),v),f.position=m}}else{const d=i.nextSibling;if(d&&(d.is("element","ul")||d.is("element","ol"))){let h=null;for(const f of d.getChildren()){const p=s.toModelElement(f);if(p&&p.getAttribute("listIndent")>o.getAttribute("listIndent"))h=f;else break}h&&(a.breakContainer(a.createPositionAfter(h)),a.move(a.createRangeOn(h.parent),a.createPositionAt(e,"end")))}}mergeViewLists(a,i,i.nextSibling),mergeViewLists(a,i.previousSibling,i)}function mergeViewLists(o,e,n){return!e||!n||e.name!="ul"&&e.name!="ol"||e.name!=n.name||e.getAttribute("class")!==n.getAttribute("class")?null:o.mergeContainers(o.createPositionAfter(e))}function positionAfterUiElements(o){return o.getLastMatchingPosition(e=>e.item.is("uiElement"))}function getSiblingListItem(o,e){const n=!!e.sameIndent,r=!!e.smallerIndent,i=e.listIndent;let s=o;for(;s&&s.name=="listItem";){const a=s.getAttribute("listIndent");if(n&&i==a||r&&i>a)return s;e.direction==="forward"?s=s.nextSibling:s=s.previousSibling}return null}function createUIComponent(o,e,n,r){o.ui.componentFactory.add(e,i=>{const s=o.commands.get(e),a=new ButtonView(i);return a.set({label:n,icon:r,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(s,"value","isEnabled"),a.on("execute",()=>{o.execute(e),o.editing.view.focus()}),a})}function findNestedList(o){for(const e of o.getChildren())if(e.name=="ul"||e.name=="ol")return e;return null}function getSiblingNodes(o,e){const n=[],r=o.parent,i={ignoreElementEnd:!1,startPosition:o,shallow:!0,direction:e},s=r.getAttribute("listIndent"),a=[...new TreeWalker(i)].filter(u=>u.item.is("element")).map(u=>u.item);for(const u of a){if(!u.is("element","listItem")||u.getAttribute("listIndent")s)){if(u.getAttribute("listType")!==r.getAttribute("listType")||u.getAttribute("listStyle")!==r.getAttribute("listStyle")||u.getAttribute("listReversed")!==r.getAttribute("listReversed")||u.getAttribute("listStart")!==r.getAttribute("listStart"))break;e==="backward"?n.unshift(u):n.push(u)}}return n}function getSelectedListItems(o){let n=[...o.document.selection.getSelectedBlocks()].filter(r=>r.is("element","listItem")).map(r=>{const i=o.change(s=>s.createPositionAt(r,0));return[...getSiblingNodes(i,"backward"),...getSiblingNodes(i,"forward")]}).flat();return n=[...new Set(n)],n}const BULLETED_LIST_STYLE_TYPES=["disc","circle","square"],NUMBERED_LIST_STYLE_TYPES=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function getListTypeFromListStyleType(o){return BULLETED_LIST_STYLE_TYPES.includes(o)?"bulleted":NUMBERED_LIST_STYLE_TYPES.includes(o)?"numbered":null}function getListItemFillerOffset(){const o=!this.isEmpty&&(this.getChild(0).name=="ul"||this.getChild(0).name=="ol");return this.isEmpty||o?0:getFillerOffset$5.call(this)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListUtils extends Plugin{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(e){return getListTypeFromListStyleType(e)}getSelectedListItems(e){return getSelectedListItems(e)}getSiblingNodes(e,n){return getSiblingNodes(e,n)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function modelViewInsertion(o){return(e,n,r)=>{const i=r.consumable;if(!i.test(n.item,"insert")||!i.test(n.item,"attribute:listType")||!i.test(n.item,"attribute:listIndent"))return;i.consume(n.item,"insert"),i.consume(n.item,"attribute:listType"),i.consume(n.item,"attribute:listIndent");const s=n.item,a=generateLiInUl(s,r);injectViewList(s,a,r,o)}}function modelViewRemove(o){return(e,n,r)=>{const a=r.mapper.toViewPosition(n.position).getLastMatchingPosition(p=>!p.item.is("element","li")).nodeAfter,u=r.writer;u.breakContainer(u.createPositionBefore(a)),u.breakContainer(u.createPositionAfter(a));const l=a.parent,c=l.previousSibling,d=u.createRangeOn(l),h=u.remove(d);c&&c.nextSibling&&mergeViewLists(u,c,c.nextSibling);const f=r.mapper.toModelElement(a);hoistNestedLists(f.getAttribute("listIndent")+1,n.position,d.start,a,r,o);for(const p of u.createRangeIn(h).getItems())r.mapper.unbindViewElement(p);e.stop()}}function modelViewChangeType(o,e,n){if(!n.consumable.test(e.item,o.name))return;const r=n.mapper.toViewElement(e.item),i=n.writer;i.breakContainer(i.createPositionBefore(r)),i.breakContainer(i.createPositionAfter(r));const s=r.parent,a=e.attributeNewValue=="numbered"?"ol":"ul";i.rename(a,s)}function modelViewMergeAfterChangeType(o,e,n){n.consumable.consume(e.item,o.name);const i=n.mapper.toViewElement(e.item).parent,s=n.writer;mergeViewLists(s,i,i.nextSibling),mergeViewLists(s,i.previousSibling,i)}function modelViewChangeIndent(o){return(e,n,r)=>{if(!r.consumable.consume(n.item,"attribute:listIndent"))return;const i=r.mapper.toViewElement(n.item),s=r.writer;s.breakContainer(s.createPositionBefore(i)),s.breakContainer(s.createPositionAfter(i));const a=i.parent,u=a.previousSibling,l=s.createRangeOn(a);s.remove(l),u&&u.nextSibling&&mergeViewLists(s,u,u.nextSibling),hoistNestedLists(n.attributeOldValue+1,n.range.start,l.start,i,r,o),injectViewList(n.item,i,r,o);for(const c of n.item.getChildren())r.consumable.consume(c,"insert")}}function modelViewSplitOnInsert(o,e,n){if(!!n.consumable.test(e.item,o.name)&&e.item.name!="listItem"){let r=n.mapper.toViewPosition(e.range.start);const i=n.writer,s=[];for(;(r.parent.name=="ul"||r.parent.name=="ol")&&(r=i.breakContainer(r),r.parent.name=="li");){const a=r,u=i.createPositionAt(r.parent,"end");if(!a.isEqual(u)){const l=i.remove(i.createRange(a,u));s.push(l)}r=i.createPositionAfter(r.parent)}if(s.length>0){for(let a=0;a0){const c=mergeViewLists(i,u,u.nextSibling);c&&c.parent==u&&r.offset--}}mergeViewLists(i,r.nodeBefore,r.nodeAfter)}}}function modelViewMergeAfter(o,e,n){const r=n.mapper.toViewPosition(e.position),i=r.nodeBefore,s=r.nodeAfter;mergeViewLists(n.writer,i,s)}function viewModelConverter(o,e,n){if(n.consumable.consume(e.viewItem,{name:!0})){const r=n.writer,i=r.createElement("listItem"),s=getIndent(e.viewItem);r.setAttribute("listIndent",s,i);const a=e.viewItem.parent&&e.viewItem.parent.name=="ol"?"numbered":"bulleted";if(r.setAttribute("listType",a,i),!n.safeInsert(i,e.modelCursor))return;const u=viewToModelListItemChildrenConverter(i,e.viewItem.getChildren(),n);e.modelRange=r.createRange(e.modelCursor,u),n.updateConversionResult(i,e)}}function cleanList(o,e,n){if(n.consumable.test(e.viewItem,{name:!0})){const r=Array.from(e.viewItem.getChildren());for(const i of r)!(i.is("element","li")||isList$1(i))&&i._remove()}}function cleanListItem(o,e,n){if(n.consumable.test(e.viewItem,{name:!0})){if(e.viewItem.childCount===0)return;const r=[...e.viewItem.getChildren()];let i=!1;for(const s of r)i&&!isList$1(s)&&s._remove(),isList$1(s)&&(i=!0)}}function modelToViewPosition(o){return(e,n)=>{if(n.isPhantom)return;const r=n.modelPosition.nodeBefore;if(r&&r.is("element","listItem")){const i=n.mapper.toViewElement(r),s=i.getAncestors().find(isList$1),a=o.createPositionAt(i,0).getWalker();for(const u of a)if(u.type=="elementStart"&&u.item.is("element","li")){n.viewPosition=u.previousPosition;break}else if(u.type=="elementEnd"&&u.item==s){n.viewPosition=u.nextPosition;break}}}}function viewToModelPosition(o){return(e,n)=>{const r=n.viewPosition,i=r.parent,s=n.mapper;if(i.name=="ul"||i.name=="ol"){if(r.isAtEnd){const a=s.toModelElement(r.nodeBefore),u=s.getModelLength(r.nodeBefore);n.modelPosition=o.createPositionBefore(a).getShiftedBy(u)}else{const a=s.toModelElement(r.nodeAfter);n.modelPosition=o.createPositionBefore(a)}e.stop()}else if(i.name=="li"&&r.nodeBefore&&(r.nodeBefore.name=="ul"||r.nodeBefore.name=="ol")){const a=s.toModelElement(i);let u=1,l=r.nodeBefore;for(;l&&isList$1(l);)u+=s.getModelLength(l),l=l.previousSibling;n.modelPosition=o.createPositionBefore(a).getShiftedBy(u),e.stop()}}}function modelChangePostFixer(o,e){const n=o.document.differ.getChanges(),r=new Map;let i=!1;for(const l of n)if(l.type=="insert"&&l.name=="listItem")s(l.position);else if(l.type=="insert"&&l.name!="listItem"){if(l.name!="$text"){const d=l.position.nodeAfter;d.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",d),i=!0),d.hasAttribute("listType")&&(e.removeAttribute("listType",d),i=!0),d.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",d),i=!0),d.hasAttribute("listReversed")&&(e.removeAttribute("listReversed",d),i=!0),d.hasAttribute("listStart")&&(e.removeAttribute("listStart",d),i=!0);for(const h of Array.from(o.createRangeIn(d)).filter(f=>f.item.is("element","listItem")))s(h.previousPosition)}const c=l.position.getShiftedBy(l.length);s(c)}else l.type=="remove"&&l.name=="listItem"?s(l.position):(l.type=="attribute"&&l.attributeKey=="listIndent"||l.type=="attribute"&&l.attributeKey=="listType")&&s(l.range.start);for(const l of r.values())a(l),u(l);return i;function s(l){const c=l.nodeBefore;if(!c||!c.is("element","listItem")){const d=l.nodeAfter;d&&d.is("element","listItem")&&r.set(d,d)}else{let d=c;if(r.has(d))return;for(let h=d.previousSibling;h&&h.is("element","listItem");h=d.previousSibling)if(d=h,r.has(d))return;r.set(c,d)}}function a(l){let c=0,d=null;for(;l&&l.is("element","listItem");){const h=l.getAttribute("listIndent");if(h>c){let f;d===null?(d=h-c,f=c):(d>h&&(d=h),f=h-d),e.setAttribute("listIndent",f,l),i=!0}else d=null,c=l.getAttribute("listIndent")+1;l=l.nextSibling}}function u(l){let c=[],d=null;for(;l&&l.is("element","listItem");){const h=l.getAttribute("listIndent");if(d&&d.getAttribute("listIndent")>h&&(c=c.slice(0,h+1)),h!=0)if(c[h]){const f=c[h];l.getAttribute("listType")!=f&&(e.setAttribute("listType",f,l),i=!0)}else c[h]=l.getAttribute("listType");d=l,l=l.nextSibling}}}function modelIndentPasteFixer(o,[e,n,r]){let i=e.is("documentFragment")?e.getChild(0):e,s;if(n?s=this.createSelection(n,r):s=this.document.selection,i&&i.is("element","listItem")){const a=s.getFirstPosition();let u=null;if(a.parent.is("element","listItem")?u=a.parent:a.nodeBefore&&a.nodeBefore.is("element","listItem")&&(u=a.nodeBefore),u){const l=u.getAttribute("listIndent");if(l>0)for(;i&&i.is("element","listItem");)i._setAttribute("listIndent",i.getAttribute("listIndent")+l),i=i.nextSibling}}}function viewToModelListItemChildrenConverter(o,e,n){const{writer:r,schema:i}=n;let s=r.createPositionAfter(o);for(const a of e)if(a.name=="ul"||a.name=="ol")s=n.convertItem(a,s).modelCursor;else{const u=n.convertItem(a,r.createPositionAt(o,"end")),l=u.modelRange.start.nodeAfter;l&&l.is("element")&&!i.checkChild(o,l.name)&&(u.modelCursor.parent.is("element","listItem")?o=u.modelCursor.parent:o=findNextListItem(u.modelCursor),s=r.createPositionAfter(o))}return s}function findNextListItem(o){const e=new TreeWalker({startPosition:o});let n;do n=e.next();while(!n.value.item.is("element","listItem"));return n.value.item}function hoistNestedLists(o,e,n,r,i,s){const a=getSiblingListItem(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:o,foo:"b"}),u=i.mapper,l=i.writer,c=a?a.getAttribute("listIndent"):null;let d;if(!a)d=n;else if(c==o){const h=u.toViewElement(a).parent;d=l.createPositionAfter(h)}else{const h=s.createPositionAt(a,"end");d=u.toViewPosition(h)}d=positionAfterUiElements(d);for(const h of[...r.getChildren()])isList$1(h)&&(d=l.move(l.createRangeOn(h),d).end,mergeViewLists(l,h,h.nextSibling),mergeViewLists(l,h.previousSibling,h))}function isList$1(o){return o.is("element","ol")||o.is("element","ul")}function getIndent(o){let e=0,n=o.parent;for(;n;){if(n.is("element","li"))e++;else{const r=n.previousSibling;r&&r.is("element","li")&&e++}n=n.parent}return e}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListEditing extends Plugin{static get pluginName(){return"ListEditing"}static get requires(){return[Enter,Delete,ListUtils]}init(){const e=this.editor;e.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const n=e.data,r=e.editing;e.model.document.registerPostFixer(s=>modelChangePostFixer(e.model,s)),r.mapper.registerViewToModelLength("li",getViewListItemLength),n.mapper.registerViewToModelLength("li",getViewListItemLength),r.mapper.on("modelToViewPosition",modelToViewPosition(r.view)),r.mapper.on("viewToModelPosition",viewToModelPosition(e.model)),n.mapper.on("modelToViewPosition",modelToViewPosition(r.view)),e.conversion.for("editingDowncast").add(s=>{s.on("insert",modelViewSplitOnInsert,{priority:"high"}),s.on("insert:listItem",modelViewInsertion(e.model)),s.on("attribute:listType:listItem",modelViewChangeType,{priority:"high"}),s.on("attribute:listType:listItem",modelViewMergeAfterChangeType,{priority:"low"}),s.on("attribute:listIndent:listItem",modelViewChangeIndent(e.model)),s.on("remove:listItem",modelViewRemove(e.model)),s.on("remove",modelViewMergeAfter,{priority:"low"})}),e.conversion.for("dataDowncast").add(s=>{s.on("insert",modelViewSplitOnInsert,{priority:"high"}),s.on("insert:listItem",modelViewInsertion(e.model))}),e.conversion.for("upcast").add(s=>{s.on("element:ul",cleanList,{priority:"high"}),s.on("element:ol",cleanList,{priority:"high"}),s.on("element:li",cleanListItem,{priority:"high"}),s.on("element:li",viewModelConverter)}),e.model.on("insertContent",modelIndentPasteFixer,{priority:"high"}),e.commands.add("numberedList",new ListCommand(e,"numbered")),e.commands.add("bulletedList",new ListCommand(e,"bulleted")),e.commands.add("indentList",new IndentCommand(e,"forward")),e.commands.add("outdentList",new IndentCommand(e,"backward"));const i=r.view.document;this.listenTo(i,"enter",(s,a)=>{const u=this.editor.model.document,l=u.selection.getLastPosition().parent;u.selection.isCollapsed&&l.name=="listItem"&&l.isEmpty&&(this.editor.execute("outdentList"),a.preventDefault(),s.stop())},{context:"li"}),this.listenTo(i,"delete",(s,a)=>{if(a.direction!=="backward")return;const u=this.editor.model.document.selection;if(!u.isCollapsed)return;const l=u.getFirstPosition();if(!l.isAtStart)return;const c=l.parent;c.name!=="listItem"||c.previousSibling&&c.previousSibling.name==="listItem"||(this.editor.execute("outdentList"),a.preventDefault(),s.stop())},{context:"li"}),this.listenTo(e.editing.view.document,"tab",(s,a)=>{const u=a.shiftKey?"outdentList":"indentList";this.editor.commands.get(u).isEnabled&&(e.execute(u),a.stopPropagation(),a.preventDefault(),s.stop())},{context:"li"})}afterInit(){const e=this.editor.commands,n=e.get("indent"),r=e.get("outdent");n&&n.registerChildCommand(e.get("indentList")),r&&r.registerChildCommand(e.get("outdentList"))}}function getViewListItemLength(o){let e=1;for(const n of o.getChildren())if(n.name=="ul"||n.name=="ol")for(const r of n.getChildren())e+=getViewListItemLength(r);return e}const _hoisted_1$f={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$e=vue.createElementVNode("path",{d:"M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"},null,-1),_hoisted_3$e=[_hoisted_2$e];function render$e(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$f,_hoisted_3$e)}const numberedListIcon={render:render$e},_hoisted_1$e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},_hoisted_2$d=vue.createElementVNode("path",{d:"M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"},null,-1),_hoisted_3$d=[_hoisted_2$d];function render$d(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$e,_hoisted_3$d)}const bulletedListIcon={render:render$d};/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListUI extends Plugin{static get pluginName(){return"ListUI"}init(){const e=this.editor.t;createUIComponent(this.editor,"numberedList",e("Numbered List"),numberedListIcon),createUIComponent(this.editor,"bulletedList",e("Bulleted List"),bulletedListIcon)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class List extends Plugin{static get requires(){return[ListEditing,ListUI]}static get pluginName(){return"List"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListStyleCommand extends Command{constructor(e,n){super(e),this._defaultType=n}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){this._tryToConvertItemsToList(e);const n=this.editor.model,r=getSelectedListItems(n);!r.length||n.change(i=>{for(const s of r)i.setAttribute("listStyle",e.type||this._defaultType,s)})}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,n=e.commands.get("numberedList"),r=e.commands.get("bulletedList");return n.isEnabled||r.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const n=getListTypeFromListStyleType(e.type);if(!n)return;const r=this.editor,i=n+"List";r.commands.get(i).value||r.execute(i)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListReversedCommand extends Command{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute(e={}){const n=this.editor.model,r=getSelectedListItems(n).filter(i=>i.getAttribute("listType")=="numbered");n.change(i=>{for(const s of r)i.setAttribute("listReversed",!!e.reversed,s)})}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&e.getAttribute("listType")=="numbered"?e.getAttribute("listReversed"):null}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListStartCommand extends Command{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute(e={}){const n=this.editor.model,r=getSelectedListItems(n).filter(i=>i.getAttribute("listType")=="numbered");n.change(i=>{for(const s of r)i.setAttribute("listStart",e.startIndex>=0?e.startIndex:1,s)})}_getValue(){const e=this.editor.model.document.selection.getFirstPosition().parent;return e&&e.is("element","listItem")&&e.getAttribute("listType")=="numbered"?e.getAttribute("listStart"):null}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const DEFAULT_LIST_TYPE="default";class ListPropertiesEditing extends Plugin{static get requires(){return[ListEditing]}static get pluginName(){return"ListPropertiesEditing"}constructor(e){super(e),e.config.define("list",{properties:{styles:!0,startIndex:!1,reversed:!1}})}init(){const e=this.editor,n=e.model,r=e.config.get("list.properties"),i=createAttributeStrategies(r);n.schema.extend("listItem",{allowAttributes:i.map(s=>s.attributeName)});for(const s of i)s.addCommand(e);this.listenTo(e.commands.get("indentList"),"_executeCleanup",fixListAfterIndentListCommand(e,i)),this.listenTo(e.commands.get("outdentList"),"_executeCleanup",fixListAfterOutdentListCommand(e,i)),this.listenTo(e.commands.get("bulletedList"),"_executeCleanup",restoreDefaultListStyle(e)),this.listenTo(e.commands.get("numberedList"),"_executeCleanup",restoreDefaultListStyle(e)),n.document.registerPostFixer(fixListAttributesOnListItemElements(e,i)),e.conversion.for("upcast").add(upcastListItemAttributes(i)),e.conversion.for("downcast").add(downcastListItemAttributes(i)),this._mergeListAttributesWhileMergingLists(i)}afterInit(){const e=this.editor;e.commands.get("todoList")&&e.model.document.registerPostFixer(removeListItemAttributesFromTodoList(e))}_mergeListAttributesWhileMergingLists(e){const r=this.editor.model;let i;this.listenTo(r,"deleteContent",(s,[a])=>{const u=a.getFirstPosition(),l=a.getLastPosition();if(u.parent===l.parent||!u.parent.is("element","listItem"))return;const c=l.parent.nextSibling;if(!c||!c.is("element","listItem"))return;const d=getSiblingListItem(u.parent,{sameIndent:!0,listIndent:c.getAttribute("listIndent")});!d||d.getAttribute("listType")===c.getAttribute("listType")&&(i=d)},{priority:"high"}),this.listenTo(r,"deleteContent",()=>{!i||(r.change(s=>{const a=getSiblingListItem(i.nextSibling,{sameIndent:!0,listIndent:i.getAttribute("listIndent"),direction:"forward"});if(!a){i=null;return}const u=[a,...getSiblingNodes(s.createPositionAt(a,0),"forward")];for(const l of u)for(const c of e)if(c.appliesToListItem(l)){const d=c.attributeName,h=i.getAttribute(d);s.setAttribute(d,h,l)}}),i=null)},{priority:"low"})}}function createAttributeStrategies(o){const e=[];return o.styles&&e.push({attributeName:"listStyle",defaultValue:DEFAULT_LIST_TYPE,addCommand(n){n.commands.add("listStyle",new ListStyleCommand(n,DEFAULT_LIST_TYPE))},appliesToListItem(){return!0},setAttributeOnDowncast(n,r,i){r&&r!==DEFAULT_LIST_TYPE?n.setStyle("list-style-type",r,i):n.removeStyle("list-style-type",i)},getAttributeOnUpcast(n){return n.getStyle("list-style-type")||DEFAULT_LIST_TYPE}}),o.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,addCommand(n){n.commands.add("listReversed",new ListReversedCommand(n))},appliesToListItem(n){return n.getAttribute("listType")=="numbered"},setAttributeOnDowncast(n,r,i){r?n.setAttribute("reversed","reversed",i):n.removeAttribute("reversed",i)},getAttributeOnUpcast(n){return n.hasAttribute("reversed")}}),o.startIndex&&e.push({attributeName:"listStart",defaultValue:1,addCommand(n){n.commands.add("listStart",new ListStartCommand(n))},appliesToListItem(n){return n.getAttribute("listType")=="numbered"},setAttributeOnDowncast(n,r,i){r==0||r>1?n.setAttribute("start",r,i):n.removeAttribute("start",i)},getAttributeOnUpcast(n){const r=n.getAttribute("start");return r>=0?r:1}}),e}function upcastListItemAttributes(o){return e=>{e.on("element:li",(n,r,i)=>{const s=r.viewItem.parent,a=r.modelRange.start.nodeAfter||r.modelRange.end.nodeBefore;for(const u of o)if(u.appliesToListItem(a)){const l=u.getAttributeOnUpcast(s);i.writer.setAttribute(u.attributeName,l,a)}},{priority:"low"})}}function downcastListItemAttributes(o){return n=>{for(const r of o)n.on(`attribute:${r.attributeName}:listItem`,(i,s,a)=>{const u=a.writer,l=s.item,c=getSiblingListItem(l.previousSibling,{sameIndent:!0,listIndent:l.getAttribute("listIndent"),direction:"backward"}),d=a.mapper.toViewElement(l);e(l,c)||u.breakContainer(u.createPositionBefore(d)),r.setAttributeOnDowncast(u,s.attributeNewValue,d.parent)},{priority:"low"})};function e(n,r){return r&&n.getAttribute("listType")===r.getAttribute("listType")&&n.getAttribute("listIndent")===r.getAttribute("listIndent")&&n.getAttribute("listStyle")===r.getAttribute("listStyle")&&n.getAttribute("listReversed")===r.getAttribute("listReversed")&&n.getAttribute("listStart")===r.getAttribute("listStart")}}function fixListAfterIndentListCommand(o,e){return(n,r)=>{const i=r[0],s=i.getAttribute("listIndent"),a=r.filter(l=>l.getAttribute("listIndent")===s);let u=null;i.previousSibling.getAttribute("listIndent")+1!==s&&(u=getSiblingListItem(i.previousSibling,{sameIndent:!0,direction:"backward",listIndent:s})),o.model.change(l=>{for(const c of a)for(const d of e)if(d.appliesToListItem(c)){const h=u==null?d.defaultValue:u.getAttribute(d.attributeName);l.setAttribute(d.attributeName,h,c)}})}}function fixListAfterOutdentListCommand(o,e){return(n,r)=>{if(r=r.reverse().filter(u=>u.is("element","listItem")),!r.length)return;const i=r[0].getAttribute("listIndent"),s=r[0].getAttribute("listType");let a=r[0].previousSibling;if(a.is("element","listItem"))for(;a.getAttribute("listIndent")!==i;)a=a.previousSibling;else a=null;a||(a=r[r.length-1].nextSibling),!(!a||!a.is("element","listItem"))&&a.getAttribute("listType")===s&&o.model.change(u=>{const l=r.filter(c=>c.getAttribute("listIndent")===i);for(const c of l)for(const d of e)if(d.appliesToListItem(c)){const h=d.attributeName,f=a.getAttribute(h);u.setAttribute(h,f,c)}})}}function fixListAttributesOnListItemElements(o,e){return n=>{let r=!1;const i=getChangedListItems(o.model.document.differ.getChanges()).filter(a=>a.getAttribute("listType")!=="todo");if(!i.length)return r;let s=i[i.length-1].nextSibling;if((!s||!s.is("element","listItem"))&&(s=i[0].previousSibling,s)){const a=i[0].getAttribute("listIndent");for(;s.is("element","listItem")&&s.getAttribute("listIndent")!==a&&(s=s.previousSibling,!!s););}for(const a of e){const u=a.attributeName;for(const l of i){if(!a.appliesToListItem(l)){n.removeAttribute(u,l);continue}if(!l.hasAttribute(u))shouldInheritListType(s,l,a)?n.setAttribute(u,s.getAttribute(u),l):n.setAttribute(u,a.defaultValue,l),r=!0;else{const c=l.previousSibling;shouldInheritListTypeFromPreviousItem(c,l,a.attributeName)&&(n.setAttribute(u,c.getAttribute(u),l),r=!0)}}}return r}}function shouldInheritListType(o,e,n){if(!o)return!1;const r=o.getAttribute(n.attributeName);return!(!r||r==n.defaultValue||o.getAttribute("listType")!==e.getAttribute("listType"))}function shouldInheritListTypeFromPreviousItem(o,e,n){if(!o||!o.is("element","listItem")||e.getAttribute("listType")!==o.getAttribute("listType"))return!1;const r=o.getAttribute("listIndent");if(r<1||r!==e.getAttribute("listIndent"))return!1;const i=o.getAttribute(n);return!(!i||i===e.getAttribute(n))}function removeListItemAttributesFromTodoList(o){return e=>{const n=getChangedListItems(o.model.document.differ.getChanges()).filter(r=>r.getAttribute("listType")==="todo"&&(r.hasAttribute("listStyle")||r.hasAttribute("listReversed")||r.hasAttribute("listStart")));if(!n.length)return!1;for(const r of n)e.removeAttribute("listStyle",r),e.removeAttribute("listReversed",r),e.removeAttribute("listStart",r);return!0}}function restoreDefaultListStyle(o){return(e,n)=>{n=n.filter(r=>r.is("element","listItem")),o.model.change(r=>{for(const i of n)r.removeAttribute("listStyle",i)})}}function getChangedListItems(o){const e=[];for(const n of o){const r=getItemFromChange(n);r&&r.is("element","listItem")&&e.push(r)}return e}function getItemFromChange(o){return o.type==="attribute"?o.range.start.nodeAfter:o.type==="insert"?o.position.nodeAfter:null}const collapsible="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class CollapsibleView extends View{constructor(e,n){super(e);const r=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid"),n&&this.children.addMany(n),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",r.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:r.if("isCollapsed","hidden"),"aria-labelledby":r.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}_createButtonView(){const e=new ButtonView(this.locale),n=e.bindTemplate;return e.set({withText:!0,icon:dropdownArrowIcon}),e.extendTemplate({attributes:{"aria-expanded":n.to("isOn",r=>String(r))}}),e.bind("label").to(this),e.bind("isOn").to(this,"isCollapsed",r=>!r),e.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),e}}const listproperties="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListPropertiesView extends View{constructor(e,{enabledProperties:n,styleButtonViews:r,styleGridAriaLabel:i}){super(e);const s=["ck","ck-list-properties"];this.children=this.createCollection(),this.stylesView=null,this.additionalPropertiesCollapsibleView=null,this.startIndexFieldView=null,this.reversedSwitchButtonView=null,this.focusTracker=new FocusTracker,this.keystrokes=new KeystrokeHandler,this.focusables=new ViewCollection,this.focusCycler=new FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),n.styles?(this.stylesView=this._createStylesView(r,i),this.children.add(this.stylesView)):s.push("ck-list-properties_without-styles"),(n.startIndex||n.reversed)&&(this._addNumberedListPropertyViews(n,r),s.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:s},children:this.children})}render(){if(super.render(),this.stylesView){this.focusables.add(this.stylesView),this.focusTracker.add(this.stylesView.element),(this.startIndexFieldView||this.reversedSwitchButtonView)&&(this.focusables.add(this.children.last.buttonView),this.focusTracker.add(this.children.last.buttonView.element));for(const e of this.stylesView.children)this.stylesView.focusTracker.add(e.element);addKeyboardHandlingForGrid({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>global$2.window.getComputedStyle(this.stylesView.element).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}if(this.startIndexFieldView){this.focusables.add(this.startIndexFieldView),this.focusTracker.add(this.startIndexFieldView.element),this.listenTo(this.startIndexFieldView.element,"selectstart",(n,r)=>{r.stopPropagation()},{priority:"high"});const e=n=>n.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}this.reversedSwitchButtonView&&(this.focusables.add(this.reversedSwitchButtonView),this.focusTracker.add(this.reversedSwitchButtonView.element)),this.keystrokes.listenTo(this.element)}focus(){this.focusCycler.focusFirst()}focusLast(){this.focusCycler.focusLast()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createStylesView(e,n){const r=new View(this.locale);return r.children=r.createCollection(this.locale),r.children.addMany(e),r.setTemplate({tag:"div",attributes:{"aria-label":n,class:["ck","ck-list-styles-list"]},children:r.children}),r.children.delegate("execute").to(this),r.focus=function(){this.children.first.focus()},r.focusTracker=new FocusTracker,r.keystrokes=new KeystrokeHandler,r.render(),r.keystrokes.listenTo(r.element),r}_addNumberedListPropertyViews(e){const n=this.locale.t,r=[];e.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),r.push(this.startIndexFieldView)),e.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),r.push(this.reversedSwitchButtonView)),e.styles?(this.additionalPropertiesCollapsibleView=new CollapsibleView(this.locale,r),this.additionalPropertiesCollapsibleView.set({label:n("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(r,"isEnabled",(...i)=>i.some(s=>s)),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",(i,s,a)=>{a||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)}),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(r)}_createStartIndexField(){const e=this.locale.t,n=new LabeledFieldView(this.locale,createLabeledInputNumber);return n.set({label:e("Start at"),class:"ck-numbered-list-properties__start-index"}),n.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),n.fieldView.on("input",()=>{const r=n.fieldView.element,i=r.valueAsNumber;Number.isNaN(i)||(r.checkValidity()?this.fire("listStart",{startIndex:i}):n.errorText=e("Start index must be greater than 0."))}),n}_createReversedSwitchButton(){const e=this.locale.t,n=new SwitchButtonView(this.locale);return n.set({withText:!0,label:e("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),n.delegate("execute").to(this,"listReversed"),n}}const _hoisted_1$d={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$c=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$c=vue.createElementVNode("path",{d:"M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0-9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"},null,-1),_hoisted_4$b=[_hoisted_2$c,_hoisted_3$c];function render$c(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$d,_hoisted_4$b)}const listStyleDiscIcon={render:render$c},_hoisted_1$c={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$b=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$b=vue.createElementVNode("path",{d:"M11 27a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"},null,-1),_hoisted_4$a=[_hoisted_2$b,_hoisted_3$b];function render$b(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$c,_hoisted_4$a)}const listStyleCircleIcon={render:render$b},_hoisted_1$b={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$a=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$a=vue.createElementVNode("path",{d:"M14 27v6H8v-6h6zm0-9v6H8v-6h6zm0-9v6H8V9h6z"},null,-1),_hoisted_4$9=[_hoisted_2$a,_hoisted_3$a];function render$a(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$b,_hoisted_4$9)}const listStyleSquareIcon={render:render$a},_hoisted_1$a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$9=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$9=vue.createElementVNode("path",{d:"M10.29 15V8.531H9.286c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.343 0v-1.235h-1.235V15h1.235zM11.3 24v-1.147H8.848c.064-.111.148-.226.252-.343.104-.117.351-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.494-.824.104-.263.156-.539.156-.829 0-.51-.182-.936-.545-1.279-.363-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.153-.155.358-.233.616-.233.26 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.468.536-1.024 1.055-.692.641-1.155 1.156-1.389 1.544-.234.389-.375.8-.422 1.233H11.3zm2.333 0v-1.235h-1.235V24h1.235zM9.204 34.11c.615 0 1.129-.2 1.542-.598.413-.398.62-.88.62-1.446 0-.39-.11-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.619-.337.928-.788.928-1.353 0-.399-.151-.756-.453-1.073-.366-.386-.852-.58-1.459-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.668.55c-.16.232-.28.544-.358.933l1.138.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.215 0 .386.065.515.194s.193.302.193.518c0 .255-.087.46-.263.613-.176.154-.43.227-.765.218l-.136 1.006c.22-.061.409-.092.567-.092.24 0 .444.09.61.272.168.182.251.428.251.739 0 .328-.087.589-.261.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.307-.698l-1.196.145c.062.542.285.98.668 1.316.384.335.868.503 1.45.503zm4.43-.11v-1.235h-1.236V34h1.235z"},null,-1),_hoisted_4$8=[_hoisted_2$9,_hoisted_3$9];function render$9(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$a,_hoisted_4$8)}const listStyleDecimalIcon={render:render$9},_hoisted_1$9={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$8=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$8=vue.createElementVNode("path",{d:"M5.714 15.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm6.078.914V8.531H10.79c-.14.393-.4.736-.778 1.03-.378.295-.728.495-1.05.6v1.121a4.257 4.257 0 0 0 1.595-.936V15h1.235zm3.344 0v-1.235h-1.235V15h1.235zm-9.422 9.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm7.088.914v-1.147H10.35c.065-.111.149-.226.253-.343.104-.117.35-.354.74-.712.39-.357.66-.631.81-.821.225-.288.39-.562.493-.824.104-.263.156-.539.156-.829 0-.51-.181-.936-.544-1.279-.364-.342-.863-.514-1.499-.514-.58 0-1.063.148-1.45.444-.387.296-.617.784-.69 1.463l1.23.124c.024-.36.112-.619.264-.774.152-.155.357-.233.615-.233.261 0 .465.074.613.222.148.148.222.36.222.635 0 .25-.085.501-.255.756-.126.185-.467.536-1.024 1.055-.691.641-1.154 1.156-1.388 1.544-.235.389-.375.8-.422 1.233h4.328zm2.334 0v-1.235h-1.235V24h1.235zM5.714 34.11c.624 0 1.11-.22 1.46-.66.421-.533.632-1.408.632-2.627 0-1.222-.21-2.096-.629-2.624-.351-.445-.839-.668-1.463-.668-.624 0-1.11.22-1.459.66-.422.533-.633 1.406-.633 2.619 0 1.236.192 2.095.576 2.577.384.482.89.723 1.516.723zm0-1.024a.614.614 0 0 1-.398-.14c-.115-.094-.211-.283-.287-.565-.077-.283-.115-.802-.115-1.558s.043-1.294.128-1.613c.064-.246.155-.417.272-.512a.617.617 0 0 1 .4-.143.61.61 0 0 1 .398.143c.116.095.211.284.288.567.076.283.114.802.114 1.558s-.043 1.292-.128 1.608c-.064.246-.155.417-.272.512a.617.617 0 0 1-.4.143zm4.992 1.024c.616 0 1.13-.2 1.543-.598.413-.398.62-.88.62-1.446 0-.39-.111-.722-.332-.997a1.5 1.5 0 0 0-.886-.532c.618-.337.927-.788.927-1.353 0-.399-.15-.756-.452-1.073-.366-.386-.853-.58-1.46-.58a2.25 2.25 0 0 0-.96.2 1.617 1.617 0 0 0-.667.55c-.16.232-.28.544-.359.933l1.139.194c.032-.282.123-.495.272-.642.15-.146.33-.22.54-.22.214 0 .386.065.515.194s.193.302.193.518c0 .255-.088.46-.264.613-.175.154-.43.227-.764.218l-.136 1.006c.22-.061.408-.092.566-.092.24 0 .444.09.611.272.167.182.25.428.25.739 0 .328-.086.589-.26.782a.833.833 0 0 1-.644.29.841.841 0 0 1-.607-.242c-.167-.16-.27-.394-.308-.698l-1.195.145c.062.542.284.98.668 1.316.384.335.867.503 1.45.503zm4.43-.11v-1.235h-1.235V34h1.235z"},null,-1),_hoisted_4$7=[_hoisted_2$8,_hoisted_3$8];function render$8(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$9,_hoisted_4$7)}const listStyleDecimalWithLeadingZeroIcon={render:render$8},_hoisted_1$8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$7=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$7=vue.createElementVNode("path",{d:"M11.88 8.7V7.558h-1.234V8.7h1.234zm0 5.3V9.333h-1.234V14h1.234zm2.5 0v-1.235h-1.234V14h1.235zm-4.75 4.7v-1.142H8.395V18.7H9.63zm0 5.3v-4.667H8.395V24H9.63zm2.5-5.3v-1.142h-1.234V18.7h1.235zm0 5.3v-4.667h-1.234V24h1.235zm2.501 0v-1.235h-1.235V24h1.235zM7.38 28.7v-1.142H6.145V28.7H7.38zm0 5.3v-4.667H6.145V34H7.38zm2.5-5.3v-1.142H8.646V28.7H9.88zm0 5.3v-4.667H8.646V34H9.88zm2.5-5.3v-1.142h-1.234V28.7h1.235zm0 5.3v-4.667h-1.234V34h1.235zm2.501 0v-1.235h-1.235V34h1.235z"},null,-1),_hoisted_4$6=[_hoisted_2$7,_hoisted_3$7];function render$7(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$8,_hoisted_4$6)}const listStyleLowerRomanIcon={render:render$7},_hoisted_1$7={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$6=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$6=vue.createElementVNode("path",{d:"M11.916 15V8.558h-1.301V15h1.3zm2.465 0v-1.235h-1.235V15h1.235zM9.665 25v-6.442h-1.3V25h1.3zm2.5 0v-6.442h-1.3V25h1.3zm2.466 0v-1.235h-1.235V25h1.235zm-7.216 9v-6.442h-1.3V34h1.3zm2.5 0v-6.442h-1.3V34h1.3zm2.501 0v-6.442h-1.3V34h1.3zm2.465 0v-1.235h-1.235V34h1.235z"},null,-1),_hoisted_4$5=[_hoisted_2$6,_hoisted_3$6];function render$6(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$7,_hoisted_4$5)}const listStyleUpperRomanIcon={render:render$6},_hoisted_1$6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$5=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$5=vue.createElementVNode("path",{d:"M9.62 14.105c.272 0 .528-.05.768-.153s.466-.257.677-.462c.009.024.023.072.044.145.047.161.086.283.119.365h1.221a2.649 2.649 0 0 1-.222-.626c-.04-.195-.059-.498-.059-.908l.013-1.441c0-.536-.055-.905-.165-1.105-.11-.201-.3-.367-.569-.497-.27-.13-.68-.195-1.23-.195-.607 0-1.064.108-1.371.325-.308.217-.525.55-.65 1.002l1.12.202c.076-.217.176-.369.299-.455.123-.086.294-.13.514-.13.325 0 .546.05.663.152.118.101.176.27.176.508v.123c-.222.093-.622.194-1.2.303-.427.082-.755.178-.982.288-.227.11-.403.268-.53.474a1.327 1.327 0 0 0-.188.706c0 .398.138.728.415.988.277.261.656.391 1.136.391zm.368-.87a.675.675 0 0 1-.492-.189.606.606 0 0 1-.193-.448c0-.176.08-.32.241-.435.106-.07.33-.142.673-.215a7.19 7.19 0 0 0 .751-.19v.247c0 .296-.016.496-.048.602a.773.773 0 0 1-.295.409 1.07 1.07 0 0 1-.637.22zm4.645.765v-1.235h-1.235V14h1.235zM10.2 25.105c.542 0 1.003-.215 1.382-.646.38-.43.57-1.044.57-1.84 0-.771-.187-1.362-.559-1.774a1.82 1.82 0 0 0-1.41-.617c-.522 0-.973.216-1.354.65v-2.32H7.594V25h1.147v-.686a1.9 1.9 0 0 0 .67.592c.26.133.523.2.79.2zm-.299-.975c-.354 0-.638-.164-.852-.492-.153-.232-.229-.59-.229-1.073 0-.468.098-.818.295-1.048a.93.93 0 0 1 .738-.345c.302 0 .55.118.743.354.193.236.29.62.29 1.154 0 .5-.096.868-.288 1.1-.192.233-.424.35-.697.35zm4.478.87v-1.235h-1.234V25h1.234zm-4.017 9.105c.6 0 1.08-.142 1.437-.426.357-.284.599-.704.725-1.261l-1.213-.207c-.061.326-.167.555-.316.688a.832.832 0 0 1-.576.2.916.916 0 0 1-.75-.343c-.185-.228-.278-.62-.278-1.173 0-.498.091-.853.274-1.066.183-.212.429-.318.736-.318.232 0 .42.061.565.184.145.123.238.306.28.55l1.216-.22c-.146-.501-.387-.874-.722-1.119-.336-.244-.788-.366-1.356-.366-.695 0-1.245.214-1.653.643-.407.43-.61 1.03-.61 1.8 0 .762.202 1.358.608 1.788.406.431.95.646 1.633.646zM14.633 34v-1.235h-1.235V34h1.235z"},null,-1),_hoisted_4$4=[_hoisted_2$5,_hoisted_3$5];function render$5(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$6,_hoisted_4$4)}const listStyleLowerLatinIcon={render:render$5},_hoisted_1$5={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},_hoisted_2$4=vue.createElementVNode("path",{"fill-opacity":".163",d:"M35 29a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17zm0-9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H18a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h17z"},null,-1),_hoisted_3$4=vue.createElementVNode("path",{d:"m7.88 15 .532-1.463h2.575L11.549 15h1.415l-2.58-6.442H9.01L6.5 15h1.38zm2.69-2.549H8.811l.87-2.39.887 2.39zM14.88 15v-1.235h-1.234V15h1.234zM9.352 25c.83-.006 1.352-.02 1.569-.044.346-.038.636-.14.872-.305.236-.166.422-.387.558-.664.137-.277.205-.562.205-.855 0-.372-.106-.695-.317-.97-.21-.276-.512-.471-.905-.585a1.51 1.51 0 0 0 .661-.567 1.5 1.5 0 0 0 .244-.83c0-.28-.066-.53-.197-.754a1.654 1.654 0 0 0-.495-.539 1.676 1.676 0 0 0-.672-.266c-.25-.042-.63-.063-1.14-.063H7.158V25h2.193zm.142-3.88H8.46v-1.49h.747c.612 0 .983.007 1.112.022.217.026.38.102.49.226.11.125.165.287.165.486a.68.68 0 0 1-.192.503.86.86 0 0 1-.525.23 11.47 11.47 0 0 1-.944.023h.18zm.17 2.795H8.46v-1.723h1.05c.592 0 .977.03 1.154.092.177.062.313.16.406.295a.84.84 0 0 1 .14.492c0 .228-.06.41-.181.547a.806.806 0 0 1-.473.257c-.126.026-.423.04-.892.04zM14.88 25v-1.235h-1.234V25h1.234zm-5.018 9.11c.691 0 1.262-.17 1.711-.512.45-.341.772-.864.965-1.567l-1.261-.4c-.109.472-.287.818-.536 1.037-.25.22-.547.33-.892.33-.47 0-.85-.173-1.143-.519-.293-.345-.44-.925-.44-1.74 0-.767.15-1.322.447-1.665.297-.343.684-.514 1.162-.514.346 0 .64.096.881.29.242.193.4.457.477.79l1.288-.307c-.147-.516-.367-.911-.66-1.187-.492-.465-1.132-.698-1.92-.698-.902 0-1.63.296-2.184.89-.554.593-.83 1.426-.83 2.498 0 1.014.275 1.813.825 2.397.551.585 1.254.877 2.11.877zM14.88 34v-1.235h-1.234V34h1.234z"},null,-1),_hoisted_4$3=[_hoisted_2$4,_hoisted_3$4];function render$4(o,e){return vue.openBlock(),vue.createElementBlock("svg",_hoisted_1$5,_hoisted_4$3)}const listStyleUpperLatinIcon={render:render$4},liststyles="";/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListPropertiesUI extends Plugin{static get pluginName(){return"ListPropertiesUI"}init(){const e=this.editor,n=e.locale.t,r=e.config.get("list.properties");r.styles&&e.ui.componentFactory.add("bulletedList",getDropdownViewCreator({editor:e,parentCommandName:"bulletedList",buttonLabel:n("Bulleted List"),buttonIcon:bulletedListIcon,styleGridAriaLabel:n("Bulleted list styles toolbar"),styleDefinitions:[{label:n("Toggle the disc list style"),tooltip:n("Disc"),type:"disc",icon:listStyleDiscIcon},{label:n("Toggle the circle list style"),tooltip:n("Circle"),type:"circle",icon:listStyleCircleIcon},{label:n("Toggle the square list style"),tooltip:n("Square"),type:"square",icon:listStyleSquareIcon}]})),(r.styles||r.startIndex||r.reversed)&&e.ui.componentFactory.add("numberedList",getDropdownViewCreator({editor:e,parentCommandName:"numberedList",buttonLabel:n("Numbered List"),buttonIcon:numberedListIcon,styleGridAriaLabel:n("Numbered list styles toolbar"),styleDefinitions:[{label:n("Toggle the decimal list style"),tooltip:n("Decimal"),type:"decimal",icon:listStyleDecimalIcon},{label:n("Toggle the decimal with leading zero list style"),tooltip:n("Decimal with leading zero"),type:"decimal-leading-zero",icon:listStyleDecimalWithLeadingZeroIcon},{label:n("Toggle the lower\u2013roman list style"),tooltip:n("Lower\u2013roman"),type:"lower-roman",icon:listStyleLowerRomanIcon},{label:n("Toggle the upper\u2013roman list style"),tooltip:n("Upper-roman"),type:"upper-roman",icon:listStyleUpperRomanIcon},{label:n("Toggle the lower\u2013latin list style"),tooltip:n("Lower-latin"),type:"lower-latin",icon:listStyleLowerLatinIcon},{label:n("Toggle the upper\u2013latin list style"),tooltip:n("Upper-latin"),type:"upper-latin",icon:listStyleUpperLatinIcon}]}))}}function getDropdownViewCreator({editor:o,parentCommandName:e,buttonLabel:n,buttonIcon:r,styleGridAriaLabel:i,styleDefinitions:s}){const a=o.commands.get(e);return u=>{const l=createDropdown(u,SplitButtonView),c=l.buttonView;l.bind("isEnabled").to(a),l.class="ck-list-styles-dropdown",c.on("execute",()=>{o.execute(e),o.editing.view.focus()}),c.set({label:n,icon:r,tooltip:!0,isToggleable:!0}),c.bind("isOn").to(a,"value",h=>!!h);const d=createListPropertiesView({editor:o,dropdownView:l,parentCommandName:e,styleGridAriaLabel:i,styleDefinitions:s});return l.panelView.children.add(d),l.on("execute",()=>{o.editing.view.focus()}),l}}function getStyleButtonCreator({editor:o,listStyleCommand:e,parentCommandName:n}){const r=o.locale,i=o.commands.get(n);return({label:s,type:a,icon:u,tooltip:l})=>{const c=new ButtonView(r);return c.set({label:s,icon:u,tooltip:l}),e.on("change:value",()=>{c.isOn=e.value===a}),c.on("execute",()=>{i.value?e.value!==a?o.execute("listStyle",{type:a}):o.execute("listStyle",{type:e._defaultType}):o.model.change(()=>{o.execute("listStyle",{type:a})})}),c}}function createListPropertiesView({editor:o,dropdownView:e,parentCommandName:n,styleDefinitions:r,styleGridAriaLabel:i}){const s=o.locale,a=o.config.get("list.properties");let u;if(n!="numberedList"&&(a.startIndex=!1,a.reversed=!1),a.styles){const c=o.commands.get("listStyle"),d=getStyleButtonCreator({editor:o,parentCommandName:n,listStyleCommand:c}),h=typeof c.isStyleTypeSupported=="function"?f=>c.isStyleTypeSupported(f.type):()=>!0;u=r.filter(h).map(d)}const l=new ListPropertiesView(s,{styleGridAriaLabel:i,enabledProperties:a,styleButtonViews:u});if(a.styles&&focusChildOnDropdownOpen(e,()=>l.stylesView.children.find(c=>c.isOn)),a.startIndex){const c=o.commands.get("listStart");l.startIndexFieldView.bind("isEnabled").to(c),l.startIndexFieldView.fieldView.bind("value").to(c),l.on("listStart",(d,h)=>o.execute("listStart",h))}if(a.reversed){const c=o.commands.get("listReversed");l.reversedSwitchButtonView.bind("isEnabled").to(c),l.reversedSwitchButtonView.bind("isOn").to(c,"value"),l.on("listReversed",()=>{const d=c.value;o.execute("listReversed",{reversed:!d})})}return l.delegate("execute").to(e),l}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */class ListProperties extends Plugin{static get requires(){return[ListPropertiesEditing,ListPropertiesUI]}static get pluginName(){return"ListProperties"}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function removeBoldWrapper(o,e){for(const n of o.getChildren())if(n.is("element","b")&&n.getStyle("font-weight")==="normal"){const r=o.getChildIndex(n);e.remove(n),e.insertChild(r,n.getChildren(),o)}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function transformBlockBrsToParagraphs(o,e){const n=new Document$1(e.document.stylesProcessor),r=new DomConverter(n,{renderingMode:"data"}),i=r.blockElements,s=r.inlineObjectElements,a=[];for(const u of e.createRangeIn(o)){const l=u.item;if(l.is("element","br")){const c=findSibling(l,"forward",e,{blockElements:i,inlineObjectElements:s}),d=findSibling(l,"backward",e,{blockElements:i,inlineObjectElements:s}),h=isBlockViewElement(c,i);(isBlockViewElement(d,i)||h)&&a.push(l)}}for(const u of a)u.hasClass("Apple-interchange-newline")?e.remove(u):e.replace(u,e.createElement("p"))}function findSibling(o,e,n,{blockElements:r,inlineObjectElements:i}){let s=n.createPositionAt(o,e=="forward"?"after":"before");return s=s.getLastMatchingPosition(({item:a})=>a.is("element")&&!r.includes(a.name)&&!i.includes(a.name),{direction:e}),e=="forward"?s.nodeAfter:s.nodeBefore}function isBlockViewElement(o,e){return!!o&&o.is("element")&&e.includes(o.name)}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function transformListItemLikeElementsIntoLists(o,e){if(!o.childCount)return;const n=new UpcastWriter(o.document),r=findAllItemLikeElements(o,n);if(!r.length)return;let i=null,s=1;r.forEach((a,u)=>{const l=isNewListNeeded(r[u-1],a),c=l?null:r[u-1],d=getIndentationDifference(c,a);if(l&&(i=null,s=1),!i||d!==0){const f=detectListStyle(a,e);if(!i)i=insertNewEmptyList(f,a.element,n);else if(a.indent>s){const p=i.getChild(i.childCount-1),m=p.getChild(p.childCount-1);i=insertNewEmptyList(f,m,n),s+=1}else if(a.indent1&&n.setAttribute("start",o.startIndex,i),i}function transformElementIntoListItem(o,e){return removeBulletElement(o,e),e.rename("li",o)}function getListItemData(o){const e={},n=o.getStyle("mso-list");if(n){const r=n.match(/(^|\s{1,100})l(\d+)/i),i=n.match(/\s{0,100}lfo(\d+)/i),s=n.match(/\s{0,100}level(\d+)/i);r&&i&&s&&(e.id=r[2],e.order=i[1],e.indent=s[1])}return e}function removeBulletElement(o,e){const n=new Matcher({name:"span",styles:{"mso-list":"Ignore"}}),r=e.createRangeIn(o);for(const i of r)i.type==="elementStart"&&n.match(i.item)&&e.remove(i.item)}function isNewListNeeded(o,e){if(!o)return!0;if(o.id!==e.id)return e.indent-o.indent!==1;const n=e.element.previousSibling;return n?!isList(n):!0}function isList(o){return o.is("element","ol")||o.is("element","ul")}function getIndentationDifference(o,e){return o?e.indent-o.indent:e.indent-1}function findParentListAtLevel(o,e){const n=o.getAncestors({parentFirst:!0});let r=null,i=0;for(const s of n)if((s.name==="ul"||s.name==="ol")&&i++,i===e){r=s;break}return r}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */const googleDocsMatch=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class GoogleDocsNormalizer{constructor(e){this.document=e}isActive(e){return googleDocsMatch.test(e)}execute(e){const n=new UpcastWriter(this.document),{body:r}=e._parsedData;removeBoldWrapper(r,n),unwrapParagraphInListItem(r,n),transformBlockBrsToParagraphs(r,n),e.content=r}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function replaceImagesSourceWithBase64(o,e){if(!o.childCount)return;const n=new UpcastWriter,r=findAllShapesIds(o,n);removeAllImgElementsRepresentingShapes(r,o,n),removeAllShapeElements(o,n);const i=findAllImageElementsWithLocalSource(o,n);i.length&&replaceImagesFileSourceWithInlineRepresentation(i,extractImageDataFromRtf(e),n)}function _convertHexToBase64(o){return btoa(o.match(/\w{2}/g).map(e=>String.fromCharCode(parseInt(e,16))).join(""))}function findAllShapesIds(o,e){const n=e.createRangeIn(o),r=new Matcher({name:/v:(.+)/}),i=[];for(const s of n){if(s.type!="elementStart")continue;const a=s.item,u=a.previousSibling&&a.previousSibling.name||null;r.match(a)&&a.getAttribute("o:gfxdata")&&u!=="v:shapetype"&&i.push(s.item.getAttribute("id"))}return i}function removeAllImgElementsRepresentingShapes(o,e,n){const r=n.createRangeIn(e),i=new Matcher({name:"img"}),s=[];for(const a of r)if(i.match(a.item)){const u=a.item,l=u.getAttribute("v:shapes")?u.getAttribute("v:shapes").split(" "):[];l.length&&l.every(c=>o.indexOf(c)>-1)?s.push(u):u.getAttribute("src")||s.push(u)}for(const a of s)n.remove(a)}function removeAllShapeElements(o,e){const n=e.createRangeIn(o),r=new Matcher({name:/v:(.+)/}),i=[];for(const s of n)s.type=="elementStart"&&r.match(s.item)&&i.push(s.item);for(const s of i)e.remove(s)}function findAllImageElementsWithLocalSource(o,e){const n=e.createRangeIn(o),r=new Matcher({name:"img"}),i=[];for(const s of n)r.match(s.item)&&s.item.getAttribute("src").startsWith("file://")&&i.push(s.item);return i}function extractImageDataFromRtf(o){if(!o)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),r=o.match(n),i=[];if(r)for(const s of r){let a=!1;s.includes("\\pngblip")?a="image/png":s.includes("\\jpegblip")&&(a="image/jpeg"),a&&i.push({hex:s.replace(e,"").replace(/[^\da-fA-F]/g,""),type:a})}return i}function replaceImagesFileSourceWithInlineRepresentation(o,e,n){if(o.length===e.length)for(let r=0;r/i,msWordMatch2=/xmlns:o="urn:schemas-microsoft-com/i;class MSWordNormalizer{constructor(e){this.document=e}isActive(e){return msWordMatch1.test(e)||msWordMatch2.test(e)}execute(e){const{body:n,stylesString:r}=e._parsedData;transformListItemLikeElementsIntoLists(n,r),replaceImagesSourceWithBase64(n,e.dataTransfer.getData("text/rtf")),e.content=n}}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function normalizeSpacing(o){return normalizeSafariSpaceSpans(normalizeSafariSpaceSpans(o)).replace(/([^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<\/span>/g,"").replace(/ <\//g,"\xA0<\/o:p>/g,"\xA0").replace(/( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)<")}function normalizeSpacerunSpans(o){o.querySelectorAll("span[style*=spacerun]").forEach(e=>{const n=e.innerText.length||0;e.innerText=Array(n+1).join("\xA0 ").substr(0,n)})}function normalizeSafariSpaceSpans(o){return o.replace(/(\s+)<\/span>/g,(e,n)=>n.length===1?" ":Array(n.length+1).join("\xA0 ").substr(0,n.length))}/** * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */function parseHtml(o,e){const n=new DOMParser;o=o.replace(/