hlrender 0.0.95 → 0.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{affix-widget-424238f0.js → affix-widget-1eefd924.js} +10 -10
- package/{alert-widget-753c7c7f.js → alert-widget-a46f9693.js} +10 -10
- package/{anchor-widget-ed4c0539.js → anchor-widget-ea6b48da.js} +7 -7
- package/{auto-complete-widget-445a2c5a.js → auto-complete-widget-811f02d4.js} +9 -9
- package/{avatar-widget-1d0fdd9e.js → avatar-widget-0d6e7c30.js} +10 -10
- package/{backtop-widget-93f973ab.js → backtop-widget-4326e4b4.js} +10 -10
- package/{badge-widget-f96da7de.js → badge-widget-2a1617dd.js} +10 -10
- package/{baseImp-79047388.js → baseImp-15d8e693.js} +6 -5
- package/{breadcrumb-widget-9a112f87.js → breadcrumb-widget-a1b72a6d.js} +7 -7
- package/{button-widget-ed5432fd.js → button-widget-006f3b13.js} +10 -10
- package/{cache-widget-bb0f94a2.js → cache-widget-15497623.js} +8 -8
- package/{card-widget-ecd3eb05.js → card-widget-f84b988d.js} +8 -8
- package/{carousel-widget-d1c058b8.js → carousel-widget-c98b0b77.js} +8 -8
- package/{cascader-widget-72f6d6a6.js → cascader-widget-86df33e2.js} +8 -8
- package/{chart-widget-e5d28fb6.js → chart-widget-743f06da.js} +7 -7
- package/{checkbox-widget-30d2ac1b.js → checkbox-widget-cdaa3101.js} +8 -8
- package/{collapse-widget-238d00b4.js → collapse-widget-b81e2681.js} +8 -8
- package/{color-picker-widget-591b5787.js → color-picker-widget-890ee1f3.js} +8 -8
- package/{cont-cell-widget-115c36de.js → cont-cell-widget-73b94e8f.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-258b4c9f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-09f42a79.js} +5 -5
- package/{cont-widget-fecf356d.js → cont-widget-93d62638.js} +5 -5
- package/{content-wrapper-f7da9040.js → content-wrapper-575441a1.js} +3 -3
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-ae726c85.js → content-wrapper.vue_vue_type_script_setup_true_lang-a9b859f8.js} +2 -2
- package/{date-picker-range-widget-300d5bc1.js → date-picker-range-widget-f27babe1.js} +8 -8
- package/{date-picker-widget-2c25fe95.js → date-picker-widget-2a69e0f8.js} +8 -8
- package/{default-slot-widget-e2e9c0ab.js → default-slot-widget-3159340a.js} +8 -8
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e9a695ed.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b83d6813.js} +5 -5
- package/{descriptions-widget-636a322b.js → descriptions-widget-af1b717d.js} +8 -8
- package/{dialog-widget-26cbd940.js → dialog-widget-cb6ac249.js} +9 -9
- package/{divider-widget-e4bbcaa4.js → divider-widget-32a3f945.js} +10 -10
- package/{drag-wrapper-20c0256f.js → drag-wrapper-3fcc6c12.js} +5 -5
- package/{drawer-widget-98c8524d.js → drawer-widget-f8396b0a.js} +9 -9
- package/{dropdown-widget-8178eec4.js → dropdown-widget-22eebd75.js} +8 -8
- package/{empty-widget-21aa5ef3.js → empty-widget-62cce19f.js} +10 -10
- package/{expression-01368ed5.js → expression-4c0a4247.js} +6 -6
- package/{feedback-widget-c54c6f1f.js → feedback-widget-53f6c0ae.js} +9 -9
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8383b48c.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-3957db4a.js} +5 -5
- package/{file-upload-widget-31b3d275.js → file-upload-widget-5d6db7b1.js} +9 -9
- package/{form-item-wrapper-05796ec1.js → form-item-wrapper-cf2aa112.js} +4 -4
- package/{form-widget-0b0d93fc.js → form-widget-b7067d10.js} +8 -8
- package/{grid-col-widget-7fe71190.js → grid-col-widget-028a0780.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ffa66438.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cca1266c.js} +5 -5
- package/{grid-widget-c5da4728.js → grid-widget-9b76d805.js} +5 -5
- package/{html-text-widget-069e701b.js → html-text-widget-fddc22b8.js} +8 -8
- package/{iframe-widget-eb9e462c.js → iframe-widget-aeb4f035.js} +7 -7
- package/{image-widget-740a3d88.js → image-widget-6b6e8cb8.js} +7 -7
- package/{index-45bc9816.js → index-4b65c494.js} +2 -2
- package/{input-number-widget-1eb5b50f.js → input-number-widget-e7cf52cf.js} +8 -8
- package/{input-widget-f52a479a.js → input-widget-fc12d7eb.js} +9 -9
- package/{link-widget-bacccfe0.js → link-widget-53e796f2.js} +10 -10
- package/{ltable-col-widget-ae7c7adc.js → ltable-col-widget-923de8d8.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c6cc3df4.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-407b174b.js} +7 -7
- package/{ltable-widget-6736eb54.js → ltable-widget-b8f27531.js} +5 -5
- package/{menu-widget-eed6b27b.js → menu-widget-baf68a0d.js} +8 -8
- package/{model-widget-cd1c5193.js → model-widget-379e337f.js} +7 -7
- package/{multirow-6fc3722e.js → multirow-83e440ca.js} +4 -4
- package/{multirow-widget-7f195a95.js → multirow-widget-4221479f.js} +8 -8
- package/package.json +2 -1
- package/{pagination-widget-9b1d38c7.js → pagination-widget-56a93518.js} +7 -7
- package/{picture-upload-widget-82eda704.js → picture-upload-widget-2a6b0042.js} +9 -9
- package/{progress-widget-6b09376d.js → progress-widget-49a0baa3.js} +8 -8
- package/{propresult-ab6ce46b.js → propresult-71635928.js} +1 -1
- package/{radio-widget-984f9f7a.js → radio-widget-0ccaa5e6.js} +8 -8
- package/{range-widget-7bc0e933.js → range-widget-6e12e5cc.js} +9 -9
- package/{rate-widget-d75d9638.js → rate-widget-8e941e90.js} +8 -8
- package/render.es.js +24 -24
- package/render.umd.js +2 -2
- package/{result-widget-2d0d0d5f.js → result-widget-50987549.js} +8 -8
- package/{rich-editor-widget-5b8fd10d.js → rich-editor-widget-7981fab1.js} +8 -8
- package/{router-widget-5edfaa37.js → router-widget-c9013305.js} +7 -7
- package/{select-widget-ddd5af0e.js → select-widget-26b3ef91.js} +8 -8
- package/{sfc-bb5c8025.js → sfc-44d704c8.js} +4 -4
- package/{share-field-fecb38bb.js → share-field-b3101378.js} +5 -5
- package/{share-file-d2f691b7.js → share-file-25b89f4d.js} +3 -3
- package/{slider-widget-f5640cfd.js → slider-widget-1bc761e7.js} +8 -8
- package/{slot-9aab6175.js → slot-f65073cf.js} +2 -2
- package/{static-text-widget-5ce652d5.js → static-text-widget-b22d169c.js} +8 -8
- package/{steps-widget-8b82c746.js → steps-widget-61d98063.js} +7 -7
- package/{subMenu-widget-9e3cda4b.js → subMenu-widget-60d74838.js} +3 -3
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-42dc309a.js → subMenu-widget.vue_vue_type_script_setup_true_lang-80ca2b1e.js} +1 -1
- package/{switch-widget-31cd4439.js → switch-widget-893ca54c.js} +8 -8
- package/{tab-pane-widget-5c65273c.js → tab-pane-widget-1723459d.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-af0f0cc0.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ca661cf9.js} +5 -5
- package/{table-col-widget-3d85b0de.js → table-col-widget-fed71563.js} +7 -7
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4dae602e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-074bfdde.js} +4 -4
- package/{table-widget-89afa952.js → table-widget-9622f9aa.js} +9 -9
- package/{tabs-widget-5990a8ed.js → tabs-widget-0d487ca9.js} +6 -6
- package/{tag-widget-b6d67823.js → tag-widget-f483ac0c.js} +10 -10
- package/{text-widget-a7e2ffbf.js → text-widget-49d80954.js} +10 -10
- package/{textarea-widget-31232b7f.js → textarea-widget-177f3f92.js} +8 -8
- package/{time-picker-range-widget-8b19f42b.js → time-picker-range-widget-4e9e24e5.js} +8 -8
- package/{time-picker-widget-60d84a27.js → time-picker-widget-eef93755.js} +8 -8
- package/{time-select-widget-00f3920c.js → time-select-widget-8c55c35f.js} +8 -8
- package/{tmpl-widget-907cc3cd.js → tmpl-widget-29576489.js} +8 -8
- package/{tree-select-widget-ccd34074.js → tree-select-widget-33b41de6.js} +8 -8
- package/{tree-widget-d906afbe.js → tree-widget-2c5f5bc8.js} +7 -7
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-980b65d3.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6f0135b6.js} +2 -2
- package/{wrapper-widget-81f63048.js → wrapper-widget-9d12eea2.js} +5 -5
package/render.umd.js
CHANGED
|
@@ -52,7 +52,7 @@ Expecting `+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":O="Parse error on
|
|
|
52
52
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
53
53
|
and limitations under the License.
|
|
54
54
|
***************************************************************************** */var PP;(function(e){(function(t){var n=typeof Zn=="object"?Zn:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),r=a(e);typeof n.Reflect>"u"?n.Reflect=e:r=a(n.Reflect,r),t(r);function a(o,i){return function(u,s){typeof o[u]!="function"&&Object.defineProperty(o,u,{configurable:!0,writable:!0,value:s}),i&&i(u,s)}}})(function(t){var n=Object.prototype.hasOwnProperty,r=typeof Symbol=="function",a=r&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",o=r&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",i=typeof Object.create=="function",u={__proto__:[]}instanceof Array,s=!i&&!u,l={create:i?function(){return J(Object.create(null))}:u?function(){return J({__proto__:null})}:function(){return J({})},has:s?function(K,ee){return n.call(K,ee)}:function(K,ee){return ee in K},get:s?function(K,ee){return n.call(K,ee)?K[ee]:void 0}:function(K,ee){return K[ee]}},c=Object.getPrototypeOf(Function),f=typeof process=="object"&&process.env&&process.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",h=!f&&typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:De(),d=!f&&typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:Ne(),v=!f&&typeof WeakMap=="function"?WeakMap:be(),m=new v;function p(K,ee,ve,Ae){if(L(ve)){if(!le(K))throw new TypeError;if(!X(ee))throw new TypeError;return C(K,ee)}else{if(!le(K))throw new TypeError;if(!Y(ee))throw new TypeError;if(!Y(Ae)&&!L(Ae)&&!z(Ae))throw new TypeError;return z(Ae)&&(Ae=void 0),ve=te(ve),D(K,ee,ve,Ae)}}t("decorate",p);function g(K,ee){function ve(Ae,Ie){if(!Y(Ae))throw new TypeError;if(!L(Ie)&&!Q(Ie))throw new TypeError;R(K,ee,Ae,Ie)}return ve}t("metadata",g);function y(K,ee,ve,Ae){if(!Y(ve))throw new TypeError;return L(Ae)||(Ae=te(Ae)),R(K,ee,ve,Ae)}t("defineMetadata",y);function b(K,ee,ve){if(!Y(ee))throw new TypeError;return L(ve)||(ve=te(ve)),k(K,ee,ve)}t("hasMetadata",b);function _(K,ee,ve){if(!Y(ee))throw new TypeError;return L(ve)||(ve=te(ve)),I(K,ee,ve)}t("hasOwnMetadata",_);function E(K,ee,ve){if(!Y(ee))throw new TypeError;return L(ve)||(ve=te(ve)),N(K,ee,ve)}t("getMetadata",E);function w(K,ee,ve){if(!Y(ee))throw new TypeError;return L(ve)||(ve=te(ve)),F(K,ee,ve)}t("getOwnMetadata",w);function S(K,ee){if(!Y(K))throw new TypeError;return L(ee)||(ee=te(ee)),M(K,ee)}t("getMetadataKeys",S);function A(K,ee){if(!Y(K))throw new TypeError;return L(ee)||(ee=te(ee)),j(K,ee)}t("getOwnMetadataKeys",A);function P(K,ee,ve){if(!Y(ee))throw new TypeError;L(ve)||(ve=te(ve));var Ae=O(ee,ve,!1);if(L(Ae)||!Ae.delete(K))return!1;if(Ae.size>0)return!0;var Ie=m.get(ee);return Ie.delete(ve),Ie.size>0||m.delete(ee),!0}t("deleteMetadata",P);function C(K,ee){for(var ve=K.length-1;ve>=0;--ve){var Ae=K[ve],Ie=Ae(ee);if(!L(Ie)&&!z(Ie)){if(!X(Ie))throw new TypeError;ee=Ie}}return ee}function D(K,ee,ve,Ae){for(var Ie=K.length-1;Ie>=0;--Ie){var Be=K[Ie],Fe=Be(ee,ve,Ae);if(!L(Fe)&&!z(Fe)){if(!Y(Fe))throw new TypeError;Ae=Fe}}return Ae}function O(K,ee,ve){var Ae=m.get(K);if(L(Ae)){if(!ve)return;Ae=new h,m.set(K,Ae)}var Ie=Ae.get(ee);if(L(Ie)){if(!ve)return;Ie=new h,Ae.set(ee,Ie)}return Ie}function k(K,ee,ve){var Ae=I(K,ee,ve);if(Ae)return!0;var Ie=Ee(ee);return z(Ie)?!1:k(K,Ie,ve)}function I(K,ee,ve){var Ae=O(ee,ve,!1);return L(Ae)?!1:ue(Ae.has(K))}function N(K,ee,ve){var Ae=I(K,ee,ve);if(Ae)return F(K,ee,ve);var Ie=Ee(ee);if(!z(Ie))return N(K,Ie,ve)}function F(K,ee,ve){var Ae=O(ee,ve,!1);if(!L(Ae))return Ae.get(K)}function R(K,ee,ve,Ae){var Ie=O(ve,Ae,!0);Ie.set(K,ee)}function M(K,ee){var ve=j(K,ee),Ae=Ee(K);if(Ae===null)return ve;var Ie=M(Ae,ee);if(Ie.length<=0)return ve;if(ve.length<=0)return Ie;for(var Be=new d,Fe=[],He=0,Ve=ve;He<Ve.length;He++){var Ye=Ve[He],at=Be.has(Ye);at||(Be.add(Ye),Fe.push(Ye))}for(var Ft=0,_t=Ie;Ft<_t.length;Ft++){var Ye=_t[Ft],at=Be.has(Ye);at||(Be.add(Ye),Fe.push(Ye))}return Fe}function j(K,ee){var ve=[],Ae=O(K,ee,!1);if(L(Ae))return ve;for(var Ie=Ae.keys(),Be=ce(Ie),Fe=0;;){var He=de(Be);if(!He)return ve.length=Fe,ve;var Ve=fe(He);try{ve[Fe]=Ve}catch(Ye){try{pe(Be)}finally{throw Ye}}Fe++}}function W(K){if(K===null)return 1;switch(typeof K){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return K===null?1:6;default:return 6}}function L(K){return K===void 0}function z(K){return K===null}function G(K){return typeof K=="symbol"}function Y(K){return typeof K=="object"?K!==null:typeof K=="function"}function Z(K,ee){switch(W(K)){case 0:return K;case 1:return K;case 2:return K;case 3:return K;case 4:return K;case 5:return K}var ve=ee===3?"string":ee===5?"number":"default",Ae=ne(K,a);if(Ae!==void 0){var Ie=Ae.call(K,ve);if(Y(Ie))throw new TypeError;return Ie}return q(K,ve==="default"?"number":ve)}function q(K,ee){if(ee==="string"){var ve=K.toString;if(me(ve)){var Ae=ve.call(K);if(!Y(Ae))return Ae}var Ie=K.valueOf;if(me(Ie)){var Ae=Ie.call(K);if(!Y(Ae))return Ae}}else{var Ie=K.valueOf;if(me(Ie)){var Ae=Ie.call(K);if(!Y(Ae))return Ae}var Be=K.toString;if(me(Be)){var Ae=Be.call(K);if(!Y(Ae))return Ae}}throw new TypeError}function ue(K){return!!K}function ie(K){return""+K}function te(K){var ee=Z(K,3);return G(ee)?ee:ie(ee)}function le(K){return Array.isArray?Array.isArray(K):K instanceof Object?K instanceof Array:Object.prototype.toString.call(K)==="[object Array]"}function me(K){return typeof K=="function"}function X(K){return typeof K=="function"}function Q(K){switch(W(K)){case 3:return!0;case 4:return!0;default:return!1}}function ne(K,ee){var ve=K[ee];if(ve!=null){if(!me(ve))throw new TypeError;return ve}}function ce(K){var ee=ne(K,o);if(!me(ee))throw new TypeError;var ve=ee.call(K);if(!Y(ve))throw new TypeError;return ve}function fe(K){return K.value}function de(K){var ee=K.next();return ee.done?!1:ee}function pe(K){var ee=K.return;ee&&ee.call(K)}function Ee(K){var ee=Object.getPrototypeOf(K);if(typeof K!="function"||K===c||ee!==c)return ee;var ve=K.prototype,Ae=ve&&Object.getPrototypeOf(ve);if(Ae==null||Ae===Object.prototype)return ee;var Ie=Ae.constructor;return typeof Ie!="function"||Ie===K?ee:Ie}function De(){var K={},ee=[],ve=function(){function Fe(He,Ve,Ye){this._index=0,this._keys=He,this._values=Ve,this._selector=Ye}return Fe.prototype["@@iterator"]=function(){return this},Fe.prototype[o]=function(){return this},Fe.prototype.next=function(){var He=this._index;if(He>=0&&He<this._keys.length){var Ve=this._selector(this._keys[He],this._values[He]);return He+1>=this._keys.length?(this._index=-1,this._keys=ee,this._values=ee):this._index++,{value:Ve,done:!1}}return{value:void 0,done:!0}},Fe.prototype.throw=function(He){throw this._index>=0&&(this._index=-1,this._keys=ee,this._values=ee),He},Fe.prototype.return=function(He){return this._index>=0&&(this._index=-1,this._keys=ee,this._values=ee),{value:He,done:!0}},Fe}();return function(){function Fe(){this._keys=[],this._values=[],this._cacheKey=K,this._cacheIndex=-2}return Object.defineProperty(Fe.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Fe.prototype.has=function(He){return this._find(He,!1)>=0},Fe.prototype.get=function(He){var Ve=this._find(He,!1);return Ve>=0?this._values[Ve]:void 0},Fe.prototype.set=function(He,Ve){var Ye=this._find(He,!0);return this._values[Ye]=Ve,this},Fe.prototype.delete=function(He){var Ve=this._find(He,!1);if(Ve>=0){for(var Ye=this._keys.length,at=Ve+1;at<Ye;at++)this._keys[at-1]=this._keys[at],this._values[at-1]=this._values[at];return this._keys.length--,this._values.length--,He===this._cacheKey&&(this._cacheKey=K,this._cacheIndex=-2),!0}return!1},Fe.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=K,this._cacheIndex=-2},Fe.prototype.keys=function(){return new ve(this._keys,this._values,Ae)},Fe.prototype.values=function(){return new ve(this._keys,this._values,Ie)},Fe.prototype.entries=function(){return new ve(this._keys,this._values,Be)},Fe.prototype["@@iterator"]=function(){return this.entries()},Fe.prototype[o]=function(){return this.entries()},Fe.prototype._find=function(He,Ve){return this._cacheKey!==He&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=He)),this._cacheIndex<0&&Ve&&(this._cacheIndex=this._keys.length,this._keys.push(He),this._values.push(void 0)),this._cacheIndex},Fe}();function Ae(Fe,He){return Fe}function Ie(Fe,He){return He}function Be(Fe,He){return[Fe,He]}}function Ne(){return function(){function K(){this._map=new h}return Object.defineProperty(K.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),K.prototype.has=function(ee){return this._map.has(ee)},K.prototype.add=function(ee){return this._map.set(ee,ee),this},K.prototype.delete=function(ee){return this._map.delete(ee)},K.prototype.clear=function(){this._map.clear()},K.prototype.keys=function(){return this._map.keys()},K.prototype.values=function(){return this._map.values()},K.prototype.entries=function(){return this._map.entries()},K.prototype["@@iterator"]=function(){return this.keys()},K.prototype[o]=function(){return this.keys()},K}()}function be(){var K=16,ee=l.create(),ve=Ae();return function(){function Ve(){this._key=Ae()}return Ve.prototype.has=function(Ye){var at=Ie(Ye,!1);return at!==void 0?l.has(at,this._key):!1},Ve.prototype.get=function(Ye){var at=Ie(Ye,!1);return at!==void 0?l.get(at,this._key):void 0},Ve.prototype.set=function(Ye,at){var Ft=Ie(Ye,!0);return Ft[this._key]=at,this},Ve.prototype.delete=function(Ye){var at=Ie(Ye,!1);return at!==void 0?delete at[this._key]:!1},Ve.prototype.clear=function(){this._key=Ae()},Ve}();function Ae(){var Ve;do Ve="@@WeakMap@@"+He();while(l.has(ee,Ve));return ee[Ve]=!0,Ve}function Ie(Ve,Ye){if(!n.call(Ve,ve)){if(!Ye)return;Object.defineProperty(Ve,ve,{value:l.create()})}return Ve[ve]}function Be(Ve,Ye){for(var at=0;at<Ye;++at)Ve[at]=Math.random()*255|0;return Ve}function Fe(Ve){return typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(Ve)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(Ve)):Be(new Uint8Array(Ve),Ve):Be(new Array(Ve),Ve)}function He(){var Ve=Fe(K);Ve[6]=Ve[6]&79|64,Ve[8]=Ve[8]&191|128;for(var Ye="",at=0;at<K;++at){var Ft=Ve[at];(at===4||at===6||at===8)&&(Ye+="-"),Ft<16&&(Ye+="0"),Ye+=Ft.toString(16).toLowerCase()}return Ye}}function J(K){return K.__=void 0,delete K.__,K}})})(PP||(PP={}));const hE=Symbol("design:className"),OP=Symbol("design:comment"),kP=Symbol("design:caller"),o0=Symbol("design:params"),BP=Symbol("design:returns"),Bee=(e,t)=>{try{if((e==null?void 0:e.length)<=0)return[];var n=e==null?void 0:e[e.length-1],r=[...e];return n==null||!Object.hasOwn(n,"lookupProperty")||(n==null?void 0:n.name)!==t?r:Array.prototype.slice.call(e,0,-1)}catch(a){return zi.error("filterArgs",a,{args:e,keyName:t}),[]}},Iee=(e,t)=>{var n=[],r=!0;return(t==null?void 0:t.length)>0&&(t==null||t.forEach(a=>{var i;var o=(i=Array.from(e))==null?void 0:i[a.index];a.required&&Ki(o)&&(n.push(`${a.index} required`),r=!1)})),{msg:n,pass:r}};function Yc(e){return t=>{Reflect.defineMetadata(hE,{name:e},t)}}function Vt(e){return(t,n,r)=>{var i;var a=[];const o=Reflect.getMetadata(o0,t,n);a.push(`${se.i18nt("designer.expression.comment")}:${e}`),a.push(`${se.i18nt("designer.expression.useMethod")}:${n}(${((i=o==null?void 0:o.slice().reverse())==null?void 0:i.map(u=>u.comment).join(","))||""})`),Reflect.defineMetadata(OP,a.join(`
|
|
55
|
-
`),t,n)}}function zt(){return(e,t,n)=>{var o;const r=Reflect.getMetadata(o0,e,t),a=`${t}(${((o=r==null?void 0:r.slice().reverse())==null?void 0:o.map(i=>i.name).join(","))||""})`;Reflect.defineMetadata(kP,a,e,t)}}function Ut(){return(e,t,n)=>{const r=Reflect.getMetadata(o0,e,t),a=n.value;return n.value=function(o){var s;var i=Bee(arguments,t),u=Iee(i,r);if(u&&!u.pass)throw new Error(`Parameter ${(s=u.msg)==null?void 0:s.join(",")} `);return a==null?void 0:a.apply(this,i)},n}}function vt(e=!1,t="",n="",r){return(a,o,i)=>{var u=Reflect.getMetadata(o0,a,o+"")||[];u.push({index:i||0,required:e,comment:t,name:n,dataType:r}),Reflect.defineMetadata(o0,u,a,o+"")}}function Ht(e="",t){return(n,r)=>{Reflect.defineMetadata(BP,{comment:e,dataType:t},n,r+"")}}var Nee=Object.defineProperty,Fee=Object.getOwnPropertyDescriptor,Mt=(e,t,n,r)=>{for(var a=r>1?void 0:r?Fee(t,n):t,o=e.length-1,i;o>=0;o--)(i=e[o])&&(a=(r?i(t,n,a):i(a))||a);return r&&a&&Nee(t,n,a),a},mt=(e,t)=>(n,r)=>t(n,r,e);class Ds{static dateToString(t){return Bg(t,"yyyy-MM-dd HH:mm:ss")}static checkAllNum(t){return!(t!=null&&t.some(n=>n===""||n===null||n===void 0||isNaN(Number(n))))}}let Vo=class{static INTERSECTIONSET(e,t){const n=new Set;let r=e,a=t;return(e==null?void 0:e.length)-(t==null?void 0:t.length)>0&&(r=e,a=t),a==null||a.forEach(o=>{r!=null&&r.includes(o)&&(n==null||n.add(o))}),Array.from(n)}static UNIONSET(e,t){const n=new Set;return e.forEach(r=>n.add(r)),t.forEach(r=>n.add(r)),Array.from(n)}static DIFFERENCESET(e,t){const n=new Set;return e.forEach(r=>{t.includes(r)||n.add(r)}),Array.from(n)}static SUBSET(e,t){if(e.length>t.length)return!1;let n=!0;return e.every(r=>t.includes(r)?!0:(n=!1,!1)),n}static ARRAYGET(e,t){return e==null?void 0:e[t-1]}static LARGE(e,t){var n=e==null?void 0:e.sort((r,a)=>Number(r)<Number(a)?1:-1);return n==null?void 0:n[t-1]}static SMALL(e,t){var n=e.sort((r,a)=>Number(r)>Number(a)?1:-1);return n==null?void 0:n[t-1]}static ARRAY(...e){return ws(...e)}static ARRAYLEN(e){return(e==null?void 0:e.length)||0}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.INTERSECTIONSET_func")),Ht(se.i18nt("designer.helper.INTERSECTIONSET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"INTERSECTIONSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UNIONSET_func")),Ht(se.i18nt("designer.helper.UNIONSET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"UNIONSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DIFFERENCESET_func")),Ht(se.i18nt("designer.helper.DIFFERENCESET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"DIFFERENCESET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SUBSET_func")),Ht(se.i18nt("designer.helper.SUBSET_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"SUBSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAYGET_func")),Ht(se.i18nt("designer.helper.ARRAYGET_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"ARRAYGET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LARGE_func")),Ht(se.i18nt("designer.helper.LARGE_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"LARGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SMALL_func")),Ht(se.i18nt("designer.helper.SMALL_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"SMALL",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAY_func")),Ht(se.i18nt("designer.helper.ARRAY_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array))],Vo,"ARRAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAYLEN_func")),Ht(se.i18nt("designer.helper.ARRAYLEN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array))],Vo,"ARRAYLEN",1),Vo=Mt([Yc(se.i18nt("designer.expression.helpers_collection"))],Vo);let Ca=class{static EQ(e,t){return e===t}static NE(e,t){return e!==t}static LT(e,t){return e<t}static GT(e,t){return e>t}static LTE(e,t){return e<=t}static GTE(e,t){return e>=t}static AND(...e){var t;return(t=ws(e))==null?void 0:t.every(n=>!!n)}static OR(...e){var t;return(t=ws(e))==null?void 0:t.some(n=>!n)}static NOT(e){return!e}static XOR(...e){var t;return!((t=ws(e))!=null&&t.some(n=>!!n))}static TRUE(){return!0}static FALSE(){return!1}static IF(e,t,n){return e?t:n}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.EQ_func")),Ht(se.i18nt("designer.helper.EQ_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"EQ",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NE_func")),Ht(se.i18nt("designer.helper.NE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v1",We.any))],Ca,"NE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LT_func")),Ht(se.i18nt("designer.helper.LT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"LT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GT_func")),Ht(se.i18nt("designer.helper.GT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"GT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LTE_func")),Ht(se.i18nt("designer.helper.LTE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"LTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GTE_func")),Ht(se.i18nt("designer.helper.GTE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"GTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.AND_func")),Ht(se.i18nt("designer.helper.AND_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"AND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.OR_func")),Ht(se.i18nt("designer.helper.OR_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"OR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NOT_func")),Ht(se.i18nt("designer.helper.NOT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_arg"),"v1",We.boolean))],Ca,"NOT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.XOR_func")),Ht(se.i18nt("designer.helper.XOR_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"XOR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TRUE_func")),Ht(se.i18nt("designer.helper.TRUE_return"),We.boolean)],Ca,"TRUE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FALSE_func")),Ht(se.i18nt("designer.helper.FALSE_return"),We.boolean)],Ca,"FALSE",1),Mt([Ut(),zt(),Vt(""),Ht("",We.any),mt(0,vt(!0,se.i18nt("designer.helper.logical_arg"),"condition",We.boolean)),mt(1,vt(!0,se.i18nt("designer.helper.IF_trueValue"),"trueValue",We.boolean)),mt(2,vt(!0,se.i18nt("designer.helper.IF_falseValue"),"falseValue",We.boolean))],Ca,"IF",1),Ca=Mt([Yc(se.i18nt("designer.expression.helpers_logical"))],Ca);let Si=class{static ADD(...e){var n;var t=0;return(n=ws(...e))==null||n.forEach(r=>t+=_u(r,!1)||0),t}static ADDNUM(...e){var t=0,n=ws(...e);return Ds.checkAllNum(n)?(n==null||n.forEach(r=>{t+=_u(r,!1)||0}),t):null}static AVERAGE(...e){var t=0,n=ws(e);if(!Ds.checkAllNum(n))return null;n==null||n.forEach(a=>t+=_u(a,!1)||0);var r=e==null?void 0:e.length;return r?t/r:0}static MAX(...e){var t=ws(e),n=t==null?void 0:t.map(r=>_u(r,!1)||0);return!n||n.length<=0?0:Math.max(...n)}static MIN(...e){var n;var t=(n=ws(e))==null?void 0:n.map(r=>_u(r,!1)||0);return!t||t.length<=0?0:Math.min(...t)}static ABS(e){return Math.abs(e)}static ROUND(e,t=2){var n=Math.pow(10,t);return Math.round(e*n)/n}static CEILING(e,t=1){return Math.ceil(e/t)*t}static FLOOR(e,t=1){return Math.floor(e/t)*t}static INT(e){return Math.floor(e)}static LOG(e,t=10){return Math.log10(e)/Math.log10(t)}static POWER(e,t){return Math.pow(e,t)}static FIXED(e,t){return e===null?null:Number(e.toFixed(t))}static SQRT(e){return Math.sqrt(e)}static PRODUCT(...e){var t=ws(...e);if(!Ds.checkAllNum(t))return null;var n=1;return t==null||t.forEach(r=>n*=Number(r)),n}static SUMPRODUCT(e,t){var n=0;return(e==null?void 0:e.length)!==(t==null?void 0:t.length)||e==null||e.forEach((r,a)=>{n+=Number(r)*Number(t[a])}),n}static NUMBERCOMPARE(e,t){return Number(e)===Number(t)}static NUMBERFORMATE(e,t){return fD(e,t)}static DIVISION(e,t){return t!=0?e/t:0}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ADD_func")),Ht(se.i18nt("designer.helper.ADD_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"ADD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ADDNUM_func")),Ht(se.i18nt("designer.helper.ADD_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"ADDNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.AVERAGE_func")),Ht(se.i18nt("designer.helper.AVERAGE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"AVERAGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MAX_func")),Ht(se.i18nt("designer.helper.MAX_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"MAX",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MIN_func")),Ht(se.i18nt("designer.helper.MIN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"MIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ABS_func")),Ht(se.i18nt("designer.helper.ABS_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"ABS",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ROUND_func")),Ht(se.i18nt("designer.helper.ROUND_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.num_digits"),"num_digits",We.number))],Si,"ROUND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.CEILING_func")),Ht(se.i18nt("designer.helper.CEILING_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.significance"),"significance",We.number))],Si,"CEILING",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FLOOR_func")),Ht(se.i18nt("designer.helper.FLOOR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.significance"),"significance",We.number))],Si,"FLOOR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.INT_func")),Ht(se.i18nt("designer.helper.INT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"INT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LOG_func")),Ht(se.i18nt("designer.helper.LOG_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.log_base"),"number",We.number))],Si,"LOG",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.POWER_func")),Ht(se.i18nt("designer.helper.POWER_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.power_base"),"number",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.power_num"),"power",We.number))],Si,"POWER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FIXED_func")),Ht(se.i18nt("designer.helper.FIXED_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.decimals"),"decimals",We.number))],Si,"FIXED",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SQRT_func")),Ht(se.i18nt("designer.helper.SQRT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"SQRT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PRODUCT_func")),Ht(se.i18nt("designer.helper.PRODUCT_func"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"PRODUCT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SUMPRODUCT_func")),Ht(se.i18nt("designer.helper.SUMPRODUCT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.numArray2"),"array2",We.array))],Si,"SUMPRODUCT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NUMBERCOMPARE_func")),Ht(se.i18nt("designer.helper.NUMBERCOMPARE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.number))],Si,"NUMBERCOMPARE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NUMBERFORMATE_func")),Ht(se.i18nt("designer.helper.NUMBERFORMATE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.value"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.string))],Si,"NUMBERFORMATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DIVISION_func")),Ht(se.i18nt("designer.helper.DIVISION_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.divisor"),"v1",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.dividend"),"v2",We.number))],Si,"DIVISION",1),Si=Mt([Yc(se.i18nt("designer.expression.helpers_math"))],Si);let Pu=class{static PREGNANTWEEKDAY(e,t,n){if(!e||!t)return 0;var r=D5(e,-280);switch(n){case"week":return Math.floor(Hd(r,t)/7);case"day":return Math.floor(Hd(r,t)%7)}}static PREGNANTWEEK(e,t){return this.PREGNANTWEEKDAY(e,t,"week")}static PREGNANTDAY(e,t){return this.PREGNANTWEEKDAY(e,t,"day")}static STOPMENSTRUALWEEK(e,t){return Math.floor(Hd(e,t)/7)}static STOPMENSTRUALDAY(e,t){return Math.floor(Hd(e,t)%7)}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTWEEKDAY_func")),Ht(se.i18nt("designer.helper.PREGNANTWEEKDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date)),mt(2,vt(!0,se.i18nt("designer.helper.PREGNANTWEEKDAY_mode"),"mode",We.string))],Pu,"PREGNANTWEEKDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTWEEK_func")),Ht(se.i18nt("designer.helper.PREGNANTWEEK_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"PREGNANTWEEK",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTDAY_func")),Ht(se.i18nt("designer.helper.PREGNANTDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"PREGNANTDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STOPMENSTRUALWEEK_func")),Ht(se.i18nt("designer.helper.STOPMENSTRUALWEEK_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"STOPMENSTRUALWEEK",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STOPMENSTRUALDAY_func")),Ht(se.i18nt("designer.helper.STOPMENSTRUALDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"STOPMENSTRUALDAY",1),Pu=Mt([Yc(se.i18nt("designer.expression.helpers_medical"))],Pu);let mi=class{static CONCATENATE(e,t,...n){var r,a;return(a=(r=ws(...n))==null?void 0:r.map(o=>(t==null?void 0:t.length)>0?lJ(t,o):o))==null?void 0:a.join(e||"")}static LEFT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<=t?n:n==null?void 0:n.substring(0,t)}static RIGHT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<t?n:n==null?void 0:n.substring(r-t,r)}static MID(e,t,n){var r=String(e),a=r==null?void 0:r.length;if(t<0||n===void 0||n<=0||a<=0||t>=a)return"";var o=t+n;return o>=a&&(o=a-1),t>o?"":r==null?void 0:r.substring(t,o)}static LEN(e){var t;return(t=String(e==null?void 0:e.trim()))==null?void 0:t.length}static LOWER(e){var t;return(t=String(e))==null?void 0:t.toLowerCase()}static UPPER(e){var t;return(t=String(e))==null?void 0:t.toUpperCase()}static REPLACE(e,t,n,r){if(t<0||n<0)return"";var a=this.LEN(e);if(a<=0)return"";var o=this.LEFT(e,t),i=Rc(r)?"":r,u=this.RIGHT(e,a-t-n);return[o,i,u].join("")}static REPT(e,t){var n;return(n=String(e))==null?void 0:n.repeat(t<0?0:t)}static SEARCH(e,t,n=0){return t==null?void 0:t.indexOf(e,n)}static TEXT(e,t){var n=String(e);return t?CY(e)?fD(jt(e),t):Es(e)?Bg(e,t):String(e):n}static VALUE(e){return Number(e)}static SPLIT(e,t,n){var r;return(r=String(e))==null?void 0:r.split(t,n)}static TRIM(e){var t;return(t=String(e))==null?void 0:t.trim()}static UUID(){return nq()}static ISNULL(e){return Cr(e)}static ISEMPTY(e){return Cr(e)||Rc(e)}static PRINT(e){return e}static STRINGCOMPARE(e,t){return String(e)===String(t)}static REPLACESTRING(e,t,n,r="*"){if(!e)return"";const a=Array.from(e);if(t<0||t>=a.length||n<0||n>=a.length||t>n)return e;for(var o=t;o<n;o++)a[o]=r;return a.join("")}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.CONCATENATE_func")),Ht(se.i18nt("designer.helper.CONCATENATE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.separator"),"separator",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.format"),"format",We.string)),mt(2,vt(!0,se.i18nt("designer.helper.stringArray"),"args",We.array))],mi,"CONCATENATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LEFT_func")),Ht(se.i18nt("designer.helper.LEFT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!1,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"LEFT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.RIGHT_func")),Ht(se.i18nt("designer.helper.RIGHT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!1,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"RIGHT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MID_func")),Ht(se.i18nt("designer.helper.MID_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.MID_start_index"),"start_index",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"MID",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LEN_func")),Ht(se.i18nt("designer.helper.LEN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"LEN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LOWER_func")),Ht(se.i18nt("designer.helper.LOWER_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"LOWER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UPPER_func")),Ht(se.i18nt("designer.helper.UPPER_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"UPPER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPLACE_func")),Ht(se.i18nt("designer.helper.REPLACE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"old_text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.REPLACE_start_index"),"start_index",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.REPLACE_num_chars"),"num_chars",We.number)),mt(3,vt(!0,se.i18nt("designer.helper.REPLACE_new_text"),"new_text",We.string))],mi,"REPLACE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPT_func")),Ht(se.i18nt("designer.helper.REPT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.number_times"),"number_times",We.string))],mi,"REPT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SEARCH_func")),Ht(se.i18nt("designer.helper.SEARCH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"find_text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.SEARCH_within_text"),"within_text",We.string)),mt(2,vt(!1,se.i18nt("designer.helper.SEARCH_start_num"),"start_num",We.number))],mi,"SEARCH",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TEXT_func")),Ht(se.i18nt("designer.helper.TEXT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.value"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.string))],mi,"TEXT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.VALUE_func")),Ht(se.i18nt("designer.helper.VALUE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"VALUE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SPLIT_func")),Ht(se.i18nt("designer.helper.SPLIT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.separator"),"separator",We.string)),mt(2,vt(!0,se.i18nt("designer.helper.SPLIT_limit"),"limit",We.number))],mi,"SPLIT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TRIM_func")),Ht(se.i18nt("designer.helper.TRIM_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"TRIM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UUID_func")),Ht(se.i18nt("designer.helper.UUID_return"),We.string)],mi,"UUID",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISNULL_func")),Ht(se.i18nt("designer.helper.ISNULL_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any))],mi,"ISNULL",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISEMPTY_func")),Ht(se.i18nt("designer.helper.ISEMPTY_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any))],mi,"ISEMPTY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PRINT_func")),Ht(se.i18nt("designer.helper.PRINT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"PRINT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STRINGCOMPARE_func")),Ht(se.i18nt("designer.helper.STRINGCOMPARE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text1"),"v1",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.text2"),"v2",We.string))],mi,"STRINGCOMPARE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPLACESTRING_func")),Ht(se.i18nt("designer.helper.REPLACESTRING_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.indexStart"),"indexStart",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.indexEnd"),"indexEnd",We.number)),mt(3,vt(!0,se.i18nt("designer.helper.replacement"),"replacement",We.string))],mi,"REPLACESTRING",1),mi=Mt([Yc(se.i18nt("designer.expression.helpers_string"))],mi);let qr=class{static DATE(e){return new Date(e)}static DATEFORMAT(e,t){return Bg(e,t)}static TIMESTAMP(e){var t;return(t=new Date(e))==null?void 0:t.getTime()}static TIME(e=0,t=0,n=0){return Number(((e*60*60+t*60+n)*1/(24*60*60)).toPrecision(1))}static TODAY(){var e=new Date;return Ds.dateToString(new Date(e.getFullYear(),e.getMonth(),e.getDate()))}static NOW(){return Ds.dateToString(new Date)}static YEAR(e){var t;return(t=new Date(e))==null?void 0:t.getFullYear()}static MONTH(e){var t;return(t=new Date(e))==null?void 0:t.getMonth()}static DAY(e){var t;return(t=new Date(e))==null?void 0:t.getDate()}static HOUR(e){var t;return(t=new Date(e))==null?void 0:t.getHours()}static MINUTE(e){var t;return(t=new Date(e))==null?void 0:t.getMinutes()}static SECOND(e){var t;return(t=new Date(e))==null?void 0:t.getSeconds()}static DATEADD(e,t,n=Gc.day){var r=D5(e,t,n);return ta(e)?Ds.dateToString(r):r}static DATEDIFF(e,t,n=Gc.day){return Hd(e,t,n)}static DATEDIFFPART(e,t,n=Gc.day){return eq(e,t,n)}static DAYS360(e,t,n=Gc.day){var r=new Date(e),a=new Date(t),o=Math.abs(a.getTime()-r.getTime());switch(n){case Gc.year:return o/(12*30*24*60*60*1e3);case Gc.month:return o/(30*24*60*60*1e3);default:return this.DATEDIFF(r,a,n)}}static DAYBEGIN(e){var t=new Date(e);return Ds.dateToString(new Date(t.getFullYear(),t.getMonth(),t.getDate()))}static DAYEND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear(),t.getMonth(),t.getDate()+1).setSeconds(-1)),Ds.dateToString(t)}static YEARBEGIN(e){var t=new Date(e);return Ds.dateToString(new Date(t.getFullYear(),0,1))}static YEAREND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear()+1,0,1).setDate(0)),Ds.dateToString(t)}static WEEKNUM(e,t=1){const n=new Date(e),r=new Date(n.getFullYear(),0,1);var a=24*60*60*1e3,o=7*a,i=(7-r.getDay())*a;return Math.ceil((n.getTime()-r.getTime()-i)/o)+t}static ISOWEEKNUM(e){return this.WEEKNUM(e,void 0)}static GETAGEBYBIRTH(e){const{years:t}=kg(tq(e),new Date);return t}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATE_func")),Ht(se.i18nt("designer.helper.DATE_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.DATE_date"),"date",We.any))],qr,"DATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEFORMAT_func")),Ht(se.i18nt("designer.helper.DATEFORMAT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.any))],qr,"DATEFORMAT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TIMESTAMP_func")),Ht(se.i18nt("designer.helper.TIMESTAMP_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.TIMESTAMP_date"),"date",We.any))],qr,"TIMESTAMP",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TIME_func")),Ht(se.i18nt("designer.helper.TIME_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.hour"),"hour",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.minute"),"minute",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.second"),"second",We.number))],qr,"TIME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TODAY_func")),Ht(se.i18nt("designer.helper.TODAY_return"),We.date)],qr,"TODAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NOW_func")),Ht(se.i18nt("designer.helper.NOW_return"),We.date)],qr,"NOW",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEAR_func")),Ht(se.i18nt("designer.helper.YEAR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"YEAR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MONTH_func")),Ht(se.i18nt("designer.helper.MONTH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"MONTH",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAY_func")),Ht(se.i18nt("designer.helper.DAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"DAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.HOUR_func")),Ht(se.i18nt("designer.helper.HOUR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"HOUR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MINUTE_func")),Ht(se.i18nt("designer.helper.MINUTE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"MINUTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SECOND_func")),Ht(se.i18nt("designer.helper.SECOND_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"SECOND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEADD_func")),Ht(se.i18nt("designer.helper.DATEADD_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.DATEADD_date"),"date",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.DATEADD_delta_num"),"delta_num",We.number)),mt(2,vt(!1,se.i18nt("designer.helper.DATEADD_delta_type"),"delta_type",We.string))],qr,"DATEADD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEDIFF_func")),Ht(se.i18nt("designer.helper.DATEDIFF_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"date1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"date2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DATEDIFF",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEDIFFPART_func")),Ht(se.i18nt("designer.helper.DATEDIFFPART_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"date1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"date2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DATEDIFFPART",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYS360_func")),Ht(se.i18nt("designer.helper.DAYS360_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"d1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"d2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DAYS360",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYBEGIN_func")),Ht(se.i18nt("designer.helper.DAYBEGIN_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"DAYBEGIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYEND_func")),Ht(se.i18nt("designer.helper.DAYEND_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"DAYEND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEARBEGIN_func")),Ht(se.i18nt("designer.helper.YEARBEGIN_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"YEARBEGIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEAREND_func")),Ht(se.i18nt("designer.helper.YEAREND_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"YEAREND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.WEEKNUM_func")),Ht(se.i18nt("designer.helper.WEEKNUM_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.WEEKNUM_return_type"),"return_type",We.date))],qr,"WEEKNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISOWEEKNUM_func")),Ht(se.i18nt("designer.helper.ISOWEEKNUM_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"ISOWEEKNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETAGEBYBIRTH_func")),Ht(se.i18nt("designer.helper.GETAGEBYBIRTH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.birthday"),"birthday",We.string))],qr,"GETAGEBYBIRTH",1),qr=Mt([Yc(se.i18nt("designer.expression.helpers_time"))],qr);let Ua=class{static ASSIGN(...e){return!e||e.length<=0?null:Object.assign({},...e)}static TOJSON(e){return Zr(e)}static FROMJSON(e){return ii(e)}static VALIDIDCARD(e){return Fl.isValid(e)}static GETBIRTHDAY(e){const t=Fl.getInfo(e);return Ds.dateToString(t==null?void 0:t.birthday)}static GETAGE(e){const t=Fl.getInfo(e);return t==null?void 0:t.age}static GETSEXCODE(e){const t=Fl.getInfo(e);return t==null?void 0:t.sexCode}static GETSEXNAME(e){const t=Fl.getInfo(e);return t==null?void 0:t.sexName}static GETPROVINCE(e){const t=Fl.getInfo(e);return t==null?void 0:t.provinceCode}static GETPROVINCENAME(e){const t=Fl.getInfo(e);return t==null?void 0:t.provinceName}static GETCHECKEDNAME(e,t="label"){var n;return(n=e==null?void 0:e[0])==null?void 0:n[t]}static GETCHECKEDNAMES(e,t="label"){return e==null?void 0:e.map(n=>n==null?void 0:n[t])}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ASSIGN_func")),Ht(se.i18nt("designer.helper.ASSIGN_return"),We.object),mt(0,vt(!0,se.i18nt("designer.helper.ASSIGN_args"),"array",We.array))],Ua,"ASSIGN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TOJSON_func")),Ht(se.i18nt("designer.helper.TOJSON_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.TOJSON_args"),"args",We.any))],Ua,"TOJSON",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FROMJSON_func")),Ht(se.i18nt("designer.helper.FROMJSON_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.FROMJSON_args"),"text",We.string))],Ua,"FROMJSON",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISVALIDIDCARD_func")),Ht(se.i18nt("designer.helper.ISVALIDIDCARD_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"VALIDIDCARD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETBIRTHDAY_func")),Ht(se.i18nt("designer.helper.GETBIRTHDAY_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETBIRTHDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETAGE_func")),Ht(se.i18nt("designer.helper.GETAGE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETAGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETSEXCODE_func")),Ht(se.i18nt("designer.helper.GETSEXCODE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETSEXCODE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETSEXNAME_func")),Ht(se.i18nt("designer.helper.GETSEXNAME_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETSEXNAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETPROVINCE_func")),Ht(se.i18nt("designer.helper.GETPROVINCE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETPROVINCE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETPROVINCENAME_func")),Ht(se.i18nt("designer.helper.GETPROVINCENAME_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETPROVINCENAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETCHECKEDNAME_func")),Ht(se.i18nt("designer.helper.GETCHECKEDNAME_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.GETCHECKEDNAME_items"),"items",We.array)),mt(1,vt(!1,se.i18nt("designer.helper.GETCHECKEDNAME_itemName"),"itemName",We.string))],Ua,"GETCHECKEDNAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETCHECKEDNAMES_func")),Ht(se.i18nt("designer.helper.GETCHECKEDNAMES_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.GETCHECKEDNAMES_items"),"items",We.array)),mt(1,vt(!1,se.i18nt("designer.helper.GETCHECKEDNAMES_itemName"),"itemName",We.string))],Ua,"GETCHECKEDNAMES",1),Ua=Mt([Yc(se.i18nt("designer.expression.helpers_other"))],Ua);const Mee=function(e,t=""){if(!e)return;let n=document.getElementsByTagName("head")[0],r="vform-custom-css",a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("style");o.type="text/css",o.id=t?r+"-"+t:r;try{o.appendChild(document.createTextNode(e.toString()))}catch{o.innerHTML=e.toString()}n.appendChild(o)},Lee=function(e,t=""){let n=document.getElementsByTagName("body")[0];var r="v_form_global_functions";let a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("script");o.id=t?r+"-"+t:r,o.type="text/javascript",o.innerHTML=e.toString(),n.appendChild(o)},Ree=e=>{var n;var t=(n=Xn(e))==null?void 0:n.toString();return t==null?void 0:t.replace(/\r|\n/g,"<br />")},jee=e=>e&&(new DOMParser().parseFromString(e,"text/html").documentElement.textContent||"");var IP=[mi,qr,Ca,Si,Vo,Pu,Ua];const Vee=()=>{const e=[];return IP.forEach(t=>{var r,a;var n=Object.getOwnPropertyNames(t).filter(o=>["length","name","prototype"].indexOf(o)===-1).map(o=>{var i=Object.getOwnPropertyDescriptor(t,o);return Kd.registerHelper(o,i==null?void 0:i.value),o});e.push({label:(r=Reflect.getMetadata(hE,t))==null?void 0:r.name,comment:(a=Reflect.getMetadata(hE,t))==null?void 0:a.comment,children:n.map(o=>({label:o,comment:Reflect.getMetadata(OP,t,o),returnType:Reflect.getMetadata(BP,t,o),caller:Reflect.getMetadata(kP,t,o)}))})}),e},zee=()=>{const e={};return IP.forEach(t=>{Object.getOwnPropertyNames(t).filter(n=>["length","name","prototype"].indexOf(n)===-1).map(n=>{var r=Object.getOwnPropertyDescriptor(t,n);e[n]=r==null?void 0:r.value})}),e},Uee=(e,t,n)=>{if(e){var r=Kd.compile(e);try{var a=r(t);return Hee(jee(a),n)}catch(o){throw zi.error("expression compile",o,{tmpl:e,data:t,funcName:n}),o}}},Hee=(e,t)=>{if(!t)return e;let n,r;return dE==null||dE.forEach(a=>{var o;(o=Array.from(a==null?void 0:a.children))==null||o.forEach(i=>{var u;(i==null?void 0:i.label)===t&&(n=jt((u=i==null?void 0:i.returnType)==null?void 0:u.dataType),r=Wee(e,n))})}),r},Wee=(e,t)=>{if(!Ki(e))switch(t){case We.number:return e===null||e===""?void 0:_u(e);case We.boolean:return e==="true";case We.object:case We.array:return e!=null&&e.startsWith("[")?ri(ii(e),!0):ri(e==null?void 0:e.split(","),!0);case We.string:default:return e}},dE=Vee();var vE={},Gee={get exports(){return vE},set exports(e){vE=e}};function s0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ry={},Kee={get exports(){return ry},set exports(e){ry=e}};const Xee=dD(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var NP;function Tr(){return NP||(NP=1,function(e,t){(function(n,r){e.exports=r()})(Zn,function(){var n=n||function(r,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Zn<"u"&&Zn.crypto&&(o=Zn.crypto),!o&&typeof s0=="function")try{o=Xee}catch{}var i=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function y(){}return function(b){var _;return y.prototype=b,_=new y,y.prototype=null,_}}(),s={},l=s.lib={},c=l.Base=function(){return{extend:function(y){var b=u(this);return y&&b.mixIn(y),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var b in y)y.hasOwnProperty(b)&&(this[b]=y[b]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=l.WordArray=c.extend({init:function(y,b){y=this.words=y||[],b!=a?this.sigBytes=b:this.sigBytes=y.length*4},toString:function(y){return(y||d).stringify(this)},concat:function(y){var b=this.words,_=y.words,E=this.sigBytes,w=y.sigBytes;if(this.clamp(),E%4)for(var S=0;S<w;S++){var A=_[S>>>2]>>>24-S%4*8&255;b[E+S>>>2]|=A<<24-(E+S)%4*8}else for(var P=0;P<w;P+=4)b[E+P>>>2]=_[P>>>2];return this.sigBytes+=w,this},clamp:function(){var y=this.words,b=this.sigBytes;y[b>>>2]&=4294967295<<32-b%4*8,y.length=r.ceil(b/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var b=[],_=0;_<y;_+=4)b.push(i());return new f.init(b,y)}}),h=s.enc={},d=h.Hex={stringify:function(y){for(var b=y.words,_=y.sigBytes,E=[],w=0;w<_;w++){var S=b[w>>>2]>>>24-w%4*8&255;E.push((S>>>4).toString(16)),E.push((S&15).toString(16))}return E.join("")},parse:function(y){for(var b=y.length,_=[],E=0;E<b;E+=2)_[E>>>3]|=parseInt(y.substr(E,2),16)<<24-E%8*4;return new f.init(_,b/2)}},v=h.Latin1={stringify:function(y){for(var b=y.words,_=y.sigBytes,E=[],w=0;w<_;w++){var S=b[w>>>2]>>>24-w%4*8&255;E.push(String.fromCharCode(S))}return E.join("")},parse:function(y){for(var b=y.length,_=[],E=0;E<b;E++)_[E>>>2]|=(y.charCodeAt(E)&255)<<24-E%4*8;return new f.init(_,b)}},m=h.Utf8={stringify:function(y){try{return decodeURIComponent(escape(v.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return v.parse(unescape(encodeURIComponent(y)))}},p=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var b,_=this._data,E=_.words,w=_.sigBytes,S=this.blockSize,A=S*4,P=w/A;y?P=r.ceil(P):P=r.max((P|0)-this._minBufferSize,0);var C=P*S,D=r.min(C*4,w);if(C){for(var O=0;O<C;O+=S)this._doProcessBlock(E,O);b=E.splice(0,C),_.sigBytes-=D}return new f.init(b,D)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});l.Hasher=p.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(y){return function(b,_){return new y.init(_).finalize(b)}},_createHmacHelper:function(y){return function(b,_){return new g.HMAC.init(y,_).finalize(b)}}});var g=s.algo={};return s}(Math);return n})}(Kee)),ry}var iy={},Yee={get exports(){return iy},set exports(e){iy=e}},FP;function ay(){return FP||(FP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.Base,u=o.WordArray,s=a.x64={};s.Word=i.extend({init:function(l,c){this.high=l,this.low=c}}),s.WordArray=i.extend({init:function(l,c){l=this.words=l||[],c!=r?this.sigBytes=c:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,c=l.length,f=[],h=0;h<c;h++){var d=l[h];f.push(d.high),f.push(d.low)}return u.create(f,this.sigBytes)},clone:function(){for(var l=i.clone.call(this),c=l.words=this.words.slice(0),f=c.length,h=0;h<f;h++)c[h]=c[h].clone();return l}})}(),n})}(Yee)),iy}var oy={},Jee={get exports(){return oy},set exports(e){oy=e}},MP;function Zee(){return MP||(MP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,o=a.WordArray,i=o.init,u=o.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var l=s.byteLength,c=[],f=0;f<l;f++)c[f>>>2]|=s[f]<<24-f%4*8;i.call(this,c,l)}else i.apply(this,arguments)};u.prototype=o}}(),n.lib.WordArray})}(Jee)),oy}var sy={},Qee={get exports(){return sy},set exports(e){sy=e}},LP;function qee(){return LP||(LP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(s){for(var l=s.words,c=s.sigBytes,f=[],h=0;h<c;h+=2){var d=l[h>>>2]>>>16-h%4*8&65535;f.push(String.fromCharCode(d))}return f.join("")},parse:function(s){for(var l=s.length,c=[],f=0;f<l;f++)c[f>>>1]|=s.charCodeAt(f)<<16-f%2*16;return o.create(c,l*2)}},i.Utf16LE={stringify:function(s){for(var l=s.words,c=s.sigBytes,f=[],h=0;h<c;h+=2){var d=u(l[h>>>2]>>>16-h%4*8&65535);f.push(String.fromCharCode(d))}return f.join("")},parse:function(s){for(var l=s.length,c=[],f=0;f<l;f++)c[f>>>1]|=u(s.charCodeAt(f)<<16-f%2*16);return o.create(c,l*2)}};function u(s){return s<<8&4278255360|s>>>8&16711935}}(),n.enc.Utf16})}(Qee)),sy}var ly={},$ee={get exports(){return ly},set exports(e){ly=e}},RP;function Jc(){return RP||(RP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,f=this._map;s.clamp();for(var h=[],d=0;d<c;d+=3)for(var v=l[d>>>2]>>>24-d%4*8&255,m=l[d+1>>>2]>>>24-(d+1)%4*8&255,p=l[d+2>>>2]>>>24-(d+2)%4*8&255,g=v<<16|m<<8|p,y=0;y<4&&d+y*.75<c;y++)h.push(f.charAt(g>>>6*(3-y)&63));var b=f.charAt(64);if(b)for(;h.length%4;)h.push(b);return h.join("")},parse:function(s){var l=s.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<c.length;h++)f[c.charCodeAt(h)]=h}var d=c.charAt(64);if(d){var v=s.indexOf(d);v!==-1&&(l=v)}return u(s,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(s,l,c){for(var f=[],h=0,d=0;d<l;d++)if(d%4){var v=c[s.charCodeAt(d-1)]<<d%4*2,m=c[s.charCodeAt(d)]>>>6-d%4*2,p=v|m;f[h>>>2]|=p<<24-h%4*8,h++}return o.create(f,h)}}(),n.enc.Base64})}($ee)),ly}var uy={},ete={get exports(){return uy},set exports(e){uy=e}},jP;function tte(){return jP||(jP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64url={stringify:function(s,l){l===void 0&&(l=!0);var c=s.words,f=s.sigBytes,h=l?this._safe_map:this._map;s.clamp();for(var d=[],v=0;v<f;v+=3)for(var m=c[v>>>2]>>>24-v%4*8&255,p=c[v+1>>>2]>>>24-(v+1)%4*8&255,g=c[v+2>>>2]>>>24-(v+2)%4*8&255,y=m<<16|p<<8|g,b=0;b<4&&v+b*.75<f;b++)d.push(h.charAt(y>>>6*(3-b)&63));var _=h.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(s,l){l===void 0&&(l=!0);var c=s.length,f=l?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var d=0;d<f.length;d++)h[f.charCodeAt(d)]=d}var v=f.charAt(64);if(v){var m=s.indexOf(v);m!==-1&&(c=m)}return u(s,c,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(s,l,c){for(var f=[],h=0,d=0;d<l;d++)if(d%4){var v=c[s.charCodeAt(d-1)]<<d%4*2,m=c[s.charCodeAt(d)]>>>6-d%4*2,p=v|m;f[h>>>2]|=p<<24-h%4*8,h++}return o.create(f,h)}}(),n.enc.Base64url})}(ete)),uy}var cy={},nte={get exports(){return cy},set exports(e){cy=e}},VP;function Zc(){return VP||(VP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.algo,l=[];(function(){for(var m=0;m<64;m++)l[m]=r.abs(r.sin(m+1))*4294967296|0})();var c=s.MD5=u.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,p){for(var g=0;g<16;g++){var y=p+g,b=m[y];m[y]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var _=this._hash.words,E=m[p+0],w=m[p+1],S=m[p+2],A=m[p+3],P=m[p+4],C=m[p+5],D=m[p+6],O=m[p+7],k=m[p+8],I=m[p+9],N=m[p+10],F=m[p+11],R=m[p+12],M=m[p+13],j=m[p+14],W=m[p+15],L=_[0],z=_[1],G=_[2],Y=_[3];L=f(L,z,G,Y,E,7,l[0]),Y=f(Y,L,z,G,w,12,l[1]),G=f(G,Y,L,z,S,17,l[2]),z=f(z,G,Y,L,A,22,l[3]),L=f(L,z,G,Y,P,7,l[4]),Y=f(Y,L,z,G,C,12,l[5]),G=f(G,Y,L,z,D,17,l[6]),z=f(z,G,Y,L,O,22,l[7]),L=f(L,z,G,Y,k,7,l[8]),Y=f(Y,L,z,G,I,12,l[9]),G=f(G,Y,L,z,N,17,l[10]),z=f(z,G,Y,L,F,22,l[11]),L=f(L,z,G,Y,R,7,l[12]),Y=f(Y,L,z,G,M,12,l[13]),G=f(G,Y,L,z,j,17,l[14]),z=f(z,G,Y,L,W,22,l[15]),L=h(L,z,G,Y,w,5,l[16]),Y=h(Y,L,z,G,D,9,l[17]),G=h(G,Y,L,z,F,14,l[18]),z=h(z,G,Y,L,E,20,l[19]),L=h(L,z,G,Y,C,5,l[20]),Y=h(Y,L,z,G,N,9,l[21]),G=h(G,Y,L,z,W,14,l[22]),z=h(z,G,Y,L,P,20,l[23]),L=h(L,z,G,Y,I,5,l[24]),Y=h(Y,L,z,G,j,9,l[25]),G=h(G,Y,L,z,A,14,l[26]),z=h(z,G,Y,L,k,20,l[27]),L=h(L,z,G,Y,M,5,l[28]),Y=h(Y,L,z,G,S,9,l[29]),G=h(G,Y,L,z,O,14,l[30]),z=h(z,G,Y,L,R,20,l[31]),L=d(L,z,G,Y,C,4,l[32]),Y=d(Y,L,z,G,k,11,l[33]),G=d(G,Y,L,z,F,16,l[34]),z=d(z,G,Y,L,j,23,l[35]),L=d(L,z,G,Y,w,4,l[36]),Y=d(Y,L,z,G,P,11,l[37]),G=d(G,Y,L,z,O,16,l[38]),z=d(z,G,Y,L,N,23,l[39]),L=d(L,z,G,Y,M,4,l[40]),Y=d(Y,L,z,G,E,11,l[41]),G=d(G,Y,L,z,A,16,l[42]),z=d(z,G,Y,L,D,23,l[43]),L=d(L,z,G,Y,I,4,l[44]),Y=d(Y,L,z,G,R,11,l[45]),G=d(G,Y,L,z,W,16,l[46]),z=d(z,G,Y,L,S,23,l[47]),L=v(L,z,G,Y,E,6,l[48]),Y=v(Y,L,z,G,O,10,l[49]),G=v(G,Y,L,z,j,15,l[50]),z=v(z,G,Y,L,C,21,l[51]),L=v(L,z,G,Y,R,6,l[52]),Y=v(Y,L,z,G,A,10,l[53]),G=v(G,Y,L,z,N,15,l[54]),z=v(z,G,Y,L,w,21,l[55]),L=v(L,z,G,Y,k,6,l[56]),Y=v(Y,L,z,G,W,10,l[57]),G=v(G,Y,L,z,D,15,l[58]),z=v(z,G,Y,L,M,21,l[59]),L=v(L,z,G,Y,P,6,l[60]),Y=v(Y,L,z,G,F,10,l[61]),G=v(G,Y,L,z,S,15,l[62]),z=v(z,G,Y,L,I,21,l[63]),_[0]=_[0]+L|0,_[1]=_[1]+z|0,_[2]=_[2]+G|0,_[3]=_[3]+Y|0},_doFinalize:function(){var m=this._data,p=m.words,g=this._nDataBytes*8,y=m.sigBytes*8;p[y>>>5]|=128<<24-y%32;var b=r.floor(g/4294967296),_=g;p[(y+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p[(y+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,m.sigBytes=(p.length+1)*4,this._process();for(var E=this._hash,w=E.words,S=0;S<4;S++){var A=w[S];w[S]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return E},clone:function(){var m=u.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,p,g,y,b,_,E){var w=m+(p&g|~p&y)+b+E;return(w<<_|w>>>32-_)+p}function h(m,p,g,y,b,_,E){var w=m+(p&y|g&~y)+b+E;return(w<<_|w>>>32-_)+p}function d(m,p,g,y,b,_,E){var w=m+(p^g^y)+b+E;return(w<<_|w>>>32-_)+p}function v(m,p,g,y,b,_,E){var w=m+(g^(p|~y))+b+E;return(w<<_|w>>>32-_)+p}a.MD5=u._createHelper(c),a.HmacMD5=u._createHmacHelper(c)}(Math),n.MD5})}(nte)),cy}var fy={},rte={get exports(){return fy},set exports(e){fy=e}},zP;function UP(){return zP||(zP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.Hasher,u=r.algo,s=[],l=u.SHA1=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var h=this._hash.words,d=h[0],v=h[1],m=h[2],p=h[3],g=h[4],y=0;y<80;y++){if(y<16)s[y]=c[f+y]|0;else{var b=s[y-3]^s[y-8]^s[y-14]^s[y-16];s[y]=b<<1|b>>>31}var _=(d<<5|d>>>27)+g+s[y];y<20?_+=(v&m|~v&p)+1518500249:y<40?_+=(v^m^p)+1859775393:y<60?_+=(v&m|v&p|m&p)-1894007588:_+=(v^m^p)-899497514,g=p,p=m,m=v<<30|v>>>2,v=d,d=_}h[0]=h[0]+d|0,h[1]=h[1]+v|0,h[2]=h[2]+m|0,h[3]=h[3]+p|0,h[4]=h[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,d=c.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),f[(d+64>>>9<<4)+15]=h,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=i.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=i._createHelper(l),r.HmacSHA1=i._createHmacHelper(l)}(),n.SHA1})}(rte)),fy}var py={},ite={get exports(){return py},set exports(e){py=e}},HP;function mE(){return HP||(HP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.algo,l=[],c=[];(function(){function d(g){for(var y=r.sqrt(g),b=2;b<=y;b++)if(!(g%b))return!1;return!0}function v(g){return(g-(g|0))*4294967296|0}for(var m=2,p=0;p<64;)d(m)&&(p<8&&(l[p]=v(r.pow(m,1/2))),c[p]=v(r.pow(m,1/3)),p++),m++})();var f=[],h=s.SHA256=u.extend({_doReset:function(){this._hash=new i.init(l.slice(0))},_doProcessBlock:function(d,v){for(var m=this._hash.words,p=m[0],g=m[1],y=m[2],b=m[3],_=m[4],E=m[5],w=m[6],S=m[7],A=0;A<64;A++){if(A<16)f[A]=d[v+A]|0;else{var P=f[A-15],C=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,D=f[A-2],O=(D<<15|D>>>17)^(D<<13|D>>>19)^D>>>10;f[A]=C+f[A-7]+O+f[A-16]}var k=_&E^~_&w,I=p&g^p&y^g&y,N=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),F=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),R=S+F+k+c[A]+f[A],M=N+I;S=w,w=E,E=_,_=b+R|0,b=y,y=g,g=p,p=R+M|0}m[0]=m[0]+p|0,m[1]=m[1]+g|0,m[2]=m[2]+y|0,m[3]=m[3]+b|0,m[4]=m[4]+_|0,m[5]=m[5]+E|0,m[6]=m[6]+w|0,m[7]=m[7]+S|0},_doFinalize:function(){var d=this._data,v=d.words,m=this._nDataBytes*8,p=d.sigBytes*8;return v[p>>>5]|=128<<24-p%32,v[(p+64>>>9<<4)+14]=r.floor(m/4294967296),v[(p+64>>>9<<4)+15]=m,d.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var d=u.clone.call(this);return d._hash=this._hash.clone(),d}});a.SHA256=u._createHelper(h),a.HmacSHA256=u._createHmacHelper(h)}(Math),n.SHA256})}(ite)),py}var hy={},ate={get exports(){return hy},set exports(e){hy=e}},WP;function ote(){return WP||(WP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),mE())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.algo,u=i.SHA256,s=i.SHA224=u.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=4,l}});r.SHA224=u._createHelper(s),r.HmacSHA224=u._createHmacHelper(s)}(),n.SHA224})}(ate)),hy}var dy={},ste={get exports(){return dy},set exports(e){dy=e}},GP;function KP(){return GP||(GP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.Hasher,i=r.x64,u=i.Word,s=i.WordArray,l=r.algo;function c(){return u.create.apply(u,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],h=[];(function(){for(var v=0;v<80;v++)h[v]=c()})();var d=l.SHA512=o.extend({_doReset:function(){this._hash=new s.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(v,m){for(var p=this._hash.words,g=p[0],y=p[1],b=p[2],_=p[3],E=p[4],w=p[5],S=p[6],A=p[7],P=g.high,C=g.low,D=y.high,O=y.low,k=b.high,I=b.low,N=_.high,F=_.low,R=E.high,M=E.low,j=w.high,W=w.low,L=S.high,z=S.low,G=A.high,Y=A.low,Z=P,q=C,ue=D,ie=O,te=k,le=I,me=N,X=F,Q=R,ne=M,ce=j,fe=W,de=L,pe=z,Ee=G,De=Y,Ne=0;Ne<80;Ne++){var be,J,K=h[Ne];if(Ne<16)J=K.high=v[m+Ne*2]|0,be=K.low=v[m+Ne*2+1]|0;else{var ee=h[Ne-15],ve=ee.high,Ae=ee.low,Ie=(ve>>>1|Ae<<31)^(ve>>>8|Ae<<24)^ve>>>7,Be=(Ae>>>1|ve<<31)^(Ae>>>8|ve<<24)^(Ae>>>7|ve<<25),Fe=h[Ne-2],He=Fe.high,Ve=Fe.low,Ye=(He>>>19|Ve<<13)^(He<<3|Ve>>>29)^He>>>6,at=(Ve>>>19|He<<13)^(Ve<<3|He>>>29)^(Ve>>>6|He<<26),Ft=h[Ne-7],_t=Ft.high,Kt=Ft.low,Bt=h[Ne-16],Pt=Bt.high,pt=Bt.low;be=Be+Kt,J=Ie+_t+(be>>>0<Be>>>0?1:0),be=be+at,J=J+Ye+(be>>>0<at>>>0?1:0),be=be+pt,J=J+Pt+(be>>>0<pt>>>0?1:0),K.high=J,K.low=be}var kn=Q&ce^~Q&de,rt=ne&fe^~ne&pe,lt=Z&ue^Z&te^ue&te,re=q&ie^q&le^ie&le,ke=(Z>>>28|q<<4)^(Z<<30|q>>>2)^(Z<<25|q>>>7),Te=(q>>>28|Z<<4)^(q<<30|Z>>>2)^(q<<25|Z>>>7),Me=(Q>>>14|ne<<18)^(Q>>>18|ne<<14)^(Q<<23|ne>>>9),Ue=(ne>>>14|Q<<18)^(ne>>>18|Q<<14)^(ne<<23|Q>>>9),ut=f[Ne],Et=ut.high,kt=ut.low,Gt=De+Ue,Dn=Ee+Me+(Gt>>>0<De>>>0?1:0),Gt=Gt+rt,Dn=Dn+kn+(Gt>>>0<rt>>>0?1:0),Gt=Gt+kt,Dn=Dn+Et+(Gt>>>0<kt>>>0?1:0),Gt=Gt+be,Dn=Dn+J+(Gt>>>0<be>>>0?1:0),mr=Te+re,si=ke+lt+(mr>>>0<Te>>>0?1:0);Ee=de,De=pe,de=ce,pe=fe,ce=Q,fe=ne,ne=X+Gt|0,Q=me+Dn+(ne>>>0<X>>>0?1:0)|0,me=te,X=le,te=ue,le=ie,ue=Z,ie=q,q=Gt+mr|0,Z=Dn+si+(q>>>0<Gt>>>0?1:0)|0}C=g.low=C+q,g.high=P+Z+(C>>>0<q>>>0?1:0),O=y.low=O+ie,y.high=D+ue+(O>>>0<ie>>>0?1:0),I=b.low=I+le,b.high=k+te+(I>>>0<le>>>0?1:0),F=_.low=F+X,_.high=N+me+(F>>>0<X>>>0?1:0),M=E.low=M+ne,E.high=R+Q+(M>>>0<ne>>>0?1:0),W=w.low=W+fe,w.high=j+ce+(W>>>0<fe>>>0?1:0),z=S.low=z+pe,S.high=L+de+(z>>>0<pe>>>0?1:0),Y=A.low=Y+De,A.high=G+Ee+(Y>>>0<De>>>0?1:0)},_doFinalize:function(){var v=this._data,m=v.words,p=this._nDataBytes*8,g=v.sigBytes*8;m[g>>>5]|=128<<24-g%32,m[(g+128>>>10<<5)+30]=Math.floor(p/4294967296),m[(g+128>>>10<<5)+31]=p,v.sigBytes=m.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var v=o.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:1024/32});r.SHA512=o._createHelper(d),r.HmacSHA512=o._createHmacHelper(d)}(),n.SHA512})}(ste)),dy}var vy={},lte={get exports(){return vy},set exports(e){vy=e}},XP;function ute(){return XP||(XP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay(),KP())})(Zn,function(n){return function(){var r=n,a=r.x64,o=a.Word,i=a.WordArray,u=r.algo,s=u.SHA512,l=u.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=s._createHelper(l),r.HmacSHA384=s._createHmacHelper(l)}(),n.SHA384})}(lte)),vy}var my={},cte={get exports(){return my},set exports(e){my=e}},YP;function fte(){return YP||(YP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.x64,l=s.Word,c=a.algo,f=[],h=[],d=[];(function(){for(var p=1,g=0,y=0;y<24;y++){f[p+5*g]=(y+1)*(y+2)/2%64;var b=g%5,_=(2*p+3*g)%5;p=b,g=_}for(var p=0;p<5;p++)for(var g=0;g<5;g++)h[p+5*g]=g+(2*p+3*g)%5*5;for(var E=1,w=0;w<24;w++){for(var S=0,A=0,P=0;P<7;P++){if(E&1){var C=(1<<P)-1;C<32?A^=1<<C:S^=1<<C-32}E&128?E=E<<1^113:E<<=1}d[w]=l.create(S,A)}})();var v=[];(function(){for(var p=0;p<25;p++)v[p]=l.create()})();var m=c.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],g=0;g<25;g++)p[g]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,g){for(var y=this._state,b=this.blockSize/2,_=0;_<b;_++){var E=p[g+2*_],w=p[g+2*_+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var S=y[_];S.high^=w,S.low^=E}for(var A=0;A<24;A++){for(var P=0;P<5;P++){for(var C=0,D=0,O=0;O<5;O++){var S=y[P+5*O];C^=S.high,D^=S.low}var k=v[P];k.high=C,k.low=D}for(var P=0;P<5;P++)for(var I=v[(P+4)%5],N=v[(P+1)%5],F=N.high,R=N.low,C=I.high^(F<<1|R>>>31),D=I.low^(R<<1|F>>>31),O=0;O<5;O++){var S=y[P+5*O];S.high^=C,S.low^=D}for(var M=1;M<25;M++){var C,D,S=y[M],j=S.high,W=S.low,L=f[M];L<32?(C=j<<L|W>>>32-L,D=W<<L|j>>>32-L):(C=W<<L-32|j>>>64-L,D=j<<L-32|W>>>64-L);var z=v[h[M]];z.high=C,z.low=D}var G=v[0],Y=y[0];G.high=Y.high,G.low=Y.low;for(var P=0;P<5;P++)for(var O=0;O<5;O++){var M=P+5*O,S=y[M],Z=v[M],q=v[(P+1)%5+5*O],ue=v[(P+2)%5+5*O];S.high=Z.high^~q.high&ue.high,S.low=Z.low^~q.low&ue.low}var S=y[0],ie=d[A];S.high^=ie.high,S.low^=ie.low}},_doFinalize:function(){var p=this._data,g=p.words;this._nDataBytes*8;var y=p.sigBytes*8,b=this.blockSize*32;g[y>>>5]|=1<<24-y%32,g[(r.ceil((y+1)/b)*b>>>5)-1]|=128,p.sigBytes=g.length*4,this._process();for(var _=this._state,E=this.cfg.outputLength/8,w=E/8,S=[],A=0;A<w;A++){var P=_[A],C=P.high,D=P.low;C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,S.push(D),S.push(C)}return new i.init(S,E)},clone:function(){for(var p=u.clone.call(this),g=p._state=this._state.slice(0),y=0;y<25;y++)g[y]=g[y].clone();return p}});a.SHA3=u._createHelper(m),a.HmacSHA3=u._createHmacHelper(m)}(Math),n.SHA3})}(cte)),my}var gy={},pte={get exports(){return gy},set exports(e){gy=e}},JP;function hte(){return JP||(JP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){/** @preserve
|
|
55
|
+
`),t,n)}}function zt(){return(e,t,n)=>{var o;const r=Reflect.getMetadata(o0,e,t),a=`${t}(${((o=r==null?void 0:r.slice().reverse())==null?void 0:o.map(i=>i.name).join(","))||""})`;Reflect.defineMetadata(kP,a,e,t)}}function Ut(){return(e,t,n)=>{const r=Reflect.getMetadata(o0,e,t),a=n.value;return n.value=function(o){var s;var i=Bee(arguments,t),u=Iee(i,r);if(u&&!u.pass)throw new Error(`Parameter ${(s=u.msg)==null?void 0:s.join(",")} `);return a==null?void 0:a.apply(this,i)},n}}function vt(e=!1,t="",n="",r){return(a,o,i)=>{var u=Reflect.getMetadata(o0,a,o+"")||[];u.push({index:i||0,required:e,comment:t,name:n,dataType:r}),Reflect.defineMetadata(o0,u,a,o+"")}}function Ht(e="",t){return(n,r)=>{Reflect.defineMetadata(BP,{comment:e,dataType:t},n,r+"")}}var Nee=Object.defineProperty,Fee=Object.getOwnPropertyDescriptor,Mt=(e,t,n,r)=>{for(var a=r>1?void 0:r?Fee(t,n):t,o=e.length-1,i;o>=0;o--)(i=e[o])&&(a=(r?i(t,n,a):i(a))||a);return r&&a&&Nee(t,n,a),a},mt=(e,t)=>(n,r)=>t(n,r,e);class Ds{static dateToString(t){return Bg(t,"yyyy-MM-dd HH:mm:ss")}static checkAllNum(t){return!(t!=null&&t.some(n=>n===""||n===null||n===void 0||isNaN(Number(n))))}}let Vo=class{static INTERSECTIONSET(e,t){const n=new Set;let r=e,a=t;return(e==null?void 0:e.length)-(t==null?void 0:t.length)>0&&(r=e,a=t),a==null||a.forEach(o=>{r!=null&&r.includes(o)&&(n==null||n.add(o))}),Array.from(n)}static UNIONSET(e,t){const n=new Set;return e.forEach(r=>n.add(r)),t.forEach(r=>n.add(r)),Array.from(n)}static DIFFERENCESET(e,t){const n=new Set;return e.forEach(r=>{t.includes(r)||n.add(r)}),Array.from(n)}static SUBSET(e,t){if(e.length>t.length)return!1;let n=!0;return e.every(r=>t.includes(r)?!0:(n=!1,!1)),n}static ARRAYGET(e,t){return e==null?void 0:e[t-1]}static LARGE(e,t){var n=e==null?void 0:e.sort((r,a)=>Number(r)<Number(a)?1:-1);return n==null?void 0:n[t-1]}static SMALL(e,t){var n=e.sort((r,a)=>Number(r)>Number(a)?1:-1);return n==null?void 0:n[t-1]}static ARRAY(...e){return ws(...e)}static ARRAYLEN(e){return(e==null?void 0:e.length)||0}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.INTERSECTIONSET_func")),Ht(se.i18nt("designer.helper.INTERSECTIONSET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"INTERSECTIONSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UNIONSET_func")),Ht(se.i18nt("designer.helper.UNIONSET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"UNIONSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DIFFERENCESET_func")),Ht(se.i18nt("designer.helper.DIFFERENCESET_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"DIFFERENCESET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SUBSET_func")),Ht(se.i18nt("designer.helper.SUBSET_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.array1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.array2"),"array2",We.array))],Vo,"SUBSET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAYGET_func")),Ht(se.i18nt("designer.helper.ARRAYGET_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"ARRAYGET",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LARGE_func")),Ht(se.i18nt("designer.helper.LARGE_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"LARGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SMALL_func")),Ht(se.i18nt("designer.helper.SMALL_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.index"),"index",We.number))],Vo,"SMALL",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAY_func")),Ht(se.i18nt("designer.helper.ARRAY_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array))],Vo,"ARRAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ARRAYLEN_func")),Ht(se.i18nt("designer.helper.ARRAYLEN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.array"),"array",We.array))],Vo,"ARRAYLEN",1),Vo=Mt([Yc(se.i18nt("designer.expression.helpers_collection"))],Vo);let Ca=class{static EQ(e,t){return e===t}static NE(e,t){return e!==t}static LT(e,t){return e<t}static GT(e,t){return e>t}static LTE(e,t){return e<=t}static GTE(e,t){return e>=t}static AND(...e){var t;return(t=ws(...e))==null?void 0:t.every(n=>!!n)}static OR(...e){var t;return(t=ws(...e))==null?void 0:t.some(n=>!n)}static NOT(e){return!e}static XOR(...e){var t;return!((t=ws(...e))!=null&&t.some(n=>!!n))}static TRUE(){return!0}static FALSE(){return!1}static IF(e,t,n){return e?t:n}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.EQ_func")),Ht(se.i18nt("designer.helper.EQ_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"EQ",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NE_func")),Ht(se.i18nt("designer.helper.NE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v1",We.any))],Ca,"NE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LT_func")),Ht(se.i18nt("designer.helper.LT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"LT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GT_func")),Ht(se.i18nt("designer.helper.GT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"GT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LTE_func")),Ht(se.i18nt("designer.helper.LTE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"LTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GTE_func")),Ht(se.i18nt("designer.helper.GTE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.any))],Ca,"GTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.AND_func")),Ht(se.i18nt("designer.helper.AND_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"AND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.OR_func")),Ht(se.i18nt("designer.helper.OR_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"OR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NOT_func")),Ht(se.i18nt("designer.helper.NOT_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_arg"),"v1",We.boolean))],Ca,"NOT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.XOR_func")),Ht(se.i18nt("designer.helper.XOR_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.logical_args"),"args",We.array))],Ca,"XOR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TRUE_func")),Ht(se.i18nt("designer.helper.TRUE_return"),We.boolean)],Ca,"TRUE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FALSE_func")),Ht(se.i18nt("designer.helper.FALSE_return"),We.boolean)],Ca,"FALSE",1),Mt([Ut(),zt(),Vt(""),Ht("",We.any),mt(0,vt(!0,se.i18nt("designer.helper.logical_arg"),"condition",We.boolean)),mt(1,vt(!0,se.i18nt("designer.helper.IF_trueValue"),"trueValue",We.boolean)),mt(2,vt(!0,se.i18nt("designer.helper.IF_falseValue"),"falseValue",We.boolean))],Ca,"IF",1),Ca=Mt([Yc(se.i18nt("designer.expression.helpers_logical"))],Ca);let Si=class{static ADD(...e){var n;var t=0;return(n=ws(...e))==null||n.forEach(r=>t+=_u(r,!1)||0),t}static ADDNUM(...e){var t=0,n=ws(...e);return Ds.checkAllNum(n)?(n==null||n.forEach(r=>{t+=_u(r,!1)||0}),t):null}static AVERAGE(...e){var t=0,n=ws(...e);if(!Ds.checkAllNum(n))return null;n==null||n.forEach(a=>t+=_u(a,!1)||0);var r=e==null?void 0:e.length;return r?t/r:0}static MAX(...e){var t=ws(...e),n=t==null?void 0:t.map(r=>_u(r,!1)||0);return!n||n.length<=0?0:Math.max(...n)}static MIN(...e){var n;var t=(n=ws(...e))==null?void 0:n.map(r=>_u(r,!1)||0);return!t||t.length<=0?0:Math.min(...t)}static ABS(e){return Math.abs(e)}static ROUND(e,t=2){var n=Math.pow(10,t);return Math.round(e*n)/n}static CEILING(e,t=1){return Math.ceil(e/t)*t}static FLOOR(e,t=1){return Math.floor(e/t)*t}static INT(e){return Math.floor(e)}static LOG(e,t=10){return Math.log10(e)/Math.log10(t)}static POWER(e,t){return Math.pow(e,t)}static FIXED(e,t){return e===null?null:Number(e.toFixed(t))}static SQRT(e){return Math.sqrt(e)}static PRODUCT(...e){var t=ws(...e);if(!Ds.checkAllNum(t))return null;var n=1;return t==null||t.forEach(r=>n*=Number(r)),n}static SUMPRODUCT(e,t){var n=0;return(e==null?void 0:e.length)!==(t==null?void 0:t.length)||e==null||e.forEach((r,a)=>{n+=Number(r)*Number(t[a])}),n}static NUMBERCOMPARE(e,t){return Number(e)===Number(t)}static NUMBERFORMATE(e,t){return fD(e,t)}static DIVISION(e,t){return t!=0?e/t:0}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ADD_func")),Ht(se.i18nt("designer.helper.ADD_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"ADD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ADDNUM_func")),Ht(se.i18nt("designer.helper.ADD_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"ADDNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.AVERAGE_func")),Ht(se.i18nt("designer.helper.AVERAGE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"AVERAGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MAX_func")),Ht(se.i18nt("designer.helper.MAX_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"MAX",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MIN_func")),Ht(se.i18nt("designer.helper.MIN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"MIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ABS_func")),Ht(se.i18nt("designer.helper.ABS_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"ABS",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ROUND_func")),Ht(se.i18nt("designer.helper.ROUND_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.num_digits"),"num_digits",We.number))],Si,"ROUND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.CEILING_func")),Ht(se.i18nt("designer.helper.CEILING_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.significance"),"significance",We.number))],Si,"CEILING",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FLOOR_func")),Ht(se.i18nt("designer.helper.FLOOR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.significance"),"significance",We.number))],Si,"FLOOR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.INT_func")),Ht(se.i18nt("designer.helper.INT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"INT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LOG_func")),Ht(se.i18nt("designer.helper.LOG_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!1,se.i18nt("designer.helper.log_base"),"number",We.number))],Si,"LOG",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.POWER_func")),Ht(se.i18nt("designer.helper.POWER_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.power_base"),"number",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.power_num"),"power",We.number))],Si,"POWER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FIXED_func")),Ht(se.i18nt("designer.helper.FIXED_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.decimals"),"decimals",We.number))],Si,"FIXED",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SQRT_func")),Ht(se.i18nt("designer.helper.SQRT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.num"),"number",We.number))],Si,"SQRT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PRODUCT_func")),Ht(se.i18nt("designer.helper.PRODUCT_func"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray"),"args",We.array))],Si,"PRODUCT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SUMPRODUCT_func")),Ht(se.i18nt("designer.helper.SUMPRODUCT_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.numArray1"),"array1",We.array)),mt(1,vt(!0,se.i18nt("designer.helper.numArray2"),"array2",We.array))],Si,"SUMPRODUCT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NUMBERCOMPARE_func")),Ht(se.i18nt("designer.helper.NUMBERCOMPARE_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.v1"),"v1",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.v2"),"v2",We.number))],Si,"NUMBERCOMPARE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NUMBERFORMATE_func")),Ht(se.i18nt("designer.helper.NUMBERFORMATE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.value"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.string))],Si,"NUMBERFORMATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DIVISION_func")),Ht(se.i18nt("designer.helper.DIVISION_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.divisor"),"v1",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.dividend"),"v2",We.number))],Si,"DIVISION",1),Si=Mt([Yc(se.i18nt("designer.expression.helpers_math"))],Si);let Pu=class{static PREGNANTWEEKDAY(e,t,n){if(!e||!t)return 0;var r=D5(e,-280);switch(n){case"week":return Math.floor(Hd(r,t)/7);case"day":return Math.floor(Hd(r,t)%7)}}static PREGNANTWEEK(e,t){return this.PREGNANTWEEKDAY(e,t,"week")}static PREGNANTDAY(e,t){return this.PREGNANTWEEKDAY(e,t,"day")}static STOPMENSTRUALWEEK(e,t){return Math.floor(Hd(e,t)/7)}static STOPMENSTRUALDAY(e,t){return Math.floor(Hd(e,t)%7)}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTWEEKDAY_func")),Ht(se.i18nt("designer.helper.PREGNANTWEEKDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date)),mt(2,vt(!0,se.i18nt("designer.helper.PREGNANTWEEKDAY_mode"),"mode",We.string))],Pu,"PREGNANTWEEKDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTWEEK_func")),Ht(se.i18nt("designer.helper.PREGNANTWEEK_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"PREGNANTWEEK",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PREGNANTDAY_func")),Ht(se.i18nt("designer.helper.PREGNANTDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.dateOfPrenatal"),"dateOfPrenatal",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"PREGNANTDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STOPMENSTRUALWEEK_func")),Ht(se.i18nt("designer.helper.STOPMENSTRUALWEEK_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"STOPMENSTRUALWEEK",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STOPMENSTRUALDAY_func")),Ht(se.i18nt("designer.helper.STOPMENSTRUALDAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.lastMenstrualPeriod"),"lastMenstrualPeriod",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.currentTime"),"currentTime",We.date))],Pu,"STOPMENSTRUALDAY",1),Pu=Mt([Yc(se.i18nt("designer.expression.helpers_medical"))],Pu);let mi=class{static CONCATENATE(e,t,...n){var r,a;return(a=(r=ws(...n))==null?void 0:r.map(o=>(t==null?void 0:t.length)>0?lJ(t,o):o))==null?void 0:a.join(e||"")}static LEFT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<=t?n:n==null?void 0:n.substring(0,t)}static RIGHT(e,t){var n=String(e),r=n==null?void 0:n.length;return t===void 0||t<=0||r<=0?"":r<t?n:n==null?void 0:n.substring(r-t,r)}static MID(e,t,n){var r=String(e),a=r==null?void 0:r.length;if(t<0||n===void 0||n<=0||a<=0||t>=a)return"";var o=t+n;return o>=a&&(o=a-1),t>o?"":r==null?void 0:r.substring(t,o)}static LEN(e){var t;return(t=String(e==null?void 0:e.trim()))==null?void 0:t.length}static LOWER(e){var t;return(t=String(e))==null?void 0:t.toLowerCase()}static UPPER(e){var t;return(t=String(e))==null?void 0:t.toUpperCase()}static REPLACE(e,t,n,r){if(t<0||n<0)return"";var a=this.LEN(e);if(a<=0)return"";var o=this.LEFT(e,t),i=Rc(r)?"":r,u=this.RIGHT(e,a-t-n);return[o,i,u].join("")}static REPT(e,t){var n;return(n=String(e))==null?void 0:n.repeat(t<0?0:t)}static SEARCH(e,t,n=0){return t==null?void 0:t.indexOf(e,n)}static TEXT(e,t){var n=String(e);return t?CY(e)?fD(jt(e),t):Es(e)?Bg(e,t):String(e):n}static VALUE(e){return Number(e)}static SPLIT(e,t,n){var r;return(r=String(e))==null?void 0:r.split(t,n)}static TRIM(e){var t;return(t=String(e))==null?void 0:t.trim()}static UUID(){return nq()}static ISNULL(e){return Cr(e)}static ISEMPTY(e){return Cr(e)||Rc(e)}static PRINT(e){return e}static STRINGCOMPARE(e,t){return String(e)===String(t)}static REPLACESTRING(e,t,n,r="*"){if(!e)return"";const a=Array.from(e);if(t<0||t>=a.length||n<0||n>=a.length||t>n)return e;for(var o=t;o<n;o++)a[o]=r;return a.join("")}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.CONCATENATE_func")),Ht(se.i18nt("designer.helper.CONCATENATE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.separator"),"separator",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.format"),"format",We.string)),mt(2,vt(!0,se.i18nt("designer.helper.stringArray"),"args",We.array))],mi,"CONCATENATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LEFT_func")),Ht(se.i18nt("designer.helper.LEFT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!1,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"LEFT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.RIGHT_func")),Ht(se.i18nt("designer.helper.RIGHT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!1,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"RIGHT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MID_func")),Ht(se.i18nt("designer.helper.MID_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.MID_start_index"),"start_index",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.num_chars"),"num_chars",We.number))],mi,"MID",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LEN_func")),Ht(se.i18nt("designer.helper.LEN_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"LEN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.LOWER_func")),Ht(se.i18nt("designer.helper.LOWER_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"LOWER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UPPER_func")),Ht(se.i18nt("designer.helper.UPPER_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"UPPER",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPLACE_func")),Ht(se.i18nt("designer.helper.REPLACE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"old_text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.REPLACE_start_index"),"start_index",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.REPLACE_num_chars"),"num_chars",We.number)),mt(3,vt(!0,se.i18nt("designer.helper.REPLACE_new_text"),"new_text",We.string))],mi,"REPLACE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPT_func")),Ht(se.i18nt("designer.helper.REPT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.number_times"),"number_times",We.string))],mi,"REPT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SEARCH_func")),Ht(se.i18nt("designer.helper.SEARCH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.orgText"),"find_text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.SEARCH_within_text"),"within_text",We.string)),mt(2,vt(!1,se.i18nt("designer.helper.SEARCH_start_num"),"start_num",We.number))],mi,"SEARCH",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TEXT_func")),Ht(se.i18nt("designer.helper.TEXT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.value"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.string))],mi,"TEXT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.VALUE_func")),Ht(se.i18nt("designer.helper.VALUE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"VALUE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SPLIT_func")),Ht(se.i18nt("designer.helper.SPLIT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.separator"),"separator",We.string)),mt(2,vt(!0,se.i18nt("designer.helper.SPLIT_limit"),"limit",We.number))],mi,"SPLIT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TRIM_func")),Ht(se.i18nt("designer.helper.TRIM_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"TRIM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.UUID_func")),Ht(se.i18nt("designer.helper.UUID_return"),We.string)],mi,"UUID",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISNULL_func")),Ht(se.i18nt("designer.helper.ISNULL_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any))],mi,"ISNULL",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISEMPTY_func")),Ht(se.i18nt("designer.helper.ISEMPTY_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any))],mi,"ISEMPTY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.PRINT_func")),Ht(se.i18nt("designer.helper.PRINT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string))],mi,"PRINT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.STRINGCOMPARE_func")),Ht(se.i18nt("designer.helper.STRINGCOMPARE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text1"),"v1",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.text2"),"v2",We.string))],mi,"STRINGCOMPARE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.REPLACESTRING_func")),Ht(se.i18nt("designer.helper.REPLACESTRING_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"text",We.string)),mt(1,vt(!0,se.i18nt("designer.helper.indexStart"),"indexStart",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.indexEnd"),"indexEnd",We.number)),mt(3,vt(!0,se.i18nt("designer.helper.replacement"),"replacement",We.string))],mi,"REPLACESTRING",1),mi=Mt([Yc(se.i18nt("designer.expression.helpers_string"))],mi);let qr=class{static DATE(e){return new Date(e)}static DATEFORMAT(e,t){return Bg(e,t)}static TIMESTAMP(e){var t;return(t=new Date(e))==null?void 0:t.getTime()}static TIME(e=0,t=0,n=0){return Number(((e*60*60+t*60+n)*1/(24*60*60)).toPrecision(1))}static TODAY(){var e=new Date;return Ds.dateToString(new Date(e.getFullYear(),e.getMonth(),e.getDate()))}static NOW(){return Ds.dateToString(new Date)}static YEAR(e){var t;return(t=new Date(e))==null?void 0:t.getFullYear()}static MONTH(e){var t;return(t=new Date(e))==null?void 0:t.getMonth()}static DAY(e){var t;return(t=new Date(e))==null?void 0:t.getDate()}static HOUR(e){var t;return(t=new Date(e))==null?void 0:t.getHours()}static MINUTE(e){var t;return(t=new Date(e))==null?void 0:t.getMinutes()}static SECOND(e){var t;return(t=new Date(e))==null?void 0:t.getSeconds()}static DATEADD(e,t,n=Gc.day){var r=D5(e,t,n);return ta(e)?Ds.dateToString(r):r}static DATEDIFF(e,t,n=Gc.day){return Hd(e,t,n)}static DATEDIFFPART(e,t,n=Gc.day){return eq(e,t,n)}static DAYS360(e,t,n=Gc.day){var r=new Date(e),a=new Date(t),o=Math.abs(a.getTime()-r.getTime());switch(n){case Gc.year:return o/(12*30*24*60*60*1e3);case Gc.month:return o/(30*24*60*60*1e3);default:return this.DATEDIFF(r,a,n)}}static DAYBEGIN(e){var t=new Date(e);return Ds.dateToString(new Date(t.getFullYear(),t.getMonth(),t.getDate()))}static DAYEND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear(),t.getMonth(),t.getDate()+1).setSeconds(-1)),Ds.dateToString(t)}static YEARBEGIN(e){var t=new Date(e);return Ds.dateToString(new Date(t.getFullYear(),0,1))}static YEAREND(e){var t=new Date(e);return t=new Date(new Date(t.getFullYear()+1,0,1).setDate(0)),Ds.dateToString(t)}static WEEKNUM(e,t=1){const n=new Date(e),r=new Date(n.getFullYear(),0,1);var a=24*60*60*1e3,o=7*a,i=(7-r.getDay())*a;return Math.ceil((n.getTime()-r.getTime()-i)/o)+t}static ISOWEEKNUM(e){return this.WEEKNUM(e,void 0)}static GETAGEBYBIRTH(e){const{years:t}=kg(tq(e),new Date);return t}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATE_func")),Ht(se.i18nt("designer.helper.DATE_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.DATE_date"),"date",We.any))],qr,"DATE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEFORMAT_func")),Ht(se.i18nt("designer.helper.DATEFORMAT_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.text"),"value",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.pattern"),"pattern",We.any))],qr,"DATEFORMAT",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TIMESTAMP_func")),Ht(se.i18nt("designer.helper.TIMESTAMP_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.TIMESTAMP_date"),"date",We.any))],qr,"TIMESTAMP",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TIME_func")),Ht(se.i18nt("designer.helper.TIME_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.hour"),"hour",We.number)),mt(1,vt(!0,se.i18nt("designer.helper.minute"),"minute",We.number)),mt(2,vt(!0,se.i18nt("designer.helper.second"),"second",We.number))],qr,"TIME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TODAY_func")),Ht(se.i18nt("designer.helper.TODAY_return"),We.date)],qr,"TODAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.NOW_func")),Ht(se.i18nt("designer.helper.NOW_return"),We.date)],qr,"NOW",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEAR_func")),Ht(se.i18nt("designer.helper.YEAR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"YEAR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MONTH_func")),Ht(se.i18nt("designer.helper.MONTH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"MONTH",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAY_func")),Ht(se.i18nt("designer.helper.DAY_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"DAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.HOUR_func")),Ht(se.i18nt("designer.helper.HOUR_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"HOUR",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.MINUTE_func")),Ht(se.i18nt("designer.helper.MINUTE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"MINUTE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.SECOND_func")),Ht(se.i18nt("designer.helper.SECOND_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.any))],qr,"SECOND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEADD_func")),Ht(se.i18nt("designer.helper.DATEADD_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.DATEADD_date"),"date",We.any)),mt(1,vt(!0,se.i18nt("designer.helper.DATEADD_delta_num"),"delta_num",We.number)),mt(2,vt(!1,se.i18nt("designer.helper.DATEADD_delta_type"),"delta_type",We.string))],qr,"DATEADD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEDIFF_func")),Ht(se.i18nt("designer.helper.DATEDIFF_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"date1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"date2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DATEDIFF",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DATEDIFFPART_func")),Ht(se.i18nt("designer.helper.DATEDIFFPART_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"date1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"date2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DATEDIFFPART",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYS360_func")),Ht(se.i18nt("designer.helper.DAYS360_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date1"),"d1",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.date2"),"d2",We.date)),mt(2,vt(!1,se.i18nt("designer.helper.diff_type"),"diff_type",We.string))],qr,"DAYS360",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYBEGIN_func")),Ht(se.i18nt("designer.helper.DAYBEGIN_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"DAYBEGIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.DAYEND_func")),Ht(se.i18nt("designer.helper.DAYEND_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"DAYEND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEARBEGIN_func")),Ht(se.i18nt("designer.helper.YEARBEGIN_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"YEARBEGIN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.YEAREND_func")),Ht(se.i18nt("designer.helper.YEAREND_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"YEAREND",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.WEEKNUM_func")),Ht(se.i18nt("designer.helper.WEEKNUM_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date)),mt(1,vt(!0,se.i18nt("designer.helper.WEEKNUM_return_type"),"return_type",We.date))],qr,"WEEKNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISOWEEKNUM_func")),Ht(se.i18nt("designer.helper.ISOWEEKNUM_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.date"),"date",We.date))],qr,"ISOWEEKNUM",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETAGEBYBIRTH_func")),Ht(se.i18nt("designer.helper.GETAGEBYBIRTH_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.birthday"),"birthday",We.string))],qr,"GETAGEBYBIRTH",1),qr=Mt([Yc(se.i18nt("designer.expression.helpers_time"))],qr);let Ua=class{static ASSIGN(...e){return!e||e.length<=0?null:Object.assign({},...e)}static TOJSON(e){return Zr(e)}static FROMJSON(e){return ii(e)}static VALIDIDCARD(e){return Fl.isValid(e)}static GETBIRTHDAY(e){const t=Fl.getInfo(e);return Ds.dateToString(t==null?void 0:t.birthday)}static GETAGE(e){const t=Fl.getInfo(e);return t==null?void 0:t.age}static GETSEXCODE(e){const t=Fl.getInfo(e);return t==null?void 0:t.sexCode}static GETSEXNAME(e){const t=Fl.getInfo(e);return t==null?void 0:t.sexName}static GETPROVINCE(e){const t=Fl.getInfo(e);return t==null?void 0:t.provinceCode}static GETPROVINCENAME(e){const t=Fl.getInfo(e);return t==null?void 0:t.provinceName}static GETCHECKEDNAME(e,t="label"){var n;return(n=e==null?void 0:e[0])==null?void 0:n[t]}static GETCHECKEDNAMES(e,t="label"){return e==null?void 0:e.map(n=>n==null?void 0:n[t])}};Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ASSIGN_func")),Ht(se.i18nt("designer.helper.ASSIGN_return"),We.object),mt(0,vt(!0,se.i18nt("designer.helper.ASSIGN_args"),"array",We.array))],Ua,"ASSIGN",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.TOJSON_func")),Ht(se.i18nt("designer.helper.TOJSON_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.TOJSON_args"),"args",We.any))],Ua,"TOJSON",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.FROMJSON_func")),Ht(se.i18nt("designer.helper.FROMJSON_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.FROMJSON_args"),"text",We.string))],Ua,"FROMJSON",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.ISVALIDIDCARD_func")),Ht(se.i18nt("designer.helper.ISVALIDIDCARD_return"),We.boolean),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"VALIDIDCARD",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETBIRTHDAY_func")),Ht(se.i18nt("designer.helper.GETBIRTHDAY_return"),We.date),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETBIRTHDAY",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETAGE_func")),Ht(se.i18nt("designer.helper.GETAGE_return"),We.number),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETAGE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETSEXCODE_func")),Ht(se.i18nt("designer.helper.GETSEXCODE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETSEXCODE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETSEXNAME_func")),Ht(se.i18nt("designer.helper.GETSEXNAME_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETSEXNAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETPROVINCE_func")),Ht(se.i18nt("designer.helper.GETPROVINCE_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETPROVINCE",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETPROVINCENAME_func")),Ht(se.i18nt("designer.helper.GETPROVINCENAME_return"),We.string),mt(0,vt(!0,se.i18nt("designer.helper.idcard"),"idcard",We.string))],Ua,"GETPROVINCENAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETCHECKEDNAME_func")),Ht(se.i18nt("designer.helper.GETCHECKEDNAME_return"),We.any),mt(0,vt(!0,se.i18nt("designer.helper.GETCHECKEDNAME_items"),"items",We.array)),mt(1,vt(!1,se.i18nt("designer.helper.GETCHECKEDNAME_itemName"),"itemName",We.string))],Ua,"GETCHECKEDNAME",1),Mt([Ut(),zt(),Vt(se.i18nt("designer.helper.GETCHECKEDNAMES_func")),Ht(se.i18nt("designer.helper.GETCHECKEDNAMES_return"),We.array),mt(0,vt(!0,se.i18nt("designer.helper.GETCHECKEDNAMES_items"),"items",We.array)),mt(1,vt(!1,se.i18nt("designer.helper.GETCHECKEDNAMES_itemName"),"itemName",We.string))],Ua,"GETCHECKEDNAMES",1),Ua=Mt([Yc(se.i18nt("designer.expression.helpers_other"))],Ua);const Mee=function(e,t=""){if(!e)return;let n=document.getElementsByTagName("head")[0],r="vform-custom-css",a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("style");o.type="text/css",o.id=t?r+"-"+t:r;try{o.appendChild(document.createTextNode(e.toString()))}catch{o.innerHTML=e.toString()}n.appendChild(o)},Lee=function(e,t=""){let n=document.getElementsByTagName("body")[0];var r="v_form_global_functions";let a=document.getElementById(r);a&&n.removeChild(a),t&&(a=document.getElementById(r+"-"+t),a&&n.removeChild(a));let o=document.createElement("script");o.id=t?r+"-"+t:r,o.type="text/javascript",o.innerHTML=e.toString(),n.appendChild(o)},Ree=e=>{var n;var t=(n=Xn(e))==null?void 0:n.toString();return t==null?void 0:t.replace(/\r|\n/g,"<br />")},jee=e=>e&&(new DOMParser().parseFromString(e,"text/html").documentElement.textContent||"");var IP=[mi,qr,Ca,Si,Vo,Pu,Ua];const Vee=()=>{const e=[];return IP.forEach(t=>{var r,a;var n=Object.getOwnPropertyNames(t).filter(o=>["length","name","prototype"].indexOf(o)===-1).map(o=>{var i=Object.getOwnPropertyDescriptor(t,o);return Kd.registerHelper(o,i==null?void 0:i.value),o});e.push({label:(r=Reflect.getMetadata(hE,t))==null?void 0:r.name,comment:(a=Reflect.getMetadata(hE,t))==null?void 0:a.comment,children:n.map(o=>({label:o,comment:Reflect.getMetadata(OP,t,o),returnType:Reflect.getMetadata(BP,t,o),caller:Reflect.getMetadata(kP,t,o)}))})}),e},zee=()=>{const e={};return IP.forEach(t=>{Object.getOwnPropertyNames(t).filter(n=>["length","name","prototype"].indexOf(n)===-1).map(n=>{var r=Object.getOwnPropertyDescriptor(t,n);e[n]=r==null?void 0:r.value})}),e},Uee=(e,t,n)=>{if(e){var r=Kd.compile(e);try{var a=r(t);return Hee(jee(a),n)}catch(o){throw zi.error("expression compile",o,{tmpl:e,data:t,funcName:n}),o}}},Hee=(e,t)=>{if(!t)return e;let n,r;return dE==null||dE.forEach(a=>{var o;(o=Array.from(a==null?void 0:a.children))==null||o.forEach(i=>{var u;(i==null?void 0:i.label)===t&&(n=jt((u=i==null?void 0:i.returnType)==null?void 0:u.dataType),r=Wee(e,n))})}),r},Wee=(e,t)=>{if(!Ki(e))switch(t){case We.number:return e===null||e===""?void 0:_u(e);case We.boolean:return e==="true";case We.object:case We.array:return e!=null&&e.startsWith("[")?ri(ii(e),!0):ri(e==null?void 0:e.split(","),!0);case We.string:default:return e}},dE=Vee();var vE={},Gee={get exports(){return vE},set exports(e){vE=e}};function s0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ry={},Kee={get exports(){return ry},set exports(e){ry=e}};const Xee=dD(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var NP;function Tr(){return NP||(NP=1,function(e,t){(function(n,r){e.exports=r()})(Zn,function(){var n=n||function(r,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Zn<"u"&&Zn.crypto&&(o=Zn.crypto),!o&&typeof s0=="function")try{o=Xee}catch{}var i=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function y(){}return function(b){var _;return y.prototype=b,_=new y,y.prototype=null,_}}(),s={},l=s.lib={},c=l.Base=function(){return{extend:function(y){var b=u(this);return y&&b.mixIn(y),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var b in y)y.hasOwnProperty(b)&&(this[b]=y[b]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=l.WordArray=c.extend({init:function(y,b){y=this.words=y||[],b!=a?this.sigBytes=b:this.sigBytes=y.length*4},toString:function(y){return(y||d).stringify(this)},concat:function(y){var b=this.words,_=y.words,E=this.sigBytes,w=y.sigBytes;if(this.clamp(),E%4)for(var S=0;S<w;S++){var A=_[S>>>2]>>>24-S%4*8&255;b[E+S>>>2]|=A<<24-(E+S)%4*8}else for(var P=0;P<w;P+=4)b[E+P>>>2]=_[P>>>2];return this.sigBytes+=w,this},clamp:function(){var y=this.words,b=this.sigBytes;y[b>>>2]&=4294967295<<32-b%4*8,y.length=r.ceil(b/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var b=[],_=0;_<y;_+=4)b.push(i());return new f.init(b,y)}}),h=s.enc={},d=h.Hex={stringify:function(y){for(var b=y.words,_=y.sigBytes,E=[],w=0;w<_;w++){var S=b[w>>>2]>>>24-w%4*8&255;E.push((S>>>4).toString(16)),E.push((S&15).toString(16))}return E.join("")},parse:function(y){for(var b=y.length,_=[],E=0;E<b;E+=2)_[E>>>3]|=parseInt(y.substr(E,2),16)<<24-E%8*4;return new f.init(_,b/2)}},v=h.Latin1={stringify:function(y){for(var b=y.words,_=y.sigBytes,E=[],w=0;w<_;w++){var S=b[w>>>2]>>>24-w%4*8&255;E.push(String.fromCharCode(S))}return E.join("")},parse:function(y){for(var b=y.length,_=[],E=0;E<b;E++)_[E>>>2]|=(y.charCodeAt(E)&255)<<24-E%4*8;return new f.init(_,b)}},m=h.Utf8={stringify:function(y){try{return decodeURIComponent(escape(v.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return v.parse(unescape(encodeURIComponent(y)))}},p=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var b,_=this._data,E=_.words,w=_.sigBytes,S=this.blockSize,A=S*4,P=w/A;y?P=r.ceil(P):P=r.max((P|0)-this._minBufferSize,0);var C=P*S,D=r.min(C*4,w);if(C){for(var O=0;O<C;O+=S)this._doProcessBlock(E,O);b=E.splice(0,C),_.sigBytes-=D}return new f.init(b,D)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});l.Hasher=p.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(y){return function(b,_){return new y.init(_).finalize(b)}},_createHmacHelper:function(y){return function(b,_){return new g.HMAC.init(y,_).finalize(b)}}});var g=s.algo={};return s}(Math);return n})}(Kee)),ry}var iy={},Yee={get exports(){return iy},set exports(e){iy=e}},FP;function ay(){return FP||(FP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.Base,u=o.WordArray,s=a.x64={};s.Word=i.extend({init:function(l,c){this.high=l,this.low=c}}),s.WordArray=i.extend({init:function(l,c){l=this.words=l||[],c!=r?this.sigBytes=c:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,c=l.length,f=[],h=0;h<c;h++){var d=l[h];f.push(d.high),f.push(d.low)}return u.create(f,this.sigBytes)},clone:function(){for(var l=i.clone.call(this),c=l.words=this.words.slice(0),f=c.length,h=0;h<f;h++)c[h]=c[h].clone();return l}})}(),n})}(Yee)),iy}var oy={},Jee={get exports(){return oy},set exports(e){oy=e}},MP;function Zee(){return MP||(MP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,o=a.WordArray,i=o.init,u=o.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var l=s.byteLength,c=[],f=0;f<l;f++)c[f>>>2]|=s[f]<<24-f%4*8;i.call(this,c,l)}else i.apply(this,arguments)};u.prototype=o}}(),n.lib.WordArray})}(Jee)),oy}var sy={},Qee={get exports(){return sy},set exports(e){sy=e}},LP;function qee(){return LP||(LP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(s){for(var l=s.words,c=s.sigBytes,f=[],h=0;h<c;h+=2){var d=l[h>>>2]>>>16-h%4*8&65535;f.push(String.fromCharCode(d))}return f.join("")},parse:function(s){for(var l=s.length,c=[],f=0;f<l;f++)c[f>>>1]|=s.charCodeAt(f)<<16-f%2*16;return o.create(c,l*2)}},i.Utf16LE={stringify:function(s){for(var l=s.words,c=s.sigBytes,f=[],h=0;h<c;h+=2){var d=u(l[h>>>2]>>>16-h%4*8&65535);f.push(String.fromCharCode(d))}return f.join("")},parse:function(s){for(var l=s.length,c=[],f=0;f<l;f++)c[f>>>1]|=u(s.charCodeAt(f)<<16-f%2*16);return o.create(c,l*2)}};function u(s){return s<<8&4278255360|s>>>8&16711935}}(),n.enc.Utf16})}(Qee)),sy}var ly={},$ee={get exports(){return ly},set exports(e){ly=e}},RP;function Jc(){return RP||(RP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,f=this._map;s.clamp();for(var h=[],d=0;d<c;d+=3)for(var v=l[d>>>2]>>>24-d%4*8&255,m=l[d+1>>>2]>>>24-(d+1)%4*8&255,p=l[d+2>>>2]>>>24-(d+2)%4*8&255,g=v<<16|m<<8|p,y=0;y<4&&d+y*.75<c;y++)h.push(f.charAt(g>>>6*(3-y)&63));var b=f.charAt(64);if(b)for(;h.length%4;)h.push(b);return h.join("")},parse:function(s){var l=s.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<c.length;h++)f[c.charCodeAt(h)]=h}var d=c.charAt(64);if(d){var v=s.indexOf(d);v!==-1&&(l=v)}return u(s,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(s,l,c){for(var f=[],h=0,d=0;d<l;d++)if(d%4){var v=c[s.charCodeAt(d-1)]<<d%4*2,m=c[s.charCodeAt(d)]>>>6-d%4*2,p=v|m;f[h>>>2]|=p<<24-h%4*8,h++}return o.create(f,h)}}(),n.enc.Base64})}($ee)),ly}var uy={},ete={get exports(){return uy},set exports(e){uy=e}},jP;function tte(){return jP||(jP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.enc;i.Base64url={stringify:function(s,l){l===void 0&&(l=!0);var c=s.words,f=s.sigBytes,h=l?this._safe_map:this._map;s.clamp();for(var d=[],v=0;v<f;v+=3)for(var m=c[v>>>2]>>>24-v%4*8&255,p=c[v+1>>>2]>>>24-(v+1)%4*8&255,g=c[v+2>>>2]>>>24-(v+2)%4*8&255,y=m<<16|p<<8|g,b=0;b<4&&v+b*.75<f;b++)d.push(h.charAt(y>>>6*(3-b)&63));var _=h.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(s,l){l===void 0&&(l=!0);var c=s.length,f=l?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var d=0;d<f.length;d++)h[f.charCodeAt(d)]=d}var v=f.charAt(64);if(v){var m=s.indexOf(v);m!==-1&&(c=m)}return u(s,c,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function u(s,l,c){for(var f=[],h=0,d=0;d<l;d++)if(d%4){var v=c[s.charCodeAt(d-1)]<<d%4*2,m=c[s.charCodeAt(d)]>>>6-d%4*2,p=v|m;f[h>>>2]|=p<<24-h%4*8,h++}return o.create(f,h)}}(),n.enc.Base64url})}(ete)),uy}var cy={},nte={get exports(){return cy},set exports(e){cy=e}},VP;function Zc(){return VP||(VP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.algo,l=[];(function(){for(var m=0;m<64;m++)l[m]=r.abs(r.sin(m+1))*4294967296|0})();var c=s.MD5=u.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,p){for(var g=0;g<16;g++){var y=p+g,b=m[y];m[y]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var _=this._hash.words,E=m[p+0],w=m[p+1],S=m[p+2],A=m[p+3],P=m[p+4],C=m[p+5],D=m[p+6],O=m[p+7],k=m[p+8],I=m[p+9],N=m[p+10],F=m[p+11],R=m[p+12],M=m[p+13],j=m[p+14],W=m[p+15],L=_[0],z=_[1],G=_[2],Y=_[3];L=f(L,z,G,Y,E,7,l[0]),Y=f(Y,L,z,G,w,12,l[1]),G=f(G,Y,L,z,S,17,l[2]),z=f(z,G,Y,L,A,22,l[3]),L=f(L,z,G,Y,P,7,l[4]),Y=f(Y,L,z,G,C,12,l[5]),G=f(G,Y,L,z,D,17,l[6]),z=f(z,G,Y,L,O,22,l[7]),L=f(L,z,G,Y,k,7,l[8]),Y=f(Y,L,z,G,I,12,l[9]),G=f(G,Y,L,z,N,17,l[10]),z=f(z,G,Y,L,F,22,l[11]),L=f(L,z,G,Y,R,7,l[12]),Y=f(Y,L,z,G,M,12,l[13]),G=f(G,Y,L,z,j,17,l[14]),z=f(z,G,Y,L,W,22,l[15]),L=h(L,z,G,Y,w,5,l[16]),Y=h(Y,L,z,G,D,9,l[17]),G=h(G,Y,L,z,F,14,l[18]),z=h(z,G,Y,L,E,20,l[19]),L=h(L,z,G,Y,C,5,l[20]),Y=h(Y,L,z,G,N,9,l[21]),G=h(G,Y,L,z,W,14,l[22]),z=h(z,G,Y,L,P,20,l[23]),L=h(L,z,G,Y,I,5,l[24]),Y=h(Y,L,z,G,j,9,l[25]),G=h(G,Y,L,z,A,14,l[26]),z=h(z,G,Y,L,k,20,l[27]),L=h(L,z,G,Y,M,5,l[28]),Y=h(Y,L,z,G,S,9,l[29]),G=h(G,Y,L,z,O,14,l[30]),z=h(z,G,Y,L,R,20,l[31]),L=d(L,z,G,Y,C,4,l[32]),Y=d(Y,L,z,G,k,11,l[33]),G=d(G,Y,L,z,F,16,l[34]),z=d(z,G,Y,L,j,23,l[35]),L=d(L,z,G,Y,w,4,l[36]),Y=d(Y,L,z,G,P,11,l[37]),G=d(G,Y,L,z,O,16,l[38]),z=d(z,G,Y,L,N,23,l[39]),L=d(L,z,G,Y,M,4,l[40]),Y=d(Y,L,z,G,E,11,l[41]),G=d(G,Y,L,z,A,16,l[42]),z=d(z,G,Y,L,D,23,l[43]),L=d(L,z,G,Y,I,4,l[44]),Y=d(Y,L,z,G,R,11,l[45]),G=d(G,Y,L,z,W,16,l[46]),z=d(z,G,Y,L,S,23,l[47]),L=v(L,z,G,Y,E,6,l[48]),Y=v(Y,L,z,G,O,10,l[49]),G=v(G,Y,L,z,j,15,l[50]),z=v(z,G,Y,L,C,21,l[51]),L=v(L,z,G,Y,R,6,l[52]),Y=v(Y,L,z,G,A,10,l[53]),G=v(G,Y,L,z,N,15,l[54]),z=v(z,G,Y,L,w,21,l[55]),L=v(L,z,G,Y,k,6,l[56]),Y=v(Y,L,z,G,W,10,l[57]),G=v(G,Y,L,z,D,15,l[58]),z=v(z,G,Y,L,M,21,l[59]),L=v(L,z,G,Y,P,6,l[60]),Y=v(Y,L,z,G,F,10,l[61]),G=v(G,Y,L,z,S,15,l[62]),z=v(z,G,Y,L,I,21,l[63]),_[0]=_[0]+L|0,_[1]=_[1]+z|0,_[2]=_[2]+G|0,_[3]=_[3]+Y|0},_doFinalize:function(){var m=this._data,p=m.words,g=this._nDataBytes*8,y=m.sigBytes*8;p[y>>>5]|=128<<24-y%32;var b=r.floor(g/4294967296),_=g;p[(y+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p[(y+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,m.sigBytes=(p.length+1)*4,this._process();for(var E=this._hash,w=E.words,S=0;S<4;S++){var A=w[S];w[S]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return E},clone:function(){var m=u.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,p,g,y,b,_,E){var w=m+(p&g|~p&y)+b+E;return(w<<_|w>>>32-_)+p}function h(m,p,g,y,b,_,E){var w=m+(p&y|g&~y)+b+E;return(w<<_|w>>>32-_)+p}function d(m,p,g,y,b,_,E){var w=m+(p^g^y)+b+E;return(w<<_|w>>>32-_)+p}function v(m,p,g,y,b,_,E){var w=m+(g^(p|~y))+b+E;return(w<<_|w>>>32-_)+p}a.MD5=u._createHelper(c),a.HmacMD5=u._createHmacHelper(c)}(Math),n.MD5})}(nte)),cy}var fy={},rte={get exports(){return fy},set exports(e){fy=e}},zP;function UP(){return zP||(zP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.Hasher,u=r.algo,s=[],l=u.SHA1=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var h=this._hash.words,d=h[0],v=h[1],m=h[2],p=h[3],g=h[4],y=0;y<80;y++){if(y<16)s[y]=c[f+y]|0;else{var b=s[y-3]^s[y-8]^s[y-14]^s[y-16];s[y]=b<<1|b>>>31}var _=(d<<5|d>>>27)+g+s[y];y<20?_+=(v&m|~v&p)+1518500249:y<40?_+=(v^m^p)+1859775393:y<60?_+=(v&m|v&p|m&p)-1894007588:_+=(v^m^p)-899497514,g=p,p=m,m=v<<30|v>>>2,v=d,d=_}h[0]=h[0]+d|0,h[1]=h[1]+v|0,h[2]=h[2]+m|0,h[3]=h[3]+p|0,h[4]=h[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,d=c.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),f[(d+64>>>9<<4)+15]=h,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=i.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=i._createHelper(l),r.HmacSHA1=i._createHmacHelper(l)}(),n.SHA1})}(rte)),fy}var py={},ite={get exports(){return py},set exports(e){py=e}},HP;function mE(){return HP||(HP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.algo,l=[],c=[];(function(){function d(g){for(var y=r.sqrt(g),b=2;b<=y;b++)if(!(g%b))return!1;return!0}function v(g){return(g-(g|0))*4294967296|0}for(var m=2,p=0;p<64;)d(m)&&(p<8&&(l[p]=v(r.pow(m,1/2))),c[p]=v(r.pow(m,1/3)),p++),m++})();var f=[],h=s.SHA256=u.extend({_doReset:function(){this._hash=new i.init(l.slice(0))},_doProcessBlock:function(d,v){for(var m=this._hash.words,p=m[0],g=m[1],y=m[2],b=m[3],_=m[4],E=m[5],w=m[6],S=m[7],A=0;A<64;A++){if(A<16)f[A]=d[v+A]|0;else{var P=f[A-15],C=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,D=f[A-2],O=(D<<15|D>>>17)^(D<<13|D>>>19)^D>>>10;f[A]=C+f[A-7]+O+f[A-16]}var k=_&E^~_&w,I=p&g^p&y^g&y,N=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),F=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),R=S+F+k+c[A]+f[A],M=N+I;S=w,w=E,E=_,_=b+R|0,b=y,y=g,g=p,p=R+M|0}m[0]=m[0]+p|0,m[1]=m[1]+g|0,m[2]=m[2]+y|0,m[3]=m[3]+b|0,m[4]=m[4]+_|0,m[5]=m[5]+E|0,m[6]=m[6]+w|0,m[7]=m[7]+S|0},_doFinalize:function(){var d=this._data,v=d.words,m=this._nDataBytes*8,p=d.sigBytes*8;return v[p>>>5]|=128<<24-p%32,v[(p+64>>>9<<4)+14]=r.floor(m/4294967296),v[(p+64>>>9<<4)+15]=m,d.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var d=u.clone.call(this);return d._hash=this._hash.clone(),d}});a.SHA256=u._createHelper(h),a.HmacSHA256=u._createHmacHelper(h)}(Math),n.SHA256})}(ite)),py}var hy={},ate={get exports(){return hy},set exports(e){hy=e}},WP;function ote(){return WP||(WP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),mE())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=r.algo,u=i.SHA256,s=i.SHA224=u.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=4,l}});r.SHA224=u._createHelper(s),r.HmacSHA224=u._createHmacHelper(s)}(),n.SHA224})}(ate)),hy}var dy={},ste={get exports(){return dy},set exports(e){dy=e}},GP;function KP(){return GP||(GP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.Hasher,i=r.x64,u=i.Word,s=i.WordArray,l=r.algo;function c(){return u.create.apply(u,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],h=[];(function(){for(var v=0;v<80;v++)h[v]=c()})();var d=l.SHA512=o.extend({_doReset:function(){this._hash=new s.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(v,m){for(var p=this._hash.words,g=p[0],y=p[1],b=p[2],_=p[3],E=p[4],w=p[5],S=p[6],A=p[7],P=g.high,C=g.low,D=y.high,O=y.low,k=b.high,I=b.low,N=_.high,F=_.low,R=E.high,M=E.low,j=w.high,W=w.low,L=S.high,z=S.low,G=A.high,Y=A.low,Z=P,q=C,ue=D,ie=O,te=k,le=I,me=N,X=F,Q=R,ne=M,ce=j,fe=W,de=L,pe=z,Ee=G,De=Y,Ne=0;Ne<80;Ne++){var be,J,K=h[Ne];if(Ne<16)J=K.high=v[m+Ne*2]|0,be=K.low=v[m+Ne*2+1]|0;else{var ee=h[Ne-15],ve=ee.high,Ae=ee.low,Ie=(ve>>>1|Ae<<31)^(ve>>>8|Ae<<24)^ve>>>7,Be=(Ae>>>1|ve<<31)^(Ae>>>8|ve<<24)^(Ae>>>7|ve<<25),Fe=h[Ne-2],He=Fe.high,Ve=Fe.low,Ye=(He>>>19|Ve<<13)^(He<<3|Ve>>>29)^He>>>6,at=(Ve>>>19|He<<13)^(Ve<<3|He>>>29)^(Ve>>>6|He<<26),Ft=h[Ne-7],_t=Ft.high,Kt=Ft.low,Bt=h[Ne-16],Pt=Bt.high,pt=Bt.low;be=Be+Kt,J=Ie+_t+(be>>>0<Be>>>0?1:0),be=be+at,J=J+Ye+(be>>>0<at>>>0?1:0),be=be+pt,J=J+Pt+(be>>>0<pt>>>0?1:0),K.high=J,K.low=be}var kn=Q&ce^~Q&de,rt=ne&fe^~ne&pe,lt=Z&ue^Z&te^ue&te,re=q&ie^q&le^ie&le,ke=(Z>>>28|q<<4)^(Z<<30|q>>>2)^(Z<<25|q>>>7),Te=(q>>>28|Z<<4)^(q<<30|Z>>>2)^(q<<25|Z>>>7),Me=(Q>>>14|ne<<18)^(Q>>>18|ne<<14)^(Q<<23|ne>>>9),Ue=(ne>>>14|Q<<18)^(ne>>>18|Q<<14)^(ne<<23|Q>>>9),ut=f[Ne],Et=ut.high,kt=ut.low,Gt=De+Ue,Dn=Ee+Me+(Gt>>>0<De>>>0?1:0),Gt=Gt+rt,Dn=Dn+kn+(Gt>>>0<rt>>>0?1:0),Gt=Gt+kt,Dn=Dn+Et+(Gt>>>0<kt>>>0?1:0),Gt=Gt+be,Dn=Dn+J+(Gt>>>0<be>>>0?1:0),mr=Te+re,si=ke+lt+(mr>>>0<Te>>>0?1:0);Ee=de,De=pe,de=ce,pe=fe,ce=Q,fe=ne,ne=X+Gt|0,Q=me+Dn+(ne>>>0<X>>>0?1:0)|0,me=te,X=le,te=ue,le=ie,ue=Z,ie=q,q=Gt+mr|0,Z=Dn+si+(q>>>0<Gt>>>0?1:0)|0}C=g.low=C+q,g.high=P+Z+(C>>>0<q>>>0?1:0),O=y.low=O+ie,y.high=D+ue+(O>>>0<ie>>>0?1:0),I=b.low=I+le,b.high=k+te+(I>>>0<le>>>0?1:0),F=_.low=F+X,_.high=N+me+(F>>>0<X>>>0?1:0),M=E.low=M+ne,E.high=R+Q+(M>>>0<ne>>>0?1:0),W=w.low=W+fe,w.high=j+ce+(W>>>0<fe>>>0?1:0),z=S.low=z+pe,S.high=L+de+(z>>>0<pe>>>0?1:0),Y=A.low=Y+De,A.high=G+Ee+(Y>>>0<De>>>0?1:0)},_doFinalize:function(){var v=this._data,m=v.words,p=this._nDataBytes*8,g=v.sigBytes*8;m[g>>>5]|=128<<24-g%32,m[(g+128>>>10<<5)+30]=Math.floor(p/4294967296),m[(g+128>>>10<<5)+31]=p,v.sigBytes=m.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var v=o.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:1024/32});r.SHA512=o._createHelper(d),r.HmacSHA512=o._createHmacHelper(d)}(),n.SHA512})}(ste)),dy}var vy={},lte={get exports(){return vy},set exports(e){vy=e}},XP;function ute(){return XP||(XP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay(),KP())})(Zn,function(n){return function(){var r=n,a=r.x64,o=a.Word,i=a.WordArray,u=r.algo,s=u.SHA512,l=u.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=s._createHelper(l),r.HmacSHA384=s._createHmacHelper(l)}(),n.SHA384})}(lte)),vy}var my={},cte={get exports(){return my},set exports(e){my=e}},YP;function fte(){return YP||(YP=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ay())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.WordArray,u=o.Hasher,s=a.x64,l=s.Word,c=a.algo,f=[],h=[],d=[];(function(){for(var p=1,g=0,y=0;y<24;y++){f[p+5*g]=(y+1)*(y+2)/2%64;var b=g%5,_=(2*p+3*g)%5;p=b,g=_}for(var p=0;p<5;p++)for(var g=0;g<5;g++)h[p+5*g]=g+(2*p+3*g)%5*5;for(var E=1,w=0;w<24;w++){for(var S=0,A=0,P=0;P<7;P++){if(E&1){var C=(1<<P)-1;C<32?A^=1<<C:S^=1<<C-32}E&128?E=E<<1^113:E<<=1}d[w]=l.create(S,A)}})();var v=[];(function(){for(var p=0;p<25;p++)v[p]=l.create()})();var m=c.SHA3=u.extend({cfg:u.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],g=0;g<25;g++)p[g]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,g){for(var y=this._state,b=this.blockSize/2,_=0;_<b;_++){var E=p[g+2*_],w=p[g+2*_+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var S=y[_];S.high^=w,S.low^=E}for(var A=0;A<24;A++){for(var P=0;P<5;P++){for(var C=0,D=0,O=0;O<5;O++){var S=y[P+5*O];C^=S.high,D^=S.low}var k=v[P];k.high=C,k.low=D}for(var P=0;P<5;P++)for(var I=v[(P+4)%5],N=v[(P+1)%5],F=N.high,R=N.low,C=I.high^(F<<1|R>>>31),D=I.low^(R<<1|F>>>31),O=0;O<5;O++){var S=y[P+5*O];S.high^=C,S.low^=D}for(var M=1;M<25;M++){var C,D,S=y[M],j=S.high,W=S.low,L=f[M];L<32?(C=j<<L|W>>>32-L,D=W<<L|j>>>32-L):(C=W<<L-32|j>>>64-L,D=j<<L-32|W>>>64-L);var z=v[h[M]];z.high=C,z.low=D}var G=v[0],Y=y[0];G.high=Y.high,G.low=Y.low;for(var P=0;P<5;P++)for(var O=0;O<5;O++){var M=P+5*O,S=y[M],Z=v[M],q=v[(P+1)%5+5*O],ue=v[(P+2)%5+5*O];S.high=Z.high^~q.high&ue.high,S.low=Z.low^~q.low&ue.low}var S=y[0],ie=d[A];S.high^=ie.high,S.low^=ie.low}},_doFinalize:function(){var p=this._data,g=p.words;this._nDataBytes*8;var y=p.sigBytes*8,b=this.blockSize*32;g[y>>>5]|=1<<24-y%32,g[(r.ceil((y+1)/b)*b>>>5)-1]|=128,p.sigBytes=g.length*4,this._process();for(var _=this._state,E=this.cfg.outputLength/8,w=E/8,S=[],A=0;A<w;A++){var P=_[A],C=P.high,D=P.low;C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,S.push(D),S.push(C)}return new i.init(S,E)},clone:function(){for(var p=u.clone.call(this),g=p._state=this._state.slice(0),y=0;y<25;y++)g[y]=g[y].clone();return p}});a.SHA3=u._createHelper(m),a.HmacSHA3=u._createHmacHelper(m)}(Math),n.SHA3})}(cte)),my}var gy={},pte={get exports(){return gy},set exports(e){gy=e}},JP;function hte(){return JP||(JP=1,function(e,t){(function(n,r){e.exports=r(Tr())})(Zn,function(n){/** @preserve
|
|
56
56
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
57
57
|
|
|
58
58
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -65,7 +65,7 @@ Expecting `+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":O="Parse error on
|
|
|
65
65
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
66
66
|
* derived from CryptoJS.mode.CTR
|
|
67
67
|
* Jan Hruby jhruby.web@gmail.com
|
|
68
|
-
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(u){if((u>>24&255)===255){var s=u>>16&255,l=u>>8&255,c=u&255;s===255?(s=0,l===255?(l=0,c===255?c=0:++c):++l):++s,u=0,u+=s<<16,u+=l<<8,u+=c}else u+=1<<24;return u}function o(u){return(u[0]=a(u[0]))===0&&(u[1]=a(u[1])),u}var i=r.Encryptor=r.extend({processBlock:function(u,s){var l=this._cipher,c=l.blockSize,f=this._iv,h=this._counter;f&&(h=this._counter=f.slice(0),this._iv=void 0),o(h);var d=h.slice(0);l.encryptBlock(d,0);for(var v=0;v<c;v++)u[s+v]^=d[v]}});return r.Decryptor=i,r}(),n.mode.CTRGladman})}(wte)),Sy}var Cy={},Cte={get exports(){return Cy},set exports(e){Cy=e}},rO;function Ate(){return rO||(rO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(o,i){var u=this._cipher,s=u.blockSize,l=this._iv,c=this._keystream;l&&(c=this._keystream=l.slice(0),this._iv=void 0),u.encryptBlock(c,0);for(var f=0;f<s;f++)o[i+f]^=c[f]}});return r.Decryptor=a,r}(),n.mode.OFB})}(Cte)),Cy}var Ay={},Tte={get exports(){return Ay},set exports(e){Ay=e}},iO;function Dte(){return iO||(iO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,o){this._cipher.encryptBlock(a,o)}}),r.Decryptor=r.extend({processBlock:function(a,o){this._cipher.decryptBlock(a,o)}}),r}(),n.mode.ECB})}(Tte)),Ay}var Ty={},Pte={get exports(){return Ty},set exports(e){Ty=e}},aO;function Ote(){return aO||(aO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.AnsiX923={pad:function(r,a){var o=r.sigBytes,i=a*4,u=i-o%i,s=o+u-1;r.clamp(),r.words[s>>>2]|=u<<24-s%4*8,r.sigBytes+=u},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(Pte)),Ty}var Dy={},kte={get exports(){return Dy},set exports(e){Dy=e}},oO;function Bte(){return oO||(oO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.Iso10126={pad:function(r,a){var o=a*4,i=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(kte)),Dy}var Py={},Ite={get exports(){return Py},set exports(e){Py=e}},sO;function Nte(){return sO||(sO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Ite)),Py}var Oy={},Fte={get exports(){return Oy},set exports(e){Oy=e}},lO;function Mte(){return lO||(lO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.ZeroPadding={pad:function(r,a){var o=a*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var a=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(a[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(Fte)),Oy}var ky={},Lte={get exports(){return ky},set exports(e){ky=e}},uO;function Rte(){return uO||(uO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(Lte)),ky}var By={},jte={get exports(){return By},set exports(e){By=e}},cO;function Vte(){return cO||(cO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.CipherParams,u=a.enc,s=u.Hex,l=a.format;l.Hex={stringify:function(c){return c.ciphertext.toString(s)},parse:function(c){var f=s.parse(c);return i.create({ciphertext:f})}}}(),n.format.Hex})}(jte)),By}var Iy={},zte={get exports(){return Iy},set exports(e){Iy=e}},fO;function Ute(){return fO||(fO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo,u=[],s=[],l=[],c=[],f=[],h=[],d=[],v=[],m=[],p=[];(function(){for(var b=[],_=0;_<256;_++)_<128?b[_]=_<<1:b[_]=_<<1^283;for(var E=0,w=0,_=0;_<256;_++){var S=w^w<<1^w<<2^w<<3^w<<4;S=S>>>8^S&255^99,u[E]=S,s[S]=E;var A=b[E],P=b[A],C=b[P],D=b[S]*257^S*16843008;l[E]=D<<24|D>>>8,c[E]=D<<16|D>>>16,f[E]=D<<8|D>>>24,h[E]=D;var D=C*16843009^P*65537^A*257^E*16843008;d[S]=D<<24|D>>>8,v[S]=D<<16|D>>>16,m[S]=D<<8|D>>>24,p[S]=D,E?(E=A^b[b[b[C^A]]],w^=b[b[w]]):E=w=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=o.extend({_doReset:function(){var b;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,E=_.words,w=_.sigBytes/4,S=this._nRounds=w+6,A=(S+1)*4,P=this._keySchedule=[],C=0;C<A;C++)C<w?P[C]=E[C]:(b=P[C-1],C%w?w>6&&C%w==4&&(b=u[b>>>24]<<24|u[b>>>16&255]<<16|u[b>>>8&255]<<8|u[b&255]):(b=b<<8|b>>>24,b=u[b>>>24]<<24|u[b>>>16&255]<<16|u[b>>>8&255]<<8|u[b&255],b^=g[C/w|0]<<24),P[C]=P[C-w]^b);for(var D=this._invKeySchedule=[],O=0;O<A;O++){var C=A-O;if(O%4)var b=P[C];else var b=P[C-4];O<4||C<=4?D[O]=b:D[O]=d[u[b>>>24]]^v[u[b>>>16&255]]^m[u[b>>>8&255]]^p[u[b&255]]}}},encryptBlock:function(b,_){this._doCryptBlock(b,_,this._keySchedule,l,c,f,h,u)},decryptBlock:function(b,_){var E=b[_+1];b[_+1]=b[_+3],b[_+3]=E,this._doCryptBlock(b,_,this._invKeySchedule,d,v,m,p,s);var E=b[_+1];b[_+1]=b[_+3],b[_+3]=E},_doCryptBlock:function(b,_,E,w,S,A,P,C){for(var D=this._nRounds,O=b[_]^E[0],k=b[_+1]^E[1],I=b[_+2]^E[2],N=b[_+3]^E[3],F=4,R=1;R<D;R++){var M=w[O>>>24]^S[k>>>16&255]^A[I>>>8&255]^P[N&255]^E[F++],j=w[k>>>24]^S[I>>>16&255]^A[N>>>8&255]^P[O&255]^E[F++],W=w[I>>>24]^S[N>>>16&255]^A[O>>>8&255]^P[k&255]^E[F++],L=w[N>>>24]^S[O>>>16&255]^A[k>>>8&255]^P[I&255]^E[F++];O=M,k=j,I=W,N=L}var M=(C[O>>>24]<<24|C[k>>>16&255]<<16|C[I>>>8&255]<<8|C[N&255])^E[F++],j=(C[k>>>24]<<24|C[I>>>16&255]<<16|C[N>>>8&255]<<8|C[O&255])^E[F++],W=(C[I>>>24]<<24|C[N>>>16&255]<<16|C[O>>>8&255]<<8|C[k&255])^E[F++],L=(C[N>>>24]<<24|C[O>>>16&255]<<16|C[k>>>8&255]<<8|C[I&255])^E[F++];b[_]=M,b[_+1]=j,b[_+2]=W,b[_+3]=L},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(zte)),Iy}var Ny={},Hte={get exports(){return Ny},set exports(e){Ny=e}},pO;function Wte(){return pO||(pO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.BlockCipher,u=r.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=u.DES=i.extend({_doReset:function(){for(var g=this._key,y=g.words,b=[],_=0;_<56;_++){var E=s[_]-1;b[_]=y[E>>>5]>>>31-E%32&1}for(var w=this._subKeys=[],S=0;S<16;S++){for(var A=w[S]=[],P=c[S],_=0;_<24;_++)A[_/6|0]|=b[(l[_]-1+P)%28]<<31-_%6,A[4+(_/6|0)]|=b[28+(l[_+24]-1+P)%28]<<31-_%6;A[0]=A[0]<<1|A[0]>>>31;for(var _=1;_<7;_++)A[_]=A[_]>>>(_-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var C=this._invSubKeys=[],_=0;_<16;_++)C[_]=w[15-_]},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._subKeys)},decryptBlock:function(g,y){this._doCryptBlock(g,y,this._invSubKeys)},_doCryptBlock:function(g,y,b){this._lBlock=g[y],this._rBlock=g[y+1],v.call(this,4,252645135),v.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),v.call(this,1,1431655765);for(var _=0;_<16;_++){for(var E=b[_],w=this._lBlock,S=this._rBlock,A=0,P=0;P<8;P++)A|=f[P][((S^E[P])&h[P])>>>0];this._lBlock=S,this._rBlock=w^A}var C=this._lBlock;this._lBlock=this._rBlock,this._rBlock=C,v.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),g[y]=this._lBlock,g[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(g,y){var b=(this._lBlock>>>g^this._rBlock)&y;this._rBlock^=b,this._lBlock^=b<<g}function m(g,y){var b=(this._rBlock>>>g^this._lBlock)&y;this._lBlock^=b,this._rBlock^=b<<g}r.DES=i._createHelper(d);var p=u.TripleDES=i.extend({_doReset:function(){var g=this._key,y=g.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var b=y.slice(0,2),_=y.length<4?y.slice(0,2):y.slice(2,4),E=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=d.createEncryptor(o.create(b)),this._des2=d.createEncryptor(o.create(_)),this._des3=d.createEncryptor(o.create(E))},encryptBlock:function(g,y){this._des1.encryptBlock(g,y),this._des2.decryptBlock(g,y),this._des3.encryptBlock(g,y)},decryptBlock:function(g,y){this._des3.decryptBlock(g,y),this._des2.encryptBlock(g,y),this._des1.decryptBlock(g,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=i._createHelper(p)}(),n.TripleDES})}(Hte)),Ny}var Fy={},Gte={get exports(){return Fy},set exports(e){Fy=e}},hO;function Kte(){return hO||(hO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=i.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,h=c.sigBytes,d=this._S=[],v=0;v<256;v++)d[v]=v;for(var v=0,m=0;v<256;v++){var p=v%h,g=f[p>>>2]>>>24-p%4*8&255;m=(m+d[v]+g)%256;var y=d[v];d[v]=d[m],d[m]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var c=this._S,f=this._i,h=this._j,d=0,v=0;v<4;v++){f=(f+1)%256,h=(h+c[f])%256;var m=c[f];c[f]=c[h],c[h]=m,d|=c[(c[f]+c[h])%256]<<24-v*8}return this._i=f,this._j=h,d}r.RC4=o._createHelper(u);var l=i.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)s.call(this)}});r.RC4Drop=o._createHelper(l)}(),n.RC4})}(Gte)),Fy}var My={},Xte={get exports(){return My},set exports(e){My=e}},dO;function Yte(){return dO||(dO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.Rabbit=o.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],p=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)p[v]^=m[v+4&7];if(d){var g=d.words,y=g[0],b=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=_>>>16|E&4294901760,S=E<<16|_&65535;p[0]^=_,p[1]^=w,p[2]^=E,p[3]^=S,p[4]^=_,p[5]^=w,p[6]^=E,p[7]^=S;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,b=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^b}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(Xte)),My}var Ly={},Jte={get exports(){return Ly},set exports(e){Ly=e}},vO;function Zte(){return vO||(vO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.RabbitLegacy=o.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],m=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)m[p]^=v[p+4&7];if(d){var g=d.words,y=g[0],b=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=_>>>16|E&4294901760,S=E<<16|_&65535;m[0]^=_,m[1]^=w,m[2]^=E,m[3]^=S,m[4]^=_,m[5]^=w,m[6]^=E,m[7]^=S;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,b=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^b}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(Jte)),Ly}var Ry={},Qte={get exports(){return Ry},set exports(e){Ry=e}},mO;function qte(){return mO||(mO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo;const u=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(p,g){let y=g>>24&255,b=g>>16&255,_=g>>8&255,E=g&255,w=p.sbox[0][y]+p.sbox[1][b];return w=w^p.sbox[2][_],w=w+p.sbox[3][E],w}function h(p,g,y){let b=g,_=y,E;for(let w=0;w<u;++w)b=b^p.pbox[w],_=f(p,b)^_,E=b,b=_,_=E;return E=b,b=_,_=E,_=_^p.pbox[u],b=b^p.pbox[u+1],{left:b,right:_}}function d(p,g,y){let b=g,_=y,E;for(let w=u+1;w>1;--w)b=b^p.pbox[w],_=f(p,b)^_,E=b,b=_,_=E;return E=b,b=_,_=E,_=_^p.pbox[1],b=b^p.pbox[0],{left:b,right:_}}function v(p,g,y){for(let S=0;S<4;S++){p.sbox[S]=[];for(let A=0;A<256;A++)p.sbox[S][A]=l[S][A]}let b=0;for(let S=0;S<u+2;S++)p.pbox[S]=s[S]^g[b],b++,b>=y&&(b=0);let _=0,E=0,w=0;for(let S=0;S<u+2;S+=2)w=h(p,_,E),_=w.left,E=w.right,p.pbox[S]=_,p.pbox[S+1]=E;for(let S=0;S<4;S++)for(let A=0;A<256;A+=2)w=h(p,_,E),_=w.left,E=w.right,p.sbox[S][A]=_,p.sbox[S][A+1]=E;return!0}var m=i.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,g=p.words,y=p.sigBytes/4;v(c,g,y)}},encryptBlock:function(p,g){var y=h(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},decryptBlock:function(p,g){var y=d(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(Qte)),Ry}(function(e,t){(function(n,r,a){e.exports=r(Tr(),ay(),Zee(),qee(),Jc(),tte(),Zc(),UP(),mE(),ote(),KP(),ute(),fte(),hte(),gE(),mte(),Ou(),ra(),bte(),Ete(),Ste(),Ate(),Dte(),Ote(),Bte(),Nte(),Mte(),Rte(),Vte(),Ute(),Wte(),Kte(),Yte(),Zte(),qte())})(Zn,function(n){return n})})(Gee);const zo=vE;function gO(e,t,n,r,a){const o=a.parse(e),i={iv:t,mode:n,padding:r};return{encrypt:(l,c)=>{const f=a.parse(l),h=zo.AES.encrypt(f,o,i);return c?zo.enc.Hex.stringify(h==null?void 0:h.ciphertext):h.toString()},decrypt:(l,c)=>{if(c){const f={ciphertext:zo.enc.Hex.parse(l)},h=zo.AES.decrypt(f,o,i);return h==null?void 0:h.toString(a)}else return zo.AES.decrypt(l,o,i)}}}function $te(e,t){var n=gO(e,t,zo.mode.CBC,zo.pad.Pkcs7,zo.enc.Utf8);return n}function ene(e,t){var n=gO(e,t,zo.mode.ECB,zo.pad.Pkcs7,zo.enc.Utf8);return n}const{openWindow:tne}=jx(),{sendToIframe:nne,sendToParent:rne,receive:ine,sendToIframeByName:ane,send:one}=r5();function ku(e){return{instance:e.instance,i18n:se,util:{url:Nl,cookie:_D,localStorage:jc,service:fq,sysFunc:{...yO,idCardInfo:Fl,sortBy:MY,groupBy:dT,pageBy:vT},window:{openWindow:tne,findUp:go.findUp,findDown:go.findDown,find:go.find,findByIframeId:go.findByIframeId,findTop:go.findTop},message:{send:one,sendToIframe:nne,sendToParent:rne,sendToIframeByName:ane,receive:ine},tip:{ElMessage:xi.ElMessage,ElMessageBox:xi.ElMessageBox,ElNotification:xi.ElNotification},json:{fromJson:ii,toJson:Zr},security:{CryptoJS:zo,SM:{SMWithTraceKey:Aq,SM2:Ud,SM4:zx,SecInner:Og},AES:{CBC_Pkcs7:$te,ECB_Pkcs7:ene}}}}}const yO=zee();Wr.rowScope+"",se.i18nt("designer.var.rowScope");const yE=function(e){return{[xr.number]:/^[-+]?(\d+\.\d+|\d+|\.\d+)$/,[xr.letter]:/^[A-Za-z]+$/,[xr.letterAndNumber]:/^[A-Za-z0-9]+$/,[xr.letterStartNumberIncluded]:/^[A-Za-z]+[A-Za-z\d]*$/,[xr.mobilePhone]:/^[1][3-9][0-9]{9}$/,[xr.email]:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,[xr.url]:/^(https?|ftp):\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$/,[xr.noBlankStart]:/^[^\s].*$/,[xr.noBlankEnd]:/^.*[^\s]$/,[xr.noBlankStartEnd]:/^[^\s].*[^\s]$/,[xr.weakPassword]:/^[A-Za-z\d]{6,}$/,[xr.mediumPassword]:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/,[xr.strongPassword]:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{10,}$/,[xr.noChinese]:/^[^\u4e00-\u9fa5]+$/,[xr.chinese]:/^[\u4e00-\u9fa5]+$/,[xr.chinaIdcard]:Fl.isValid,[xr.required]:n=>n!=null&&n!==""&&(!Array.isArray(n)||n.length>0)}[e]},sne=(e,t,n)=>{var r=new Error(t);return r.rule=e,r.force=n,r},_O=(e,t,n,r,a)=>{e?n():n(sne(t,r,a))},jy=function(e,t,n,r,a,o){if(nx(e)){r();return}let i=a,u=!0;TY(e)?u=e==null?void 0:e(n):u=new RegExp(e).test(n),_O(u,t,r,i,o)},Aa=function(e,t,n,r,a,o){if(Cr(n)){r();return}if(Array.isArray(n)&&n.length<=0){r();return}jy(yE(e),t,n,r,a,o)},Hp={number(e,t,n,r){Aa(xr.number,e,t,n,se.i18nt("render.hint.numberFailed"),r)},letter(e,t,n,r){Aa(xr.letter,e,t,n,se.i18nt("render.hint.letterFailed"),r)},letterAndNumber(e,t,n,r){Aa(xr.letterAndNumber,e,t,n,se.i18nt("render.hint.letterAndNumberFailed"),r)},mobilePhone(e,t,n,r){Aa(xr.mobilePhone,e,t,n,se.i18nt("render.hint.mobilePhoneFailed"),r)},noBlankStart(e,t,n,r){Aa(xr.noBlankStart,e,t,n,se.i18nt("render.hint.noBlankStartFailed"),r)},noBlankEnd(e,t,n,r){Aa(xr.noBlankEnd,e,t,n,se.i18nt("render.hint.noBlankEndFailed"),r)},noBlankStartEnd(e,t,n,r){Aa(xr.noBlankStartEnd,e,t,n,se.i18nt("render.hint.noBlankStartEndFailed"),r)},letterStartNumberIncluded(e,t,n,r){Aa(xr.letterStartNumberIncluded,e,t,n,se.i18nt("render.hint.letterStartNumberIncludedFailed"),r)},noChinese(e,t,n,r){Aa(xr.noChinese,e,t,n,se.i18nt("render.hint.noChineseFailed"),r)},chinese(e,t,n,r){Aa(xr.chinese,e,t,n,se.i18nt("render.hint.chineseFailed"),r)},email(e,t,n,r){Aa(xr.email,e,t,n,se.i18nt("render.hint.emailFailed"),r)},url(e,t,n,r){Aa(xr.url,e,t,n,se.i18nt("render.hint.urlFailed"),r)},chinaIdcard(e,t,n,r){Aa(xr.chinaIdcard,e,t,n,se.i18nt("render.hint.chinaIdcardFailed"),r)},weakPassword(e,t,n,r){Aa(xr.weakPassword,e,t,n,se.i18nt("render.hint.weakPasswordFailed"),r)},mediumPassword(e,t,n,r){Aa(xr.mediumPassword,e,t,n,se.i18nt("render.hint.mediumPasswordFailed"),r)},strongPassword(e,t,n,r){Aa(xr.strongPassword,e,t,n,se.i18nt("render.hint.strongPasswordFailed"),r)},required(e,t,n,r,a){let o=a||se.i18nt("render.hint.fieldRequired");jy(yE(xr.required),e,t,n,o,r)},regExp(e,t,n,r,a,o){return jy(o,e,t,n,a||"invalid value",r)},range(e,t,n,r,a,o){return jy(o,e,t,n,a||"invalid value",r)}};function Uo(e,t,n,r){const a=t==null?void 0:t.designState,o=t,i=be=>e?ft.getOptions(e,be,!0)!=null:!1,u=(be,J=!1)=>e?ft.getOptions(e,be,J,!a,o):null,s=(be,J)=>{if(e)return ft.setOptions(e,be,J)},l=(be,J)=>{na(e==null?void 0:e.options,be)&&s(be,J)},c=be=>{const J=ft.getOrgOption(e,be);return m(J)},f=(be,J,K=!1)=>{var Ae;const ee=(Ae=e==null?void 0:e.options)==null?void 0:Ae[be];var ve=K?ye.getValue(ee,!1,!a,{...o,schemaParams:J}):c(be);return ve},h=(be,J,K,ee)=>{if(!J)return;K==null||K();const ve=kr(E.value).includes(J)?E:kr(S.value).includes(J)?S:null;if(be&&ve)x.watch(()=>{var Ae;return(Ae=ve==null?void 0:ve.value)==null?void 0:Ae[J]},(Ae,Ie)=>{ee==null||ee(Ae,Ie)},{immediate:!0});else{const Ae=u(J);x.isRef(Ae)?x.watch(Ae,(Ie,Be)=>{ee==null||ee(Ie,Be)},{immediate:!0}):ee==null||ee(Ae,null)}},d=(be,J)=>{e&&ft.setEnable(e,be,J)},v=(be,J,K)=>lq(be,J,K,t),m=be=>{var J=ye.getType(be),K=ye.getValue(be,!1,!a,o);switch(J){case Se.dataObject:{const ee=ft.getOptions(be,"type");if(ta(K)&&ee){if([We.array,We.object].includes(ee))return K==null||K===""?null:ii(String(K||""));if([We.bigint,We.number].includes(ee))return _u(K)}return K}case Se.slot:return ZD(K);case Se.icon:{const{instance:ee}=Sa(r);return ee?N5(K,ee):K}case Se.event:case Se.placerHook:case Se.hook:{if(Cr(K)||K===""||a)break;return(...ve)=>{let Ae={};var Ie=1;ve==null||ve.map(Ve=>Ae["args"+Ie++]=Ve);const{instance:Be}=Sa(r||(o==null?void 0:o.instance)),Fe=ku({instance:Be});Ae[rr.externalArgs]=Fe;const He=K;return He!=null&&He.type?v(He,Ae,Be):Js(K,Ae)}}default:return K}},p=(be,J,K)=>{var ee=ye.getOptions(be),ve={};return ve.slotName=(ee==null?void 0:ee.slotName)||J,(be==null?void 0:be.widgetList)===void 0?ve.widgetList=[]:ve.widgetList=be==null?void 0:be.widgetList,ve.default=K?x.shallowRef(K):null,Object.assign(be,ve)},g=(be,J=!1,K)=>{var ve;var ee={};return!e||!e.options||(ve=Object.entries(e==null?void 0:e.options))==null||ve.forEach(([Ae,Ie])=>{if(!(K&&!(K!=null&&K(Ae)))){var Be=ye.getOrgType(Ie);if(be.includes(Be)){var Fe=J?ye.getValue(Ie,!1,!a,o):c(Ae);Be===Se.slot?ee[Ae]=p(Ie,Ae,Fe):Ki(Fe)||(ee[Ae]=Fe)}else Be||[Se.prop].some(He=>be.includes(He))&&(ee[Ae]=Ie)}}),ee},y=be=>{const J=be==null?void 0:be.type;var K=[];return J&&(K=[],be.formItemFlag&&(K=K.concat(["name","defaultValue"]))),K},b=be=>{const J=u(Xt.state);J!=null&&x.isRef(J)&&(be.readonly=x.computed(()=>Fo(J)===Ol.readonly),be.disabled=x.computed(()=>{var K=!i(Ol.readonly),ee=Fo(J)===Ol.disabled,ve=Fo(J)===Ol.readonly;return K?ee:ee||ve}),be.hidden=x.computed(()=>Fo(J)===Ol.hidden),be.custom=x.computed(()=>Fo(J)===Ol.custom))},_=()=>{var be=y(e)||[],J=g([Se.icon,Se.hook,Se.variable,Se.prop,Se.dataObject],!1,K=>{var ee=!(n!=null&&n.fn_attr)||(n==null?void 0:n.fn_attr(K)),ve=!be.includes(K);return ve&&ee});return b(J),x.reactive(J)},E=n!=null&&n.s_attr?x.computed(()=>_()):x.ref(),w=()=>{var be=g([Se.placer,Se.placerHook]);return x.reactive(be)},S=n!=null&&n.s_extendAttr?x.computed(()=>w()):x.ref(),A=n!=null&&n.s_events?x.computed(()=>g([Se.event])):x.ref(),P=n!=null&&n.s_fieldName?x.computed({get:()=>u(Xt.name),set:be=>{s(Xt.name,be)}}):x.ref(),C=be=>ye.isComplexValue(e==null?void 0:e.options[be]),D=(be=!1)=>{var J=u(rr.defaultValue,!0);return na(e==null?void 0:e.options,rr.defaultValue)&&(!be||J!=null)},O=()=>{var J,K,ee,ve,Ae;if(!D())return;let be=u(rr.defaultValue);if(na(e==null?void 0:e.options,Xt.optionItems)&&!C(rr.defaultValue)){const Ie=Fo(u(rr.multiple));if((Ie||Array.isArray(be))&&((J=jt(be))==null?void 0:J.length)<=0)return(ee=(K=Fo(M==null?void 0:M.value))==null?void 0:K.filter(Be=>Be==null?void 0:Be.isdefault))==null?void 0:ee.map(Be=>Be==null?void 0:Be.value);if((Ie===!1||Cr(Ie)||!Array.isArray(be))&&Cr(be))return(Ae=(ve=Fo(M==null?void 0:M.value))==null?void 0:ve.find(Be=>Be==null?void 0:Be.isdefault))==null?void 0:Ae.value}return be},k=n!=null&&n.s_slots?x.computed(()=>{var be=g([Se.slot]);return Object.values(be)}):x.ref(),I=n!=null&&n.s_slots?x.computed(()=>{var be=g([Se.slot],!0);return Object.values(be)}):x.ref(),N=be=>{var J=Xt.optionItems;const K=ft.getOrgOption(e,J);(!ye.isComplexValue(K)||ye.isComplexType(K,Se.singleOption))&&s(J,mT(be))},F=be=>{if(na(E.value,be)){var J=E.value[be];return x.isRef(J)?J:x.computed(()=>R(E.value[be]))}else if(na(S.value,be)){var K=S.value[be];return x.isRef(K)?K:x.computed(()=>R(S.value[be]))}else{var ee=u(be);return x.isRef(ee)?ee:x.computed(()=>R(u(be)))}},R=be=>{if(be==null)return be;if(x.isRef(be))return Fo(be);var J=Xn(be);return ax(J,(K,ee,ve)=>{ye.needCalcValue(ve)&&(K[ee]=ye.getValue(ve,!0,!a,o))}),J===void 0?null:x.reactive(J)};let M=null;n!=null&&n.s_optionItems&&na(e==null?void 0:e.options,Xt.optionItems)&&(M=F(Xt.optionItems));const j=be=>!!be.isdefault,W=be=>L(be,M==null?void 0:M.value),L=(be,J)=>{if(!Array.isArray(J))return;let K=[];return hT(J,"children",ee=>be(ee),ee=>{K.push(ee)}),K},z=n!=null&&n.s_optionItems?x.computed(()=>W(j)):x.ref(),G=n!=null&&n.s_optionItems?x.computed(()=>{var be,J;if(Array.isArray(M==null?void 0:M.value)){const K=(be=z==null?void 0:z.value)==null?void 0:be.length;return K?(J=z==null?void 0:z.value)==null?void 0:J[K-1]:void 0}}):x.ref(),Y=n!=null&&n.s_optionItems?x.computed(()=>{var be;if(Array.isArray(M==null?void 0:M.value)){const J=(be=M==null?void 0:M.value)==null?void 0:be.findIndex(K=>j(K));return!isNaN(J)&&J>-1?J:0}return 0}):x.ref(0),Z=(be,J)=>{const K=Fo(u(rr.valueKey,!1));return L(ee=>{var ve=ri(be,!0);return ve==null?void 0:ve.includes(ee==null?void 0:ee[K])},J||(M==null?void 0:M.value))},q=be=>{var ve;const J=Fo(u(rr.labelKey,!1)),K=(ve=Z(be))==null?void 0:ve.map(Ae=>Ae==null?void 0:Ae[J]);return u(rr.multiple,!1)?K:K==null?void 0:K[0]},ue=be=>{var ve;const J=Fo(u(rr.valueKey,!1)),K=(ve=Z(be))==null?void 0:ve.map(Ae=>Ae==null?void 0:Ae[J]);return u(rr.multiple,!1)?K:K==null?void 0:K[0]},ie=be=>{var J;return(J=ri(q(be),!0))==null?void 0:J.join(",")},te=[],le=()=>{e!=null&&e.formItemFlag&&te.splice(0,te.length)},me=be=>{var J=u("required",!0);const K=jt(J==null?void 0:J.options);if(K!=null&&K.enable)return{name:"required",label:be,required:!0,validator:(ee,ve,Ae)=>{var Ie=Zs(K==null?void 0:K.errorMsg,{...K,label:be});Hp[xr.required](ee,ve,Ae,K==null?void 0:K.forceMatch,Ie)}}},X=be=>{var J=u("rangeValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable))return;let{minValue:ee,maxValue:ve,includeMaxValue:Ae,includeMinValue:Ie}=K,Be="range";var Fe=He=>{if(Cr(He))return!0;const Ve=parseFloat(He),Ye=parseFloat(ee),at=parseFloat(ve),Ft=()=>isNaN(Ye)||Cr(ee)||(Ie?Ve>=Ye:Ve>Ye),_t=()=>isNaN(at)||Cr(ve)||(Ae?Ve<=at:Ve<at);return isNaN(Ve)||Ft()&&_t()};return{name:Be,label:be,trigger:[],validator:(He,Ve,Ye)=>{var at=Zs(K==null?void 0:K.errorMsg,{...K,label:be}),Ft=Cr(ee)?"":`${ee} ${Ie?"<=":"<"}`,_t=Cr(ve)?"":`${Ae?"<=":"<"} ${ve}`,Kt=`${Ft} 值 ${_t}`;Hp[Be](He,Ve,Ye,K==null?void 0:K.forceMatch,at||Kt,Fe)}}},Q=be=>{var J=u("expValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable))return;let ee=K==null?void 0:K.expression,ve=ee;if(ve){var Ae=Hp[ve],Ie=!!Ae;return Ie||(ve="regExp"),{name:ve,label:be,trigger:[],validator:(Be,Fe,He)=>{var Ve=Zs(K==null?void 0:K.errorMsg,{...K,label:be});Ie?Hp[ve](Be,Fe,He,K==null?void 0:K.forceMatch,Ve):Hp[ve](Be,Fe,He,K==null?void 0:K.forceMatch,Ve,ee)}}}},ne=be=>{var J=u("fnValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable)||!K.func)return;const{instance:ee}=Sa(r),ve=K==null?void 0:K.errorMsg;return{name:"userDefine",label:be,trigger:[],validator:(Ae,Ie,Be)=>{Js(K.func,{rule:Ae,value:Ie,callback:Fe=>{_O(!Fe,Ae,Be,ve,K==null?void 0:K.forceMatch)},errorMsg:ve,ctx:ee})}}},ce=()=>{if(e!=null&&e.formItemFlag&&!u("hidden")){le();var be=u("label"),J=[me(be),Q(be),ne(be),X(be)];return J==null||J.forEach(K=>{K&&te.push(K)}),de(),te}},fe=()=>{te&&te.forEach(be=>{pe(be)})},de=()=>{te&&te.forEach(be=>{Ee(be)})},pe=be=>{be.trigger&&be.trigger.splice(0,be.trigger.length)},Ee=be=>{be.trigger&&(be.trigger.push("blur"),be.name!=="required"&&be.trigger.push("change"))};return{attrs:E,extendAttrs:S,events:A,slots:k,originSlots:I,computedDefaultValue:O,fieldName:P,hasDefaultValue:D,optionItems:M,activeOptionItems:z,activeOptionItem:G,activeOptionItemIndex:Y,filterOptionItems:W,getCheckedOptionLabels:q,getCheckedOptionValues:ue,getCheckedOptionItems:Z,getCheckedOptionText:ie,setOptionItems:N,setFieldEnable:d,setWidgetOption:l,getWidgetOption:c,getWidgetOptionByPropValue:m,hasFieldOptions:i,getFieldOptions:u,setFieldOptions:s,rules:te,buildRules:ce,clearRules:le,disableChangeRule:pe,disableChangeValidate:fe,enableChangeRule:Ee,enableChangeValidate:de,addCssClass:be=>{var J=u("customClass");J?J.push(be):J=[be],s("customClass",J)},removeCssClass:be=>{var J=u("customClass");if(!J)return;let K=-1;J.map((ee,ve)=>{ee===be&&(K=ve)}),K>-1&&(J.splice(K,1),s("customClass",J))},singleOption:f,watchOption:h}}function lne(e,t){const{getWidgetOptionByPropValue:n}=Uo({name:e.name,options:e},t),r=(m,p)=>{var g=ii(Zs(Zr(m),p));if(g)return VZ(g)},a=m=>r(e.headers,m),o=m=>r(e.params,m),i=m=>Zs(e.url,m),u=()=>({timeout:e.timeout,withCredentials:e.withCredentials,maxBodyLength:e.maxBodyLength,maxContentLength:e.maxContentLength,responseType:e.responseType,responseEncoding:e.responseEncoding,method:e.method}),s=(m,p)=>{m&&m.interceptors.request.use(function(g){var y=g,b=v(e.willFetch,p,[g]);return b.result&&(y=b.data),y},function(g){return Promise.reject(g)})},l=(m,p)=>{m&&m.interceptors.response.use(function(g){var y=g,b=v(e.fitFetch,p,[g]);return b.result&&(y=b.data),y},function(g){var y=g,b=v(e.errorFetch,p,[g]);return b.result&&(y=b.data),Promise.reject(y)})},c=m=>{var p=Zs(e.shouldFetch,m);return Rc(e.shouldFetch)||p+""=="true"||p+""=="1"},f=m=>{if(e.data==null||e.data===void 0)return"";var p=Es(e.data);return p?ii(Zs(Zr(e.data),m)):Zs(e.data+"",m)},h=m=>{if(!c(m))return;const p=JD.create(u());return s(p,m),l(p,m),new Promise((g,y)=>{const b=i(m),_=f(m),E=a(m),w=o(m);if(!b)return;const S={url:b,data:_,headers:E,params:w};p.request(S).then(A=>{let P=A;var C=v(e.didFetch,m,[A]);C.result&&(P=C.data),g(P)}).catch(A=>{zi.error("request",A,S),y(A)})})},d=m=>!!ye.getValue(m),v=(m,p,g)=>{let y={result:!1,data:null};if(d(m)){y.result=!0;const b=n(m);y.data=b({data:p},...g)}return y};return{req:h}}function Vy(e){const t=e==null?void 0:e.pageConfig,n=()=>{var d;return jt((d=t==null?void 0:t.schema)==null?void 0:d.value)},r=(d,v,m)=>{var p=ye.getEnable(m==null?void 0:m[d]),g=ye.getEnable(v==null?void 0:v[d]);return!g&&p&&v&&(v[d]=m==null?void 0:m[d]),v},a=(d,v)=>{let m=Xn(d);["didFetch","willFetch","errorFetch","fitFetch"].forEach(g=>{m=r(g,m,t)});const{req:p}=lne(m,e);return p(v)},o=()=>{let d={};const v=Og.decryptFromUrl(window.location.href);d=Object.assign(d,{[Wr.urlParams]:v});const m=e==null?void 0:e.globalConfig;return d=Object.assign(d,{[Wr.compParams]:m}),d},i=d=>{var p,g;let v={};v=Object.assign(v,{schemaParams:d}),Object.assign(v,o()),v=Object.assign(v,{cookies:_D.getAll()});var m={};return(g=(p=n==null?void 0:n())==null?void 0:p.filter(y=>y.protocal===zc.VALUE))==null||g.forEach(y=>{m=Object.assign(m,{[y.name]:Zs(String(y==null?void 0:y.initialData),v)})}),v=Object.assign(v,{vars:m}),v},u=d=>{var v;return(v=n==null?void 0:n())==null?void 0:v.find(m=>m.name===d)},s=(d,v)=>{var m={};return d==null||d.forEach(p=>{p&&(m[p]=l(p,v))}),m},l=(d,v)=>{if(!d)return;const m=o(),p=m[Wr.urlParams],g=m[Wr.compParams];if(d==Wr.urlParams)return p;if(d==Wr.compParams)return g;const y=u(d),b=y==null?void 0:y.protocal,_=i(v);let E=null;switch(b){case zc.VALUE:E=Zs(String(y==null?void 0:y.initialData),_),jY(E)&&(E=ii(E));break;case zc.REMOTE:E=y?a(y,_):null;break}return E},c=(d,v)=>{var m=l(d,v);return fT(m)?m:new Promise((p,g)=>{p(m)})},f=(d,v,m)=>new Promise((p,g)=>{const y=d==null?void 0:d.length;let b=0;var _=d==null?void 0:d.map(w=>c(w,v));let E=0;Promise.all(_.map(w=>w.then(S=>{var D;b++;var A=Math.round(b/y*100);const P=d[E++],C=(D=u(P))==null?void 0:D.description;return m==null||m(A,S,E,P,C),S}))).then(w=>{m==null||m(100,w,E,"completedAll","completedAll"),p(w)})});return{loadSchemaData:n,remoteReadSchemaData:s,readSchemaData:l,findSchema:u,getSchemaDataObject:(d,v,m)=>new Promise((p,g)=>{f(d,v,m).then(y=>{var b={};y.forEach(_=>{b=Jn(b,_,!0)}),p(b)})}),getOneSchemaData:c,getSchemaDatas:f}}const zy=(e,t=!1,n=" ")=>e==null?void 0:e.map(r=>l0(r,t)).join(n),bO=(e,t)=>t?`(FROMJSON '${e}')`:e,l0=(e,t=!1)=>{var n;return(e==null?void 0:e.type)===Ei.Syntax.Literal?e.raw:(e==null?void 0:e.type)===Ei.Syntax.Identifier?e.name:e.type===Ei.Syntax.ExpressionStatement?l0(e.expression,void 0):(e==null?void 0:e.type)===Ei.Syntax.CallExpression?`(${(n=e.callee)==null?void 0:n.name} ${zy(e.arguments,!0)})`:(e==null?void 0:e.type)===Ei.Syntax.UnaryExpression?`${e.operator}${l0(e==null?void 0:e.argument)}`:(e==null?void 0:e.type)===Ei.Syntax.ObjectExpression?bO(`{${zy(e==null?void 0:e.properties,t,",")}}`,t):(e==null?void 0:e.type)===Ei.Syntax.ArrayExpression?bO(`[${zy(e.elements,t,",")}]`,t):(e==null?void 0:e.type)===Ei.Syntax.Property?`${l0(e==null?void 0:e.key)}:${l0(e==null?void 0:e.value)}`:""};function _E(){var e=["GETCHECKEDNAMES","GETCHECKEDNAME"];return{specialFuncNames:e,matchSpecialNode:r=>e.some(a=>r==null?void 0:r.includes(a)),specialNode:(r,a)=>{var o,i,u,s,l,c,f,h;if(r.type===Ei.Syntax.CallExpression){let d=Xn(r.arguments);if(e.includes((o=r.callee)==null?void 0:o.name)){const v=(i=r.arguments)==null?void 0:i[0];(a==null?void 0:a[`${v.name}${gu.checkedOptions}`])!=null&&(d[0].name=`${v.name}${gu.checkedOptions}`)}if(e.includes((s=(u=r.callee)==null?void 0:u.property)==null?void 0:s.name)){const v=(l=r.arguments)==null?void 0:l[0];let m=`${(c=v==null?void 0:v.property)==null?void 0:c.name}${gu.checkedOptions}`,p=(f=v==null?void 0:v.object)==null?void 0:f.name;p?((h=a==null?void 0:a[p])==null?void 0:h[m])!=null&&(d[0].property.name=m):(a==null?void 0:a[m])!=null&&(d[0].property.name=m)}r.arguments=d}return r}}}const une=e=>{var t=vD(e),n=zy(t.body);n.startsWith("(")&&(n=n.substring(1)),n.endsWith(")")&&(n=n.substring(0,n.length-1));var r=xJ(t.body);return{expression:n,funcname:r}},cne=Object.freeze(Object.defineProperty({__proto__:null,getScriptResult:(e,t)=>new Promise((n,r)=>{if(!e||Rc(e)){n(null);return}const a=u=>{var s=wJ(u);if(!(s!=null&&s.some(c=>!na(t,c)))){s==null||s.forEach(c=>{t[c]===void 0&&(t[c]=null)});var l=une(u);return Uee(`{{${l.expression}}}`,t,l.funcname)}},{specialNode:o,matchSpecialNode:i}=_E();if(i(e)){const{init:u,replaceVariableName:s}=gD();u().then(l=>{e=s(l,e,o,t),n(a(e))})}else n(a(e))}),useSpecialNode:_E},Symbol.toStringTag,{value:"Module"})),bE=e=>typeof(e==null?void 0:e.value)=="boolean"?!1:null,xE=(e,t)=>{let n={};if(!Va(e))return n;var r=t==null?void 0:t.instance;return ax(Id(e),(a,o,i)=>{var l,c,f,h;const u=(c=(l=r==null?void 0:r.exposed)==null?void 0:l.findRefByName)==null?void 0:c.call(l,o);if(!u)return;const s=(h=(f=u==null?void 0:u.exposed)==null?void 0:f.getField)==null?void 0:h.call(f);s&&s.id&&(n[s.id]=o)}),n},EE=e=>{var a,o,i,u,s;var t=e==null?void 0:e.instance,n=((o=(a=t==null?void 0:t.exposed)==null?void 0:a.getRowScope)==null?void 0:o.call(a))||((i=t==null?void 0:t.provides)==null?void 0:i.rowScope);const r=Object.assign({},(s=(u=t==null?void 0:t.exposed)==null?void 0:u.getFormData)==null?void 0:s.call(u),e==null?void 0:e.formData);return{[Ni.sysVar]:{[Wr.rowScope]:n},[Ni.sysData]:r}},fne=(e,t,n)=>{const{remoteReadSchemaData:r}=Vy(n);var a=hD(e),o=mD(a),i=o.filter(c=>[Ni.schema.toString()].includes(c.root)),u=i==null?void 0:i.map(c=>{var f,h;return(h=(f=c==null?void 0:c.properties)==null?void 0:f[0])==null?void 0:h.toString()});let s=null;t&&(s=ii(t));var l=r(u,s||{});return l},wE=(e,t,n,r)=>{var s;if(!e)return"";let a=e;const{updateFomula:o}=Eu(),{variableWithNameExp:i}=YY();if(r){var u=t==null?void 0:t[Ni.sysData];u&&(a=o(a,n||{},(l,c)=>Ki(c)?null:`${(u==null?void 0:u[c])||""}`)),(s=kr(t==null?void 0:t[Ni.sysVar]))==null||s.forEach(l=>{var c;u=(c=t==null?void 0:t[Ni.sysVar])==null?void 0:c[l],u&&(a=o(a,u,(f,h)=>Ki(h)?null:h,i("sysVar."+l)))})}else return a=o(a,n||{},(l,c)=>c?`${Ni.sysData}.${c}`:(t||(t={}),t[Ni.sysData]||(t[Ni.sysData]={}),t[Ni.sysData][l]===void 0&&(t[Ni.sysData][l]=null),`${Ni.sysData}.${l}`)),a;return a},pne=(e,t)=>{if(ye.isFormula(e)){const{transFormula:i}=Eu(),s=EE(t)[Ni.sysData];let l=xE(s,t);var n=jt(e),r=jt(n==null?void 0:n.value),a=i(r==null?void 0:r.complexValue,l),o=dne(a,s);return jt(o)}},xO=(e,t)=>{const n=EE(t);let r=xE(n[Ni.sysData],t);var a=wE(e==null?void 0:e.expr,n,r,!1),o=wE(e==null?void 0:e.params,n,r,!0);const i=fne(a,o,t);var u={[Ni.sysFunc]:yO,[Ni.schema]:i,...n};const s=[Ni.schema];var l=jt(hne(a,u,s));return l},hne=(e,t,n)=>{if(Rc(e))return;const{state:r}=mx(async()=>{var m;var{specialNode:a,matchSpecialNode:o}=_E(),{init:i,replaceVariableName:u}=gD(),s=e;if(o(e)){var l=await i();yJ(e,p=>u(l,p,a,t))}if(t&&n&&((n==null?void 0:n.length)||0)>0)for(var c=0;c<n.length;c++){var f=n==null?void 0:n[c],h=t==null?void 0:t[f];if(Va(h)){var d=(m=kr(h))==null?void 0:m.some(p=>fT(h[p]));if(d){var v=await ox(h);t[f]=v}}}return bx(s,t)},null);return r},dne=(e,t)=>{const{state:n}=mx(async()=>{const r=await Promise.resolve().then(()=>cne);return await(r==null?void 0:r.getScriptResult(e,t||{}))},null,{immediate:!0});return n},vne=(e,t)=>{if(ye.isVariable(e)){var n=ye.getVariable(e);return xO(n,t)}},mne=(e,t)=>{if(ye.isSchemaData(e)){var n=ye.getSchemaData(e);return xO(n,t)}},gne=(e,t=!1,n)=>{var r=jt(e),a=r==null?void 0:r.value,o=jt(a);return ye.isVariable(e)&&!(o!=null&&o.complexType)?t?vne(e,n):e==null?void 0:e.value:ye.isFormula(e)?t?pne(e,n):bE():ye.isSchemaData(e)?t?mne(e,n):bE():jt(a)},yne=(e,t=!1,n=!1,r)=>{if(!ye.isComplex(e))return e;if(!t&&!ye.getEnable(e))return bE();var a=jt(e),o=a==null?void 0:a.value;return!ye.isVariable(e)&&o===null?null:jt(gne(e,n,r))},_ne=(e,t)=>{const n=EE(t);let r=xE(n[Ni.sysData],t);return wE(e,n,r,!0)};class ye{constructor(t,n,r,a,o){U(this,"type",Se.prop);U(this,"propType");U(this,"value","");U(this,"variable");U(this,"options");this.type=t,n!==void 0&&(this.value=n),r!==void 0&&(this.options=r),a!==void 0&&(this.variable=a),o!==void 0&&Jn(this,o)}static get(t,n){if(n)return t==null?void 0:t[n]}static set(t,n,r){n&&t&&(t[n]=r)}static isComplex(t){const n=this.getType(t);return vx(Se).includes(n);//!!hasConfig(prop, 'type');
|
|
68
|
+
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(u){if((u>>24&255)===255){var s=u>>16&255,l=u>>8&255,c=u&255;s===255?(s=0,l===255?(l=0,c===255?c=0:++c):++l):++s,u=0,u+=s<<16,u+=l<<8,u+=c}else u+=1<<24;return u}function o(u){return(u[0]=a(u[0]))===0&&(u[1]=a(u[1])),u}var i=r.Encryptor=r.extend({processBlock:function(u,s){var l=this._cipher,c=l.blockSize,f=this._iv,h=this._counter;f&&(h=this._counter=f.slice(0),this._iv=void 0),o(h);var d=h.slice(0);l.encryptBlock(d,0);for(var v=0;v<c;v++)u[s+v]^=d[v]}});return r.Decryptor=i,r}(),n.mode.CTRGladman})}(wte)),Sy}var Cy={},Cte={get exports(){return Cy},set exports(e){Cy=e}},rO;function Ate(){return rO||(rO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(o,i){var u=this._cipher,s=u.blockSize,l=this._iv,c=this._keystream;l&&(c=this._keystream=l.slice(0),this._iv=void 0),u.encryptBlock(c,0);for(var f=0;f<s;f++)o[i+f]^=c[f]}});return r.Decryptor=a,r}(),n.mode.OFB})}(Cte)),Cy}var Ay={},Tte={get exports(){return Ay},set exports(e){Ay=e}},iO;function Dte(){return iO||(iO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,o){this._cipher.encryptBlock(a,o)}}),r.Decryptor=r.extend({processBlock:function(a,o){this._cipher.decryptBlock(a,o)}}),r}(),n.mode.ECB})}(Tte)),Ay}var Ty={},Pte={get exports(){return Ty},set exports(e){Ty=e}},aO;function Ote(){return aO||(aO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.AnsiX923={pad:function(r,a){var o=r.sigBytes,i=a*4,u=i-o%i,s=o+u-1;r.clamp(),r.words[s>>>2]|=u<<24-s%4*8,r.sigBytes+=u},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(Pte)),Ty}var Dy={},kte={get exports(){return Dy},set exports(e){Dy=e}},oO;function Bte(){return oO||(oO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.Iso10126={pad:function(r,a){var o=a*4,i=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(kte)),Dy}var Py={},Ite={get exports(){return Py},set exports(e){Py=e}},sO;function Nte(){return sO||(sO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Ite)),Py}var Oy={},Fte={get exports(){return Oy},set exports(e){Oy=e}},lO;function Mte(){return lO||(lO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.ZeroPadding={pad:function(r,a){var o=a*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var a=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(a[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(Fte)),Oy}var ky={},Lte={get exports(){return ky},set exports(e){ky=e}},uO;function Rte(){return uO||(uO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(Lte)),ky}var By={},jte={get exports(){return By},set exports(e){By=e}},cO;function Vte(){return cO||(cO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),ra())})(Zn,function(n){return function(r){var a=n,o=a.lib,i=o.CipherParams,u=a.enc,s=u.Hex,l=a.format;l.Hex={stringify:function(c){return c.ciphertext.toString(s)},parse:function(c){var f=s.parse(c);return i.create({ciphertext:f})}}}(),n.format.Hex})}(jte)),By}var Iy={},zte={get exports(){return Iy},set exports(e){Iy=e}},fO;function Ute(){return fO||(fO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo,u=[],s=[],l=[],c=[],f=[],h=[],d=[],v=[],m=[],p=[];(function(){for(var b=[],_=0;_<256;_++)_<128?b[_]=_<<1:b[_]=_<<1^283;for(var E=0,w=0,_=0;_<256;_++){var S=w^w<<1^w<<2^w<<3^w<<4;S=S>>>8^S&255^99,u[E]=S,s[S]=E;var A=b[E],P=b[A],C=b[P],D=b[S]*257^S*16843008;l[E]=D<<24|D>>>8,c[E]=D<<16|D>>>16,f[E]=D<<8|D>>>24,h[E]=D;var D=C*16843009^P*65537^A*257^E*16843008;d[S]=D<<24|D>>>8,v[S]=D<<16|D>>>16,m[S]=D<<8|D>>>24,p[S]=D,E?(E=A^b[b[b[C^A]]],w^=b[b[w]]):E=w=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=o.extend({_doReset:function(){var b;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,E=_.words,w=_.sigBytes/4,S=this._nRounds=w+6,A=(S+1)*4,P=this._keySchedule=[],C=0;C<A;C++)C<w?P[C]=E[C]:(b=P[C-1],C%w?w>6&&C%w==4&&(b=u[b>>>24]<<24|u[b>>>16&255]<<16|u[b>>>8&255]<<8|u[b&255]):(b=b<<8|b>>>24,b=u[b>>>24]<<24|u[b>>>16&255]<<16|u[b>>>8&255]<<8|u[b&255],b^=g[C/w|0]<<24),P[C]=P[C-w]^b);for(var D=this._invKeySchedule=[],O=0;O<A;O++){var C=A-O;if(O%4)var b=P[C];else var b=P[C-4];O<4||C<=4?D[O]=b:D[O]=d[u[b>>>24]]^v[u[b>>>16&255]]^m[u[b>>>8&255]]^p[u[b&255]]}}},encryptBlock:function(b,_){this._doCryptBlock(b,_,this._keySchedule,l,c,f,h,u)},decryptBlock:function(b,_){var E=b[_+1];b[_+1]=b[_+3],b[_+3]=E,this._doCryptBlock(b,_,this._invKeySchedule,d,v,m,p,s);var E=b[_+1];b[_+1]=b[_+3],b[_+3]=E},_doCryptBlock:function(b,_,E,w,S,A,P,C){for(var D=this._nRounds,O=b[_]^E[0],k=b[_+1]^E[1],I=b[_+2]^E[2],N=b[_+3]^E[3],F=4,R=1;R<D;R++){var M=w[O>>>24]^S[k>>>16&255]^A[I>>>8&255]^P[N&255]^E[F++],j=w[k>>>24]^S[I>>>16&255]^A[N>>>8&255]^P[O&255]^E[F++],W=w[I>>>24]^S[N>>>16&255]^A[O>>>8&255]^P[k&255]^E[F++],L=w[N>>>24]^S[O>>>16&255]^A[k>>>8&255]^P[I&255]^E[F++];O=M,k=j,I=W,N=L}var M=(C[O>>>24]<<24|C[k>>>16&255]<<16|C[I>>>8&255]<<8|C[N&255])^E[F++],j=(C[k>>>24]<<24|C[I>>>16&255]<<16|C[N>>>8&255]<<8|C[O&255])^E[F++],W=(C[I>>>24]<<24|C[N>>>16&255]<<16|C[O>>>8&255]<<8|C[k&255])^E[F++],L=(C[N>>>24]<<24|C[O>>>16&255]<<16|C[k>>>8&255]<<8|C[I&255])^E[F++];b[_]=M,b[_+1]=j,b[_+2]=W,b[_+3]=L},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(zte)),Iy}var Ny={},Hte={get exports(){return Ny},set exports(e){Ny=e}},pO;function Wte(){return pO||(pO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.BlockCipher,u=r.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=u.DES=i.extend({_doReset:function(){for(var g=this._key,y=g.words,b=[],_=0;_<56;_++){var E=s[_]-1;b[_]=y[E>>>5]>>>31-E%32&1}for(var w=this._subKeys=[],S=0;S<16;S++){for(var A=w[S]=[],P=c[S],_=0;_<24;_++)A[_/6|0]|=b[(l[_]-1+P)%28]<<31-_%6,A[4+(_/6|0)]|=b[28+(l[_+24]-1+P)%28]<<31-_%6;A[0]=A[0]<<1|A[0]>>>31;for(var _=1;_<7;_++)A[_]=A[_]>>>(_-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var C=this._invSubKeys=[],_=0;_<16;_++)C[_]=w[15-_]},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._subKeys)},decryptBlock:function(g,y){this._doCryptBlock(g,y,this._invSubKeys)},_doCryptBlock:function(g,y,b){this._lBlock=g[y],this._rBlock=g[y+1],v.call(this,4,252645135),v.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),v.call(this,1,1431655765);for(var _=0;_<16;_++){for(var E=b[_],w=this._lBlock,S=this._rBlock,A=0,P=0;P<8;P++)A|=f[P][((S^E[P])&h[P])>>>0];this._lBlock=S,this._rBlock=w^A}var C=this._lBlock;this._lBlock=this._rBlock,this._rBlock=C,v.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),g[y]=this._lBlock,g[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(g,y){var b=(this._lBlock>>>g^this._rBlock)&y;this._rBlock^=b,this._lBlock^=b<<g}function m(g,y){var b=(this._rBlock>>>g^this._lBlock)&y;this._lBlock^=b,this._rBlock^=b<<g}r.DES=i._createHelper(d);var p=u.TripleDES=i.extend({_doReset:function(){var g=this._key,y=g.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var b=y.slice(0,2),_=y.length<4?y.slice(0,2):y.slice(2,4),E=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=d.createEncryptor(o.create(b)),this._des2=d.createEncryptor(o.create(_)),this._des3=d.createEncryptor(o.create(E))},encryptBlock:function(g,y){this._des1.encryptBlock(g,y),this._des2.decryptBlock(g,y),this._des3.encryptBlock(g,y)},decryptBlock:function(g,y){this._des3.decryptBlock(g,y),this._des2.encryptBlock(g,y),this._des1.decryptBlock(g,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=i._createHelper(p)}(),n.TripleDES})}(Hte)),Ny}var Fy={},Gte={get exports(){return Fy},set exports(e){Fy=e}},hO;function Kte(){return hO||(hO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=i.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,h=c.sigBytes,d=this._S=[],v=0;v<256;v++)d[v]=v;for(var v=0,m=0;v<256;v++){var p=v%h,g=f[p>>>2]>>>24-p%4*8&255;m=(m+d[v]+g)%256;var y=d[v];d[v]=d[m],d[m]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var c=this._S,f=this._i,h=this._j,d=0,v=0;v<4;v++){f=(f+1)%256,h=(h+c[f])%256;var m=c[f];c[f]=c[h],c[h]=m,d|=c[(c[f]+c[h])%256]<<24-v*8}return this._i=f,this._j=h,d}r.RC4=o._createHelper(u);var l=i.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)s.call(this)}});r.RC4Drop=o._createHelper(l)}(),n.RC4})}(Gte)),Fy}var My={},Xte={get exports(){return My},set exports(e){My=e}},dO;function Yte(){return dO||(dO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.Rabbit=o.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],p=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)p[v]^=m[v+4&7];if(d){var g=d.words,y=g[0],b=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=_>>>16|E&4294901760,S=E<<16|_&65535;p[0]^=_,p[1]^=w,p[2]^=E,p[3]^=S,p[4]^=_,p[5]^=w,p[6]^=E,p[7]^=S;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,b=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^b}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(Xte)),My}var Ly={},Jte={get exports(){return Ly},set exports(e){Ly=e}},vO;function Zte(){return vO||(vO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.RabbitLegacy=o.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],m=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)m[p]^=v[p+4&7];if(d){var g=d.words,y=g[0],b=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=_>>>16|E&4294901760,S=E<<16|_&65535;m[0]^=_,m[1]^=w,m[2]^=E,m[3]^=S,m[4]^=_,m[5]^=w,m[6]^=E,m[7]^=S;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,b=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^b}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(Jte)),Ly}var Ry={},Qte={get exports(){return Ry},set exports(e){Ry=e}},mO;function qte(){return mO||(mO=1,function(e,t){(function(n,r,a){e.exports=r(Tr(),Jc(),Zc(),Ou(),ra())})(Zn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo;const u=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(p,g){let y=g>>24&255,b=g>>16&255,_=g>>8&255,E=g&255,w=p.sbox[0][y]+p.sbox[1][b];return w=w^p.sbox[2][_],w=w+p.sbox[3][E],w}function h(p,g,y){let b=g,_=y,E;for(let w=0;w<u;++w)b=b^p.pbox[w],_=f(p,b)^_,E=b,b=_,_=E;return E=b,b=_,_=E,_=_^p.pbox[u],b=b^p.pbox[u+1],{left:b,right:_}}function d(p,g,y){let b=g,_=y,E;for(let w=u+1;w>1;--w)b=b^p.pbox[w],_=f(p,b)^_,E=b,b=_,_=E;return E=b,b=_,_=E,_=_^p.pbox[1],b=b^p.pbox[0],{left:b,right:_}}function v(p,g,y){for(let S=0;S<4;S++){p.sbox[S]=[];for(let A=0;A<256;A++)p.sbox[S][A]=l[S][A]}let b=0;for(let S=0;S<u+2;S++)p.pbox[S]=s[S]^g[b],b++,b>=y&&(b=0);let _=0,E=0,w=0;for(let S=0;S<u+2;S+=2)w=h(p,_,E),_=w.left,E=w.right,p.pbox[S]=_,p.pbox[S+1]=E;for(let S=0;S<4;S++)for(let A=0;A<256;A+=2)w=h(p,_,E),_=w.left,E=w.right,p.sbox[S][A]=_,p.sbox[S][A+1]=E;return!0}var m=i.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,g=p.words,y=p.sigBytes/4;v(c,g,y)}},encryptBlock:function(p,g){var y=h(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},decryptBlock:function(p,g){var y=d(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(Qte)),Ry}(function(e,t){(function(n,r,a){e.exports=r(Tr(),ay(),Zee(),qee(),Jc(),tte(),Zc(),UP(),mE(),ote(),KP(),ute(),fte(),hte(),gE(),mte(),Ou(),ra(),bte(),Ete(),Ste(),Ate(),Dte(),Ote(),Bte(),Nte(),Mte(),Rte(),Vte(),Ute(),Wte(),Kte(),Yte(),Zte(),qte())})(Zn,function(n){return n})})(Gee);const zo=vE;function gO(e,t,n,r,a){const o=a.parse(e),i={iv:t,mode:n,padding:r};return{encrypt:(l,c)=>{const f=a.parse(l),h=zo.AES.encrypt(f,o,i);return c?zo.enc.Hex.stringify(h==null?void 0:h.ciphertext):h.toString()},decrypt:(l,c)=>{if(c){const f={ciphertext:zo.enc.Hex.parse(l)},h=zo.AES.decrypt(f,o,i);return h==null?void 0:h.toString(a)}else return zo.AES.decrypt(l,o,i)}}}function $te(e,t){var n=gO(e,t,zo.mode.CBC,zo.pad.Pkcs7,zo.enc.Utf8);return n}function ene(e,t){var n=gO(e,t,zo.mode.ECB,zo.pad.Pkcs7,zo.enc.Utf8);return n}const{openWindow:tne}=jx(),{sendToIframe:nne,sendToParent:rne,receive:ine,sendToIframeByName:ane,send:one}=r5();function ku(e){return{instance:e.instance,i18n:se,util:{url:Nl,cookie:_D,localStorage:jc,service:fq,sysFunc:{...yO,idCardInfo:Fl,sortBy:MY,groupBy:dT,pageBy:vT},window:{openWindow:tne,findUp:go.findUp,findDown:go.findDown,find:go.find,findByIframeId:go.findByIframeId,findTop:go.findTop},message:{send:one,sendToIframe:nne,sendToParent:rne,sendToIframeByName:ane,receive:ine},tip:{ElMessage:xi.ElMessage,ElMessageBox:xi.ElMessageBox,ElNotification:xi.ElNotification},json:{fromJson:ii,toJson:Zr},security:{CryptoJS:zo,SM:{SMWithTraceKey:Aq,SM2:Ud,SM4:zx,SecInner:Og},AES:{CBC_Pkcs7:$te,ECB_Pkcs7:ene}}}}}const yO=zee();Wr.rowScope+"",se.i18nt("designer.var.rowScope");const yE=function(e){return{[xr.number]:/^[-+]?(\d+\.\d+|\d+|\.\d+)$/,[xr.letter]:/^[A-Za-z]+$/,[xr.letterAndNumber]:/^[A-Za-z0-9]+$/,[xr.letterStartNumberIncluded]:/^[A-Za-z]+[A-Za-z\d]*$/,[xr.mobilePhone]:/^[1][3-9][0-9]{9}$/,[xr.email]:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,[xr.url]:/^(https?|ftp):\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$/,[xr.noBlankStart]:/^[^\s].*$/,[xr.noBlankEnd]:/^.*[^\s]$/,[xr.noBlankStartEnd]:/^[^\s].*[^\s]$/,[xr.weakPassword]:/^[A-Za-z\d]{6,}$/,[xr.mediumPassword]:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/,[xr.strongPassword]:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{10,}$/,[xr.noChinese]:/^[^\u4e00-\u9fa5]+$/,[xr.chinese]:/^[\u4e00-\u9fa5]+$/,[xr.chinaIdcard]:Fl.isValid,[xr.required]:n=>n!=null&&n!==""&&(!Array.isArray(n)||n.length>0)}[e]},sne=(e,t,n)=>{var r=new Error(t);return r.rule=e,r.force=n,r},_O=(e,t,n,r,a)=>{e?n():n(sne(t,r,a))},jy=function(e,t,n,r,a,o){if(nx(e)){r();return}let i=a,u=!0;TY(e)?u=e==null?void 0:e(n):u=new RegExp(e).test(n),_O(u,t,r,i,o)},Aa=function(e,t,n,r,a,o){if(Cr(n)){r();return}if(Array.isArray(n)&&n.length<=0){r();return}jy(yE(e),t,n,r,a,o)},Hp={number(e,t,n,r){Aa(xr.number,e,t,n,se.i18nt("render.hint.numberFailed"),r)},letter(e,t,n,r){Aa(xr.letter,e,t,n,se.i18nt("render.hint.letterFailed"),r)},letterAndNumber(e,t,n,r){Aa(xr.letterAndNumber,e,t,n,se.i18nt("render.hint.letterAndNumberFailed"),r)},mobilePhone(e,t,n,r){Aa(xr.mobilePhone,e,t,n,se.i18nt("render.hint.mobilePhoneFailed"),r)},noBlankStart(e,t,n,r){Aa(xr.noBlankStart,e,t,n,se.i18nt("render.hint.noBlankStartFailed"),r)},noBlankEnd(e,t,n,r){Aa(xr.noBlankEnd,e,t,n,se.i18nt("render.hint.noBlankEndFailed"),r)},noBlankStartEnd(e,t,n,r){Aa(xr.noBlankStartEnd,e,t,n,se.i18nt("render.hint.noBlankStartEndFailed"),r)},letterStartNumberIncluded(e,t,n,r){Aa(xr.letterStartNumberIncluded,e,t,n,se.i18nt("render.hint.letterStartNumberIncludedFailed"),r)},noChinese(e,t,n,r){Aa(xr.noChinese,e,t,n,se.i18nt("render.hint.noChineseFailed"),r)},chinese(e,t,n,r){Aa(xr.chinese,e,t,n,se.i18nt("render.hint.chineseFailed"),r)},email(e,t,n,r){Aa(xr.email,e,t,n,se.i18nt("render.hint.emailFailed"),r)},url(e,t,n,r){Aa(xr.url,e,t,n,se.i18nt("render.hint.urlFailed"),r)},chinaIdcard(e,t,n,r){Aa(xr.chinaIdcard,e,t,n,se.i18nt("render.hint.chinaIdcardFailed"),r)},weakPassword(e,t,n,r){Aa(xr.weakPassword,e,t,n,se.i18nt("render.hint.weakPasswordFailed"),r)},mediumPassword(e,t,n,r){Aa(xr.mediumPassword,e,t,n,se.i18nt("render.hint.mediumPasswordFailed"),r)},strongPassword(e,t,n,r){Aa(xr.strongPassword,e,t,n,se.i18nt("render.hint.strongPasswordFailed"),r)},required(e,t,n,r,a){let o=a||se.i18nt("render.hint.fieldRequired");jy(yE(xr.required),e,t,n,o,r)},regExp(e,t,n,r,a,o){return jy(o,e,t,n,a||"invalid value",r)},range(e,t,n,r,a,o){return jy(o,e,t,n,a||"invalid value",r)}};function Uo(e,t,n,r){const a=t==null?void 0:t.designState,o=t,i=be=>e?ft.getOptions(e,be,!0)!=null:!1,u=(be,J=!1)=>e?ft.getOptions(e,be,J,!a,o):null,s=(be,J)=>{if(e)return ft.setOptions(e,be,J)},l=(be,J)=>{na(e==null?void 0:e.options,be)&&s(be,J)},c=be=>{const J=ft.getOrgOption(e,be);return m(J)},f=(be,J,K=!1)=>{var Ae;const ee=(Ae=e==null?void 0:e.options)==null?void 0:Ae[be];var ve=K?ye.getValue(ee,!1,!a,{...o,schemaParams:J}):c(be);return ve},h=(be,J,K,ee)=>{if(!J)return;K==null||K();const ve=kr(E.value).includes(J)?E:kr(S.value).includes(J)?S:null;if(be&&ve)x.watch(()=>{var Ae;return(Ae=ve==null?void 0:ve.value)==null?void 0:Ae[J]},(Ae,Ie)=>{ee==null||ee(Ae,Ie)},{immediate:!0});else{const Ae=u(J);x.isRef(Ae)?x.watch(Ae,(Ie,Be)=>{ee==null||ee(Ie,Be)},{immediate:!0}):ee==null||ee(Ae,null)}},d=(be,J)=>{e&&ft.setEnable(e,be,J)},v=(be,J,K)=>lq(be,J,K,t),m=be=>{var J=ye.getType(be),K=ye.getValue(be,!1,!a,o);switch(J){case Se.dataObject:{const ee=ft.getOptions(be,"type");if(ta(K)&&ee){if([We.array,We.object].includes(ee))return K==null||K===""?null:ii(String(K||""));if([We.bigint,We.number].includes(ee))return _u(K)}return K}case Se.slot:return ZD(K);case Se.icon:{const{instance:ee}=Sa(r);return ee?N5(K,ee):K}case Se.event:case Se.placerHook:case Se.hook:{if(Cr(K)||K===""||a)break;return(...ve)=>{let Ae={};var Ie=1;ve==null||ve.map(Ve=>Ae["args"+Ie++]=Ve);const{instance:Be}=Sa(r||(o==null?void 0:o.instance)),Fe=ku({instance:Be});Ae[rr.externalArgs]=Fe;const He=K;return He!=null&&He.type?v(He,Ae,Be):Js(K,Ae)}}default:return K}},p=(be,J,K)=>{var ee=ye.getOptions(be),ve={};return ve.slotName=(ee==null?void 0:ee.slotName)||J,(be==null?void 0:be.widgetList)===void 0?ve.widgetList=[]:ve.widgetList=be==null?void 0:be.widgetList,ve.default=K?x.shallowRef(K):null,Object.assign(be,ve)},g=(be,J=!1,K)=>{var ve;var ee={};return!e||!e.options||(ve=Object.entries(e==null?void 0:e.options))==null||ve.forEach(([Ae,Ie])=>{if(!(K&&!(K!=null&&K(Ae)))){var Be=ye.getOrgType(Ie);if(be.includes(Be)){var Fe=J?ye.getValue(Ie,!1,!a,o):c(Ae);Be===Se.slot?ee[Ae]=p(Ie,Ae,Fe):Ki(Fe)||(ee[Ae]=Fe)}else Be||[Se.prop].some(He=>be.includes(He))&&(ee[Ae]=Ie)}}),ee},y=be=>{const J=be==null?void 0:be.type;var K=[];return J&&(K=[],be.formItemFlag&&(K=K.concat(["name","defaultValue"]))),K},b=be=>{const J=u(Xt.state);J!=null&&x.isRef(J)&&(be.readonly=x.computed(()=>Fo(J)===Ol.readonly),be.disabled=x.computed(()=>{var K=!i(Ol.readonly),ee=Fo(J)===Ol.disabled,ve=Fo(J)===Ol.readonly;return K?ee:ee||ve}),be.hidden=x.computed(()=>Fo(J)===Ol.hidden),be.custom=x.computed(()=>Fo(J)===Ol.custom))},_=()=>{var be=y(e)||[],J=g([Se.icon,Se.hook,Se.variable,Se.prop,Se.dataObject],!1,K=>{var ee=!(n!=null&&n.fn_attr)||(n==null?void 0:n.fn_attr(K)),ve=!be.includes(K);return ve&&ee});return b(J),x.reactive(J)},E=n!=null&&n.s_attr?x.computed(()=>_()):x.ref(),w=()=>{var be=g([Se.placer,Se.placerHook]);return x.reactive(be)},S=n!=null&&n.s_extendAttr?x.computed(()=>w()):x.ref(),A=n!=null&&n.s_events?x.computed(()=>g([Se.event])):x.ref(),P=n!=null&&n.s_fieldName?x.computed({get:()=>u(Xt.name),set:be=>{s(Xt.name,be)}}):x.ref(),C=be=>ye.isComplexValue(e==null?void 0:e.options[be]),D=(be=!1)=>{var J=u(rr.defaultValue,!0);return na(e==null?void 0:e.options,rr.defaultValue)&&(!be||J!=null)},O=()=>{var J,K,ee,ve,Ae;if(!D())return;let be=u(rr.defaultValue);if(na(e==null?void 0:e.options,Xt.optionItems)&&!C(rr.defaultValue)){const Ie=Fo(u(rr.multiple));if((Ie||Array.isArray(be))&&((J=jt(be))==null?void 0:J.length)<=0)return(ee=(K=Fo(M==null?void 0:M.value))==null?void 0:K.filter(Be=>Be==null?void 0:Be.isdefault))==null?void 0:ee.map(Be=>Be==null?void 0:Be.value);if((Ie===!1||Cr(Ie)||!Array.isArray(be))&&Cr(be))return(Ae=(ve=Fo(M==null?void 0:M.value))==null?void 0:ve.find(Be=>Be==null?void 0:Be.isdefault))==null?void 0:Ae.value}return be},k=n!=null&&n.s_slots?x.computed(()=>{var be=g([Se.slot]);return Object.values(be)}):x.ref(),I=n!=null&&n.s_slots?x.computed(()=>{var be=g([Se.slot],!0);return Object.values(be)}):x.ref(),N=be=>{var J=Xt.optionItems;const K=ft.getOrgOption(e,J);ye.isComplexValue(K)||s(J,mT(be))},F=be=>{if(na(E.value,be)){var J=E.value[be];return x.isRef(J)?J:x.computed(()=>R(E.value[be]))}else if(na(S.value,be)){var K=S.value[be];return x.isRef(K)?K:x.computed(()=>R(S.value[be]))}else{var ee=u(be);return x.isRef(ee)?ee:x.computed(()=>R(u(be)))}},R=be=>{if(be==null)return be;if(x.isRef(be))return Fo(be);var J=Xn(be);return ax(J,(K,ee,ve)=>{ye.needCalcValue(ve)&&(K[ee]=ye.getValue(ve,!0,!a,o))}),J===void 0?null:x.reactive(J)};let M=null;n!=null&&n.s_optionItems&&na(e==null?void 0:e.options,Xt.optionItems)&&(M=F(Xt.optionItems));const j=be=>!!be.isdefault,W=be=>L(be,M==null?void 0:M.value),L=(be,J)=>{if(!Array.isArray(J))return;let K=[];return hT(J,"children",ee=>be(ee),ee=>{K.push(ee)}),K},z=n!=null&&n.s_optionItems?x.computed(()=>W(j)):x.ref(),G=n!=null&&n.s_optionItems?x.computed(()=>{var be,J;if(Array.isArray(M==null?void 0:M.value)){const K=(be=z==null?void 0:z.value)==null?void 0:be.length;return K?(J=z==null?void 0:z.value)==null?void 0:J[K-1]:void 0}}):x.ref(),Y=n!=null&&n.s_optionItems?x.computed(()=>{var be;if(Array.isArray(M==null?void 0:M.value)){const J=(be=M==null?void 0:M.value)==null?void 0:be.findIndex(K=>j(K));return!isNaN(J)&&J>-1?J:0}return 0}):x.ref(0),Z=(be,J)=>{const K=Fo(u(rr.valueKey,!1));return L(ee=>{var ve=ri(be,!0);return ve==null?void 0:ve.includes(ee==null?void 0:ee[K])},J||(M==null?void 0:M.value))},q=be=>{var ve;const J=Fo(u(rr.labelKey,!1)),K=(ve=Z(be))==null?void 0:ve.map(Ae=>Ae==null?void 0:Ae[J]);return u(rr.multiple,!1)?K:K==null?void 0:K[0]},ue=be=>{var ve;const J=Fo(u(rr.valueKey,!1)),K=(ve=Z(be))==null?void 0:ve.map(Ae=>Ae==null?void 0:Ae[J]);return u(rr.multiple,!1)?K:K==null?void 0:K[0]},ie=be=>{var J;return(J=ri(q(be),!0))==null?void 0:J.join(",")},te=[],le=()=>{e!=null&&e.formItemFlag&&te.splice(0,te.length)},me=be=>{var J=u("required",!0);const K=jt(J==null?void 0:J.options);if(K!=null&&K.enable)return{name:"required",label:be,required:!0,validator:(ee,ve,Ae)=>{var Ie=Zs(K==null?void 0:K.errorMsg,{...K,label:be});Hp[xr.required](ee,ve,Ae,K==null?void 0:K.forceMatch,Ie)}}},X=be=>{var J=u("rangeValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable))return;let{minValue:ee,maxValue:ve,includeMaxValue:Ae,includeMinValue:Ie}=K,Be="range";var Fe=He=>{if(Cr(He))return!0;const Ve=parseFloat(He),Ye=parseFloat(ee),at=parseFloat(ve),Ft=()=>isNaN(Ye)||Cr(ee)||(Ie?Ve>=Ye:Ve>Ye),_t=()=>isNaN(at)||Cr(ve)||(Ae?Ve<=at:Ve<at);return isNaN(Ve)||Ft()&&_t()};return{name:Be,label:be,trigger:[],validator:(He,Ve,Ye)=>{var at=Zs(K==null?void 0:K.errorMsg,{...K,label:be}),Ft=Cr(ee)?"":`${ee} ${Ie?"<=":"<"}`,_t=Cr(ve)?"":`${Ae?"<=":"<"} ${ve}`,Kt=`${Ft} 值 ${_t}`;Hp[Be](He,Ve,Ye,K==null?void 0:K.forceMatch,at||Kt,Fe)}}},Q=be=>{var J=u("expValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable))return;let ee=K==null?void 0:K.expression,ve=ee;if(ve){var Ae=Hp[ve],Ie=!!Ae;return Ie||(ve="regExp"),{name:ve,label:be,trigger:[],validator:(Be,Fe,He)=>{var Ve=Zs(K==null?void 0:K.errorMsg,{...K,label:be});Ie?Hp[ve](Be,Fe,He,K==null?void 0:K.forceMatch,Ve):Hp[ve](Be,Fe,He,K==null?void 0:K.forceMatch,Ve,ee)}}}},ne=be=>{var J=u("fnValidate",!0);const K=jt(J==null?void 0:J.options);if(!(K!=null&&K.enable)||!K.func)return;const{instance:ee}=Sa(r),ve=K==null?void 0:K.errorMsg;return{name:"userDefine",label:be,trigger:[],validator:(Ae,Ie,Be)=>{Js(K.func,{rule:Ae,value:Ie,callback:Fe=>{_O(!Fe,Ae,Be,ve,K==null?void 0:K.forceMatch)},errorMsg:ve,ctx:ee})}}},ce=()=>{if(e!=null&&e.formItemFlag&&!u("hidden")){le();var be=u("label"),J=[me(be),Q(be),ne(be),X(be)];return J==null||J.forEach(K=>{K&&te.push(K)}),de(),te}},fe=()=>{te&&te.forEach(be=>{pe(be)})},de=()=>{te&&te.forEach(be=>{Ee(be)})},pe=be=>{be.trigger&&be.trigger.splice(0,be.trigger.length)},Ee=be=>{be.trigger&&(be.trigger.push("blur"),be.name!=="required"&&be.trigger.push("change"))};return{attrs:E,extendAttrs:S,events:A,slots:k,originSlots:I,computedDefaultValue:O,fieldName:P,hasDefaultValue:D,optionItems:M,activeOptionItems:z,activeOptionItem:G,activeOptionItemIndex:Y,filterOptionItems:W,getCheckedOptionLabels:q,getCheckedOptionValues:ue,getCheckedOptionItems:Z,getCheckedOptionText:ie,setOptionItems:N,setFieldEnable:d,setWidgetOption:l,getWidgetOption:c,getWidgetOptionByPropValue:m,hasFieldOptions:i,getFieldOptions:u,setFieldOptions:s,rules:te,buildRules:ce,clearRules:le,disableChangeRule:pe,disableChangeValidate:fe,enableChangeRule:Ee,enableChangeValidate:de,addCssClass:be=>{var J=u("customClass");J?J.push(be):J=[be],s("customClass",J)},removeCssClass:be=>{var J=u("customClass");if(!J)return;let K=-1;J.map((ee,ve)=>{ee===be&&(K=ve)}),K>-1&&(J.splice(K,1),s("customClass",J))},singleOption:f,watchOption:h}}function lne(e,t){const{getWidgetOptionByPropValue:n}=Uo({name:e.name,options:e},t),r=(m,p)=>{var g=ii(Zs(Zr(m),p));if(g)return VZ(g)},a=m=>r(e.headers,m),o=m=>r(e.params,m),i=m=>Zs(e.url,m),u=()=>({timeout:e.timeout,withCredentials:e.withCredentials,maxBodyLength:e.maxBodyLength,maxContentLength:e.maxContentLength,responseType:e.responseType,responseEncoding:e.responseEncoding,method:e.method}),s=(m,p)=>{m&&m.interceptors.request.use(function(g){var y=g,b=v(e.willFetch,p,[g]);return b.result&&(y=b.data),y},function(g){return Promise.reject(g)})},l=(m,p)=>{m&&m.interceptors.response.use(function(g){var y=g,b=v(e.fitFetch,p,[g]);return b.result&&(y=b.data),y},function(g){var y=g,b=v(e.errorFetch,p,[g]);return b.result&&(y=b.data),Promise.reject(y)})},c=m=>{var p=Zs(e.shouldFetch,m);return Rc(e.shouldFetch)||p+""=="true"||p+""=="1"},f=m=>{if(e.data==null||e.data===void 0)return"";var p=Es(e.data);return p?ii(Zs(Zr(e.data),m)):Zs(e.data+"",m)},h=m=>{if(!c(m))return;const p=JD.create(u());return s(p,m),l(p,m),new Promise((g,y)=>{const b=i(m),_=f(m),E=a(m),w=o(m);if(!b)return;const S={url:b,data:_,headers:E,params:w};p.request(S).then(A=>{let P=A;var C=v(e.didFetch,m,[A]);C.result&&(P=C.data),g(P)}).catch(A=>{zi.error("request",A,S),y(A)})})},d=m=>!!ye.getValue(m),v=(m,p,g)=>{let y={result:!1,data:null};if(d(m)){y.result=!0;const b=n(m);y.data=b({data:p},...g)}return y};return{req:h}}function Vy(e){const t=e==null?void 0:e.pageConfig,n=()=>{var d;return jt((d=t==null?void 0:t.schema)==null?void 0:d.value)},r=(d,v,m)=>{var p=ye.getEnable(m==null?void 0:m[d]),g=ye.getEnable(v==null?void 0:v[d]);return!g&&p&&v&&(v[d]=m==null?void 0:m[d]),v},a=(d,v)=>{let m=Xn(d);["didFetch","willFetch","errorFetch","fitFetch"].forEach(g=>{m=r(g,m,t)});const{req:p}=lne(m,e);return p(v)},o=()=>{let d={};const v=Og.decryptFromUrl(window.location.href);d=Object.assign(d,{[Wr.urlParams]:v});const m=e==null?void 0:e.globalConfig;return d=Object.assign(d,{[Wr.compParams]:m}),d},i=d=>{var p,g;let v={};v=Object.assign(v,{schemaParams:d}),Object.assign(v,o()),v=Object.assign(v,{cookies:_D.getAll()});var m={};return(g=(p=n==null?void 0:n())==null?void 0:p.filter(y=>y.protocal===zc.VALUE))==null||g.forEach(y=>{m=Object.assign(m,{[y.name]:Zs(String(y==null?void 0:y.initialData),v)})}),v=Object.assign(v,{vars:m}),v},u=d=>{var v;return(v=n==null?void 0:n())==null?void 0:v.find(m=>m.name===d)},s=(d,v)=>{var m={};return d==null||d.forEach(p=>{p&&(m[p]=l(p,v))}),m},l=(d,v)=>{if(!d)return;const m=o(),p=m[Wr.urlParams],g=m[Wr.compParams];if(d==Wr.urlParams)return p;if(d==Wr.compParams)return g;const y=u(d),b=y==null?void 0:y.protocal,_=i(v);let E=null;switch(b){case zc.VALUE:E=Zs(String(y==null?void 0:y.initialData),_),jY(E)&&(E=ii(E));break;case zc.REMOTE:E=y?a(y,_):null;break}return E},c=(d,v)=>{var m=l(d,v);return fT(m)?m:new Promise((p,g)=>{p(m)})},f=(d,v,m)=>new Promise((p,g)=>{const y=d==null?void 0:d.length;let b=0;var _=d==null?void 0:d.map(w=>c(w,v));let E=0;Promise.all(_.map(w=>w.then(S=>{var D;b++;var A=Math.round(b/y*100);const P=d[E++],C=(D=u(P))==null?void 0:D.description;return m==null||m(A,S,E,P,C),S}))).then(w=>{m==null||m(100,w,E,"completedAll","completedAll"),p(w)})});return{loadSchemaData:n,remoteReadSchemaData:s,readSchemaData:l,findSchema:u,getSchemaDataObject:(d,v,m)=>new Promise((p,g)=>{f(d,v,m).then(y=>{var b={};y.forEach(_=>{b=Jn(b,_,!0)}),p(b)})}),getOneSchemaData:c,getSchemaDatas:f}}const zy=(e,t=!1,n=" ")=>e==null?void 0:e.map(r=>l0(r,t)).join(n),bO=(e,t)=>t?`(FROMJSON '${e}')`:e,l0=(e,t=!1)=>{var n;return(e==null?void 0:e.type)===Ei.Syntax.Literal?e.raw:(e==null?void 0:e.type)===Ei.Syntax.Identifier?e.name:e.type===Ei.Syntax.ExpressionStatement?l0(e.expression,void 0):(e==null?void 0:e.type)===Ei.Syntax.CallExpression?`(${(n=e.callee)==null?void 0:n.name} ${zy(e.arguments,!0)})`:(e==null?void 0:e.type)===Ei.Syntax.UnaryExpression?`${e.operator}${l0(e==null?void 0:e.argument)}`:(e==null?void 0:e.type)===Ei.Syntax.ObjectExpression?bO(`{${zy(e==null?void 0:e.properties,t,",")}}`,t):(e==null?void 0:e.type)===Ei.Syntax.ArrayExpression?bO(`[${zy(e.elements,t,",")}]`,t):(e==null?void 0:e.type)===Ei.Syntax.Property?`${l0(e==null?void 0:e.key)}:${l0(e==null?void 0:e.value)}`:""};function _E(){var e=["GETCHECKEDNAMES","GETCHECKEDNAME"];return{specialFuncNames:e,matchSpecialNode:r=>e.some(a=>r==null?void 0:r.includes(a)),specialNode:(r,a)=>{var o,i,u,s,l,c,f,h;if(r.type===Ei.Syntax.CallExpression){let d=Xn(r.arguments);if(e.includes((o=r.callee)==null?void 0:o.name)){const v=(i=r.arguments)==null?void 0:i[0];(a==null?void 0:a[`${v.name}${gu.checkedOptions}`])!=null&&(d[0].name=`${v.name}${gu.checkedOptions}`)}if(e.includes((s=(u=r.callee)==null?void 0:u.property)==null?void 0:s.name)){const v=(l=r.arguments)==null?void 0:l[0];let m=`${(c=v==null?void 0:v.property)==null?void 0:c.name}${gu.checkedOptions}`,p=(f=v==null?void 0:v.object)==null?void 0:f.name;p?((h=a==null?void 0:a[p])==null?void 0:h[m])!=null&&(d[0].property.name=m):(a==null?void 0:a[m])!=null&&(d[0].property.name=m)}r.arguments=d}return r}}}const une=e=>{var t=vD(e),n=zy(t.body);n.startsWith("(")&&(n=n.substring(1)),n.endsWith(")")&&(n=n.substring(0,n.length-1));var r=xJ(t.body);return{expression:n,funcname:r}},cne=Object.freeze(Object.defineProperty({__proto__:null,getScriptResult:(e,t)=>new Promise((n,r)=>{if(!e||Rc(e)){n(null);return}const a=u=>{var s=wJ(u);if(!(s!=null&&s.some(c=>!na(t,c)))){s==null||s.forEach(c=>{t[c]===void 0&&(t[c]=null)});var l=une(u);return Uee(`{{${l.expression}}}`,t,l.funcname)}},{specialNode:o,matchSpecialNode:i}=_E();if(i(e)){const{init:u,replaceVariableName:s}=gD();u().then(l=>{e=s(l,e,o,t),n(a(e))})}else n(a(e))}),useSpecialNode:_E},Symbol.toStringTag,{value:"Module"})),bE=e=>typeof(e==null?void 0:e.value)=="boolean"?!1:null,xE=(e,t)=>{let n={};if(!Va(e))return n;var r=t==null?void 0:t.instance;return ax(Id(e),(a,o,i)=>{var l,c,f,h;const u=(c=(l=r==null?void 0:r.exposed)==null?void 0:l.findRefByName)==null?void 0:c.call(l,o);if(!u)return;const s=(h=(f=u==null?void 0:u.exposed)==null?void 0:f.getField)==null?void 0:h.call(f);s&&s.id&&(n[s.id]=o)}),n},EE=e=>{var a,o,i,u,s;var t=e==null?void 0:e.instance,n=((o=(a=t==null?void 0:t.exposed)==null?void 0:a.getRowScope)==null?void 0:o.call(a))||((i=t==null?void 0:t.provides)==null?void 0:i.rowScope);const r=Object.assign({},(s=(u=t==null?void 0:t.exposed)==null?void 0:u.getFormData)==null?void 0:s.call(u),e==null?void 0:e.formData);return{[Ni.sysVar]:{[Wr.rowScope]:n},[Ni.sysData]:r}},fne=(e,t,n)=>{const{remoteReadSchemaData:r}=Vy(n);var a=hD(e),o=mD(a),i=o.filter(c=>[Ni.schema.toString()].includes(c.root)),u=i==null?void 0:i.map(c=>{var f,h;return(h=(f=c==null?void 0:c.properties)==null?void 0:f[0])==null?void 0:h.toString()});let s=null;t&&(s=ii(t));var l=r(u,s||{});return l},wE=(e,t,n,r)=>{var s;if(!e)return"";let a=e;const{updateFomula:o}=Eu(),{variableWithNameExp:i}=YY();if(r){var u=t==null?void 0:t[Ni.sysData];u&&(a=o(a,n||{},(l,c)=>Ki(c)?null:`${(u==null?void 0:u[c])||""}`)),(s=kr(t==null?void 0:t[Ni.sysVar]))==null||s.forEach(l=>{var c;u=(c=t==null?void 0:t[Ni.sysVar])==null?void 0:c[l],u&&(a=o(a,u,(f,h)=>Ki(h)?null:h,i("sysVar."+l)))})}else return a=o(a,n||{},(l,c)=>c?`${Ni.sysData}.${c}`:(t||(t={}),t[Ni.sysData]||(t[Ni.sysData]={}),t[Ni.sysData][l]===void 0&&(t[Ni.sysData][l]=null),`${Ni.sysData}.${l}`)),a;return a},pne=(e,t)=>{if(ye.isFormula(e)){const{transFormula:i}=Eu(),s=EE(t)[Ni.sysData];let l=xE(s,t);var n=jt(e),r=jt(n==null?void 0:n.value),a=i(r==null?void 0:r.complexValue,l),o=dne(a,s);return jt(o)}},xO=(e,t)=>{const n=EE(t);let r=xE(n[Ni.sysData],t);var a=wE(e==null?void 0:e.expr,n,r,!1),o=wE(e==null?void 0:e.params,n,r,!0);const i=fne(a,o,t);var u={[Ni.sysFunc]:yO,[Ni.schema]:i,...n};const s=[Ni.schema];var l=jt(hne(a,u,s));return l},hne=(e,t,n)=>{if(Rc(e))return;const{state:r}=mx(async()=>{var m;var{specialNode:a,matchSpecialNode:o}=_E(),{init:i,replaceVariableName:u}=gD(),s=e;if(o(e)){var l=await i();s=yJ(e,p=>u(l,p,a,t))}if(t&&n&&((n==null?void 0:n.length)||0)>0)for(var c=0;c<n.length;c++){var f=n==null?void 0:n[c],h=t==null?void 0:t[f];if(Va(h)){var d=(m=kr(h))==null?void 0:m.some(p=>fT(h[p]));if(d){var v=await ox(h);t[f]=v}}}return bx(s,t)},null);return r},dne=(e,t)=>{const{state:n}=mx(async()=>{const r=await Promise.resolve().then(()=>cne);var a=await(r==null?void 0:r.getScriptResult(e,t||{}));return a},null,{immediate:!0});return n},vne=(e,t)=>{if(ye.isVariable(e)){var n=ye.getVariable(e);return xO(n,t)}},mne=(e,t)=>{if(ye.isSchemaData(e)){var n=ye.getSchemaData(e);return xO(n,t)}},gne=(e,t=!1,n)=>{var r=jt(e),a=r==null?void 0:r.value,o=jt(a);return ye.isVariable(e)&&!(o!=null&&o.complexType)?t?vne(e,n):e==null?void 0:e.value:ye.isFormula(e)?t?pne(e,n):bE():ye.isSchemaData(e)?t?mne(e,n):bE():jt(a)},yne=(e,t=!1,n=!1,r)=>{if(!ye.isComplex(e))return e;if(!t&&!ye.getEnable(e))return bE();var a=jt(e),o=a==null?void 0:a.value;return!ye.isVariable(e)&&o===null?null:jt(gne(e,n,r))},_ne=(e,t)=>{const n=EE(t);let r=xE(n[Ni.sysData],t);return wE(e,n,r,!0)};class ye{constructor(t,n,r,a,o){U(this,"type",Se.prop);U(this,"propType");U(this,"value","");U(this,"variable");U(this,"options");this.type=t,n!==void 0&&(this.value=n),r!==void 0&&(this.options=r),a!==void 0&&(this.variable=a),o!==void 0&&Jn(this,o)}static get(t,n){if(n)return t==null?void 0:t[n]}static set(t,n,r){n&&t&&(t[n]=r)}static isComplex(t){const n=this.getType(t);return vx(Se).includes(n);//!!hasConfig(prop, 'type');
|
|
69
69
|
}static hasComplexValue(t){return!!na(t,"value")}static isComplexValue(t){var n;return ye.hasComplexValue(t)&&!!((n=jt(t==null?void 0:t.value))!=null&&n.complexType)}static buildVariablePropValue(t,n){return{type:Se.variable,variable:{expr:"${"+t+"}",params:n}}}static getOrgType(t){var r;var n=(r=this.getOptions(t))==null?void 0:r.origin;return n?this.getType(n):this.getType(t)}static getType(t){var n;return(n=jt(t))==null?void 0:n.type}static getOptions(t){var n;return(n=jt(t))==null?void 0:n.options}static needCalcValue(t){return this.isFormula(t)||this.isVariable(t)||this.isSchemaData(t)}static isComplexType(t,n){return this.isComplex(t)&&this.getType(t)===n}static isSchemaData(t){var n;return this.hasComplexValue(t)&&((n=jt(t==null?void 0:t.value))==null?void 0:n.complexType)===Se.schemaData}static clearSchemaData(t){var r;var n=Xn(t);return this.isComplex(t)?(r=jt(n))==null?void 0:r.value:n}static setSchemaData(t,n){var r=Xn(t),a=new iD(Se.schemaData,n);return this.isComplex(r)?r=a:r=new ye(Se.prop,a),r}static getSchemaData(t){var r;var n=jt(t);return(r=jt(n==null?void 0:n.value))==null?void 0:r.complexValue}static isFormula(t){var n;return this.hasComplexValue(t)&&((n=jt(t==null?void 0:t.value))==null?void 0:n.complexType)===Se.formula}static setFormula(t,n){var r=Xn(t),a=new iD(Se.formula,n);return this.isComplex(r)?r=a:r=new ye(Se.prop,a),r}static getFormula(t){var n;return(n=jt(t==null?void 0:t.value))==null?void 0:n.complexValue}static getFormulaRelatedField(t){const{getFormulaFields:n}=Eu();return n(Zr(jt(t)))}static isVariable(t){var n;return this.isComplex(t)&&((n=jt(t))==null?void 0:n.type)===Se.variable}static clearVariable(t){var r;var n=Xn(t);if(this.isComplex(t)){const a=jt(n),o=(r=a.options)==null?void 0:r.origin;return this.isComplex(o)?(jt(o).value=a==null?void 0:a.value,o):a==null?void 0:a.value}return n}static setVariable(t,n){var r=Xn(t);if(this.isComplex(r)){let a=r==null?void 0:r.options;return r.type!==Se.variable&&(a=Object.assign(a||{},{origin:Xn(r)})),new ye(Se.variable,r==null?void 0:r.value,a,n)}else return new ye(Se.variable,r||null,r==null?void 0:r.options,n)}static getVariable(t){var n;return(n=jt(t))==null?void 0:n.variable}static getValue(t,n=!1,r=!1,a){return yne(t,n,r,a)}static setValue(t,n,r){if(!t||!n)return!1;var a=this.get(t,n);const o=this.getType(a);if(!this.isComplex(a))this.set(t,n,r);else{let i=r;o===Se.dataObject&&ta(i)&&(i=ii(r)),jt(a).value=i}return!0}static getEnable(t){var r;if(!this.isComplex(t))return!1;var n=this.getOptions(t);return na(n,"enable")?(r=jt(n))==null?void 0:r.enable:!0}static setEnable(t,n,r){var a=this.get(t,n);if(this.isComplex(a)){var o=jt(a);return o.options===void 0&&(o.options={}),o.options.enable=r,!0}return!1}}class u0{static getKeys(){var t=new this;return kr(t)}}class Uy extends u0{constructor(){super(...arguments);U(this,"name","")}}class SE extends u0{constructor(){super(...arguments);U(this,"isdefault",!1)}}class Hy extends Uy{constructor(){super(...arguments);U(this,"ctrlWidth",new ye(Se.placer,"auto"));U(this,"ctrlHeight",new ye(Se.placer,"auto"));U(this,"customClass",new ye(Se.placer,[]));U(this,"componentWrapperClass",new ye(Se.placer,[]));U(this,"displayLayout",new ye(Se.placer,Pl.block));U(this,"created",new ye(Se.event,void 0,new st));U(this,"mounted",new ye(Se.event,void 0,new st))}}class Ui extends Hy{constructor(){super(...arguments);U(this,"hidden",new ye(Se.placer,!1))}}class CE extends Ui{constructor(){super(...arguments);U(this,"content",new ye(Se.placer,""))}}class Ps extends CE{constructor(){super(...arguments);U(this,"slotable",new ye(Se.placer,!1));U(this,"default",new ye(Se.slot,null,new Un))}}class bne extends Ui{constructor(){super(...arguments);U(this,"slotable",new ye(Se.placer,!1));U(this,"default",new ye(Se.slot,null,new Un))}}class Wy extends st{constructor(n){super(n);U(this,"forceMatch",!0);U(this,"errorMsg","");Jn(this,n)}}class xne extends Wy{constructor(n){super(n);U(this,"expression","");Jn(this,n)}}class Ene extends Wy{constructor(n){super(n);U(this,"func","");Jn(this,n)}}class wne extends Wy{constructor(n){super(n);U(this,"minValue",null);U(this,"includeMinValue",!0);U(this,"maxValue",null);U(this,"includeMaxValue",!0);Jn(this,n)}}class Un extends st{constructor(n){super(n);U(this,"allowDrag",!1);U(this,"slotName");Jn(this,n)}}class Gn{constructor(){U(this,"widgetList",[])}}class Wp extends Ui{constructor(){super(...arguments);U(this,"label",new ye(Se.placer,""));U(this,"defaultValue",null);U(this,"state",new ye(Se.placer,Ol.custom));U(this,"readonly",!1);U(this,"disabled",!1);U(this,"size","");U(this,"tabindex","");U(this,"labelHidden",new ye(Se.placer,!1));U(this,"labelAlign",new ye(Se.placer,""));U(this,"labelWidth",new ye(Se.placer,""));U(this,"labelIconClass",new ye(Se.icon));U(this,"labelIconPosition",new ye(Se.placer,Vc.rear));U(this,"labelTooltip",new ye(Se.placer,""));U(this,"change",new ye(Se.event,void 0,new st));U(this,"focus",new ye(Se.event,void 0,new st));U(this,"blur",new ye(Se.event,void 0,new st));U(this,"click",new ye(Se.event,void 0,new st));U(this,"validateEvent",!0);U(this,"required",new ye(Se.placer,!0,new Wy));U(this,"expValidate",new ye(Se.placer,void 0,new xne));U(this,"rangeValidate",new ye(Se.placer,void 0,new wne));U(this,"fnValidate",new ye(Se.placer,void 0,new Ene))}}class Ho extends Wp{constructor(){super(...arguments);U(this,"placeholder","")}}class _o extends SE{constructor(){super(...arguments);U(this,"label","");U(this,"value","")}}class AE extends _o{constructor(){super(...arguments);U(this,"children",[])}}class EO extends AE{constructor(){super(...arguments);U(this,"isopen",!1)}}const Xm=class{constructor(){U(this,"type",nt.none);U(this,"icon","");U(this,"id","");U(this,"options",{});U(this,"category",bu.normal);U(this,"init",(t=!0)=>{var n,r;this.id||(this.id=TE.newId((n=this.type)==null?void 0:n.toString())),this.icon||(this.icon=TE.getIcon((r=this.type)==null?void 0:r.toString(),t&&this.category!=bu.container))})}static newId(t){return((t==null?void 0:t.replace(/-/g,""))||"")+$s()}static getIcon(t,n=!0){return"@widget-"+(t||"")+(n?"-field":"")}};let ft=Xm;U(ft,"isContainer",t=>t.category===bu.container),U(ft,"getWidgetTypeName",t=>t?se.i18n2t(`designer.widgetLabel.${t}`,`extension.widgetLabel.${t}`):""),U(ft,"getWidgetName",t=>{var n;return t.type?((n=t.type)==null?void 0:n.trim())+"-widget":""}),U(ft,"getName",t=>Xm.getOrgOption(t,Xt.name)),U(ft,"setName",(t,n)=>{Xm.setOptions(t,Xt.name,n)}),U(ft,"getOrgOption",(t,n)=>{var r;return(r=t==null?void 0:t.options)==null?void 0:r[n]}),U(ft,"setOrgOption",(t,n,r)=>{!t||!t.options||(t.options[n]=r)}),U(ft,"getOptions",(t,n,r=!1,a=!1,o)=>{var i=Xm.getOrgOption(t,n);if(r)return i;var u=ye.getValue(i,!1,a,o);if(u!==null)return u}),U(ft,"setOptions",(t,n,r)=>{ye.setValue(t==null?void 0:t.options,n,r)}),U(ft,"setEnable",(t,n,r)=>{ye.setEnable(t==null?void 0:t.options,n,r)});class TE extends ft{constructor(){super();U(this,"dynamicItemFlag",!1);U(this,"formItemFlag",!1);U(this,"options",{});this.formItemFlag=!0}}class Fn extends TE{constructor(t,n,r=!1,a){super(),a!=null&&a.autoWidth&&na(n,Xt.ctrlWidth)&&(n.ctrlWidth=new ye(Se.placer,eD.auto)),a!=null&&a.inlineLayout&&na(n,Xt.displayLayout)&&(n.displayLayout=new ye(Se.placer,Pl.inline)),Ki(a==null?void 0:a.dynamicItemFlag)||(this.dynamicItemFlag=a==null?void 0:a.dynamicItemFlag),this.formItemFlag=r,this.type=t,this.options=n,Object.entries(n).map(([o,i])=>{var u;ye.getType(i)===Se.slot&&((u=ye.getOptions(i))!=null&&u.allowDrag)&&(i.widgetList=[])}),this.init(r)}}function Sne(){let e=new Map;const t=r=>{var a=ft.getWidgetName(r),o=null;return a&&(ft.isContainer(r)?o=x.defineAsyncComponent(()=>BA(Object.assign({"./container-widget/cont-cell-widget.vue":()=>Promise.resolve().then(()=>_k),"./container-widget/cont-widget.vue":()=>Promise.resolve().then(()=>bk),"./container-widget/form-widget.vue":()=>Promise.resolve().then(()=>xk),"./container-widget/grid-col-widget.vue":()=>Promise.resolve().then(()=>wk),"./container-widget/grid-widget.vue":()=>Promise.resolve().then(()=>Sk),"./container-widget/ltable-col-widget.vue":()=>Promise.resolve().then(()=>Ak),"./container-widget/ltable-widget.vue":()=>Promise.resolve().then(()=>Tk),"./container-widget/tab-pane-widget.vue":()=>Promise.resolve().then(()=>Pk),"./container-widget/tabs-widget.vue":()=>Promise.resolve().then(()=>Ok),"./container-widget/wrapper-widget.vue":()=>Promise.resolve().then(()=>kk)}),`./container-widget/${a}.vue`)):o=x.defineAsyncComponent(()=>BA(Object.assign({"./field-widget/affix-widget.vue":()=>Promise.resolve().then(()=>Nme),"./field-widget/alert-widget.vue":()=>Promise.resolve().then(()=>Lme),"./field-widget/anchor-link-widget.vue":()=>Promise.resolve().then(()=>Rme),"./field-widget/anchor-widget.vue":()=>Promise.resolve().then(()=>zme),"./field-widget/auto-complete-widget.vue":()=>Promise.resolve().then(()=>Jme),"./field-widget/avatar-widget.vue":()=>Promise.resolve().then(()=>qme),"./field-widget/backtop-widget.vue":()=>Promise.resolve().then(()=>tge),"./field-widget/badge-widget.vue":()=>Promise.resolve().then(()=>ige),"./field-widget/breadcrumb-widget.vue":()=>Promise.resolve().then(()=>lge),"./field-widget/button-widget.vue":()=>Promise.resolve().then(()=>fge),"./field-widget/cache-widget.vue":()=>Promise.resolve().then(()=>dge),"./field-widget/card-widget.vue":()=>Promise.resolve().then(()=>gge),"./field-widget/carousel-widget.vue":()=>Promise.resolve().then(()=>bge),"./field-widget/cascader-widget.vue":()=>Promise.resolve().then(()=>wge),"./field-widget/chart-widget.vue":()=>Promise.resolve().then(()=>Age),"./field-widget/checkbox-widget.vue":()=>Promise.resolve().then(()=>Pge),"./field-widget/collapse-widget.vue":()=>Promise.resolve().then(()=>Bge),"./field-widget/color-picker-widget.vue":()=>Promise.resolve().then(()=>Fge),"./field-widget/content-wrapper.vue":()=>Promise.resolve().then(()=>Pme),"./field-widget/date-picker-range-widget.vue":()=>Promise.resolve().then(()=>Rge),"./field-widget/date-picker-widget.vue":()=>Promise.resolve().then(()=>zge),"./field-widget/default-slot-widget.vue":()=>Promise.resolve().then(()=>kme),"./field-widget/descriptions-widget.vue":()=>Promise.resolve().then(()=>Gge),"./field-widget/dialog-widget.vue":()=>Promise.resolve().then(()=>Jge),"./field-widget/divider-widget.vue":()=>Promise.resolve().then(()=>qge),"./field-widget/drawer-widget.vue":()=>Promise.resolve().then(()=>eye),"./field-widget/dropdown-widget.vue":()=>Promise.resolve().then(()=>iye),"./field-widget/empty-widget.vue":()=>Promise.resolve().then(()=>sye),"./field-widget/feedback-widget.vue":()=>Promise.resolve().then(()=>Xge),"./field-widget/file-upload-widget.vue":()=>Promise.resolve().then(()=>yye),"./field-widget/form-item-wrapper.vue":()=>Promise.resolve().then(()=>Kme),"./field-widget/html-text-widget.vue":()=>Promise.resolve().then(()=>xye),"./field-widget/iframe-widget.vue":()=>Promise.resolve().then(()=>Aye),"./field-widget/image-widget.vue":()=>Promise.resolve().then(()=>Pye),"./field-widget/input-number-widget.vue":()=>Promise.resolve().then(()=>Nye),"./field-widget/input-widget.vue":()=>Promise.resolve().then(()=>Lye),"./field-widget/label-wrapper.vue":()=>Promise.resolve().then(()=>Hme),"./field-widget/link-widget.vue":()=>Promise.resolve().then(()=>Vye),"./field-widget/menu-widget.vue":()=>Promise.resolve().then(()=>Wye),"./field-widget/model-widget.vue":()=>Promise.resolve().then(()=>Yye),"./field-widget/multirow-widget.vue":()=>Promise.resolve().then(()=>g1e),"./field-widget/pagination-widget.vue":()=>Promise.resolve().then(()=>b1e),"./field-widget/picture-upload-widget.vue":()=>Promise.resolve().then(()=>O1e),"./field-widget/progress-widget.vue":()=>Promise.resolve().then(()=>M1e),"./field-widget/radio-widget.vue":()=>Promise.resolve().then(()=>j1e),"./field-widget/range-widget.vue":()=>Promise.resolve().then(()=>K1e),"./field-widget/rate-widget.vue":()=>Promise.resolve().then(()=>J1e),"./field-widget/result-widget.vue":()=>Promise.resolve().then(()=>q1e),"./field-widget/rich-editor-widget.vue":()=>Promise.resolve().then(()=>t_e),"./field-widget/router-widget.vue":()=>Promise.resolve().then(()=>a_e),"./field-widget/select-widget.vue":()=>Promise.resolve().then(()=>u_e),"./field-widget/slider-widget.vue":()=>Promise.resolve().then(()=>p_e),"./field-widget/static-text-widget.vue":()=>Promise.resolve().then(()=>v_e),"./field-widget/steps-widget.vue":()=>Promise.resolve().then(()=>b_e),"./field-widget/subMenu-widget.vue":()=>Promise.resolve().then(()=>zye),"./field-widget/switch-widget.vue":()=>Promise.resolve().then(()=>w_e),"./field-widget/table-col-widget.vue":()=>Promise.resolve().then(()=>S_e),"./field-widget/table-widget.vue":()=>Promise.resolve().then(()=>D_e),"./field-widget/tag-widget.vue":()=>Promise.resolve().then(()=>k_e),"./field-widget/text-widget.vue":()=>Promise.resolve().then(()=>N_e),"./field-widget/textarea-widget.vue":()=>Promise.resolve().then(()=>L_e),"./field-widget/time-picker-range-widget.vue":()=>Promise.resolve().then(()=>V_e),"./field-widget/time-picker-widget.vue":()=>Promise.resolve().then(()=>H_e),"./field-widget/time-select-widget.vue":()=>Promise.resolve().then(()=>K_e),"./field-widget/tmpl-widget.vue":()=>Promise.resolve().then(()=>J_e),"./field-widget/tree-select-widget.vue":()=>Promise.resolve().then(()=>q_e),"./field-widget/tree-widget.vue":()=>Promise.resolve().then(()=>t2e),"./field-widget/vertical-progress-widget.vue":()=>Promise.resolve().then(()=>I1e)}),`./field-widget/${a}.vue`))),o};return{components:r=>{var a=ft.getWidgetName(r);if(e.has(a))return e.get(a);var o=t(r);return e.set(a,o),o}}}function Cne(e){return e=e||Object.create(null),{on:function(n,r){(e[n]||(e[n]=[])).push(r)},off:function(n,r){e[n]&&e[n].splice(e[n].indexOf(r)>>>0,1)},emit:function(n,r){(e[n]||[]).map(function(a){a(r)}),(e["*"]||[]).map(function(a){a(n,r)})}}}const DE=new Cne,wO={$on:DE.on,$off:DE.off,$emit:DE.emit};function SO(e){var t={index:-1,maxStep:20,steps:[]};e&&!(e!=null&&e.historyData)&&(e.historyData=t);const n=x.reactive((e==null?void 0:e.historyData)||t),r=`widget__list__backup__${e==null?void 0:e.key}`,a=`form__config__backup__${e==null?void 0:e.key}`,o=x.computed({get:()=>(n.index<0&&(n.index=0),n.steps[n.index]),set:g=>{n.index<0&&(n.index=0),n.steps[n.index]=g}}),i=()=>{const g=o==null?void 0:o.value;e.version=I5(),e.widgetList=Xn(g==null?void 0:g.widgetList),e.pageConfig=Xn(g==null?void 0:g.pageConfig)},u=g=>{const y=o;y.value=Xn({detail:g,widgetList:e.widgetList,pageConfig:e.pageConfig})},s=()=>{p(),n.index=n.index+1,u("initHistory")},l=g=>{var y;n.index==n.maxStep-1?(y=n.steps)==null||y.shift():n.index=n.index+1,c(g),n.index<n.steps.length-1&&(n.steps=n.steps.slice(0,n.index+1))},c=g=>{u(g),m()},f=()=>{n.index!==0&&n.index--,i()},h=()=>{var g;n.index!==((g=n.steps)==null?void 0:g.length)-1&&n.index++,i()},d=()=>{var g;return n.index>0&&((g=n.steps)==null?void 0:g.length)>0},v=()=>{var g;return n.index<((g=n.steps)==null?void 0:g.length)-1},m=()=>{jc.set(r,e.widgetList),jc.set(a,e.pageConfig)},p=()=>{let g=jc.get(r);g&&Jn(e.widgetList,ii(g));let y=jc.get(a);y&&Jn(e.pageConfig,ii(y))};return{initHistoryData:s,emitHistoryChange:l,saveCurrentHistoryStep:c,undoHistoryStep:f,redoHistoryStep:h,undoEnabled:d,redoEnabled:v,saveFormContentToStorage:m,loadFormContentFromStorage:p}}class Ane extends Ui{constructor(){super(...arguments);U(this,"labelHidden",new ye(Se.placer,!1));U(this,"label",new ye(Se.placer,""));U(this,"defaultValue",null);U(this,"state",new ye(Se.placer,Ol.custom));U(this,"readonly",!1);U(this,"disabled",!1);U(this,"change",new ye(Se.event,void 0,new st))}}class Tne extends Ho{constructor(){super(...arguments);U(this,"type",PT.text);U(this,"minlength",0);U(this,"maxlength",1e4);U(this,"prefixIcon",new ye(Se.icon));U(this,"suffixIcon",new ye(Se.icon));U(this,"clearable",!0);U(this,"showPassword",!1);U(this,"showWordLimit",!1);U(this,"formatter",new ye(Se.hook,void 0,new st));U(this,"parser",new ye(Se.hook,void 0,new st));U(this,"input",new ye(Se.event,void 0,new st));U(this,"clear",new ye(Se.event,void 0,new st));U(this,"slotable",new ye(Se.placer,!1));U(this,"prepend",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn));U(this,"append",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn))}}class Dne extends Ho{constructor(){super(...arguments);U(this,"resize",TT.none);U(this,"rows",3);U(this,"minlength",0);U(this,"maxlength",1e4);U(this,"showWordLimit",!1);U(this,"autosize",!1);U(this,"input",new ye(Se.event,void 0,new st))}}class Pne extends Ho{constructor(){super(...arguments);U(this,"defaultValue",null);U(this,"min",0);U(this,"max",1e4);U(this,"precision",0);U(this,"step",1);U(this,"stepStrictly",!1);U(this,"controls",!0);U(this,"controlsPosition",kT.none);U(this,"valueOnClear",DT.min);U(this,"unitText",new ye(Se.placer,""));U(this,"input",new ye(Se.event,void 0,new st))}}class One extends Ho{constructor(){super(...arguments);U(this,"clearable",!0);U(this,"select",new ye(Se.event,void 0,new st));U(this,"fetchSuggestions",new ye(Se.hook,void 0,new st));U(this,"default",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"valueKey","value");U(this,"debounce",300);U(this,"placement",Op.bottomStart);U(this,"triggerOnFocus",!1);U(this,"selectWhenUnmatched",!1);U(this,"hideLoading",!1);U(this,"popperClass","");U(this,"popperAppendToBody",!1);U(this,"teleported",!1);U(this,"highlightFirstItem",!1);U(this,"fitInputWidth",!1);U(this,"slotable",new ye(Se.placer,!1));U(this,"prefix",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn));U(this,"suffix",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn));U(this,"prepend",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn));U(this,"append",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn))}}class kne extends Wp{constructor(){super(...arguments);U(this,"displayStyle",new ye(Se.placer,Pl.inline));U(this,"buttonStyle",!1);U(this,"textColor","");U(this,"fill","");U(this,"border",!1);U(this,"valueKey",new ye(Se.placer,"value"));U(this,"labelKey",new ye(Se.placer,"label"));U(this,"withAttachData",new ye(Se.placer,!0));U(this,"textName",new ye(Se.placer,""));U(this,"optionName",new ye(Se.placer,""));U(this,"labelName",new ye(Se.placer,""));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})));U(this,"relate",new ye(Se.placer,void 0))}}class CO extends _o{constructor(){super(...arguments);U(this,"border",!1);U(this,"disabled",!1)}}class Bne extends Wp{constructor(){super(...arguments);U(this,"defaultValue",[]);U(this,"min",0);U(this,"max",1e3);U(this,"displayStyle",new ye(Se.placer,Pl.inline));U(this,"buttonStyle",!1);U(this,"border",!1);U(this,"textColor","#ffffff");U(this,"fill","#409EFF");U(this,"tag","div");U(this,"valueKey",new ye(Se.placer,"value"));U(this,"labelKey",new ye(Se.placer,"label"));U(this,"withAttachData",new ye(Se.placer,!0));U(this,"textName",new ye(Se.placer,""));U(this,"optionName",new ye(Se.placer,""));U(this,"labelName",new ye(Se.placer,""));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})));U(this,"relate",new ye(Se.placer,[]))}}class AO extends _o{constructor(){super(...arguments);U(this,"border",!1);U(this,"disabled",!1)}}class TO extends Ho{constructor(){super(...arguments);U(this,"defaultFirstOption",!1);U(this,"noDataText","");U(this,"allowCreate",!1);U(this,"automaticDropdown",!1);U(this,"showGroup",new ye(Se.placer,!1));U(this,"teleported",!0);U(this,"persistent",!0);U(this,"fitInputWidth",!1);U(this,"clearable",!0);U(this,"clearIcon",new ye(Se.icon,"CircleClose"));U(this,"suffixTransition",!0);U(this,"suffixIcon",new ye(Se.icon,"ArrowDown"));U(this,"tagType",ux.info);U(this,"placement",Op.bottomStart);U(this,"effect",Pp.light);U(this,"multiple",!1);U(this,"multipleLimit",0);U(this,"collapseTags",!1);U(this,"collapseTagsTooltip",!1);U(this,"maxCollapseTags",1);U(this,"selectOnlyOneGroup",new ye(Se.placer,!1));U(this,"filterable",!1);U(this,"reserveKeyword",!0);U(this,"remote",!1);U(this,"remoteShowSuffix",!1);U(this,"loadingText","");U(this,"noMatchText","");U(this,"filterMethod",new ye(Se.hook,void 0,new st));U(this,"remoteMethod",new ye(Se.hook,void 0,new st));U(this,"popperClass","");U(this,"popperOptions",{});U(this,"slotable",new ye(Se.placer,!1));U(this,"visibleChange",new ye(Se.event,void 0,new st));U(this,"removeTag",new ye(Se.event,void 0,new st));U(this,"clear",new ye(Se.event,void 0,new st));U(this,"optionDefault",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"prefix",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})));U(this,"relate",new ye(Se.placer,void 0));U(this,"valueKey",new ye(Se.placer,"value"));U(this,"labelKey",new ye(Se.placer,"label"));U(this,"allItemAsValue",new ye(Se.placer,!1));U(this,"withAttachData",new ye(Se.placer,!0));U(this,"textName",new ye(Se.placer,""));U(this,"optionName",new ye(Se.placer,""));U(this,"labelName",new ye(Se.placer,""))}}class DO extends Ho{constructor(){super(...arguments);U(this,"format",QT.time1);U(this,"prefixIcon",new ye(Se.icon,"Clock"));U(this,"clearIcon",new ye(Se.icon,"CircleClose"));U(this,"clearable",!0);U(this,"editable",!1);U(this,"isRange",!1);U(this,"arrowControl",!1);U(this,"popperClass","");U(this,"teleported",!0);U(this,"disabledHours",new ye(Se.hook,void 0,new st));U(this,"disabledMinutes",new ye(Se.hook,void 0,new st));U(this,"disabledSeconds",new ye(Se.hook,void 0,new st));U(this,"visibleChange",new ye(Se.event,void 0,new st))}}class Ine extends DO{constructor(){super(...arguments);U(this,"placeholder","")}}class Nne extends DO{constructor(){super(...arguments);U(this,"rangeSeparator","-");U(this,"startPlaceholder","");U(this,"endPlaceholder","");U(this,"isRange",!0)}}class PO extends Ho{constructor(){super(...arguments);U(this,"editable",!0);U(this,"clearable",!0);U(this,"defaultValue",null);U(this,"defaultTime",null);U(this,"format",dx.date1);U(this,"valueFormat",dx.date1);U(this,"prefixIcon",new ye(Se.icon));U(this,"clearIcon",new ye(Se.icon));U(this,"disabledDate",new ye(Se.hook,void 0,new st));U(this,"shortcuts",new ye(Se.hook));U(this,"cellClassName",new ye(Se.hook,void 0,new st));U(this,"teleported",!0);U(this,"popperClass","");U(this,"popperOptions",{});U(this,"default",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"visibleChange",new ye(Se.event,void 0,new st));U(this,"panelChange",new ye(Se.event,void 0,new st));U(this,"calendarChange",new ye(Se.event,void 0,new st))}}class Fne extends PO{constructor(){super(...arguments);U(this,"placeholder","");U(this,"type",jT.date)}}class Mne extends PO{constructor(){super(...arguments);U(this,"type",VT.daterange);U(this,"defaultValue",null);U(this,"defaultTime",null);U(this,"unlinkPanels",!1);U(this,"startPlaceholder","");U(this,"endPlaceholder","");U(this,"rangeSeparator",new ye(Se.slot,null,new Un,void 0,new Gn))}}class Lne extends Ho{constructor(){super(...arguments);U(this,"clearable",!0);U(this,"effect",Pp.light);U(this,"prefixIcon",new ye(Se.icon,"Clock"));U(this,"clearIcon",new ye(Se.icon,"CircleClose"));U(this,"start","09:00");U(this,"end","18:00");U(this,"step","00:30");U(this,"minTime","");U(this,"maxTime","");U(this,"format","HH:mm");U(this,"emptyValues",new ye(Se.dataObject,null,new Ar({type:We.array,enable:!0})));U(this,"valueOnClear",new ye(Se.hook,void 0,new st));U(this,"clear",new ye(Se.event,void 0,new st))}}class Rne extends Ho{constructor(){super(...arguments);U(this,"width","40px");U(this,"inlinePrompt",!1);U(this,"activeIcon",new ye(Se.icon));U(this,"inactiveIcon",new ye(Se.icon));U(this,"activeActionIcon",new ye(Se.icon));U(this,"inactiveActionIcon",new ye(Se.icon));U(this,"activeText","");U(this,"inactiveText","");U(this,"valueType",new ye(Se.placer,We.boolean));U(this,"activeValue",!0);U(this,"inactiveValue",!1);U(this,"beforeChange",new ye(Se.hook,void 0,new st))}}class jne extends Wp{constructor(){super(...arguments);U(this,"max",5);U(this,"lowThreshold",2);U(this,"highThreshold",4);U(this,"allowHalf",!0);U(this,"showText",!0);U(this,"showScore",!0)}}class Vne extends bne{constructor(){super(...arguments);U(this,"percentage",0);U(this,"duration",3);U(this,"width",126);U(this,"strokeWidth",6);U(this,"type",Nd.line);U(this,"status",xT.none);U(this,"strokeLinecap",ET.round);U(this,"color",new ye(Se.hook,void 0,new st));U(this,"trackColor",new ye(Se.hook,void 0,new st));U(this,"format",new ye(Se.hook,void 0,new st));U(this,"textInside",!1);U(this,"indeterminate",!1);U(this,"showText",!0);U(this,"striped",!1);U(this,"stripedFlow",!1);U(this,"direction",new ye(Se.placer,Cs.horizontal));U(this,"completeSec",new ye(Se.placer,0));U(this,"completed",new ye(Se.placerHook,void 0,new st))}}class zne extends Wp{constructor(){super(...arguments);U(this,"colorFormat",qT.rgb);U(this,"showAlpha",!1);U(this,"popperClass","");U(this,"predefine",new ye(Se.dataObject,[],new Ar({type:We.array,enable:!0})))}}class Une extends Ho{constructor(){super(...arguments);U(this,"min",0);U(this,"max",100);U(this,"step",10);U(this,"debounce",0);U(this,"showStops",!0);U(this,"vertical",!1);U(this,"height","");U(this,"range",!1);U(this,"marks",new ye(Se.dataObject,{},new Ar({type:We.object,enable:!0})));U(this,"showInput",!1);U(this,"showInputControls",!0);U(this,"inputSize",mo.default);U(this,"showTooltip",!0);U(this,"placement",Op.top);U(this,"formatTooltip",new ye(Se.hook,void 0,new st));U(this,"tooltipClass","")}}class OO extends Wp{constructor(){super(...arguments);U(this,"fileTypes",new ye(Se.placer,[],new Ar({type:We.array,enable:!0})));U(this,"limit",3);U(this,"fileMaxSize",new ye(Se.placer,5));U(this,"multiple",!1);U(this,"showFileList",!0);U(this,"drag",!1);U(this,"action","");U(this,"uploadTip",new ye(Se.placer,""));U(this,"dataFn",new ye(Se.hook,""));U(this,"withCredentials",!1);U(this,"beforeUpload",new ye(Se.event,void 0,new st));U(this,"uploadSuccess",new ye(Se.event,void 0,new st));U(this,"uploadError",new ye(Se.event,void 0,new st));U(this,"fileRemove",new ye(Se.event,void 0,new st))}}class Hne{constructor(){let t=new OO;return ye.setValue(t,"fileTypes",vx(tD)),t}}class Wne{constructor(){let t=new OO;return ye.setValue(t,"fileTypes",vx($T)),t}}class Gne extends Ho{}class Kne extends Ho{constructor(){super(...arguments);U(this,"clearable",!0);U(this,"checkStrictly",new ye(Se.placer,!1));U(this,"showAllLevels",!0);U(this,"emitPath",new ye(Se.placer,!0));U(this,"separator"," / ");U(this,"debounce",300);U(this,"hoverThreshold",new ye(Se.placer,500));U(this,"expandTrigger",new ye(Se.placer,ag.click));U(this,"tagType",ux.info);U(this,"tagEffect",lx.light);U(this,"lazy",new ye(Se.placer,!1));U(this,"lazyLoad",new ye(Se.placerHook,void 0,new st));U(this,"filterable",!1);U(this,"filterMethod",new ye(Se.hook,void 0,new st));U(this,"beforeFilter",new ye(Se.hook,void 0,new st));U(this,"multiple",new ye(Se.placer,!1));U(this,"collapseTags",!1);U(this,"collapseTagsTooltip",!1);U(this,"maxCollapseTags",1);U(this,"emptyValues",new ye(Se.dataObject,null,new Ar({type:We.array,enable:!0})));U(this,"valueOnClear",new ye(Se.hook,void 0,new st));U(this,"popperClass","");U(this,"teleported",!0);U(this,"persistent",!0);U(this,"valueProp",new ye(Se.placer,"value"));U(this,"labelProp",new ye(Se.placer,"label"));U(this,"childrenProp",new ye(Se.placer,"children"));U(this,"disabledProp",new ye(Se.placer,"disabled"));U(this,"leafProp",new ye(Se.placer,"leaf"));U(this,"withAttachData",new ye(Se.placer,!0));U(this,"textName",new ye(Se.placer,""));U(this,"optionName",new ye(Se.placer,""));U(this,"labelName",new ye(Se.placer,""));U(this,"visibleChange",new ye(Se.event,void 0,new st));U(this,"removeTag",new ye(Se.event,void 0,new st));U(this,"expandChange",new ye(Se.event,void 0,new st));U(this,"clear",new ye(Se.event,void 0,new st));U(this,"empty",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"optionDefault",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})));U(this,"relate",new ye(Se.placer,void 0))}}class kO extends Ui{constructor(){super(...arguments);U(this,"renderAfterExpand",!0);U(this,"highlightCurrent",!1);U(this,"defaultExpandAll",!1);U(this,"expandOnClickNode",!0);U(this,"checkOnClickNode",!1);U(this,"autoExpandParent",!0);U(this,"showCheckbox",!1);U(this,"checkStrictly",!1);U(this,"accordion",!1);U(this,"draggable",!1);U(this,"lazy",!1);U(this,"load",new ye(Se.hook,void 0,new st));U(this,"filterNodeMethod",new ye(Se.hook,void 0,new st));U(this,"renderContent",new ye(Se.hook,void 0,new st));U(this,"allowDrag",new ye(Se.hook,void 0,new st));U(this,"allowDrop",new ye(Se.hook,void 0,new st));U(this,"empty",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"optionDefault",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"nodeClick",new ye(Se.event,void 0,new st));U(this,"nodeContextmenu",new ye(Se.event,void 0,new st));U(this,"checkChange",new ye(Se.event,void 0,new st));U(this,"check",new ye(Se.event,void 0,new st));U(this,"currentChange",new ye(Se.event,void 0,new st));U(this,"nodeExpand",new ye(Se.event,void 0,new st));U(this,"nodeCollapse",new ye(Se.event,void 0,new st));U(this,"nodeDragStart",new ye(Se.event,void 0,new st));U(this,"nodeDragEnter",new ye(Se.event,void 0,new st));U(this,"nodeDragLeave",new ye(Se.event,void 0,new st));U(this,"nodeDragOver",new ye(Se.event,void 0,new st));U(this,"nodeDragEnd",new ye(Se.event,void 0,new st));U(this,"nodeDrop",new ye(Se.event,void 0,new st));U(this,"indent",18);U(this,"icon",new ye(Se.icon,""));U(this,"emptyText","");U(this,"labelProp",new ye(Se.placerHook,void 0,new st));U(this,"childrenProp",new ye(Se.placerHook,void 0,new st));U(this,"disabledProp",new ye(Se.placerHook,void 0,new st));U(this,"isLeafProp",new ye(Se.placerHook,void 0,new st));U(this,"classProp",new ye(Se.placer,void 0,new st));U(this,"nodeKey","value");U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class Xne extends CE{}class Yne extends CE{}class Jne extends Ps{constructor(){super(...arguments);U(this,"label",new ye(Se.placer,""));U(this,"type",cx.default);U(this,"size",mo.default);U(this,"tag","span");U(this,"truncated",!1)}}class Zne extends Ps{constructor(){super(...arguments);U(this,"type",mo.default);U(this,"underline",!0);U(this,"disabled",!1);U(this,"href","");U(this,"target",JT.blank);U(this,"prefixIcon",new ye(Se.placer,""));U(this,"suffixIcon",new ye(Se.placer,""));U(this,"default",new ye(Se.slot,null,new Un,void 0,new Gn))}}class Qne extends Ps{constructor(){super(...arguments);U(this,"type",rg.primary);U(this,"size",mo.default);U(this,"effect",lx.light);U(this,"color","");U(this,"round",!1);U(this,"closable",!1);U(this,"disableTransitions",!1);U(this,"hit",!1);U(this,"click",new ye(Se.event,void 0,new st));U(this,"close",new ye(Se.event,void 0,new st))}}class qne extends Ps{constructor(){super(...arguments);U(this,"size",mo.default);U(this,"disabled",!1);U(this,"type",cx.default);U(this,"buttonType",NT.default);U(this,"text",!1);U(this,"plain",!1);U(this,"round",!1);U(this,"circle",!1);U(this,"link",!1);U(this,"icon",new ye(Se.icon));U(this,"bg",!1);U(this,"loading",!1);U(this,"loadingIcon",new ye(Se.icon,"Loading"));U(this,"autofocus",!1);U(this,"autoInsertSpace",!1);U(this,"color","");U(this,"dark",!1);U(this,"tag","button");U(this,"click",new ye(Se.event,new qY,new st));U(this,"default",new ye(Se.slot,null,new Un,void 0,new Gn))}}class $ne extends Ps{constructor(){super(...arguments);U(this,"direction",Cs.horizontal);U(this,"contentPosition",xu.center);U(this,"borderStyle",XT.solid)}}class ere extends Ui{constructor(){super(...arguments);U(this,"chartOption",new ye(Se.hook,void 0,new st));U(this,"dataSource",new ye(Se.dataObject,null,new Ar({type:We.array,enable:!0})))}}class tre extends Ps{constructor(){super(...arguments);U(this,"target","");U(this,"offset",0);U(this,"position",ST.top);U(this,"zIndex",100);U(this,"change",new ye(Se.event,void 0,new st));U(this,"scroll",new ye(Se.event,void 0,new st))}}class nre extends Ps{constructor(){super(...arguments);U(this,"image","");U(this,"imageSize");U(this,"description","")}}class rre extends Ps{constructor(){super(...arguments);U(this,"value","");U(this,"max",99);U(this,"isDot",!1);U(this,"hidden",new ye(Se.placer,!1));U(this,"type",rg.danger)}}class ire extends Ps{constructor(){super(...arguments);U(this,"type",rg.primary);U(this,"size",mo.default);U(this,"maxHeight");U(this,"showTimeout",250);U(this,"hideTimeout",150);U(this,"placement",Op.bottom);U(this,"trigger",KT.hover);U(this,"splitButton",!1);U(this,"disabled",!1);U(this,"hideOnClick",!0);U(this,"tabindex",0);U(this,"slotable",new ye(Se.placer,!1));U(this,"popperClass","menu");U(this,"popperOptions",{});U(this,"teleported",!0);U(this,"click",new ye(Se.event,void 0,new st));U(this,"command",new ye(Se.event,void 0,new st));U(this,"visibleChange",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class BO extends _o{constructor(){super(...arguments);U(this,"command","");U(this,"icon",new ye(Se.icon));U(this,"disabled",!1);U(this,"divided",!1)}}class are extends Ps{constructor(){super(...arguments);U(this,"size",mo.default);U(this,"shape",AT.circle);U(this,"src","");U(this,"fit",hx.cover);U(this,"icon",new ye(Se.icon));U(this,"error",new ye(Se.event,void 0,new st))}}class ore extends Ui{constructor(){super(...arguments);U(this,"icon",bT.info);U(this,"title",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"subTitle",new ye(Se.slot,null,new Un,void 0,new Gn));U(this,"extra",new ye(Se.slot,null,new Un,void 0,new Gn))}}class sre extends Ps{constructor(){super(...arguments);U(this,"target","");U(this,"visibilityHeight",200);U(this,"right",40);U(this,"bottom",40);U(this,"click",new ye(Se.event,void 0,new st))}}class lre extends Ui{constructor(){super(...arguments);U(this,"container","");U(this,"offset",0);U(this,"bound",15);U(this,"duration",300);U(this,"type",YT.default);U(this,"direction",Cs.vertical);U(this,"marker",!0);U(this,"change",new ye(Se.event,void 0,new st));U(this,"click",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class IO extends SE{constructor(){super(...arguments);U(this,"title","");U(this,"href","");U(this,"children")}}class ure extends Ui{constructor(){super(...arguments);U(this,"height","");U(this,"initialIndex",0);U(this,"indicatorPosition",zT.none);U(this,"trigger",ag.hover);U(this,"arrow",UT.hover);U(this,"type",HT.none);U(this,"direction",Cs.horizontal);U(this,"loop",!0);U(this,"autoplay",!0);U(this,"pauseOnHover",!0);U(this,"interval",3e3);U(this,"change",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class NO extends _o{constructor(){super(...arguments);U(this,"slotContent",new ye(Se.slot,void 0,new Un({slotName:"content"}),void 0,new Gn))}}class cre extends Ui{constructor(){super(...arguments);U(this,"accordion",!1);U(this,"change",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class FO extends SE{constructor(){super(...arguments);U(this,"title","");U(this,"content","");U(this,"slotTitle",new ye(Se.slot,void 0,new Un({slotName:"title"}),void 0,new Gn));U(this,"slotContent",new ye(Se.slot,void 0,new Un({slotName:"content"}),void 0,new Gn));U(this,"disabled",!1)}}class fre extends Ui{constructor(){super(...arguments);U(this,"border",!1);U(this,"column",3);U(this,"direction",Cs.horizontal);U(this,"size",mo.default);U(this,"title","");U(this,"extra","");U(this,"slotable",new ye(Se.placer,!1));U(this,"slotTitle",new ye(Se.slot,void 0,new Un({allowDrag:!0,slotName:"title"}),void 0,new Gn));U(this,"slotExtra",new ye(Se.slot,void 0,new Un({allowDrag:!0,slotName:"extra"}),void 0,new Gn));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class MO extends _o{constructor(){super(...arguments);U(this,"content",new ye(Se.placer,""));U(this,"span",1);U(this,"width","");U(this,"minWidth","");U(this,"align",xu.left);U(this,"labelAlign",xu.left);U(this,"className","");U(this,"labelClassName","")}}class pre extends Ui{constructor(){super(...arguments);U(this,"width",new ye(Se.placer,""));U(this,"height",new ye(Se.placer,""));U(this,"src","");U(this,"fit",hx.empty);U(this,"loading",WT.eager);U(this,"hideOnClickModal",!1);U(this,"lazy",!1);U(this,"closeOnPressEscape",!0);U(this,"previewTeleported",!1);U(this,"infinite",!0);U(this,"scrollContainer","");U(this,"referrerpolicy","");U(this,"previewSrcList",new ye(Se.dataObject,[],new Ar({type:We.array,enable:!0})));U(this,"zIndex",999999);U(this,"initialIndex",0);U(this,"zoomRate",1.2);U(this,"placeholder",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"slotError",new ye(Se.slot,void 0,new Un({slotName:"error"}),void 0,new Gn));U(this,"viewer",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"load",new ye(Se.event,void 0,new st));U(this,"error",new ye(Se.event,void 0,new st));U(this,"switch",new ye(Se.event,void 0,new st));U(this,"close",new ye(Se.event,void 0,new st));U(this,"show",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class hre extends Ui{constructor(){super(...arguments);U(this,"separator","");U(this,"separatorIcon",new ye(Se.icon));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class LO extends _o{constructor(){super(...arguments);U(this,"to","");U(this,"replace",!1);U(this,"useRouter",!1)}}class dre extends Ui{constructor(){super(...arguments);U(this,"uniqueOpened",!1);U(this,"router",!1);U(this,"collapseTransition",!0);U(this,"collapse",!1);U(this,"ellipsis",!1);U(this,"ellipsisIcon","");U(this,"backgroundColor","#ffffff");U(this,"textColor","#303133");U(this,"activeTextColor","#409EFF");U(this,"mode",Cs.vertical);U(this,"menuTrigger",ag.hover);U(this,"popperEffect",Pp.dark);U(this,"closeOnClickOutside",!1);U(this,"popperClass","");U(this,"showTimeout",0);U(this,"hideTimeout",0);U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class RO extends _o{constructor(){super(...arguments);U(this,"disabled",!1);U(this,"icon","");U(this,"route","");U(this,"click",new ye(Se.event,void 0,new st));U(this,"menuItemType",kl.None);U(this,"showTimeout",0);U(this,"hideTimeout",0);U(this,"popperOffset",0);U(this,"expandCloseIcon","");U(this,"expandOpenIcon","");U(this,"collapseCloseIcon","");U(this,"collapseOpenIcon","");U(this,"popperClass","");U(this,"teleported",!0);U(this,"children")}}class vre extends Ui{constructor(){super(...arguments);U(this,"label");U(this,"displayLayout",new ye(Se.placer,Pl.inline))}}class mre extends Ui{constructor(){super(...arguments);U(this,"direction",Cs.horizontal);U(this,"space","");U(this,"processStatus",fx.process);U(this,"finishStatus",fx.finish);U(this,"alignCenter",!1);U(this,"simple",!1);U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class jO extends _o{constructor(){super(...arguments);U(this,"description","");U(this,"icon","");U(this,"status","")}}class gre extends Ui{constructor(){super(...arguments);U(this,"ctrlWidth",new ye(Se.placer,"100%"));U(this,"data",new ye(Se.singleOption,null));U(this,"height","200px");U(this,"maxHeight","200px");U(this,"emptyText","");U(this,"size",mo.default);U(this,"defaultSort",new ye(Se.dataObject,{},new Ar({type:We.array,enable:!1})));U(this,"tableLayout",BT.fixed);U(this,"stripe",!1);U(this,"border",!1);U(this,"fit",!0);U(this,"showHeader",!0);U(this,"scrollbarAlwaysOn",!1);U(this,"flexible",!1);U(this,"beforeTableRender",new ye(Se.placerHook,void 0,new st));U(this,"highlightCurrentRow",!1);U(this,"currentRowKey","");U(this,"rowClassName",new ye(Se.hook,void 0,new st));U(this,"rowStyle",new ye(Se.hook,void 0,new st));U(this,"headerRowClassName",new ye(Se.hook,void 0,new st));U(this,"headerRowStyle",new ye(Se.hook,void 0,new st));U(this,"rowKey",new ye(Se.hook,void 0,new st));U(this,"expandRowKeys",new ye(Se.dataObject,[],new Ar({type:We.array,enable:!1})));U(this,"cellClassName",new ye(Se.hook,void 0,new st));U(this,"cellStyle",new ye(Se.hook,void 0,new st));U(this,"headerCellClassName",new ye(Se.hook,void 0,new st));U(this,"headerCellStyle",new ye(Se.hook,void 0,new st));U(this,"defaultExpandAll",!1);U(this,"showSummary",!1);U(this,"selectOnIndeterminate",!0);U(this,"sumText","Sum");U(this,"summaryMethod",new ye(Se.hook,void 0,new st));U(this,"spanMethod",new ye(Se.hook,void 0,new st));U(this,"treeProps",new ye(Se.dataObject,{},new Ar({type:We.object,enable:!1})));U(this,"indent",16);U(this,"lazy",!1);U(this,"load",new ye(Se.hook,void 0,new st));U(this,"showOverflowTooltip",!1);U(this,"tooltipEffect",Pp.dark);U(this,"tooltipOptions",null);U(this,"allowPage",new ye(Se.placer,!1));U(this,"pageSize",new ye(Se.placer,10));U(this,"pageSizes",new ye(Se.placer,[10,20,30,40,50,100]));U(this,"hideOnSinglePage",new ye(Se.placer,!1));U(this,"layout",new ye(Se.placer,["prev","pager","next","jumper","->","total"]));U(this,"select",new ye(Se.event,void 0,new st));U(this,"selectAll",new ye(Se.event,void 0,new st));U(this,"selectionChange",new ye(Se.event,void 0,new st));U(this,"cellMouseEnter",new ye(Se.event,void 0,new st));U(this,"cellMouseLeave",new ye(Se.event,void 0,new st));U(this,"cellClick",new ye(Se.event,void 0,new st));U(this,"cellDblclick",new ye(Se.event,void 0,new st));U(this,"cellContextmenu",new ye(Se.event,void 0,new st));U(this,"rowClick",new ye(Se.event,void 0,new st));U(this,"rowContextmenu",new ye(Se.event,void 0,new st));U(this,"rowDblclick",new ye(Se.event,void 0,new st));U(this,"headerClick",new ye(Se.event,void 0,new st));U(this,"headerContextmenu",new ye(Se.event,void 0,new st));U(this,"sortChange",new ye(Se.event,void 0,new st));U(this,"filterChange",new ye(Se.event,void 0,new st));U(this,"currentChange",new ye(Se.event,void 0,new st));U(this,"headerDragend",new ye(Se.event,void 0,new st));U(this,"expandChange",new ye(Se.event,void 0,new st));U(this,"default",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"append",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"empty",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class VO extends u0{constructor(){super(...arguments);U(this,"type",FT.default);U(this,"index",new ye(Se.hook,void 0,new st));U(this,"label","");U(this,"prop","");U(this,"width","");U(this,"minWidth","");U(this,"fixed",!1);U(this,"resizable",!0);U(this,"showOverflowTooltip",!1);U(this,"reserveSelection",!1);U(this,"renderHeader",new ye(Se.hook,void 0,new st));U(this,"formatter",new ye(Se.hook,void 0,new st));U(this,"selectable",new ye(Se.hook,void 0,new st));U(this,"align",xu.left);U(this,"headerAlign",xu.left);U(this,"className","");U(this,"labelClassName","");U(this,"sortable",!1);U(this,"sortOrders",new ye(Se.dataObject,["ascending","descending",null],new Ar({type:We.array})));U(this,"sortMethod",new ye(Se.hook,void 0,new st));U(this,"sortBy",new ye(Se.hook,void 0,new st));U(this,"filters",new ye(Se.dataObject,void 0,new Ar({type:We.object})));U(this,"filteredValue",new ye(Se.dataObject,void 0,new Ar({type:We.array,enable:!0})));U(this,"filterMethod",new ye(Se.hook,void 0,new st));U(this,"filterMultiple",!0);U(this,"filterPlacement",Op.top);U(this,"filterClassName","");U(this,"columnKey","");U(this,"header",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"default",{widgetList:[],...new ye(Se.slot,void 0,new Un({allowDrag:!0,enable:!0}),void 0,new Gn)});U(this,"slotable",new ye(Se.placer,!1));U(this,"uuid",new ye(Se.placer,$s()))}}class c0 extends Uy{constructor(){super(...arguments);U(this,"customClass",new ye(Se.placer,[]));U(this,"displayLayout",new ye(Se.placer,Pl.block))}}class Bu extends c0{constructor(){super(...arguments);U(this,"componentWrapperClass",new ye(Se.placer,[]))}}class yre extends c0{constructor(){super(...arguments);U(this,"hidden",!1);U(this,"colHeight",new ye(Se.placer,""));U(this,"gutter",0);U(this,"justify",LT.start);U(this,"align",RT.middle);U(this,"tag","div");U(this,"cols",new ye(Se.placer,[]))}}class zO extends Bu{constructor(){super(...arguments);U(this,"hidden",!1);U(this,"responsive",!1);U(this,"span",12);U(this,"xs",12);U(this,"sm",12);U(this,"md",12);U(this,"lg",12);U(this,"xl",12);U(this,"offset",0);U(this,"push",0);U(this,"pull",0);U(this,"tag","div");U(this,"horizontalAlign",new ye(Se.placer,""))}}class _re extends c0{constructor(){super(...arguments);U(this,"hidden",!1)}}class bre extends Bu{constructor(){super(...arguments);U(this,"cellWidth","");U(this,"cellHeight","");U(this,"colspan",0);U(this,"rowspan",0)}}class xre extends Bu{constructor(){super(...arguments);U(this,"label","");U(this,"title","");U(this,"defaultValue",!1);U(this,"width","50%");U(this,"fullscreen",!1);U(this,"top","");U(this,"modal",!0);U(this,"modalClass","");U(this,"lockScroll",!0);U(this,"draggable",!1);U(this,"overflow",!1);U(this,"center",!1);U(this,"alignCenter",!1);U(this,"closeOnClickModal",!0);U(this,"closeOnPressEscape",!0);U(this,"showClose",!0);U(this,"destroyOnClose",!1);U(this,"openDelay",0);U(this,"closeDelay",0);U(this,"closeIcon",new ye(Se.icon,"Close"));U(this,"beforeClose",new ye(Se.hook,void 0,new st));U(this,"appendToBody",!1);U(this,"appendTo","body");U(this,"zIndex",1e4);U(this,"header",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"default",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"footer",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"open",new ye(Se.event,void 0,new st));U(this,"opened",new ye(Se.event,void 0,new st));U(this,"close",new ye(Se.event,void 0,new st));U(this,"closed",new ye(Se.event,void 0,new st));U(this,"openAutoFocus",new ye(Se.event,void 0,new st));U(this,"closeAutoFocus",new ye(Se.event,void 0,new st))}}class Ere extends Bu{constructor(){super(...arguments);U(this,"ctrlWidth",new ye(Se.placer,"100%"));U(this,"title","title");U(this,"type",GT.info);U(this,"description","description");U(this,"closable",!0);U(this,"center",!1);U(this,"closeText","");U(this,"showIcon",!1);U(this,"slotable",new ye(Se.placer,!1));U(this,"effect",Pp.light);U(this,"default",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"titleSlot",new ye(Se.slot,void 0,new Un({allowDrag:!0,slotName:"title"}),void 0,new Gn));U(this,"close",new ye(Se.event,void 0,new st))}}class wre extends Bu{constructor(){super(...arguments);U(this,"label","");U(this,"title","");U(this,"defaultValue",!1);U(this,"size","30%");U(this,"modal",!0);U(this,"modalClass","");U(this,"appendToBody",!1);U(this,"lockScroll",!0);U(this,"withHeader",!0);U(this,"showClose",!0);U(this,"closeOnClickModal",!0);U(this,"closeOnPressEscape",!0);U(this,"destroyOnClose",!1);U(this,"beforeClose",new ye(Se.hook,void 0,new st));U(this,"direction",MT.rtl);U(this,"openDelay",0);U(this,"closeDelay",0);U(this,"zIndex",1e4);U(this,"header",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"default",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"footer",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"open",new ye(Se.event,void 0,new st));U(this,"opened",new ye(Se.event,void 0,new st));U(this,"close",new ye(Se.event,void 0,new st));U(this,"closed",new ye(Se.event,void 0,new st));U(this,"openAutoFocus",new ye(Se.event,void 0,new st));U(this,"closeAutoFocus",new ye(Se.event,void 0,new st))}}class Sre extends Ui{constructor(){super(...arguments);U(this,"background",!1);U(this,"hideOnSinglePage",!1);U(this,"size",mo.default);U(this,"defaultPageSize",10);U(this,"pagerCount",7);U(this,"defaultCurrentPage",1);U(this,"layout",new ye(Se.dataObject,["prev","pager","next","jumper","->","total"]));U(this,"pageSizes",new ye(Se.dataObject,[10,20,30,40,50,100],new Ar({type:We.array,enable:!0})));U(this,"popperClass","");U(this,"prevText","");U(this,"nextText","");U(this,"prevIcon",new ye(Se.icon,"ArrowLeft"));U(this,"nextIcon",new ye(Se.icon,"ArrowRight"));U(this,"disabled",!1);U(this,"teleported",!0);U(this,"default",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn));U(this,"sizeChange",new ye(Se.event,void 0,new st));U(this,"currentChange",new ye(Se.event,void 0,new st));U(this,"change",new ye(Se.event,void 0,new st));U(this,"prevClick",new ye(Se.event,void 0,new st));U(this,"nextClick",new ye(Se.event,void 0,new st))}}class Cre extends Bu{constructor(){super(...arguments);U(this,"newDataSource",new ye(Se.singleOption,null,new Ar({type:We.object,enable:!0})));U(this,"editDataSource",new ye(Se.singleOption,null,new Ar({type:We.object,enable:!0})));U(this,"loadDataWhenInit",new ye(Se.placer,!1));U(this,"showLoading",new ye(Se.placer,!1));U(this,"loadingText",new ye(Se.placer,""));U(this,"inline",!1);U(this,"disabled",!1);U(this,"labelAlign",new ye(Se.placer,""));U(this,"labelPosition",IT.right);U(this,"labelWidth","");U(this,"labelSuffix","");U(this,"statusIcon",!1);U(this,"hideRequiredAsterisk",!1);U(this,"requireAsteriskPosition",wT.left);U(this,"showMessage",!0);U(this,"inlineMessage",!1);U(this,"validateOnRuleChange",!0);U(this,"scrollToError",!1);U(this,"scrollIntoViewOptions",new ye(Se.dataObject,void 0,new Ar({type:We.object,enable:!0})));U(this,"size",mo.default);U(this,"customClass",new ye(Se.placer,[]));U(this,"validate",new ye(Se.event,void 0,new st));U(this,"default",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"modelName",new ye(Se.placer,"formData"));U(this,"refName",new ye(Se.placer,"vForm"));U(this,"rulesName",new ye(Se.placer,"rules"));U(this,"formCreated",new ye(Se.event,void 0,new st));U(this,"formMounted",new ye(Se.event,void 0,new st));U(this,"formDataChange",new ye(Se.event,void 0,new st));U(this,"formDataLoaded",new ye(Se.placerHook,void 0,new st));U(this,"needFormAdd",new ye(Se.placerHook,void 0,new st))}}class Are extends c0{constructor(){super(...arguments);U(this,"cols",new ye(Se.placer,[]))}}class Tre extends c0{constructor(){super(...arguments);U(this,"hidden",!1);U(this,"closable",!1);U(this,"addable",!1);U(this,"editable",!1);U(this,"stretch",!1);U(this,"showLoading",new ye(Se.placer,!1));U(this,"loadingText",new ye(Se.placer,""));U(this,"type",px.borderCard);U(this,"tabPosition",CT.top);U(this,"beforeLeave",new ye(Se.hook,void 0,new st));U(this,"tabs",new ye(Se.placer,void 0,new st));U(this,"tabChange",new ye(Se.event,void 0,new st));U(this,"tabClick",new ye(Se.event,void 0,new st));U(this,"tabAdd",new ye(Se.event,void 0,new st));U(this,"edit",new ye(Se.event,void 0,new st));U(this,"tabRemove",new ye(Se.event,void 0,new st));U(this,"created",new ye(Se.event,void 0,new st));U(this,"mounted",new ye(Se.event,void 0,new st))}}class PE extends Bu{constructor(){super(...arguments);U(this,"hidden",!1);U(this,"label","");U(this,"disabled",!1);U(this,"lazy",!1);U(this,"isdefault",!1)}}class Dre extends Bu{constructor(){super(...arguments);U(this,"ctrlWidth",new ye(Se.placer,"100%"));U(this,"hidden",!1);U(this,"slotable",new ye(Se.placer,!1));U(this,"label",new ye(Se.placer,"card"));U(this,"folded",new ye(Se.placer,!1));U(this,"showFold",new ye(Se.placer,!1));U(this,"shadow",OT.always);U(this,"bodyStyle",new ye(Se.placer,void 0,new st));U(this,"header",new ye(Se.slot,void 0,new Un,void 0,new Gn));U(this,"default",new ye(Se.slot,void 0,new Un({allowDrag:!0}),void 0,new Gn))}}class Pre extends Hy{constructor(){super(...arguments);U(this,"label",new ye(Se.placer,""));U(this,"hidden",!1);U(this,"minRowNum",1);U(this,"maxRowNum",50);U(this,"showMode",ig.line);U(this,"addRecordText","");U(this,"deleteRecordText","");U(this,"sortUpText","");U(this,"sortDownText","");U(this,"showHeader",!0);U(this,"showDetail",!1);U(this,"onlyOneAddButton",!1);U(this,"showBorder",!0);U(this,"showLimit",!1);U(this,"sortable",!1);U(this,"allowAdd",!0);U(this,"allowDelete",!0);U(this,"allowDefaultAdd",!1);U(this,"row",new ye(Se.slot,void 0,new Un({allowDrag:!0,enable:!0}),void 0,new Gn));U(this,"detail",new ye(Se.slot,void 0,new Un({allowDrag:!0,enable:!0}),void 0,new Gn));U(this,"addRow",new ye(Se.event,void 0,new st));U(this,"deleteRow",new ye(Se.event,void 0,new st));U(this,"change",new ye(Se.event,void 0,new st));U(this,"click",new ye(Se.event,void 0,new st));U(this,"dataFormat",new ye(Se.hook,void 0,new st));U(this,"rowDataFormat",new ye(Se.hook,void 0,new st))}}class Ore extends Hy{constructor(){super(...arguments);U(this,"label",new ye(Se.placer,""));U(this,"data",new ye(Se.singleOption,null));U(this,"alwaysShow",!1);U(this,"hidden",!1);U(this,"showLoading",!1);U(this,"loadingText","");U(this,"loadDataWhenInit",new ye(Se.placer,!1));U(this,"noData","");U(this,"completed",new ye(Se.event,void 0,new st));U(this,"row",new ye(Se.slot,void 0,new Un({allowDrag:!0,enable:!0}),void 0,new Gn));U(this,"click",new ye(Se.event,void 0,new st))}}class kre extends Uy{constructor(){super(...arguments);U(this,"label","");U(this,"compName",nt.tag);U(this,"appendOnClick",!0);U(this,"showSaveButton",!0);U(this,"showAddButton",!0);U(this,"labelKey","label");U(this,"contentKey","value");U(this,"relatedIds",new ye(Se.dataObject,[],new Ar({type:We.array,enable:!0})));U(this,"addButtonText","");U(this,"saveButtonText","");U(this,"operateData",new ye(Se.dataObject,{},new Ar({type:We.object,enable:!0})));U(this,"hidden",!1);U(this,"click",new ye(Se.event,void 0,new st));U(this,"save",new ye(Se.event,void 0,new st));U(this,"add",new ye(Se.event,void 0,new st));U(this,"optionItems",new ye(Se.singleOption,[],new Ar({type:We.array,enable:!0})))}}class UO extends Uy{constructor(){super(...arguments);U(this,"label");U(this,"value")}}class Bre extends Ui{constructor(){super(...arguments);U(this,"src","");U(this,"withQuery",new ye(Se.placer,!1));U(this,"hashRouter",new ye(Se.placer,!1));U(this,"onLoaded",new ye(Se.event,void 0,new st))}}const Ha={autoWidth:!0,inlineLayout:!0},HO=[new Fn(nt.text,new Jne,!1,Ha),new Fn(nt.link,new Zne,!1,Ha),new Fn(nt.button,new qne,!1,Ha),new Fn(nt.tag,new Qne,!1,Ha)];class Qc extends ft{constructor(){super(),this.category=bu.container}}class OE extends ft{constructor(){super();U(this,"widgetList",[]);this.category=bu.container}}class Ire extends Qc{constructor(){super();U(this,"cols",[]);this.type=nt.cont,this.options=new Are,this.init(!1)}}class kE extends u0{constructor(){super(...arguments);U(this,"direction",Cs.vertical);U(this,"partName",new ye(Se.placer,Bl.container));U(this,"cellWidth",new ye(Se.placer,""));U(this,"cellHeight",new ye(Se.placer,""));U(this,"customClass",new ye(Se.placer,[]));U(this,"componentWrapperClass",new ye(Se.placer,[]));U(this,"children",[]);U(this,"widgetList",[])}}class Nre extends Qc{constructor(){super();U(this,"cols",[]);this.type=nt.grid,this.options=new yre,this.init(!1)}}class Fre extends OE{constructor(){super();U(this,"internal",!0);this.type=nt.gridCol,this.options=new zO,this.init(!1)}}class Mre extends Qc{constructor(){super();U(this,"rows",[]);this.type=nt.table,this.options=new _re,this.init(!1)}}class Lre extends Qc{constructor(){super();U(this,"internal",!0);U(this,"cols",[]);this.type=nt.tableRow,this.init(!1)}}class Rre extends OE{constructor(){super();U(this,"internal",!0);U(this,"merged",!1);this.type=nt.tableCol,this.options=new bre,this.init(!1)}}class jre extends Qc{constructor(){super();U(this,"displayType",px.borderCard);U(this,"tabs",[]);this.type=nt.tabs,this.options=new Tre,this.init(!1)}}class Vre extends OE{constructor(){super();U(this,"internal",!0);this.type=nt.tabPane,this.options=new PE,this.init(!1)}}class zre extends Qc{constructor(){super();U(this,"slots",[]);U(this,"widgetList",[]);this.type=nt.form,this.options=new Cre,this.init(!1)}}class Ure extends Qc{constructor(){super();U(this,"widgetList",[]);this.type=nt.wrapper,this.options=new Hre,this.init(!1)}}class Hre extends Hy{constructor(){super(...arguments);U(this,"hidden",!1);U(this,"disabled",!1);U(this,"lazy",!1);U(this,"showLoading",new ye(Se.placer,!1));U(this,"loadingText",new ye(Se.placer,""))}}class Wre extends Ui{constructor(){super(...arguments);U(this,"label","");U(this,"labelHidden",new ye(Se.placer,!1));U(this,"labelAlign",new ye(Se.placer,""));U(this,"labelWidth",new ye(Se.placer,""));U(this,"labelIconClass",new ye(Se.icon));U(this,"labelIconPosition",new ye(Se.placer,Vc.rear));U(this,"labelTooltip",new ye(Se.placer,""))}}class Gre extends Wre{constructor(){super(...arguments);U(this,"splitText","-");U(this,"unitText","");U(this,"left",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn));U(this,"right",new ye(Se.slot,null,new Un({allowDrag:!0}),void 0,new Gn))}}const WO=[new Nre,new Fre,new Mre,new Lre,new Rre,new Ire,new Ure],GO=[new zre,new Fn(nt.input,new Tne,!0),new Fn(nt.textarea,new Dne,!0),new Fn(nt.number,new Pne,!0),new Fn(nt.radio,new kne,!0),new Fn(nt.checkbox,new Bne,!0),new Fn(nt.autoComplete,new One,!0),new Fn(nt.select,new TO,!0),new Fn(nt.cascader,new Kne,!0),new Fn(nt.treeSelect,{treeDivider:"",...new kO,selectDivider:"",...new TO},!0),new Fn(nt.switch,new Rne,!0),new Fn(nt.timeSelect,new Lne,!0),new Fn(nt.timePicker,new Ine,!0),new Fn(nt.timePickerRange,new Nne,!0),new Fn(nt.datePicker,new Fne,!0),new Fn(nt.datePickerRange,new Mne,!0),new Fn(nt.pictureUpload,new Hne,!0),new Fn(nt.fileUpload,new Wne,!0),new Fn(nt.rate,new jne,!0),new Fn(nt.colorPicker,new zne,!0),new Fn(nt.slider,new Une,!0),new Fn(nt.richEditor,new Gne,!0),new Fn(nt.cache,new Ane,!0)],KO=[new Fn(nt.multirow,new Pre,!0,{dynamicItemFlag:!0}),new Fn(nt.tmpl,new Ore,!1,{dynamicItemFlag:!0}),new Fn(nt.model,new kre,!1),new Fn(nt.range,new Gre,!1)],XO=[],YO=[new Fn(nt.avatar,new are,!1,Ha),new Fn(nt.badge,new rre,!1,Ha),new Fn(nt.empty,new nre,!1),new Fn(nt.result,new ore,!1),new Fn(nt.card,new Dre,!1),new Fn(nt.collapse,new cre,!1),new Fn(nt.descriptions,new fre,!1),new Fn(nt.carousel,new ure,!1),new Fn(nt.image,new pre,!1,Ha),new Fn(nt.eltable,new gre,!1),new Fn(nt.pagination,new Sre,!1),new Fn(nt.progress,new Vne,!1,Ha),new Fn(nt.tree,new kO,!1)],JO=[new Fn(nt.router,new vre,!1,Ha),new jre,new Vre,new Fn(nt.steps,new mre,!1),new Fn(nt.dropdown,new ire,!1,Ha),new Fn(nt.menu,new dre,!1),new Fn(nt.breadcrumb,new hre,!1),new Fn(nt.affix,new tre,!1,Ha),new Fn(nt.backtop,new sre,!1,Ha),new Fn(nt.anchor,new lre,!1,Ha)],ZO=[new Fn(nt.dialog,new xre,!1),new Fn(nt.drawer,new wre,!1),new Fn(nt.alert,new Ere,!1)],QO=[new Fn(nt.staticText,new Xne,!1,Ha),new Fn(nt.htmlText,new Yne,!1,Ha),new Fn(nt.divider,new $ne,!1),new Fn(nt.chart,new ere,!1),new Fn(nt.iframe,new Bre,!1)],Kre=[...WO,...HO,...GO,...XO,...KO,...YO,...ZO,...JO,...QO],Xre={containers:WO,basicFields:HO,formFields:GO,systemFields:XO,advancedFields:KO,dataFields:YO,navFields:JO,feedBackFields:ZO,otherFields:QO,allWidgets:Kre},qc=(e,t)=>{var r;if(!e||!t)return!1;let n=Iu(e==null?void 0:e.type);return!n||!(n!=null&&n.options)?!1:((r=kr(n==null?void 0:n.options))==null?void 0:r.indexOf(t))>-1},Iu=e=>{var t;return(t=Xre.allWidgets)==null?void 0:t.find(n=>n.type===e)},Yre=e=>{const t=e.id;if(!t)return null;const n=ft.getName(e);return{id:t,name:n}},Wo=(e,t,n)=>{if(!e)return jt(e);var r=e==null?void 0:e.id,a=e.type+$s(),o=a;n&&(o=n(r,a));const i=Yre(e);return Jre(e,o,t),i&&(t!=null&&t.recordSource)&&Jn(e,{_source:i}),jt(e)},Jre=(e,t,n)=>(na(e,Xt.id)&&(e.id=t),e.options=Zre(e.options,t,n),e),Zre=(e,t,n)=>(na(e,Xt.name)&&(n==null?void 0:n.newName)!=!1&&(e.name=t.replaceAll("-","")),na(e,Xt.label)&&!(e!=null&&e.label)&&(n==null?void 0:n.newLabel)!=!1&&(e.label=t.replaceAll("-","")),e),qO=e=>{const t="id@";return{idClass:`${t}${e==null?void 0:e.id}`,getIdByIdClass:o=>o==null?void 0:o.substring(t.length),isIdClass:o=>o==null?void 0:o.startsWith(t)}};function $O(){const e=D=>ft.getOptions(D,"rowspan")||1,t=D=>ft.getOptions(D,"colspan")||1,n=(D,O)=>{ft.setOptions(D,"rowspan",O)},r=(D,O)=>{ft.setOptions(D,"colspan",O)},a=(D,O,k)=>{let I=Xn(D.rows[O]);return w(I),D.rows.splice(k,0,I),!0},o=(D,O)=>(D.rows.forEach(k=>{let I=S();k.cols.splice(O,0,I)}),!0),i=D=>{let O=D.rows.length;return a(D,O-1,O),!0},u=D=>{let O=D.rows[0].cols.length;return o(D,O),!0},s=(D,O,k,I,N)=>{let F=N?O:O+1;if(!N){let M=F,j=!1;for(;M<D.rows.length;)if(D.rows[M].cols[I].merged)M++;else{F=M,j=!0;break}j&&(F=D.rows.length)}a(D,k,F);let R=0;for(;F<D.rows.length-1&&R<D.rows[0].cols.length;){const M=D.rows[F+1].cols[R];if(M.merged){let W=D.rows,L={},z=0;for(let G=F;G>=0;G--)if(!W[G].cols[R].merged&&e(W[G].cols[R])>1){z=G,L=W[G].cols[R];break}if(L.options){let G=e(L)+1;f(D.rows,z,R,t(L),G),R+=t(L)}else R+=1}else R+=t(M)}return!0},l=(D,O,k,I)=>{let N=I?O:O+1;if(!I){let R=N,M=!1;for(;R<D.rows[k].cols.length;){if(D.rows[k].cols[R].merged)R++;else{N=R,M=!0;break}M||(N=D.rows[k].cols.length)}}o(D,N);let F=0;for(;N<D.rows[0].cols.length-1&&F<D.rows.length;){const R=D.rows[F].cols[N+1];if(R.merged){let j=D.rows[F].cols,W={},L=null;for(let z=N;z>=0;z--)if(!j[z].merged&&t(j[z])>1){L=z,W=j[z];break}if(W.options){let z=t(W)+1;c(D.rows,F,L,z,e(W)),F+=e(W)}else F+=1}else F+=e(R)}return!0},c=(D,O,k,I,N)=>{for(let F=O;F<O+N;F++)for(let R=k;R<k+I;R++){if(F===O&&R===k){r(D[F].cols[R],I);continue}D[F].cols[R].merged=!0,r(D[F].cols[R],I),D[F].cols[R].widgetList=[]}},f=(D,O,k,I,N)=>{for(let F=O;F<O+N;F++)for(let R=k;R<k+I;R++){if(F===O&&R===k){n(D[F].cols[R],N);continue}D[F].cols[R].merged=!0,n(D[F].cols[R],N),D[F].cols[R].widgetList=[]}},h=(D,O,k,I,N)=>{for(let F=O;F<O+N;F++)for(let R=k;R<k+I;R++)D[F].cols[R].merged=!1,n(D[F].cols[R],1),r(D[F].cols[R],1)},d=(D,O,k,I,N)=>{for(let F=O;F<O+N;F++)for(let R=k;R<k+I;R++)D[F].cols[R].merged=!1,n(D[F].cols[R],1),r(D[F].cols[R],1)},v=(D,O,k,I)=>{let N=ft.getOptions(D[k].cols[0],"rowspan"),F=!1;for(let M=1;M<D[k].cols.length;M++)if(e(D[k].cols[M])!==N){F=!0;break}if(F)return wi.info(se.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow")),!1;let R=O.filter(M=>!M.merged&&!!M.widgetList&&M.widgetList.length>0);return R&&R.length>0&&R[0].id!==O[0].id&&(!O[0].widgetList||O[0].widgetList.length<=0)&&(O[0].widgetList=Xn(R[0].widgetList)),c(D,k,0,O.length,e(O[I])),!0},m=(D,O,k,I,N)=>{let F=I?O:O+e(N),R=I?O-1:O;if(I){let j=R;for(;j>=0;)if(D[j].cols[k].merged)j--;else{R=j;break}}D[F].cols[k].widgetList&&D[F].cols[k].widgetList.length>0&&(!D[R].cols[k].widgetList||D[R].cols[k].widgetList.length===0)&&(D[R].cols[k].widgetList=Xn(D[F].cols[k].widgetList));let M=e(D[F].cols[k])*1+e(D[R].cols[k])*1;return f(D,R,k,t(N),M),!0},p=(D,O,k,I)=>{let N=ft.getOptions(D[0].cols[I],"colspan"),F=!1;for(let j=1;j<D.length;j++)if(t(D[j].cols[I])!==N){F=!0;break}if(F)return wi.info(se.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")),!1;let R=[];D.forEach(j=>{let W=j.cols[I];!W.merged&&W.widgetList&&W.widgetList.length>0&&R.push(W)});let M=D[0].cols[I];return R&&R.length>0&&R[0].id!==M.id&&(!M.widgetList||M.widgetList.length<=0)&&(M.widgetList=Xn(R[0].widgetList)),f(D,0,I,t(M),D.length),!0},g=(D,O,k,I,N,F)=>{let R=N?I:I+(ft.getOptions(O[I],"colspan")||1),M=N?I-1:I;if(N){let W=M;for(;W>=0;)if(D[k].cols[W].merged)W--;else{M=W;break}}O[R].widgetList&&O[R].widgetList.length>0&&(!O[M].widgetList||O[M].widgetList.length===0)&&(O[M].widgetList=Xn(O[R].widgetList));let j=t(O[R])*1+t(O[M])*1;return c(D,k,M,j,e(F)),!0},y=(D,O,k,I,N)=>(h(D,O,k,I,N),!0),b=(D,O,k,I,N)=>(d(D,O,k,I,N),!0),_=(D,O)=>{let k=!0;if(D.forEach(F=>{t(F.cols[0])!==D[0].cols.length&&(k=!1)}),k)return wi.info(se.i18nt("designer.hint.lastColCannotBeDeleted")),!1;let I=t(D[0].cols[O]),N=!1;for(let F=1;F<D.length;F++)if(t(D[F].cols[O])!==I){N=!0;break}return N?(wi.info(se.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(D.forEach(F=>{F.cols.splice(O,I)}),!0)},E=(D,O)=>{let k=!0;if(D[0].cols.forEach(F=>{e(F)!==D.length&&(k=!1)}),k)return wi.info(se.i18nt("designer.hint.lastRowCannotBeDeleted")),!1;let I=e(D[O].cols[0]),N=!1;for(let F=1;F<D[O].cols.length;F++)if(e(D[O].cols[F])!==I){N=!0;break}return N?(wi.info(se.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1):(D.splice(O,I),!0)},w=D=>{let O=D??{cols:[]};return O=Wo({...O,type:nt.tableRow,id:""}),O.merged=!1,D?O.cols.forEach(k=>{S(k)}):O.cols.push(S()),O},S=D=>{let O=D??Xn(Iu(nt.tableCol));return Wo(O),O.merged=!1,r(O,1),n(O,1),O.widgetList.length=0,O},A=D=>{let O=D??Xn(Iu(nt.table));return Wo(O),O};return{appendTableRow:i,appendTableCol:u,insertTableRow:s,insertTableCol:l,mergeTableWholeRow:v,mergeTableRow:m,mergeTableCol:g,mergeTableWholeCol:p,undoMergeTableCol:y,undoMergeTableRow:b,deleteTableWholeCol:_,deleteTableWholeRow:E,initTableRow:w,initTable:A,initCloneTable:D=>{let O=A();return jt(D).rows.forEach(k=>{let I=jt(Xn(k));Wo(I),I.cols.forEach(N=>{Wo(N),N.widgetList=[]}),jt(O).rows.push(I)}),O},isTable:D=>(D==null?void 0:D.type)===nt.table}}function ek(){const e=()=>{let l=jt(Xn(Iu(nt.tabs)));return l=Wo(l),l},t=(l,c)=>{let f=jt(Xn(Iu(nt.tabPane)));var h=Wo(f);return l&&ft.setOptions(h,Xt.label,l),c!==void 0&&ft.setOptions(h,Xt.isdefault,c),h},n=l=>{var f;let c=e();return(f=jt(l).tabs)==null||f.forEach(h=>{var v;let d=r(h);(v=jt(c).tabs)==null||v.push(d)}),c},r=l=>{var c=Xn(l);return Wo(c),ft.setOptions(c,Xt.isdefault,!1),c.widgetList=[],c};return{initTab:e,initCloneTab:n,initTabPane:t,initCloneTabPane:r,addTabPaneOfTabs:(l,c)=>{let f=l==null?void 0:l.tabs;return f||(f=[]),c=c||t(),c&&f.push(c),!0},deleteTabPaneOfTabs:(l,c)=>{var f;if(((f=l.tabs)==null?void 0:f.length)===1){wi.info(se.i18nt("designer.hint.lastPaneCannotBeDeleted"));return}return l.tabs.splice(c,1),!0},findTabPaneOfTabs:(l,c)=>{var f;return(f=l.tabs)==null?void 0:f.findIndex(h=>ft.getName(h)===c)},getActiveTab:l=>{var f,h;let c=(f=l==null?void 0:l.tabs)==null?void 0:f[0];return(h=l==null?void 0:l.tabs)==null||h.forEach(d=>{ft.getOptions(d,Xt.isdefault)&&(c=d)}),c},isTabs:l=>(l==null?void 0:l.type)===nt.tabs}}var tk={},Qre={get exports(){return tk},set exports(e){tk=e}};/*! jsonpath 1.1.1 */(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,a,o){function i(l,c){if(!a[l]){if(!r[l]){var f=typeof s0=="function"&&s0;if(!c&&f)return f(l,!0);if(u)return u(l,!0);var h=new Error("Cannot find module '"+l+"'");throw h.code="MODULE_NOT_FOUND",h}var d=a[l]={exports:{}};r[l][0].call(d.exports,function(v){var m=r[l][1][v];return i(m||v)},d,d.exports,n,r,a,o)}return a[l].exports}for(var u=typeof s0=="function"&&s0,s=0;s<o.length;s++)i(o[s]);return i}({"./aesprim":[function(n,r,a){(function(o,i){i(typeof a<"u"?a:o.esprima={})})(this,function(o){var i,u,s,l,c,f,h,d,v,m,p,g,y,b,_,E,w,S;i={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},u={},u[i.BooleanLiteral]="Boolean",u[i.EOF]="<end>",u[i.Identifier]="Identifier",u[i.Keyword]="Keyword",u[i.NullLiteral]="Null",u[i.NumericLiteral]="Numeric",u[i.Punctuator]="Punctuator",u[i.StringLiteral]="String",u[i.RegularExpression]="RegularExpression",s=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],l={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},f={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},h={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function A(oe,_e){if(!oe)throw new Error("ASSERT: "+_e)}function P(oe){return oe>=48&&oe<=57}function C(oe){return"0123456789abcdefABCDEF".indexOf(oe)>=0}function D(oe){return"01234567".indexOf(oe)>=0}function O(oe){return oe===32||oe===9||oe===11||oe===12||oe===160||oe>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(oe)>=0}function k(oe){return oe===10||oe===13||oe===8232||oe===8233}function I(oe){return oe==64||oe===36||oe===95||oe>=65&&oe<=90||oe>=97&&oe<=122||oe===92||oe>=128&&h.NonAsciiIdentifierStart.test(String.fromCharCode(oe))}function N(oe){return oe===36||oe===95||oe>=65&&oe<=90||oe>=97&&oe<=122||oe>=48&&oe<=57||oe===92||oe>=128&&h.NonAsciiIdentifierPart.test(String.fromCharCode(oe))}function F(oe){switch(oe){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function R(oe){switch(oe){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function M(oe){return oe==="eval"||oe==="arguments"}function j(oe){if(m&&R(oe))return!0;switch(oe.length){case 2:return oe==="if"||oe==="in"||oe==="do";case 3:return oe==="var"||oe==="for"||oe==="new"||oe==="try"||oe==="let";case 4:return oe==="this"||oe==="else"||oe==="case"||oe==="void"||oe==="with"||oe==="enum";case 5:return oe==="while"||oe==="break"||oe==="catch"||oe==="throw"||oe==="const"||oe==="yield"||oe==="class"||oe==="super";case 6:return oe==="return"||oe==="typeof"||oe==="delete"||oe==="switch"||oe==="export"||oe==="import";case 7:return oe==="default"||oe==="finally"||oe==="extends";case 8:return oe==="function"||oe==="continue"||oe==="debugger";case 10:return oe==="instanceof";default:return!1}}function W(oe,_e,ze,qe,bt){var Dt;A(typeof ze=="number","Comment must have valid position"),!(w.lastCommentStart>=ze)&&(w.lastCommentStart=ze,Dt={type:oe,value:_e},S.range&&(Dt.range=[ze,qe]),S.loc&&(Dt.loc=bt),S.comments.push(Dt),S.attachComment&&(S.leadingComments.push(Dt),S.trailingComments.push(Dt)))}function L(oe){var _e,ze,qe,bt;for(_e=p-oe,ze={start:{line:g,column:p-y-oe}};p<b;)if(qe=v.charCodeAt(p),++p,k(qe)){S.comments&&(bt=v.slice(_e+oe,p-1),ze.end={line:g,column:p-y-1},W("Line",bt,_e,p-1,ze)),qe===13&&v.charCodeAt(p)===10&&++p,++g,y=p;return}S.comments&&(bt=v.slice(_e+oe,p),ze.end={line:g,column:p-y},W("Line",bt,_e,p,ze))}function z(){var oe,_e,ze,qe;for(S.comments&&(oe=p-2,_e={start:{line:g,column:p-y-2}});p<b;)if(ze=v.charCodeAt(p),k(ze))ze===13&&v.charCodeAt(p+1)===10&&++p,++g,++p,y=p,p>=b&&Ae({},f.UnexpectedToken,"ILLEGAL");else if(ze===42){if(v.charCodeAt(p+1)===47){++p,++p,S.comments&&(qe=v.slice(oe+2,p-2),_e.end={line:g,column:p-y},W("Block",qe,oe,p,_e));return}++p}else++p;Ae({},f.UnexpectedToken,"ILLEGAL")}function G(){var oe,_e;for(_e=p===0;p<b;)if(oe=v.charCodeAt(p),O(oe))++p;else if(k(oe))++p,oe===13&&v.charCodeAt(p)===10&&++p,++g,y=p,_e=!0;else if(oe===47)if(oe=v.charCodeAt(p+1),oe===47)++p,++p,L(2),_e=!0;else if(oe===42)++p,++p,z();else break;else if(_e&&oe===45)if(v.charCodeAt(p+1)===45&&v.charCodeAt(p+2)===62)p+=3,L(3);else break;else if(oe===60)if(v.slice(p+1,p+4)==="!--")++p,++p,++p,++p,L(4);else break;else break}function Y(oe){var _e,ze,qe,bt=0;for(ze=oe==="u"?4:2,_e=0;_e<ze;++_e)if(p<b&&C(v[p]))qe=v[p++],bt=bt*16+"0123456789abcdef".indexOf(qe.toLowerCase());else return"";return String.fromCharCode(bt)}function Z(){var oe,_e;for(oe=v.charCodeAt(p++),_e=String.fromCharCode(oe),oe===92&&(v.charCodeAt(p)!==117&&Ae({},f.UnexpectedToken,"ILLEGAL"),++p,oe=Y("u"),(!oe||oe==="\\"||!I(oe.charCodeAt(0)))&&Ae({},f.UnexpectedToken,"ILLEGAL"),_e=oe);p<b&&(oe=v.charCodeAt(p),!!N(oe));)++p,_e+=String.fromCharCode(oe),oe===92&&(_e=_e.substr(0,_e.length-1),v.charCodeAt(p)!==117&&Ae({},f.UnexpectedToken,"ILLEGAL"),++p,oe=Y("u"),(!oe||oe==="\\"||!N(oe.charCodeAt(0)))&&Ae({},f.UnexpectedToken,"ILLEGAL"),_e+=oe);return _e}function q(){var oe,_e;for(oe=p++;p<b;){if(_e=v.charCodeAt(p),_e===92)return p=oe,Z();if(N(_e))++p;else break}return v.slice(oe,p)}function ue(){var oe,_e,ze;return oe=p,_e=v.charCodeAt(p)===92?Z():q(),_e.length===1?ze=i.Identifier:j(_e)?ze=i.Keyword:_e==="null"?ze=i.NullLiteral:_e==="true"||_e==="false"?ze=i.BooleanLiteral:ze=i.Identifier,{type:ze,value:_e,lineNumber:g,lineStart:y,start:oe,end:p}}function ie(){var oe=p,_e=v.charCodeAt(p),ze,qe=v[p],bt,Dt,we;switch(_e){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++p,S.tokenize&&(_e===40?S.openParenToken=S.tokens.length:_e===123&&(S.openCurlyToken=S.tokens.length)),{type:i.Punctuator,value:String.fromCharCode(_e),lineNumber:g,lineStart:y,start:oe,end:p};default:if(ze=v.charCodeAt(p+1),ze===61)switch(_e){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return p+=2,{type:i.Punctuator,value:String.fromCharCode(_e)+String.fromCharCode(ze),lineNumber:g,lineStart:y,start:oe,end:p};case 33:case 61:return p+=2,v.charCodeAt(p)===61&&++p,{type:i.Punctuator,value:v.slice(oe,p),lineNumber:g,lineStart:y,start:oe,end:p}}}if(we=v.substr(p,4),we===">>>=")return p+=4,{type:i.Punctuator,value:we,lineNumber:g,lineStart:y,start:oe,end:p};if(Dt=we.substr(0,3),Dt===">>>"||Dt==="<<="||Dt===">>=")return p+=3,{type:i.Punctuator,value:Dt,lineNumber:g,lineStart:y,start:oe,end:p};if(bt=Dt.substr(0,2),qe===bt[1]&&"+-<>&|".indexOf(qe)>=0||bt==="=>")return p+=2,{type:i.Punctuator,value:bt,lineNumber:g,lineStart:y,start:oe,end:p};if("<>=!+-*%&|^/".indexOf(qe)>=0)return++p,{type:i.Punctuator,value:qe,lineNumber:g,lineStart:y,start:oe,end:p};Ae({},f.UnexpectedToken,"ILLEGAL")}function te(oe){for(var _e="";p<b&&C(v[p]);)_e+=v[p++];return _e.length===0&&Ae({},f.UnexpectedToken,"ILLEGAL"),I(v.charCodeAt(p))&&Ae({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt("0x"+_e,16),lineNumber:g,lineStart:y,start:oe,end:p}}function le(oe){for(var _e="0"+v[p++];p<b&&D(v[p]);)_e+=v[p++];return(I(v.charCodeAt(p))||P(v.charCodeAt(p)))&&Ae({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt(_e,8),octal:!0,lineNumber:g,lineStart:y,start:oe,end:p}}function me(){var oe,_e,ze;if(ze=v[p],A(P(ze.charCodeAt(0))||ze===".","Numeric literal must start with a decimal digit or a decimal point"),_e=p,oe="",ze!=="."){if(oe=v[p++],ze=v[p],oe==="0"){if(ze==="x"||ze==="X")return++p,te(_e);if(D(ze))return le(_e);ze&&P(ze.charCodeAt(0))&&Ae({},f.UnexpectedToken,"ILLEGAL")}for(;P(v.charCodeAt(p));)oe+=v[p++];ze=v[p]}if(ze==="."){for(oe+=v[p++];P(v.charCodeAt(p));)oe+=v[p++];ze=v[p]}if(ze==="e"||ze==="E")if(oe+=v[p++],ze=v[p],(ze==="+"||ze==="-")&&(oe+=v[p++]),P(v.charCodeAt(p)))for(;P(v.charCodeAt(p));)oe+=v[p++];else Ae({},f.UnexpectedToken,"ILLEGAL");return I(v.charCodeAt(p))&&Ae({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseFloat(oe),lineNumber:g,lineStart:y,start:_e,end:p}}function X(){var oe="",_e,ze,qe,bt,Dt,we,Oe=!1,je,tt;for(je=g,tt=y,_e=v[p],A(_e==="'"||_e==='"',"String literal must starts with a quote"),ze=p,++p;p<b;)if(qe=v[p++],qe===_e){_e="";break}else if(qe==="\\")if(qe=v[p++],!qe||!k(qe.charCodeAt(0)))switch(qe){case"u":case"x":we=p,Dt=Y(qe),Dt?oe+=Dt:(p=we,oe+=qe);break;case"n":oe+=`
|
|
70
70
|
`;break;case"r":oe+="\r";break;case"t":oe+=" ";break;case"b":oe+="\b";break;case"f":oe+="\f";break;case"v":oe+="\v";break;default:D(qe)?(bt="01234567".indexOf(qe),bt!==0&&(Oe=!0),p<b&&D(v[p])&&(Oe=!0,bt=bt*8+"01234567".indexOf(v[p++]),"0123".indexOf(qe)>=0&&p<b&&D(v[p])&&(bt=bt*8+"01234567".indexOf(v[p++]))),oe+=String.fromCharCode(bt)):oe+=qe;break}else++g,qe==="\r"&&v[p]===`
|
|
71
71
|
`&&++p,y=p;else{if(k(qe.charCodeAt(0)))break;oe+=qe}return _e!==""&&Ae({},f.UnexpectedToken,"ILLEGAL"),{type:i.StringLiteral,value:oe,octal:Oe,startLineNumber:je,startLineStart:tt,lineNumber:g,lineStart:y,start:ze,end:p}}function Q(oe,_e){var ze;try{ze=new RegExp(oe,_e)}catch{Ae({},f.InvalidRegExp)}return ze}function ne(){var oe,_e,ze,qe,bt;for(oe=v[p],A(oe==="/","Regular expression literal must start with a slash"),_e=v[p++],ze=!1,qe=!1;p<b;)if(oe=v[p++],_e+=oe,oe==="\\")oe=v[p++],k(oe.charCodeAt(0))&&Ae({},f.UnterminatedRegExp),_e+=oe;else if(k(oe.charCodeAt(0)))Ae({},f.UnterminatedRegExp);else if(ze)oe==="]"&&(ze=!1);else if(oe==="/"){qe=!0;break}else oe==="["&&(ze=!0);return qe||Ae({},f.UnterminatedRegExp),bt=_e.substr(1,_e.length-2),{value:bt,literal:_e}}function ce(){var oe,_e,ze,qe;for(_e="",ze="";p<b&&(oe=v[p],!!N(oe.charCodeAt(0)));)if(++p,oe==="\\"&&p<b)if(oe=v[p],oe==="u"){if(++p,qe=p,oe=Y("u"),oe)for(ze+=oe,_e+="\\u";qe<p;++qe)_e+=v[qe];else p=qe,ze+="u",_e+="\\u";Ie({},f.UnexpectedToken,"ILLEGAL")}else _e+="\\",Ie({},f.UnexpectedToken,"ILLEGAL");else ze+=oe,_e+=oe;return{value:ze,literal:_e}}function fe(){var oe,_e,ze,qe;return E=null,G(),oe=p,_e=ne(),ze=ce(),qe=Q(_e.value,ze.value),S.tokenize?{type:i.RegularExpression,value:qe,lineNumber:g,lineStart:y,start:oe,end:p}:{literal:_e.literal+ze.literal,value:qe,start:oe,end:p}}function de(){var oe,_e,ze,qe;return G(),oe=p,_e={start:{line:g,column:p-y}},ze=fe(),_e.end={line:g,column:p-y},S.tokenize||(S.tokens.length>0&&(qe=S.tokens[S.tokens.length-1],qe.range[0]===oe&&qe.type==="Punctuator"&&(qe.value==="/"||qe.value==="/=")&&S.tokens.pop()),S.tokens.push({type:"RegularExpression",value:ze.literal,range:[oe,p],loc:_e})),ze}function pe(oe){return oe.type===i.Identifier||oe.type===i.Keyword||oe.type===i.BooleanLiteral||oe.type===i.NullLiteral}function Ee(){var oe,_e;if(oe=S.tokens[S.tokens.length-1],!oe)return de();if(oe.type==="Punctuator"){if(oe.value==="]")return ie();if(oe.value===")")return _e=S.tokens[S.openParenToken-1],_e&&_e.type==="Keyword"&&(_e.value==="if"||_e.value==="while"||_e.value==="for"||_e.value==="with")?de():ie();if(oe.value==="}"){if(S.tokens[S.openCurlyToken-3]&&S.tokens[S.openCurlyToken-3].type==="Keyword"){if(_e=S.tokens[S.openCurlyToken-4],!_e)return ie()}else if(S.tokens[S.openCurlyToken-4]&&S.tokens[S.openCurlyToken-4].type==="Keyword"){if(_e=S.tokens[S.openCurlyToken-5],!_e)return de()}else return ie();return s.indexOf(_e.value)>=0?ie():de()}return de()}return oe.type==="Keyword"?de():ie()}function De(){var oe;return G(),p>=b?{type:i.EOF,lineNumber:g,lineStart:y,start:p,end:p}:(oe=v.charCodeAt(p),I(oe)?ue():oe===40||oe===41||oe===59?ie():oe===39||oe===34?X():oe===46?P(v.charCodeAt(p+1))?me():ie():P(oe)?me():S.tokenize&&oe===47?Ee():ie())}function Ne(){var oe,_e,ze;return G(),oe={start:{line:g,column:p-y}},_e=De(),oe.end={line:g,column:p-y},_e.type!==i.EOF&&(ze=v.slice(_e.start,_e.end),S.tokens.push({type:u[_e.type],value:ze,range:[_e.start,_e.end],loc:oe})),_e}function be(){var oe;return oe=E,p=oe.end,g=oe.lineNumber,y=oe.lineStart,E=typeof S.tokens<"u"?Ne():De(),p=oe.end,g=oe.lineNumber,y=oe.lineStart,oe}function J(){var oe,_e,ze;oe=p,_e=g,ze=y,E=typeof S.tokens<"u"?Ne():De(),p=oe,g=_e,y=ze}function K(oe,_e){this.line=oe,this.column=_e}function ee(oe,_e,ze,qe){this.start=new K(oe,_e),this.end=new K(ze,qe)}d={name:"SyntaxTree",processComment:function(oe){var _e,ze;if(!(oe.type===l.Program&&oe.body.length>0)){for(S.trailingComments.length>0?S.trailingComments[0].range[0]>=oe.range[1]?(ze=S.trailingComments,S.trailingComments=[]):S.trailingComments.length=0:S.bottomRightStack.length>0&&S.bottomRightStack[S.bottomRightStack.length-1].trailingComments&&S.bottomRightStack[S.bottomRightStack.length-1].trailingComments[0].range[0]>=oe.range[1]&&(ze=S.bottomRightStack[S.bottomRightStack.length-1].trailingComments,delete S.bottomRightStack[S.bottomRightStack.length-1].trailingComments);S.bottomRightStack.length>0&&S.bottomRightStack[S.bottomRightStack.length-1].range[0]>=oe.range[0];)_e=S.bottomRightStack.pop();_e?_e.leadingComments&&_e.leadingComments[_e.leadingComments.length-1].range[1]<=oe.range[0]&&(oe.leadingComments=_e.leadingComments,delete _e.leadingComments):S.leadingComments.length>0&&S.leadingComments[S.leadingComments.length-1].range[1]<=oe.range[0]&&(oe.leadingComments=S.leadingComments,S.leadingComments=[]),ze&&(oe.trailingComments=ze),S.bottomRightStack.push(oe)}},markEnd:function(oe,_e){return S.range&&(oe.range=[_e.start,p]),S.loc&&(oe.loc=new ee(_e.startLineNumber===void 0?_e.lineNumber:_e.startLineNumber,_e.start-(_e.startLineStart===void 0?_e.lineStart:_e.startLineStart),g,p-y),this.postProcess(oe)),S.attachComment&&this.processComment(oe),oe},postProcess:function(oe){return S.source&&(oe.loc.source=S.source),oe},createArrayExpression:function(oe){return{type:l.ArrayExpression,elements:oe}},createAssignmentExpression:function(oe,_e,ze){return{type:l.AssignmentExpression,operator:oe,left:_e,right:ze}},createBinaryExpression:function(oe,_e,ze){var qe=oe==="||"||oe==="&&"?l.LogicalExpression:l.BinaryExpression;return{type:qe,operator:oe,left:_e,right:ze}},createBlockStatement:function(oe){return{type:l.BlockStatement,body:oe}},createBreakStatement:function(oe){return{type:l.BreakStatement,label:oe}},createCallExpression:function(oe,_e){return{type:l.CallExpression,callee:oe,arguments:_e}},createCatchClause:function(oe,_e){return{type:l.CatchClause,param:oe,body:_e}},createConditionalExpression:function(oe,_e,ze){return{type:l.ConditionalExpression,test:oe,consequent:_e,alternate:ze}},createContinueStatement:function(oe){return{type:l.ContinueStatement,label:oe}},createDebuggerStatement:function(){return{type:l.DebuggerStatement}},createDoWhileStatement:function(oe,_e){return{type:l.DoWhileStatement,body:oe,test:_e}},createEmptyStatement:function(){return{type:l.EmptyStatement}},createExpressionStatement:function(oe){return{type:l.ExpressionStatement,expression:oe}},createForStatement:function(oe,_e,ze,qe){return{type:l.ForStatement,init:oe,test:_e,update:ze,body:qe}},createForInStatement:function(oe,_e,ze){return{type:l.ForInStatement,left:oe,right:_e,body:ze,each:!1}},createFunctionDeclaration:function(oe,_e,ze,qe){return{type:l.FunctionDeclaration,id:oe,params:_e,defaults:ze,body:qe,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(oe,_e,ze,qe){return{type:l.FunctionExpression,id:oe,params:_e,defaults:ze,body:qe,rest:null,generator:!1,expression:!1}},createIdentifier:function(oe){return{type:l.Identifier,name:oe}},createIfStatement:function(oe,_e,ze){return{type:l.IfStatement,test:oe,consequent:_e,alternate:ze}},createLabeledStatement:function(oe,_e){return{type:l.LabeledStatement,label:oe,body:_e}},createLiteral:function(oe){return{type:l.Literal,value:oe.value,raw:v.slice(oe.start,oe.end)}},createMemberExpression:function(oe,_e,ze){return{type:l.MemberExpression,computed:oe==="[",object:_e,property:ze}},createNewExpression:function(oe,_e){return{type:l.NewExpression,callee:oe,arguments:_e}},createObjectExpression:function(oe){return{type:l.ObjectExpression,properties:oe}},createPostfixExpression:function(oe,_e){return{type:l.UpdateExpression,operator:oe,argument:_e,prefix:!1}},createProgram:function(oe){return{type:l.Program,body:oe}},createProperty:function(oe,_e,ze){return{type:l.Property,key:_e,value:ze,kind:oe}},createReturnStatement:function(oe){return{type:l.ReturnStatement,argument:oe}},createSequenceExpression:function(oe){return{type:l.SequenceExpression,expressions:oe}},createSwitchCase:function(oe,_e){return{type:l.SwitchCase,test:oe,consequent:_e}},createSwitchStatement:function(oe,_e){return{type:l.SwitchStatement,discriminant:oe,cases:_e}},createThisExpression:function(){return{type:l.ThisExpression}},createThrowStatement:function(oe){return{type:l.ThrowStatement,argument:oe}},createTryStatement:function(oe,_e,ze,qe){return{type:l.TryStatement,block:oe,guardedHandlers:_e,handlers:ze,finalizer:qe}},createUnaryExpression:function(oe,_e){return oe==="++"||oe==="--"?{type:l.UpdateExpression,operator:oe,argument:_e,prefix:!0}:{type:l.UnaryExpression,operator:oe,argument:_e,prefix:!0}},createVariableDeclaration:function(oe,_e){return{type:l.VariableDeclaration,declarations:oe,kind:_e}},createVariableDeclarator:function(oe,_e){return{type:l.VariableDeclarator,id:oe,init:_e}},createWhileStatement:function(oe,_e){return{type:l.WhileStatement,test:oe,body:_e}},createWithStatement:function(oe,_e){return{type:l.WithStatement,object:oe,body:_e}}};function ve(){var oe,_e,ze,qe;return oe=p,_e=g,ze=y,G(),qe=g!==_e,p=oe,g=_e,y=ze,qe}function Ae(oe,_e){var ze,qe=Array.prototype.slice.call(arguments,2),bt=_e.replace(/%(\d)/g,function(Dt,we){return A(we<qe.length,"Message reference must be in range"),qe[we]});throw typeof oe.lineNumber=="number"?(ze=new Error("Line "+oe.lineNumber+": "+bt),ze.index=oe.start,ze.lineNumber=oe.lineNumber,ze.column=oe.start-y+1):(ze=new Error("Line "+g+": "+bt),ze.index=p,ze.lineNumber=g,ze.column=p-y+1),ze.description=bt,ze}function Ie(){try{Ae.apply(null,arguments)}catch(oe){if(S.errors)S.errors.push(oe);else throw oe}}function Be(oe){if(oe.type===i.EOF&&Ae(oe,f.UnexpectedEOS),oe.type===i.NumericLiteral&&Ae(oe,f.UnexpectedNumber),oe.type===i.StringLiteral&&Ae(oe,f.UnexpectedString),oe.type===i.Identifier&&Ae(oe,f.UnexpectedIdentifier),oe.type===i.Keyword){if(F(oe.value))Ae(oe,f.UnexpectedReserved);else if(m&&R(oe.value)){Ie(oe,f.StrictReservedWord);return}Ae(oe,f.UnexpectedToken,oe.value)}Ae(oe,f.UnexpectedToken,oe.value)}function Fe(oe){var _e=be();(_e.type!==i.Punctuator||_e.value!==oe)&&Be(_e)}function He(oe){var _e=be();(_e.type!==i.Keyword||_e.value!==oe)&&Be(_e)}function Ve(oe){return E.type===i.Punctuator&&E.value===oe}function Ye(oe){return E.type===i.Keyword&&E.value===oe}function at(){var oe;return E.type!==i.Punctuator?!1:(oe=E.value,oe==="="||oe==="*="||oe==="/="||oe==="%="||oe==="+="||oe==="-="||oe==="<<="||oe===">>="||oe===">>>="||oe==="&="||oe==="^="||oe==="|=")}function Ft(){var oe;if(v.charCodeAt(p)===59||Ve(";")){be();return}oe=g,G(),g===oe&&E.type!==i.EOF&&!Ve("}")&&Be(E)}function _t(oe){return oe.type===l.Identifier||oe.type===l.MemberExpression}function Kt(){var oe=[],_e;for(_e=E,Fe("[");!Ve("]");)Ve(",")?(be(),oe.push(null)):(oe.push(jr()),Ve("]")||Fe(","));return be(),_.markEnd(_.createArrayExpression(oe),_e)}function Bt(oe,_e){var ze,qe,bt;return ze=m,bt=E,qe=Wt(),_e&&m&&M(oe[0].name)&&Ie(_e,f.StrictParamName),m=ze,_.markEnd(_.createFunctionExpression(null,oe,[],qe),bt)}function Pt(){var oe,_e;return _e=E,oe=be(),oe.type===i.StringLiteral||oe.type===i.NumericLiteral?(m&&oe.octal&&Ie(oe,f.StrictOctalLiteral),_.markEnd(_.createLiteral(oe),_e)):_.markEnd(_.createIdentifier(oe.value),_e)}function pt(){var oe,_e,ze,qe,bt,Dt;if(oe=E,Dt=E,oe.type===i.Identifier)return ze=Pt(),oe.value==="get"&&!Ve(":")?(_e=Pt(),Fe("("),Fe(")"),qe=Bt([]),_.markEnd(_.createProperty("get",_e,qe),Dt)):oe.value==="set"&&!Ve(":")?(_e=Pt(),Fe("("),oe=E,oe.type!==i.Identifier?(Fe(")"),Ie(oe,f.UnexpectedToken,oe.value),qe=Bt([])):(bt=[Vi()],Fe(")"),qe=Bt(bt,oe)),_.markEnd(_.createProperty("set",_e,qe),Dt)):(Fe(":"),qe=jr(),_.markEnd(_.createProperty("init",ze,qe),Dt));if(oe.type===i.EOF||oe.type===i.Punctuator)Be(oe);else return _e=Pt(),Fe(":"),qe=jr(),_.markEnd(_.createProperty("init",_e,qe),Dt)}function kn(){var oe=[],_e,ze,qe,bt,Dt={},we=String,Oe;for(Oe=E,Fe("{");!Ve("}");)_e=pt(),_e.key.type===l.Identifier?ze=_e.key.name:ze=we(_e.key.value),bt=_e.kind==="init"?c.Data:_e.kind==="get"?c.Get:c.Set,qe="$"+ze,Object.prototype.hasOwnProperty.call(Dt,qe)?(Dt[qe]===c.Data?m&&bt===c.Data?Ie({},f.StrictDuplicateProperty):bt!==c.Data&&Ie({},f.AccessorDataProperty):bt===c.Data?Ie({},f.AccessorDataProperty):Dt[qe]&bt&&Ie({},f.AccessorGetSet),Dt[qe]|=bt):Dt[qe]=bt,oe.push(_e),Ve("}")||Fe(",");return Fe("}"),_.markEnd(_.createObjectExpression(oe),Oe)}function rt(){var oe;return Fe("("),oe=gr(),Fe(")"),oe}function lt(){var oe,_e,ze,qe;if(Ve("("))return rt();if(Ve("["))return Kt();if(Ve("{"))return kn();if(oe=E.type,qe=E,oe===i.Identifier)ze=_.createIdentifier(be().value);else if(oe===i.StringLiteral||oe===i.NumericLiteral)m&&E.octal&&Ie(E,f.StrictOctalLiteral),ze=_.createLiteral(be());else if(oe===i.Keyword){if(Ye("function"))return Hn();Ye("this")?(be(),ze=_.createThisExpression()):Be(be())}else oe===i.BooleanLiteral?(_e=be(),_e.value=_e.value==="true",ze=_.createLiteral(_e)):oe===i.NullLiteral?(_e=be(),_e.value=null,ze=_.createLiteral(_e)):Ve("/")||Ve("/=")?(typeof S.tokens<"u"?ze=_.createLiteral(de()):ze=_.createLiteral(fe()),J()):Be(be());return _.markEnd(ze,qe)}function re(){var oe=[];if(Fe("("),!Ve(")"))for(;p<b&&(oe.push(jr()),!Ve(")"));)Fe(",");return Fe(")"),oe}function ke(){var oe,_e;return _e=E,oe=be(),pe(oe)||Be(oe),_.markEnd(_.createIdentifier(oe.value),_e)}function Te(){return Fe("."),ke()}function Me(){var oe;return Fe("["),oe=gr(),Fe("]"),oe}function Ue(){var oe,_e,ze;return ze=E,He("new"),oe=Et(),_e=Ve("(")?re():[],_.markEnd(_.createNewExpression(oe,_e),ze)}function ut(){var oe,_e,ze,qe,bt;for(bt=E,oe=w.allowIn,w.allowIn=!0,_e=Ye("new")?Ue():lt(),w.allowIn=oe;;){if(Ve("."))qe=Te(),_e=_.createMemberExpression(".",_e,qe);else if(Ve("("))ze=re(),_e=_.createCallExpression(_e,ze);else if(Ve("["))qe=Me(),_e=_.createMemberExpression("[",_e,qe);else break;_.markEnd(_e,bt)}return _e}function Et(){var oe,_e,ze,qe;for(qe=E,oe=w.allowIn,_e=Ye("new")?Ue():lt(),w.allowIn=oe;Ve(".")||Ve("[");)Ve("[")?(ze=Me(),_e=_.createMemberExpression("[",_e,ze)):(ze=Te(),_e=_.createMemberExpression(".",_e,ze)),_.markEnd(_e,qe);return _e}function kt(){var oe,_e,ze=E;return oe=ut(),E.type===i.Punctuator&&(Ve("++")||Ve("--"))&&!ve()&&(m&&oe.type===l.Identifier&&M(oe.name)&&Ie({},f.StrictLHSPostfix),_t(oe)||Ie({},f.InvalidLHSInAssignment),_e=be(),oe=_.markEnd(_.createPostfixExpression(_e.value,oe),ze)),oe}function Gt(){var oe,_e,ze;return E.type!==i.Punctuator&&E.type!==i.Keyword?_e=kt():Ve("++")||Ve("--")?(ze=E,oe=be(),_e=Gt(),m&&_e.type===l.Identifier&&M(_e.name)&&Ie({},f.StrictLHSPrefix),_t(_e)||Ie({},f.InvalidLHSInAssignment),_e=_.createUnaryExpression(oe.value,_e),_e=_.markEnd(_e,ze)):Ve("+")||Ve("-")||Ve("~")||Ve("!")?(ze=E,oe=be(),_e=Gt(),_e=_.createUnaryExpression(oe.value,_e),_e=_.markEnd(_e,ze)):Ye("delete")||Ye("void")||Ye("typeof")?(ze=E,oe=be(),_e=Gt(),_e=_.createUnaryExpression(oe.value,_e),_e=_.markEnd(_e,ze),m&&_e.operator==="delete"&&_e.argument.type===l.Identifier&&Ie({},f.StrictDelete)):_e=kt(),_e}function Dn(oe,_e){var ze=0;if(oe.type!==i.Punctuator&&oe.type!==i.Keyword)return 0;switch(oe.value){case"||":ze=1;break;case"&&":ze=2;break;case"|":ze=3;break;case"^":ze=4;break;case"&":ze=5;break;case"==":case"!=":case"===":case"!==":ze=6;break;case"<":case">":case"<=":case">=":case"instanceof":ze=7;break;case"in":ze=_e?7:0;break;case"<<":case">>":case">>>":ze=8;break;case"+":case"-":ze=9;break;case"*":case"/":case"%":ze=11;break}return ze}function mr(){var oe,_e,ze,qe,bt,Dt,we,Oe,je,tt;if(oe=E,je=Gt(),qe=E,bt=Dn(qe,w.allowIn),bt===0)return je;for(qe.prec=bt,be(),_e=[oe,E],we=Gt(),Dt=[je,qe,we];(bt=Dn(E,w.allowIn))>0;){for(;Dt.length>2&&bt<=Dt[Dt.length-2].prec;)we=Dt.pop(),Oe=Dt.pop().value,je=Dt.pop(),ze=_.createBinaryExpression(Oe,je,we),_e.pop(),oe=_e[_e.length-1],_.markEnd(ze,oe),Dt.push(ze);qe=be(),qe.prec=bt,Dt.push(qe),_e.push(E),ze=Gt(),Dt.push(ze)}for(tt=Dt.length-1,ze=Dt[tt],_e.pop();tt>1;)ze=_.createBinaryExpression(Dt[tt-1].value,Dt[tt-2],ze),tt-=2,oe=_e.pop(),_.markEnd(ze,oe);return ze}function si(){var oe,_e,ze,qe,bt;return bt=E,oe=mr(),Ve("?")&&(be(),_e=w.allowIn,w.allowIn=!0,ze=jr(),w.allowIn=_e,Fe(":"),qe=jr(),oe=_.createConditionalExpression(oe,ze,qe),_.markEnd(oe,bt)),oe}function jr(){var oe,_e,ze,qe,bt;return oe=E,bt=E,qe=_e=si(),at()&&(_t(_e)||Ie({},f.InvalidLHSInAssignment),m&&_e.type===l.Identifier&&M(_e.name)&&Ie(oe,f.StrictLHSAssignment),oe=be(),ze=jr(),qe=_.markEnd(_.createAssignmentExpression(oe.value,_e,ze),bt)),qe}function gr(){var oe,_e=E;if(oe=jr(),Ve(",")){for(oe=_.createSequenceExpression([oe]);p<b&&Ve(",");)be(),oe.expressions.push(jr());_.markEnd(oe,_e)}return oe}function sa(){for(var oe=[],_e;p<b&&!(Ve("}")||(_e=yr(),typeof _e>"u"));)oe.push(_e);return oe}function Or(){var oe,_e;return _e=E,Fe("{"),oe=sa(),Fe("}"),_.markEnd(_.createBlockStatement(oe),_e)}function Vi(){var oe,_e;return _e=E,oe=be(),oe.type!==i.Identifier&&Be(oe),_.markEnd(_.createIdentifier(oe.value),_e)}function vo(oe){var _e=null,ze,qe;return qe=E,ze=Vi(),m&&M(ze.name)&&Ie({},f.StrictVarName),oe==="const"?(Fe("="),_e=jr()):Ve("=")&&(be(),_e=jr()),_.markEnd(_.createVariableDeclarator(ze,_e),qe)}function ei(oe){var _e=[];do{if(_e.push(vo(oe)),!Ve(","))break;be()}while(p<b);return _e}function no(){var oe;return He("var"),oe=ei(),Ft(),_.createVariableDeclaration(oe,"var")}function ko(oe){var _e,ze;return ze=E,He(oe),_e=ei(oe),Ft(),_.markEnd(_.createVariableDeclaration(_e,oe),ze)}function ja(){return Fe(";"),_.createEmptyStatement()}function bs(){var oe=gr();return Ft(),_.createExpressionStatement(oe)}function ct(){var oe,_e,ze;return He("if"),Fe("("),oe=gr(),Fe(")"),_e=dn(),Ye("else")?(be(),ze=dn()):ze=null,_.createIfStatement(oe,_e,ze)}function T(){var oe,_e,ze;return He("do"),ze=w.inIteration,w.inIteration=!0,oe=dn(),w.inIteration=ze,He("while"),Fe("("),_e=gr(),Fe(")"),Ve(";")&&be(),_.createDoWhileStatement(oe,_e)}function B(){var oe,_e,ze;return He("while"),Fe("("),oe=gr(),Fe(")"),ze=w.inIteration,w.inIteration=!0,_e=dn(),w.inIteration=ze,_.createWhileStatement(oe,_e)}function V(){var oe,_e,ze;return ze=E,oe=be(),_e=ei(),_.markEnd(_.createVariableDeclaration(_e,oe.value),ze)}function H(){var oe,_e,ze,qe,bt,Dt,we;return oe=_e=ze=null,He("for"),Fe("("),Ve(";")?be():(Ye("var")||Ye("let")?(w.allowIn=!1,oe=V(),w.allowIn=!0,oe.declarations.length===1&&Ye("in")&&(be(),qe=oe,bt=gr(),oe=null)):(w.allowIn=!1,oe=gr(),w.allowIn=!0,Ye("in")&&(_t(oe)||Ie({},f.InvalidLHSInForIn),be(),qe=oe,bt=gr(),oe=null)),typeof qe>"u"&&Fe(";")),typeof qe>"u"&&(Ve(";")||(_e=gr()),Fe(";"),Ve(")")||(ze=gr())),Fe(")"),we=w.inIteration,w.inIteration=!0,Dt=dn(),w.inIteration=we,typeof qe>"u"?_.createForStatement(oe,_e,ze,Dt):_.createForInStatement(qe,bt,Dt)}function $(){var oe=null,_e;return He("continue"),v.charCodeAt(p)===59?(be(),w.inIteration||Ae({},f.IllegalContinue),_.createContinueStatement(null)):ve()?(w.inIteration||Ae({},f.IllegalContinue),_.createContinueStatement(null)):(E.type===i.Identifier&&(oe=Vi(),_e="$"+oe.name,Object.prototype.hasOwnProperty.call(w.labelSet,_e)||Ae({},f.UnknownLabel,oe.name)),Ft(),oe===null&&!w.inIteration&&Ae({},f.IllegalContinue),_.createContinueStatement(oe))}function he(){var oe=null,_e;return He("break"),v.charCodeAt(p)===59?(be(),w.inIteration||w.inSwitch||Ae({},f.IllegalBreak),_.createBreakStatement(null)):ve()?(w.inIteration||w.inSwitch||Ae({},f.IllegalBreak),_.createBreakStatement(null)):(E.type===i.Identifier&&(oe=Vi(),_e="$"+oe.name,Object.prototype.hasOwnProperty.call(w.labelSet,_e)||Ae({},f.UnknownLabel,oe.name)),Ft(),oe===null&&!(w.inIteration||w.inSwitch)&&Ae({},f.IllegalBreak),_.createBreakStatement(oe))}function Ce(){var oe=null;return He("return"),w.inFunctionBody||Ie({},f.IllegalReturn),v.charCodeAt(p)===32&&I(v.charCodeAt(p+1))?(oe=gr(),Ft(),_.createReturnStatement(oe)):ve()?_.createReturnStatement(null):(Ve(";")||!Ve("}")&&E.type!==i.EOF&&(oe=gr()),Ft(),_.createReturnStatement(oe))}function Re(){var oe,_e;return m&&(G(),Ie({},f.StrictModeWith)),He("with"),Fe("("),oe=gr(),Fe(")"),_e=dn(),_.createWithStatement(oe,_e)}function Je(){var oe,_e=[],ze,qe;for(qe=E,Ye("default")?(be(),oe=null):(He("case"),oe=gr()),Fe(":");p<b&&!(Ve("}")||Ye("default")||Ye("case"));)ze=dn(),_e.push(ze);return _.markEnd(_.createSwitchCase(oe,_e),qe)}function et(){var oe,_e,ze,qe,bt;if(He("switch"),Fe("("),oe=gr(),Fe(")"),Fe("{"),_e=[],Ve("}"))return be(),_.createSwitchStatement(oe,_e);for(qe=w.inSwitch,w.inSwitch=!0,bt=!1;p<b&&!Ve("}");)ze=Je(),ze.test===null&&(bt&&Ae({},f.MultipleDefaultsInSwitch),bt=!0),_e.push(ze);return w.inSwitch=qe,Fe("}"),_.createSwitchStatement(oe,_e)}function gt(){var oe;return He("throw"),ve()&&Ae({},f.NewlineAfterThrow),oe=gr(),Ft(),_.createThrowStatement(oe)}function dt(){var oe,_e,ze;return ze=E,He("catch"),Fe("("),Ve(")")&&Be(E),oe=Vi(),m&&M(oe.name)&&Ie({},f.StrictCatchVariable),Fe(")"),_e=Or(),_.markEnd(_.createCatchClause(oe,_e),ze)}function Ct(){var oe,_e=[],ze=null;return He("try"),oe=Or(),Ye("catch")&&_e.push(dt()),Ye("finally")&&(be(),ze=Or()),_e.length===0&&!ze&&Ae({},f.NoCatchOrFinally),_.createTryStatement(oe,[],_e,ze)}function rn(){return He("debugger"),Ft(),_.createDebuggerStatement()}function dn(){var oe=E.type,_e,ze,qe,bt;if(oe===i.EOF&&Be(E),oe===i.Punctuator&&E.value==="{")return Or();if(bt=E,oe===i.Punctuator)switch(E.value){case";":return _.markEnd(ja(),bt);case"(":return _.markEnd(bs(),bt)}if(oe===i.Keyword)switch(E.value){case"break":return _.markEnd(he(),bt);case"continue":return _.markEnd($(),bt);case"debugger":return _.markEnd(rn(),bt);case"do":return _.markEnd(T(),bt);case"for":return _.markEnd(H(),bt);case"function":return _.markEnd(bn(),bt);case"if":return _.markEnd(ct(),bt);case"return":return _.markEnd(Ce(),bt);case"switch":return _.markEnd(et(),bt);case"throw":return _.markEnd(gt(),bt);case"try":return _.markEnd(Ct(),bt);case"var":return _.markEnd(no(),bt);case"while":return _.markEnd(B(),bt);case"with":return _.markEnd(Re(),bt)}return _e=gr(),_e.type===l.Identifier&&Ve(":")?(be(),qe="$"+_e.name,Object.prototype.hasOwnProperty.call(w.labelSet,qe)&&Ae({},f.Redeclaration,"Label",_e.name),w.labelSet[qe]=!0,ze=dn(),delete w.labelSet[qe],_.markEnd(_.createLabeledStatement(_e,ze),bt)):(Ft(),_.markEnd(_.createExpressionStatement(_e),bt))}function Wt(){var oe,_e=[],ze,qe,bt,Dt,we,Oe,je,tt;for(tt=E,Fe("{");p<b&&!(E.type!==i.StringLiteral||(ze=E,oe=yr(),_e.push(oe),oe.expression.type!==l.Literal));)qe=v.slice(ze.start+1,ze.end-1),qe==="use strict"?(m=!0,bt&&Ie(bt,f.StrictOctalLiteral)):!bt&&ze.octal&&(bt=ze);for(Dt=w.labelSet,we=w.inIteration,Oe=w.inSwitch,je=w.inFunctionBody,w.labelSet={},w.inIteration=!1,w.inSwitch=!1,w.inFunctionBody=!0;p<b&&!(Ve("}")||(oe=yr(),typeof oe>"u"));)_e.push(oe);return Fe("}"),w.labelSet=Dt,w.inIteration=we,w.inSwitch=Oe,w.inFunctionBody=je,_.markEnd(_.createBlockStatement(_e),tt)}function Jt(oe){var _e,ze=[],qe,bt,Dt,we,Oe;if(Fe("("),!Ve(")"))for(Dt={};p<b&&(qe=E,_e=Vi(),we="$"+qe.value,m?(M(qe.value)&&(bt=qe,Oe=f.StrictParamName),Object.prototype.hasOwnProperty.call(Dt,we)&&(bt=qe,Oe=f.StrictParamDupe)):oe||(M(qe.value)?(oe=qe,Oe=f.StrictParamName):R(qe.value)?(oe=qe,Oe=f.StrictReservedWord):Object.prototype.hasOwnProperty.call(Dt,we)&&(oe=qe,Oe=f.StrictParamDupe)),ze.push(_e),Dt[we]=!0,!Ve(")"));)Fe(",");return Fe(")"),{params:ze,stricted:bt,firstRestricted:oe,message:Oe}}function bn(){var oe,_e=[],ze,qe,bt,Dt,we,Oe,je,tt;return tt=E,He("function"),qe=E,oe=Vi(),m?M(qe.value)&&Ie(qe,f.StrictFunctionName):M(qe.value)?(we=qe,Oe=f.StrictFunctionName):R(qe.value)&&(we=qe,Oe=f.StrictReservedWord),Dt=Jt(we),_e=Dt.params,bt=Dt.stricted,we=Dt.firstRestricted,Dt.message&&(Oe=Dt.message),je=m,ze=Wt(),m&&we&&Ae(we,Oe),m&&bt&&Ie(bt,Oe),m=je,_.markEnd(_.createFunctionDeclaration(oe,_e,[],ze),tt)}function Hn(){var oe,_e=null,ze,qe,bt,Dt,we=[],Oe,je,tt;return tt=E,He("function"),Ve("(")||(oe=E,_e=Vi(),m?M(oe.value)&&Ie(oe,f.StrictFunctionName):M(oe.value)?(qe=oe,bt=f.StrictFunctionName):R(oe.value)&&(qe=oe,bt=f.StrictReservedWord)),Dt=Jt(qe),we=Dt.params,ze=Dt.stricted,qe=Dt.firstRestricted,Dt.message&&(bt=Dt.message),je=m,Oe=Wt(),m&&qe&&Ae(qe,bt),m&&ze&&Ie(ze,bt),m=je,_.markEnd(_.createFunctionExpression(_e,we,[],Oe),tt)}function yr(){if(E.type===i.Keyword)switch(E.value){case"const":case"let":return ko(E.value);case"function":return bn();default:return dn()}if(E.type!==i.EOF)return dn()}function _r(){for(var oe,_e=[],ze,qe,bt;p<b&&(ze=E,!(ze.type!==i.StringLiteral||(oe=yr(),_e.push(oe),oe.expression.type!==l.Literal)));)qe=v.slice(ze.start+1,ze.end-1),qe==="use strict"?(m=!0,bt&&Ie(bt,f.StrictOctalLiteral)):!bt&&ze.octal&&(bt=ze);for(;p<b&&(oe=yr(),!(typeof oe>"u"));)_e.push(oe);return _e}function ti(){var oe,_e;return G(),J(),_e=E,m=!1,oe=_r(),_.markEnd(_.createProgram(oe),_e)}function ht(){var oe,_e,ze,qe=[];for(oe=0;oe<S.tokens.length;++oe)_e=S.tokens[oe],ze={type:_e.type,value:_e.value},S.range&&(ze.range=_e.range),S.loc&&(ze.loc=_e.loc),qe.push(ze);S.tokens=qe}function tn(oe,_e){var ze,qe,bt;ze=String,typeof oe!="string"&&!(oe instanceof String)&&(oe=ze(oe)),_=d,v=oe,p=0,g=v.length>0?1:0,y=0,b=v.length,E=null,w={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},S={},_e=_e||{},_e.tokens=!0,S.tokens=[],S.tokenize=!0,S.openParenToken=-1,S.openCurlyToken=-1,S.range=typeof _e.range=="boolean"&&_e.range,S.loc=typeof _e.loc=="boolean"&&_e.loc,typeof _e.comment=="boolean"&&_e.comment&&(S.comments=[]),typeof _e.tolerant=="boolean"&&_e.tolerant&&(S.errors=[]);try{if(J(),E.type===i.EOF)return S.tokens;for(qe=be();E.type!==i.EOF;)try{qe=be()}catch(Dt){if(qe=E,S.errors){S.errors.push(Dt);break}else throw Dt}ht(),bt=S.tokens,typeof S.comments<"u"&&(bt.comments=S.comments),typeof S.errors<"u"&&(bt.errors=S.errors)}catch(Dt){throw Dt}finally{S={}}return bt}function cn(oe,_e){var ze,qe;qe=String,typeof oe!="string"&&!(oe instanceof String)&&(oe=qe(oe)),_=d,v=oe,p=0,g=v.length>0?1:0,y=0,b=v.length,E=null,w={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},S={},typeof _e<"u"&&(S.range=typeof _e.range=="boolean"&&_e.range,S.loc=typeof _e.loc=="boolean"&&_e.loc,S.attachComment=typeof _e.attachComment=="boolean"&&_e.attachComment,S.loc&&_e.source!==null&&_e.source!==void 0&&(S.source=qe(_e.source)),typeof _e.tokens=="boolean"&&_e.tokens&&(S.tokens=[]),typeof _e.comment=="boolean"&&_e.comment&&(S.comments=[]),typeof _e.tolerant=="boolean"&&_e.tolerant&&(S.errors=[]),S.attachComment&&(S.range=!0,S.comments=[],S.bottomRightStack=[],S.trailingComments=[],S.leadingComments=[]));try{ze=ti(),typeof S.comments<"u"&&(ze.comments=S.comments),typeof S.tokens<"u"&&(ht(),ze.tokens=S.tokens),typeof S.errors<"u"&&(ze.errors=S.errors)}catch(bt){throw bt}finally{S={}}return ze}o.version="1.2.2",o.tokenize=tn,o.parse=cn,o.Syntax=function(){var oe,_e={};typeof Object.create=="function"&&(_e=Object.create(null));for(oe in l)l.hasOwnProperty(oe)&&(_e[oe]=l[oe]);return typeof Object.freeze=="function"&&Object.freeze(_e),_e}()})},{}],1:[function(n,r,a){(function(o){var i=function(){var u={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(h,d,v,m,p,g,y){m.ast||(m.ast=s,s.initialize());var b=g.length-1;switch(p){case 1:return m.ast.set({expression:{type:"root",value:g[b]}}),m.ast.unshift(),m.ast.yield();case 2:return m.ast.set({expression:{type:"root",value:g[b-1]}}),m.ast.unshift(),m.ast.yield();case 3:return m.ast.unshift(),m.ast.yield();case 4:return m.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[b-1]}}),m.ast.unshift(),m.ast.yield();case 5:break;case 6:break;case 7:m.ast.set({operation:"member"}),m.ast.push();break;case 8:m.ast.set({operation:"subscript"}),m.ast.push();break;case 9:m.ast.set({scope:"child"});break;case 10:m.ast.set({scope:"descendant"});break;case 11:break;case 12:m.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:m.ast.set({expression:{type:"wildcard",value:g[b]}});break;case 15:m.ast.set({expression:{type:"identifier",value:g[b]}});break;case 16:m.ast.set({expression:{type:"script_expression",value:g[b]}});break;case 17:m.ast.set({expression:{type:"numeric_literal",value:parseInt(g[b])}});break;case 18:break;case 19:m.ast.set({scope:"child"});break;case 20:m.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[b].length>1?m.ast.set({expression:{type:"union",value:g[b]}}):this.$=g[b];break;case 25:this.$=[g[b]];break;case 26:this.$=g[b-2].concat(g[b]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[b])}},m.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[b]}},m.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[b]}},m.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[b]}},m.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[b]}},m.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[b]}},m.ast.set(this.$);break;case 33:this.$=g[b];break;case 34:this.$=g[b];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(h,d){if(d.recoverable)this.trace(h);else throw new Error(h)},parse:function(h){var d=this,v=[0],m=[null],p=[],g=this.table,y="",b=0,_=0,E=2,w=1,S=p.slice.call(arguments,1);this.lexer.setInput(h),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var A=this.lexer.yylloc;p.push(A);var P=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function C(){var L;return L=d.lexer.lex()||w,typeof L!="number"&&(L=d.symbols_[L]||L),L}for(var D,O,k,I,N={},F,R,M,j;;){if(O=v[v.length-1],this.defaultActions[O]?k=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=C()),k=g[O]&&g[O][D]),typeof k>"u"||!k.length||!k[0]){var W="";j=[];for(F in g[O])this.terminals_[F]&&F>E&&j.push("'"+this.terminals_[F]+"'");this.lexer.showPosition?W="Parse error on line "+(b+1)+`:
|