@baosight/erm 1.0.56 → 1.0.58
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/lib/ermList/ermList.vue.d.ts +20 -2
- package/lib/index.common.js +362 -125
- package/lib/index.common.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.esm.css +109 -65
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +362 -125
- package/lib/index.umd.js.map +1 -1
- package/lib/index.umd.min.js +36 -36
- package/lib/index.umd.min.js.map +1 -1
- package/package.json +2 -1
package/lib/index.umd.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["index"]=t(require("vue")):e["index"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{var t={3276:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setExpiredHandler=t.setBaseURLHandler=void 0;const a=r(n(9669)),s=n(1539),i=n(8290),o=r(n(8458)),u=n(1267),l={200:"服务器成功返回请求的数据",400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"服务器发生错误,请检查服务器(Internal Server Error)",502:"网关错误(Bad Gateway)",503:"服务不可用,服务器暂时过载或维护(Service Unavailable)",504:"网关超时(Gateway Timeout)"};let d=null,c=null;const m=new Map;function h(e){const{method:t,url:n,params:r,data:a}=e;return[t,n,o.default.stringify(r),o.default.stringify(a)].join("&")}function f(e){const t=h(e);e.url.endsWith("/refreshToken")&&(e.cancelToken=e.cancelToken||new a.default.CancelToken((e=>{m.has(t)||m.set(t,e)})))}function _(e){const t=h(e);if(m.has(t)&&e.url.endsWith("/refreshToken")){const e=m.get(t);e(t),m.delete(t)}}function p(e){c=e}t.setBaseURLHandler=p;const y=async(e,t)=>{const{response:n,message:r}=e;if(n&&n.status){const r=(0,i.getRefreshToken)(),s=(0,i.getToken)(),o=l[n.status]||n.statusText,{status:c,request:m,data:h}=n;if(h)if("string"===typeof h){const t=(0,i.getHtmlTagContent)(h);e.message=t[t.length-1]||o}else e.message=h.message||h.msg||o;else e.message=o;if(e.status=c,401===c||403===c)if(403===c&&r){if(r){const n=(0,i.getCurrentUser)(),o=e.config,u=await t.post("refreshToken",{refreshToken:r,token:s??"",userId:n.userId}).catch((t=>a.default.isCancel(t)?Promise.resolve({data:{flag:0}}):Promise.reject(e))),{signature:l,flag:d,refreshToken:c}=u.data;if(0===d)return l&&(0,i.setToken)(l),c&&(0,i.setRefreshToken)(c),t(o)}}else{if((0,u.getConfig)()?.powerByQianKun){let e=window.location.pathname;const t=(0,u.getConfig)()?.context??"/";e=1===t.length?e:e.substring(t.length-1),"/user/login"!==e&&window.history.pushState(null,"登录",`/user/login?redirect=${e}${window.location.search?window.location.search.replace("?","&"):""}`)}d&&d(e)}}else n||(e.message="您的网络发生异常,无法连接服务器");return Promise.reject(e)},g=e=>{e.headers={...e.headers,"Content-Type":"application/json;charset=UTF-8"};const t=(0,i.getToken)();return t&&(0,i.isPlatJ)()?(e.headers["Accept"]="application/json,*/*",e.headers["x-token"]=t):t&&!e.headers["servicename"]&&(e.headers["signature"]=t),_(e),f(e),e},M=e=>{_(e.config);const{data:t,status:n}=e;if(200===n&&Object.keys(t).includes("__version__")){const n=e.config.url?.substring(e.config.url.lastIndexOf("/")+1);console.time(`service [${n}] deserialization end`);const r=s.EITools.parseJsonObject(t),a=r.toEIInfo();if(console.timeEnd(`service [${n}] deserialization end`),(0,i.isPlatJ)()&&-1===a.status&&"票据过期或请求不合法,请重新登录或获取合法权限!"===a.msg){const t=new Error(r.__sys__.msg);return e.status=401,e.data=a,e.statusText="票据过期或请求不合法,请重新登录或获取合法权限!",t.response=e,Promise.reject(t)}e.data=r}return e},v=e=>(_(e.config||{}),a.default.isCancel(e)?(console.log("已取消的重复请求:"+e.message),Promise.reject(e)):Promise.reject(e));function L(e){const t=a.default.create({baseURL:(0,u.getConfig)()?.baseURL,timeout:0});return t.interceptors.request.use(g),t.interceptors.response.use(M,v),t(e).then((e=>e)).catch((e=>y(e,t)))}function w(e){d=e}t["default"]=L,t.setExpiredHandler=w},468:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EIManager=void 0;const a=r(n(3276)),s=n(8290),i=n(1539),o=n(7466),u=n(1267);class l{constructor(){}handlePost=(e,t,n,r,o)=>{let u={responseType:r};o&&(u={...u,headers:o});const l=JSON.parse(JSON.stringify(t));if("2.0"===l["__version__"]){if(!(0,s.isPlatJ)()){t=(0,s.setContext)(t);const e=o?.uuid;e&&(t.context={...t.context,uuid:e})}const r=e.substring(e.lastIndexOf("/")+1);console.time(`service [${r}] serialization end`),t=t.toJSON(n),t=JSON.stringify(t),console.timeEnd(`service [${r}] serialization end`)}return u={...u,method:"POST",url:e,data:t},(0,a.default)(u).then((e=>(e={...e,data:e.data instanceof i.EITools.__EIInfoJson__?e.data.toEIInfo(n):e.data},e))).catch((e=>Promise.reject(e)))};handleGet=(e,t,n)=>(0,a.default)({method:"GET",url:e,headers:{responseType:n||"json"}}).then((e=>{const n=e.data instanceof i.EITools.__EIInfoJson__?e.data.toEIInfo(t):e.data;return n})).catch((e=>Promise.reject(e)));callService(e,t,n,r,a,i){a=this.initAxiosHeader(a);const o=new Date;console.log(`${(0,s.toIsoString)(o)} call service [${t}] begin.`);const u=this.buildUrl(t,e),l=void 0===i?.show||i?.show,d={value:void 0};return l&&(0,s.loading)(l,d,i?.target,i?.showAnimation,i?.ms),this.handlePost(u,n,r,"json",a).then((e=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} call service [${t}] end in ${n.getTime()-o.getTime()} ms.`),l&&(0,s.loading)(!1,d,i?.target,i?.showAnimation,i?.ms),e.data})).catch((e=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} failed to call service [${t}]. ${n.getTime()-o.getTime()} ms elapsed.`),l&&(0,s.loading)(!1,d,i?.target,i?.showAnimation,i?.ms),Promise.reject(e)}))}callMasterEPService(e,t,n,r,a){r=this.initAxiosHeader(r);const i=new Date;console.log(`${(0,s.toIsoString)(i)} call service [${e}] begin.`);const o=s.MASTER_EP_NAME,u=this.buildUrl(e,o),l=void 0===a?.show||a?.show,d={value:void 0};return l&&(0,s.loading)(l,d,a?.target,a?.showAnimation,a?.ms),this.handlePost(u,t,n,"json",r).then((t=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} call service [${e}] end in ${n.getTime()-i.getTime()} ms.`),l&&(0,s.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),t.data})).catch((t=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} failed to call service [${e}]. ${n.getTime()-i.getTime()} ms elapsed.`),l&&(0,s.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),Promise.reject(t)}))}callEPService(e,t,n,r,a){r=this.initAxiosHeader(r);const i=new Date;console.log(`${(0,s.toIsoString)(i)} call service [${e}] begin.`);const o=s.EP_NAME,u=this.buildUrl(e,o),l=void 0===a?.show||a?.show,d={value:void 0};return l&&(0,s.loading)(l,d,a?.target,a?.showAnimation,a?.ms),this.handlePost(u,t,n,"json",r).then((t=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} call service [${e}] end in ${n.getTime()-i.getTime()} ms.`),l&&(0,s.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),t.data})).catch((t=>{const n=new Date;return console.log(`${(0,s.toIsoString)(n)} failed to call service [${e}]. ${n.getTime()-i.getTime()} ms elapsed.`),l&&(0,s.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),Promise.reject(t)}))}buildUrl=(e,t)=>(0,s.isPlatJ)()?(t=t||(0,u.getConfig)()?.jAppName||"IPLAT4J",`${t}/service/${e}`):(t=t||"DEFAULT",`${t}/api/CallService/${e}`);initAxiosHeader=e=>(e=e||{},e={...e,uuid:(0,o.v4)()},e)}const d=new l;t.EIManager=d},1539:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EITools=void 0;const r=n(6133),a=n(1050),s=n(7466);(function(e){class t{constructor(){this.company_code="",this.company_name="",this.fore_ip="",this.fore_mac="",this.fore_machine="",this.formname="",this.userid="",this.username="",this.culture="zh_Hans"}company_code;company_name;fore_ip;fore_mac;fore_machine;formname;userid;username;culture}e.Context=t;class n{constructor(){this.descName="",this.msg="",this.status="0",this.msgKey="",this.name="",this.traceId=""}descName;detailMsg;msg;msgKey;name;status;traceId}e.Sys=n;class i{constructor(){this.descName="",this.msg="",this.status=0,this.msgKey="",this.name="",this.traceId=""}descName;detailMsg;msg;msgKey;name;status;traceId}e.SysInfo=i;class o extends Array{constructor(e){super(),e&&e.length>0&&e.forEach((e=>this.push(e)))}}e.DataRow=o;class u{constructor(){this.meta={columns:[]},this.rows=[]}meta;rows;attr;toEiBlock(e){const t=new r.EI.EiBlock;this.attr&&(t.extAttr=new Map(Object.entries(this.attr)));let n=[...this.meta.columns.map((e=>({...e})))];if(e?.autoColumnToUpper&&(n=n.map((e=>({...e,name:e.name.toUpperCase()})))),t.setBlockMeta(n),e?.autoId){const e={pos:n.length,name:a.__IDField__,type:"C",descName:""};n.push(e)}return this.rows.forEach((r=>{const i={};n.forEach(((n,a)=>{if(e?.responseDataHandler){let s=e?.responseDataHandler.call(this,t.name,n.name,r[a]);"D"===n.type&&(s="string"===typeof s&&""!==s.trim()?s&&new Date(s):null),i[n.name]=s}else{let e=r[a];"D"===n.type?e="string"===typeof e&&""!==e.trim()?e&&new Date(e):null:"B"===n.type&&(e=!!e),i[n.name]=e}})),e?.autoId&&(i[a.__IDField__]=(0,s.v4)()),t.data.push(i)})),t}}e.__BlockJson__=u;class l{constructor(e){this.serviceId="",this.__version__="2.0",this.__sys__=new n,this.__context__=new t,this.__blocks__={},e&&(this.__edInfo__=new r.EI.EDInfo)}serviceId;__version__;__sys__;__context__;__blocks__;__edInfo__;addBlock(e,t){this.__blocks__[e]=t}toEIInfo(e){const t=new r.EI.EIInfo;t.context={...this.__context__};const n={...this.__sys__,status:Number(this.__sys__.status)};t.sys=n,this.__edInfo__&&(t.edInfo={fblk_name:[...this.__edInfo__.fblk_name],func_name:[...this.__edInfo__.func_name],pk_name:[...this.__edInfo__.pk_name],pk_val:[...this.__edInfo__.pk_val]});let{descName:a,msg:s,status:i,msgKey:o,name:u}=n;t.descName=a,t.msg=s,t.status=i,t.msgKey=o,t.name=u;const l=Object.keys(this);l.forEach((e=>{e.startsWith("__")||(t.extAttr[e]=this[e])}));for(const r in this.__blocks__){const n=this.__blocks__[r],a=n.toEiBlock(e);t.addBlock(a,r)}return t}}e.__EIInfoJson__=l,e.parseJsonObject=e=>{if("string"===typeof e&&(e=JSON.parse(e)),e&&e.__version__){const t=new l;t.__context__={...e.__context__},t.__sys__={...e.__sys__},t.__version__=e.__version__,e.__edInfo__&&(t.__edInfo__={...e.__edInfo__});const n=Object.keys(e);n.forEach((n=>{n.startsWith("__")||(t[n]=e[n])}));for(const r in e.__blocks__){const n=e.__blocks__[r],a=new u;a.rows=[...n.rows],a.meta={...n.meta},n.attr&&(a.attr={...n.attr}),t.__blocks__[r]=a}return t}return new l}})(t.EITools||(t.EITools={}))},6133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EI=void 0;const r=n(1050),a=n(1539),s=n(8290);(function(e){const t=e=>"string"===typeof e?"C":"number"===typeof e?"N":"boolean"===typeof e?"B":e instanceof Date?"D":"C",n=e=>void 0===e||null===e?"U":t(e),i=(e,t)=>"C"===e&&"string"===typeof t||("N"===e&&"number"===typeof t||("B"===e&&"boolean"===typeof t||"D"===e&&t instanceof Date)),o=e=>void 0!==e&&(null!==e&&""!==e),u=e=>{const t="N"===e?0:"D"===e?null:"";return t},l=e=>{const t="N"===e?0:"";return t};class d{constructor(e){this.name=e||"Table1",this.data=[],this.columns=[],this.extAttr=new Map}name;data;columns;extAttr;pushData(e,t){if(Array.isArray(e)?this.data=[...this.data,...e]:this.data.push(e),t)if(Array.isArray(e))e.forEach((e=>{const t=Object.keys(e);t.forEach(((t,r)=>{const a=this.columns.find((e=>e.name===t)),s=n(e[t]);if(a){if(""===e[t]&&"D"===a.type)throw new Error("不能将日期类型设置为空字符串");("C"===s&&"N"===a.type||"D"===s&&"C"===a.type)&&(a.type=s)}else{const e=new h;e.name=t,e.pos=this.columns.length,e.descName=`C${t}`,e.type="U"===s?"C":s,this.columns.push(e)}}))}));else{const t=Object.keys(e);t.forEach(((t,r)=>{const a=this.columns.find((e=>e.name===t)),s=n(e[t]);if(a)("C"===s&&"N"===a.type||"D"===s&&"C"===a.type)&&(a.type=s);else{const e=new h;e.name=t,e.pos=this.columns.length,e.descName=`C${t}`,e.type="U"===s?"C":s,this.columns.push(e)}}))}}getBlockMeta(){return this.columns}setBlockMeta(e){this.columns=e.map((e=>({...e})))}getColumn(e){if(""===e.trim())throw new Error("columnName cannot be empty");const t=this.columns.find((t=>t.name===e));return t}removeColumn(e){if(""===e.trim())throw new Error("columnName cannot be empty");if(this.columns){const t=this.columns.findIndex((t=>t.name===e));t>=0&&(this.columns.splice(t,1),this.columns.forEach(((e,n)=>{n>=t&&(e.pos=e.pos-1)})))}return this.data.length?(this.data=this.data.map((t=>{const n={...t};return delete n[e],n})),this):this}containsColumn(e){return void 0!==this.columns.find((t=>t.name===e))}addColumn(e,t,n){if(e instanceof h){const n=this.columns.findIndex((t=>t.name===e.name));if(-1!==n)throw new Error("table ["+this.name+"] already has column ["+e.Name+"]");if(this.columns.push(e),t=void 0===t?u(e.type):t,this.data.length){if(!i(e.type,t))throw new Error(`defaultValue [${t}] not match dataType [${e.type}]`);this.data=this.data.map((n=>({...n,[e.name]:void 0===t?"":t})))}}else{if(""===e.trim())throw new Error("column name cannot be empty");if(n||(n="C"),this.columns){const r=this.columns.findIndex((t=>t.name===e));if(-1==r){t=t||"";const r=new h;r.pos=this.columns.length,r.name=e,r.type=n||"C",r.descName=`C${e}`,this.addColumn(r,t)}}}}addColumns(e,...t){if(Array.isArray(e))e.forEach((e=>this.addColumn(e)));else{const n=[e,...t];n.forEach((e=>this.addColumn(e)))}}renameColumn(e,t){if(""===e.trim()||""===t.trim())throw new Error("columnName cannot be empty");if(this.columns){const n=this.columns.find((t=>t.name===e));n&&(n.name=t)}if(this.data.length){const n=Object.keys(this.data[0]);if(n.includes(t))throw new Error(`column name [${t}] already exists.`);if(!n.includes(e))throw new Error(`column name [${t}] does not exist.`);return this.data=this.data.map((n=>{const r={...n,[t]:n[e]};return delete r[e],r})),this}return this}copy(e){const t=new d;return t.columns=this.columns.map((e=>({...e}))),t.name=e||`${this.name} copy`,t.data=this.data.map((e=>({...e}))),this.extAttr&&(t.extAttr=new Map(this.extAttr)),t}clone(e,t){const n=new d;return n.columns=this.columns.map((e=>({...e}))),n.name=e||`${this.name} copy`,t&&(n.data=this.data.map((e=>({...e})))),this.extAttr&&(n.extAttr=new Map(this.extAttr)),n}addRow(e){if(Object.keys(e).length>0)return this.data.push(e),this;throw new Error("rowData cannot be empty")}deleteRow(e){if(e>=0&&e%1===0){let t=this.data.splice(e,1);return t[0]}throw new Error("index must be an integer")}insertRow(e,t){if(e>=0&&e%1===0&&Object.keys(t).length>0)return this.data.splice(e,0,t),this;throw new Error("please check args data")}toJSON(e){const t=new a.EITools.__BlockJson__;let n=[...this.columns.map((e=>({...e})))];return n.length>0&&(e?.autoId&&(n=n.filter((e=>e.name!==r.__IDField__))),t.meta={columns:n}),this.data.forEach(((r,a)=>{const i=[];n.forEach(((n,a)=>{let o=r[n.name];e?.requestDataHandler&&(o=e?.requestDataHandler.call(this,this.name,n.name,o)),"string"===typeof o&&"D"===n.type&&(t.meta.columns[a].type="C"),o instanceof Date&&(t.meta.columns[a].type="D",o=(0,s.toIsoString)(o)),"boolean"===typeof o?o+="":void 0===o?o=l(n.type):null===o&&(o="D"===t.meta.columns[a].type||"N"===t.meta.columns[a].type?null:""),i.push(o)})),i.length>0&&t.rows.push(i)})),this.extAttr&&(t.attr=Array.from(this.extAttr).reduce(((e,[t,n])=>(e[t]=n,e)),{})),t}static build(e,n){let r=new d,a=!1,s=[];if(r.name=e,Array.isArray(n)){let e=[];if("string"===typeof n[0])s=n;else{for(let e in n[0])s.push(e);a=!0}if(s.forEach(((r,s)=>{let i=new h;a&&(i.type=t(n[0][r])),i.name=r,i.pos=s,e.push(i)})),r.columns=e,a)for(let t=0;t<n.length;t++)r.addRow(n[t])}return r}static buildByNames(e,t,n){let r=new d,a=Array.isArray(n);if(r.name=e,Array.isArray(t)){let e=[];t.forEach(((t,r)=>{let s=new h;s.name=t,s.pos=r,a&&o(n[r])&&(s.descName=n[r]),e.push(s)})),r.columns=e}return r}static buildByColumns(e,t){let n=new d;n.name=e;let r=[];return t.forEach(((e,t)=>{let n=new h;n.name=e["field"];let a=new f;Object.keys(a).forEach(((t,r)=>{t in e&&void 0!=e[t]&&(n[t]=e[t])})),n.descName=e["title"],n.pos=t,r.push(n)})),n.columns=r,n}}e.EiBlock=d;class c{constructor(){this.context=new a.EITools.Context,this.sys=new a.EITools.SysInfo,this.blocks={},this.name="",this.descName="",this.msg="",this.msgKey="",this.detailMsg="",this.status=0,this.extAttr={}}context;sys;blocks;name;descName;msg;msgKey;detailMsg;status;extAttr;edInfo;getName(){return this.name}setName(e){this.name=e}setED(e){this.edInfo=e}addBlock(e,t){const n=t||e.name;if(""===n.trim())throw new Error("block name cannot be empty.");if(Object.keys(this.blocks).includes(n))throw new Error(`block [${n}] already exists.`);return e.name=n,this.blocks[n]=e,e}contains(e){const t=this.blocks[e];return o(t)}remove(e){try{const t=this.blocks[e];return delete this.blocks[e],t}catch(t){throw t}}renameBlock(e,t){if(""===e.trim()||""===t.trim())throw new Error("block name cannot be empty.");if(!Object.keys(this.blocks).includes(e))throw new Error(`block [${e}] does not exist.`);if(Object.keys(this.blocks).includes(t))throw new Error(`block [${e}] already exists.`);const n=this.blocks[e];return n.name=t,this.blocks[t]=n,delete this.blocks[e],n}getBlock(e){const t=Object.keys(this.blocks);if("string"===typeof e){if(""===e.trim())throw new Error("block name cannot be empty.");if(!t.includes(e))throw new Error(`block [${e}] does not exist.`);const n=this.blocks[e];return n}{if(e<0||!Number.isInteger(e))throw new Error("block index must be an integer greater than or equal to 0.");if(e>=t.length)throw new Error(`block [${e}] does not exist.`);const n=this.blocks[t[e]];return n}}clone(){const e=a.EITools.parseJsonObject(this.toJSON()),t=e.toEIInfo();return t}get(e){if(""===e.trim())return new Error("EiInfo function get() str cannot be empty.");let t,n=e.split("-");if(3===n.length){const e=parseInt(n[1]);return this.contains(n[0])?(t=this.getBlock(n[0]),t.data[e][n[2]]??null):null}return 2===n.length?this.contains(n[0])?(t=this.getBlock(n[0]),t.extAttr?.get(n[1])??null):null:this.extAttr[n[0]]}set(...e){let n;switch(e.length>2?(n=e[0],"undefined"==typeof this.blocks[n]&&(this.blocks[n]=new d,this.blocks[n].name=n)):n="",e.length){case 2:if("string"==typeof e[0]){let t=e[0].split("-");1==t.length?this.extAttr[e[0]]=e[1]:2==t.length?this.set(t[0],t[1],e[1]):3==t.length&&this.set(t[0],t[1],t[2],e[1])}break;case 3:this.blocks[n].extAttr||(this.blocks[n].extAttr=new Map),this.blocks[n].extAttr.set(e[1],e[2]);break;case 4:if(!this.blocks[n].containsColumn(e[2])){const r=this.blocks[n];console.log(r);let a=new h;a.name=e[2],a.pos=this.blocks[n].columns.length,a.type=e[3]?t(e[3]):"C",this.blocks[n].columns.push(a)}let r=parseInt(e[1]);if(e[2]&&e[3]){const t=this.blocks[n].data;while("undefined"===typeof t[r])t.push({});t[r][e[2]]=e[3]}break}}toJSON(e){const t=new a.EITools.__EIInfoJson__;t.__context__={...this.context};const n={...this.sys,status:this.sys.status+""};t.__sys__=n,this.edInfo&&(t.__edInfo__={fblk_name:[...this.edInfo.fblk_name],func_name:[...this.edInfo.func_name],pk_name:[...this.edInfo.pk_name],pk_val:[...this.edInfo.pk_val]});for(const r in this.blocks)if(Object.prototype.hasOwnProperty.call(this.blocks,r)){let n=new a.EITools.__BlockJson__;const s=this.blocks[r];n=e?s.toJSON(e):s.toJSON(),t.addBlock(r,n)}if(this.extAttr){const e=Object.keys(this.extAttr);e.forEach((e=>{t[e]=this.extAttr[e]}))}return this.name&&(t.__sys__.name=this.name),t}}e.EIInfo=c;class m{constructor(){this.fblk_name=Array(63).fill(""),this.func_name=Array(63).fill(""),this.pk_name=Array(3).fill(""),this.pk_val=Array(3).fill("")}fblk_name;func_name;pk_name;pk_val}e.EDInfo=m;class h{constructor(){this.pos=0,this.name="",this.type="C",this.descName=""}pos;name;type;descName;regex;formatter;editor;minLength;maxLength;primaryKey;nullable;visible;readonly;displayType;errorPrompt;width;height;align;blockName;sourceName;labelProperty;valueProperty}e.EiColumn=h;class f{constructor(){this.pos=0,this.name="",this.type="C",this.descName="",this.regex="",this.formatter="",this.editor="",this.minLength=0,this.maxLength=0,this.primaryKey=!1,this.nullable=!0,this.visible="",this.readonly="",this.displayType="",this.errorPrompt="",this.width=0,this.height=0,this.align="",this.blockName="",this.sourceName="",this.labelProperty="",this.valueProperty=""}pos;name;type;descName;regex;formatter;editor;minLength;maxLength;primaryKey;nullable;visible;readonly;displayType;errorPrompt;width;height;align;blockName;sourceName;labelProperty;valueProperty}})(t.EI||(t.EI={}))},2321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EP=void 0;const r=n(8290);class a{constructor(){}get Environment(){return(0,r.getCurrentEnvironment)()}get User(){return(0,r.getCurrentUser)()}}const s=new a;t.EP=s},8222:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(1267),t),a(n(6133),t),a(n(8756),t),a(n(3276),t),a(n(8290),t),a(n(468),t),a(n(2321),t),a(n(1050),t)},8756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.init=void 0;let n=null;function r(e){n=Object.freeze(e)}function a(){return n}t.init=r,t.getConfig=a},1050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__IDField__=void 0,t.__IDField__="ID"},8290:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toIsoString=t.EP_NAME=t.MASTER_EP_NAME=t.isPlatJ=t.PLAT_TYPE=t.getHtmlTagContent=t.isHtmlString=t.isJsonString=t.loading=t.setContext=t.buildEIInfo=t.removeCurrentEnvironment=t.setCurrentEnvironment=t.getCurrentEnvironment=t.removeCurrentUser=t.setCurrentUser=t.getCurrentUser=t.removeRememberMe=t.setRememberMe=t.getRememberMe=t.removeRefreshToken=t.setRefreshToken=t.getRefreshToken=t.removeToken=t.setToken=t.getToken=void 0;const r=n(6133),a=n(1267),s="signature_token",i="refresh_token",o="user_info",u="app_environment_info",l=e=>{const n=(0,t.getRememberMe)()||e;return n?localStorage.getItem(s):sessionStorage.getItem(s)};t.getToken=l;const d=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(s,e),sessionStorage.removeItem(s)):(sessionStorage.setItem(s,e),localStorage.removeItem(s)),!0}catch(r){return!1}};t.setToken=d;const c=()=>{try{return localStorage.removeItem(s),sessionStorage.removeItem(s),!0}catch(e){return!1}};t.removeToken=c;const m=e=>{const n=(0,t.getRememberMe)()||e;return n?localStorage.getItem(i):sessionStorage.getItem(i)};t.getRefreshToken=m;const h=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(i,e),sessionStorage.removeItem(i)):(localStorage.removeItem(i),sessionStorage.setItem(i,e)),!0}catch(r){return!1}};t.setRefreshToken=h;const f=()=>{try{return localStorage.removeItem(i),sessionStorage.removeItem(i),!0}catch(e){return!1}};t.removeRefreshToken=f;const _=()=>"true"===localStorage.getItem("remember_me");t.getRememberMe=_;const p=e=>{try{return localStorage.setItem("remember_me",e+""),!0}catch(t){return!1}};t.setRememberMe=p;const y=()=>{try{return localStorage.removeItem("remember_me"),!0}catch(e){return!1}};t.removeRememberMe=y;const g=e=>{const n=(0,t.getRememberMe)()||e,r=n?localStorage.getItem(o):sessionStorage.getItem(o);if(r){const e=JSON.parse(r);return e}return{id:"",userId:"",userName:"",deptId:"",deptEName:"",deptCName:""}};t.getCurrentUser=g;const M=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(o,JSON.stringify(e)),sessionStorage.removeItem(o)):(sessionStorage.setItem(o,JSON.stringify(e)),localStorage.removeItem(o)),!0}catch(r){return!1}};t.setCurrentUser=M;const v=()=>{try{return localStorage.removeItem(o),sessionStorage.removeItem(o),!0}catch(e){return!1}};t.removeCurrentUser=v;const L=e=>{const n=(0,t.getRememberMe)()||e,r=n?localStorage.getItem(u):sessionStorage.getItem(u);if(r){const e=JSON.parse(r);return e}return{skinName:"",culture:"",companyCode:"",companyName:"",appName:""}};t.getCurrentEnvironment=L;const w=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(u,JSON.stringify(e)),sessionStorage.removeItem(u)):(sessionStorage.setItem(u,JSON.stringify(e)),localStorage.removeItem(u)),!0}catch(r){return!1}};t.setCurrentEnvironment=w;const Y=()=>{try{return localStorage.removeItem(u),sessionStorage.removeItem(u),!0}catch(e){return!1}};t.removeCurrentEnvironment=Y;const b=(e,n)=>{let a=new r.EI.EIInfo;const s=new r.EI.EiBlock,i=n||"Table1";return s.pushData(e,!0),a.addBlock(s,i),a=(0,t.setContext)(a),a};t.buildEIInfo=b;const k=()=>{const e=(0,a.getConfig)()?.currentRouter.currentRoute.value??{},{query:t,path:n,fullPath:r}=e,s=t?.formName?t?.formName:void 0!==n?n.toString().substring(n.toString().lastIndexOf("/")+1):"HOME";return s},D=e=>{const n=(0,t.getCurrentUser)(),r=(0,t.getCurrentEnvironment)(),s=(0,a.getConfig)();if(n&&""!==n.userId){const t=k(),a={userid:n.userId,username:n.userName,formname:t.toUpperCase(),fore_ip:s?.sysInfo?.fore_ip??"",fore_mac:s?.sysInfo?.fore_mac??"",fore_machine:s?.sysInfo?.fore_machine??"",culture:r.culture||"zh_Hans",company_code:r.companyCode||"",company_name:r.companyName||""};e.context={...a}}return e};t.setContext=D;let T=!1;const S=()=>{const e=document.createElement("style");e.textContent="\n .request-loading {\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .loading-mask {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(255, 255, 255, 0.1); /* 半透明白色遮罩 */\n mask-image: none; /* 初始设置为无遮罩 */\n }\n\n .loading-svg {\n /*position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;*/\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n background: rgba(0, 0, 0, 0.2);\n mask-image: none; /* 初始设置为无遮罩 */\n }\n\n /*.loading-svg svg {\n width: 100%;\n height: 100%;\n }*/\n\n @keyframes loadingAnimation {\n to {\n transform: rotate(360deg);\n }\n }\n ",document.head.appendChild(e)},A=(e,t,n)=>{let r,a=!1;if(e){const t=document.querySelectorAll(e);t.length?r=t[0]:(r=document.body,a=!0)}else r=document.body,a=!0;r?.classList.add("request-loading");const s=document.createElement("div");s.className="loading-mask",r?.appendChild(s);const i=document.createElement("div");i.className="loading-svg";const o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("viewBox","0 0 100 100"),o.setAttribute("width","50px"),o.setAttribute("height","50px");let u=null;return n=n??2e3,u=setTimeout((()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d","M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"),e.setAttribute("fill","rgb(64, 158, 255)"),o.appendChild(e),i.appendChild(o),r?.appendChild(i);const t=document.createElementNS("http://www.w3.org/2000/svg","animateTransform");t.setAttribute("attributeName","transform"),t.setAttribute("type","rotate"),t.setAttribute("from","-360 67 67"),t.setAttribute("to","0 67 67"),t.setAttribute("dur","1.2s"),t.setAttribute("repeatCount","indefinite"),e.appendChild(t)}),n),T||(S(),T=!0),u},x=(e,t)=>{let n,r=!1;if(e){const t=document.querySelectorAll(e);t.length?n=t[0]:(n=document.body,r=!0)}else n=document.body,r=!0;const a=n?.querySelector(".loading-mask"),s=n?.querySelector(".loading-svg");a&&a.remove(),s&&s.remove(),n?.classList.remove("request-loading"),t&&clearTimeout(t)},C=(e,t,n,r,a)=>{e?t.value=A(n,r,a):x(n,t.value)};t.loading=C;const E=e=>{try{JSON.parse(e);return!0}catch(t){return!1}};t.isJsonString=E;const j=e=>{const t=new RegExp("<[a-zA-Z]+.*?>([\\s\\S]*?)</[a-zA-Z]*?>","g");return t.test(e)};t.isHtmlString=j;const H=e=>{const t=new RegExp("(?<=>)[^<>]+(?=<)","g");return t.test(e)&&e.match(t)||[]};t.getHtmlTagContent=H,t.PLAT_TYPE=(0,a.getConfig)()?.platType??"4C";const O=()=>"4J"===t.PLAT_TYPE;t.isPlatJ=O,t.MASTER_EP_NAME=(0,t.isPlatJ)()?(0,a.getConfig)()?.jAppName??"iplat4j":"MASTER",t.EP_NAME=(0,t.isPlatJ)()?(0,a.getConfig)()?.jAppName??"iplat4j":"EP";const N=e=>{var t=-e.getTimezoneOffset(),n=t>=0?"+":"-",r=function(e){return(e<10?"0":"")+e};return e.getFullYear()+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())+"T"+r(e.getHours())+":"+r(e.getMinutes())+":"+r(e.getSeconds())+n+r(Math.floor(Math.abs(t)/60))+":"+r(Math.abs(t)%60)};t.toIsoString=N},2592:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},8458:(e,t,n)=>{"use strict";var r=n(4554),a=n(6530),s=n(2592);e.exports={formats:s,parse:a,stringify:r}},6530:(e,t,n)=>{"use strict";var r=n(7116),a=Object.prototype.hasOwnProperty,s=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",c=function(e,t){var n,c={__proto__:null},m=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,f=m.split(t.delimiter,h),_=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&(f[n]===d?p="utf-8":f[n]===l&&(p="iso-8859-1"),_=n,n=f.length);for(n=0;n<f.length;++n)if(n!==_){var y,g,M=f[n],v=M.indexOf("]="),L=-1===v?M.indexOf("="):v+1;-1===L?(y=t.decoder(M,i.decoder,p,"key"),g=t.strictNullHandling?null:""):(y=t.decoder(M.slice(0,L),i.decoder,p,"key"),g=r.maybeMap(u(M.slice(L+1),t),(function(e){return t.decoder(e,i.decoder,p,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=o(g)),M.indexOf("[]=")>-1&&(g=s(g)?[g]:g),a.call(c,y)?c[y]=r.combine(c[y],g):c[y]=g}return c},m=function(e,t,n,r){for(var a=r?t:u(t,n),s=e.length-1;s>=0;--s){var i,o=e[s];if("[]"===o&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var l="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,d=parseInt(l,10);n.parseArrays||""!==l?!isNaN(d)&&o!==l&&String(d)===l&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(i=[],i[d]=a):"__proto__"!==l&&(i[l]=a):i={0:a}}a=i}return a},h=function(e,t,n,r){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,u=n.depth>0&&i.exec(s),l=u?s.slice(0,u.index):s,d=[];if(l){if(!n.plainObjects&&a.call(Object.prototype,l)&&!n.allowPrototypes)return;d.push(l)}var c=0;while(n.depth>0&&null!==(u=o.exec(s))&&c<n.depth){if(c+=1,!n.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(u[1])}return u&&d.push("["+s.slice(u.index)+"]"),m(d,t,n,r)}},f=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?i.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:i.comma,decoder:"function"===typeof e.decoder?e.decoder:i.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,t){var n=f(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var a="string"===typeof e?c(e,n):e,s=n.plainObjects?Object.create(null):{},i=Object.keys(a),o=0;o<i.length;++o){var u=i[o],l=h(u,a[u],n,"string"===typeof e);s=r.merge(s,l,n)}return!0===n.allowSparse?s:r.compact(s)}},4554:(e,t,n)=>{"use strict";var r=n(7478),a=n(7116),s=n(2592),i=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,d=function(e,t){l.apply(e,u(t)?t:[t])},c=Date.prototype.toISOString,m=s["default"],h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:m,formatter:s.formatters[m],indices:!1,serializeDate:function(e){return c.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},_={},p=function e(t,n,s,i,o,l,c,m,p,y,g,M,v,L,w,Y){var b=t,k=Y,D=0,T=!1;while(void 0!==(k=k.get(_))&&!T){var S=k.get(t);if(D+=1,"undefined"!==typeof S){if(S===D)throw new RangeError("Cyclic object value");T=!0}"undefined"===typeof k.get(_)&&(D=0)}if("function"===typeof m?b=m(n,b):b instanceof Date?b=g(b):"comma"===s&&u(b)&&(b=a.maybeMap(b,(function(e){return e instanceof Date?g(e):e}))),null===b){if(o)return c&&!L?c(n,h.encoder,w,"key",M):n;b=""}if(f(b)||a.isBuffer(b)){if(c){var A=L?n:c(n,h.encoder,w,"key",M);return[v(A)+"="+v(c(b,h.encoder,w,"value",M))]}return[v(n)+"="+v(String(b))]}var x,C=[];if("undefined"===typeof b)return C;if("comma"===s&&u(b))L&&c&&(b=a.maybeMap(b,c)),x=[{value:b.length>0?b.join(",")||null:void 0}];else if(u(m))x=m;else{var E=Object.keys(b);x=p?E.sort(p):E}for(var j=i&&u(b)&&1===b.length?n+"[]":n,H=0;H<x.length;++H){var O=x[H],N="object"===typeof O&&"undefined"!==typeof O.value?O.value:b[O];if(!l||null!==N){var P=u(b)?"function"===typeof s?s(j,O):j:j+(y?"."+O:"["+O+"]");Y.set(t,D);var I=r();I.set(_,Y),d(C,e(N,P,s,i,o,l,"comma"===s&&L&&u(b)?null:c,m,p,y,g,M,v,L,w,I))}}return C},y=function(e){if(!e)return h;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=s["default"];if("undefined"!==typeof e.format){if(!i.call(s.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=s.formatters[n],a=h.filter;return("function"===typeof e.filter||u(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,a,s=e,i=y(t);"function"===typeof i.filter?(a=i.filter,s=a("",s)):u(i.filter)&&(a=i.filter,n=a);var l,c=[];if("object"!==typeof s||null===s)return"";l=t&&t.arrayFormat in o?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var m=o[l];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var h="comma"===m&&t&&t.commaRoundTrip;n||(n=Object.keys(s)),i.sort&&n.sort(i.sort);for(var f=r(),_=0;_<n.length;++_){var g=n[_];i.skipNulls&&null===s[g]||d(c,p(s[g],g,m,h,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,f))}var M=c.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),M.length>0?v+M:""}},7116:(e,t,n)=>{"use strict";var r=n(2592),a=Object.prototype.hasOwnProperty,s=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),o=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var r=[],a=0;a<n.length;++a)"undefined"!==typeof n[a]&&r.push(n[a]);t.obj[t.prop]=r}}},u=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},l=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(s(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var i=t;return s(t)&&!s(n)&&(i=u(t,r)),s(t)&&s(n)?(n.forEach((function(n,s){if(a.call(t,s)){var i=t[s];i&&"object"===typeof i&&n&&"object"===typeof n?t[s]=e(i,n,r):t.push(n)}else t[s]=n})),t):Object.keys(n).reduce((function(t,s){var i=n[s];return a.call(t,s)?t[s]=e(t[s],i,r):t[s]=i,t}),i)},d=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},c=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(a){return r}},m=function(e,t,n,a,s){if(0===e.length)return e;var o=e;if("symbol"===typeof e?o=Symbol.prototype.toString.call(e):"string"!==typeof e&&(o=String(e)),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<o.length;++l){var d=o.charCodeAt(l);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||s===r.RFC1738&&(40===d||41===d)?u+=o.charAt(l):d<128?u+=i[d]:d<2048?u+=i[192|d>>6]+i[128|63&d]:d<55296||d>=57344?u+=i[224|d>>12]+i[128|d>>6&63]+i[128|63&d]:(l+=1,d=65536+((1023&d)<<10|1023&o.charCodeAt(l)),u+=i[240|d>>18]+i[128|d>>12&63]+i[128|d>>6&63]+i[128|63&d])}return u},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],s=a.obj[a.prop],i=Object.keys(s),u=0;u<i.length;++u){var l=i[u],d=s[l];"object"===typeof d&&null!==d&&-1===n.indexOf(d)&&(t.push({obj:s,prop:l}),n.push(d))}return o(t),e},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},_=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},p=function(e,t){return[].concat(e,t)},y=function(e,t){if(s(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:u,assign:d,combine:p,compact:h,decode:c,encode:m,isBuffer:_,isRegExp:f,maybeMap:y,merge:l}},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),a=n(6026),s=n(4372),i=n(5327),o=n(4097),u=n(4109),l=n(7985),d=n(5061),c=n(7874),m=n(5263);e.exports=function(e){return new Promise((function(t,n){var h,f=e.data,_=e.headers,p=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(f)&&delete _["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var M=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";_.Authorization="Basic "+btoa(M+":"+v)}var L=o(e.baseURL,e.url);function w(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,s=p&&"text"!==p&&"json"!==p?g.response:g.responseText,i={data:s,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};a((function(e){t(e),y()}),(function(e){n(e),y()}),i),g=null}}if(g.open(e.method.toUpperCase(),i(L,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=w:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(w)},g.onabort=function(){g&&(n(d("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(d(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var Y=(e.withCredentials||l(L))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;Y&&(_[e.xsrfHeaderName]=Y)}"setRequestHeader"in g&&r.forEach(_,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete _[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),p&&"json"!==p&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){g&&(n(!e||e&&e.type?new m("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),f||(f=null),g.send(f)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),a=n(1849),s=n(321),i=n(7185),o=n(5546);function u(e){var t=new s(e),n=a(s.prototype.request,t);return r.extend(n,s.prototype,t),r.extend(n,t),n.create=function(t){return u(i(e,t))},n}var l=u(o);l.Axios=s,l.Cancel=n(5263),l.CancelToken=n(4972),l.isCancel=n(6502),l.VERSION=n(7288).version,l.all=function(e){return Promise.all(e)},l.spread=n(8713),l.isAxiosError=n(6268),e.exports=l,e.exports["default"]=l},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),a=n(5327),s=n(782),i=n(3572),o=n(7185),u=n(4875),l=u.validators;function d(e){this.defaults=e,this.interceptors={request:new s,response:new s}}d.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=o(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,d=[];if(this.interceptors.response.forEach((function(e){d.push(e.fulfilled,e.rejected)})),!a){var c=[i,void 0];Array.prototype.unshift.apply(c,r),c=c.concat(d),s=Promise.resolve(t);while(c.length)s=s.then(c.shift(),c.shift());return s}var m=t;while(r.length){var h=r.shift(),f=r.shift();try{m=h(m)}catch(_){f(_);break}}try{s=i(m)}catch(_){return Promise.reject(_)}while(d.length)s=s.then(d.shift(),d.shift());return s},d.prototype.getUri=function(e){return e=o(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(o(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,n,r){return this.request(o(r||{},{method:e,url:t,data:n}))}})),e.exports=d},782:(e,t,n)=>{"use strict";var r=n(4867);function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},4097:(e,t,n)=>{"use strict";var r=n(1793),a=n(7303);e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,a,s){var i=new Error(e);return r(i,t,n,a,s)}},3572:(e,t,n)=>{"use strict";var r=n(4867),a=n(8527),s=n(6502),i=n(5546),o=n(5263);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new o("canceled")}e.exports=function(e){u(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||i.adapter;return t(e).then((function(t){return u(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(u(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={};function a(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function u(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||s,a=t(e);r.isUndefined(a)&&t!==u||(n[e]=a)})),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),a=n(5546);e.exports=function(e,t,n){var s=this||a;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},5546:(e,t,n)=>{"use strict";var r=n(4867),a=n(6016),s=n(481),i=n(7874),o={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(5448)),e}function d(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var c={transitional:i,adapter:l(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),d(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(i){if("SyntaxError"===o.name)throw s(o,this,"E_JSON_PARSE");throw o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(o)})),e.exports=c},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.26.1"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var r=n(4867);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(r.isURLSearchParams(t))s=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(a(t)+"="+a(e))})))})),s=i.join("&")}if(s){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,s,i){var o=[];o.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),r.isString(a)&&o.push("path="+a),r.isString(s)&&o.push("domain="+s),!0===i&&o.push("secure"),document.cookie=o.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,i={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(i[t]&&a.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,n)=>{"use strict";var r=n(7288).version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};function i(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var s=r[a],i=t[s];if(i){var o=e[s],u=void 0===o||i(o,s,e);if(!0!==u)throw new TypeError("option "+s+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+s)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,i){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:i,validators:a}},4867:(e,t,n)=>{"use strict";var r=n(1849),a=Object.prototype.toString;function s(e){return Array.isArray(e)}function i(e){return"undefined"===typeof e}function o(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"[object FormData]"===a.call(e)}function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer),t}function c(e){return"string"===typeof e}function m(e){return"number"===typeof e}function h(e){return null!==e&&"object"===typeof e}function f(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function _(e){return"[object Date]"===a.call(e)}function p(e){return"[object File]"===a.call(e)}function y(e){return"[object Blob]"===a.call(e)}function g(e){return"[object Function]"===a.call(e)}function M(e){return h(e)&&g(e.pipe)}function v(e){return"[object URLSearchParams]"===a.call(e)}function L(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function Y(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function b(){var e={};function t(t,n){f(e[n])&&f(t)?e[n]=b(e[n],t):f(t)?e[n]=b({},t):s(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)Y(arguments[n],t);return e}function k(e,t,n){return Y(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function D(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:u,isBuffer:o,isFormData:l,isArrayBufferView:d,isString:c,isNumber:m,isObject:h,isPlainObject:f,isUndefined:i,isDate:_,isFile:p,isBlob:y,isFunction:g,isStream:M,isURLSearchParams:v,isStandardBrowserEnv:w,forEach:Y,merge:b,extend:k,trim:L,stripBOM:D}},1924:(e,t,n)=>{"use strict";var r=n(210),a=n(5559),s=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&s(e,".prototype.")>-1?a(n):n}},5559:(e,t,n)=>{"use strict";var r=n(8612),a=n(210),s=n(7771),i=a("%TypeError%"),o=a("%Function.prototype.apply%"),u=a("%Function.prototype.call%"),l=a("%Reflect.apply%",!0)||r.call(u,o),d=a("%Object.defineProperty%",!0),c=a("%Math.max%");if(d)try{d({},"a",{value:1})}catch(h){d=null}e.exports=function(e){if("function"!==typeof e)throw new i("a function is required");var t=l(r,u,arguments);return s(t,1+c(0,e.length-(arguments.length-1)),!0)};var m=function(){return l(r,o,arguments)};d?d(e.exports,"apply",{value:m}):e.exports.apply=m},2296:(e,t,n)=>{"use strict";var r=n(1044)(),a=n(210),s=r&&a("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(l){s=!1}var i=a("%SyntaxError%"),o=a("%TypeError%"),u=n(7296);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new o("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],c=!!u&&u(e,t);if(s)s(e,t,{configurable:null===l&&c?c.configurable:!l,enumerable:null===r&&c?c.enumerable:!r,value:n,writable:null===a&&c?c.writable:!a});else{if(!d&&(r||a||l))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},7648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,a="[object Function]",s=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},i=function(e,t){for(var n=[],r=t||0,a=0;r<e.length;r+=1,a+=1)n[a]=e[r];return n},o=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var u=this;if("function"!==typeof u||n.apply(u)!==a)throw new TypeError(t+u);for(var l,d=i(arguments,1),c=function(){if(this instanceof l){var t=u.apply(this,s(d,arguments));return Object(t)===t?t:this}return u.apply(e,s(d,arguments))},m=r(0,u.length-d.length),h=[],f=0;f<m;f++)h[f]="$"+f;if(l=Function("binder","return function ("+o(h,",")+"){ return binder.apply(this,arguments); }")(c),u.prototype){var _=function(){};_.prototype=u.prototype,l.prototype=new _,_.prototype=null}return l}},8612:(e,t,n)=>{"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},210:(e,t,n)=>{"use strict";var r,a=SyntaxError,s=Function,i=TypeError,o=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(C){u=null}var l=function(){throw new i},d=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(t){return l}}}():l,c=n(1405)(),m=n(8185)(),h=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),f={},_="undefined"!==typeof Uint8Array&&h?h(Uint8Array):r,p={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":c&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&h?h(h([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&c&&h?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&c&&h?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&h?h(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":d,"%TypedArray%":_,"%TypeError%":i,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(h)try{null.error}catch(C){var y=h(h(C));p["%Error.prototype%"]=y}var g=function e(t){var n;if("%AsyncFunction%"===t)n=o("async function () {}");else if("%GeneratorFunction%"===t)n=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=o("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&h&&(n=h(a.prototype))}return p[t]=n,n},M={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(8612),L=n(8824),w=v.call(Function.call,Array.prototype.concat),Y=v.call(Function.apply,Array.prototype.splice),b=v.call(Function.call,String.prototype.replace),k=v.call(Function.call,String.prototype.slice),D=v.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,A=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return b(e,T,(function(e,t,n,a){r[r.length]=n?b(a,S,"$1"):t||e})),r},x=function(e,t){var n,r=e;if(L(M,r)&&(n=M[r],r="%"+n[0]+"%"),L(p,r)){var s=p[r];if(s===f&&(s=g(r)),"undefined"===typeof s&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:s}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=A(e),r=n.length>0?n[0]:"",s=x("%"+r+"%",t),o=s.name,l=s.value,d=!1,c=s.alias;c&&(r=c[0],Y(n,w([0,1],c)));for(var m=1,h=!0;m<n.length;m+=1){var f=n[m],_=k(f,0,1),y=k(f,-1);if(('"'===_||"'"===_||"`"===_||'"'===y||"'"===y||"`"===y)&&_!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==f&&h||(d=!0),r+="."+f,o="%"+r+"%",L(p,o))l=p[o];else if(null!=l){if(!(f in l)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&m+1>=n.length){var g=u(l,f);h=!!g,l=h&&"get"in g&&!("originalValue"in g.get)?g.get:l[f]}else h=L(l,f),l=l[f];h&&!d&&(p[o]=l)}}return l}},7296:(e,t,n)=>{"use strict";var r=n(210),a=r("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(s){a=null}e.exports=a},1044:(e,t,n)=>{"use strict";var r=n(210),a=r("%Object.defineProperty%",!0),s=function(){if(a)try{return a({},"a",{value:1}),!0}catch(e){return!1}return!1};s.hasArrayLengthDefineBug=function(){if(!s())return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},e.exports=s},8185:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},1405:(e,t,n)=>{"use strict";var r="undefined"!==typeof Symbol&&Symbol,a=n(5419);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&a())))}},5419:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||!0!==s.enumerable)return!1}return!0}},8824:(e,t,n)=>{"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,s=n(8612);e.exports=s.call(r,a)},9755:function(e,t){var n,r;
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["index"]=t(require("vue")):e["index"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{var t={3276:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setExpiredHandler=t.setBaseURLHandler=void 0;const a=r(n(9669)),o=n(1539),s=n(8290),i=r(n(8458)),u=n(1267),l={200:"服务器成功返回请求的数据",400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"服务器发生错误,请检查服务器(Internal Server Error)",502:"网关错误(Bad Gateway)",503:"服务不可用,服务器暂时过载或维护(Service Unavailable)",504:"网关超时(Gateway Timeout)"};let d=null,c=null;const m=new Map;function h(e){const{method:t,url:n,params:r,data:a}=e;return[t,n,i.default.stringify(r),i.default.stringify(a)].join("&")}function f(e){const t=h(e);e.url.endsWith("/refreshToken")&&(e.cancelToken=e.cancelToken||new a.default.CancelToken((e=>{m.has(t)||m.set(t,e)})))}function _(e){const t=h(e);if(m.has(t)&&e.url.endsWith("/refreshToken")){const e=m.get(t);e(t),m.delete(t)}}function p(e){c=e}t.setBaseURLHandler=p;const y=async(e,t)=>{const{response:n,message:r}=e;if(n&&n.status){const r=(0,s.getRefreshToken)(),o=(0,s.getToken)(),i=l[n.status]||n.statusText,{status:c,request:m,data:h}=n;if(h)if("string"===typeof h){const t=(0,s.getHtmlTagContent)(h);e.message=t[t.length-1]||i}else e.message=h.message||h.msg||i;else e.message=i;if(e.status=c,401===c||403===c)if(403===c&&r){if(r){const n=(0,s.getCurrentUser)(),i=e.config,u=await t.post("refreshToken",{refreshToken:r,token:o??"",userId:n.userId}).catch((t=>a.default.isCancel(t)?Promise.resolve({data:{flag:0}}):Promise.reject(e))),{signature:l,flag:d,refreshToken:c}=u.data;if(0===d)return l&&(0,s.setToken)(l),c&&(0,s.setRefreshToken)(c),t(i)}}else{if((0,u.getConfig)()?.powerByQianKun){let e=window.location.pathname;const t=(0,u.getConfig)()?.context??"/";e=1===t.length?e:e.substring(t.length-1),"/user/login"!==e&&window.history.pushState(null,"登录",`/user/login?redirect=${e}${window.location.search?window.location.search.replace("?","&"):""}`)}d&&d(e)}}else n||(e.message="您的网络发生异常,无法连接服务器");return Promise.reject(e)},g=e=>{e.headers={...e.headers,"Content-Type":"application/json;charset=UTF-8"};const t=(0,s.getToken)();return t&&(0,s.isPlatJ)()?(e.headers["Accept"]="application/json,*/*",e.headers["x-token"]=t):t&&!e.headers["servicename"]&&(e.headers["signature"]=t),_(e),f(e),e},M=e=>{_(e.config);const{data:t,status:n}=e;if(200===n&&Object.keys(t).includes("__version__")){const n=e.config.url?.substring(e.config.url.lastIndexOf("/")+1);console.time(`service [${n}] deserialization end`);const r=o.EITools.parseJsonObject(t),a=r.toEIInfo();if(console.timeEnd(`service [${n}] deserialization end`),(0,s.isPlatJ)()&&-1===a.status&&"票据过期或请求不合法,请重新登录或获取合法权限!"===a.msg){const t=new Error(r.__sys__.msg);return e.status=401,e.data=a,e.statusText="票据过期或请求不合法,请重新登录或获取合法权限!",t.response=e,Promise.reject(t)}e.data=r}return e},v=e=>(_(e.config||{}),a.default.isCancel(e)?(console.log("已取消的重复请求:"+e.message),Promise.reject(e)):Promise.reject(e));function L(e){const t=a.default.create({baseURL:(0,u.getConfig)()?.baseURL,timeout:0});return t.interceptors.request.use(g),t.interceptors.response.use(M,v),t(e).then((e=>e)).catch((e=>y(e,t)))}function w(e){d=e}t["default"]=L,t.setExpiredHandler=w},468:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EIManager=void 0;const a=r(n(3276)),o=n(8290),s=n(1539),i=n(7466),u=n(1267);class l{constructor(){}handlePost=(e,t,n,r,i)=>{let u={responseType:r};i&&(u={...u,headers:i});const l=JSON.parse(JSON.stringify(t));if("2.0"===l["__version__"]){if(!(0,o.isPlatJ)()){t=(0,o.setContext)(t);const e=i?.uuid;e&&(t.context={...t.context,uuid:e})}const r=e.substring(e.lastIndexOf("/")+1);console.time(`service [${r}] serialization end`),t=t.toJSON(n),t=JSON.stringify(t),console.timeEnd(`service [${r}] serialization end`)}return u={...u,method:"POST",url:e,data:t},(0,a.default)(u).then((e=>(e={...e,data:e.data instanceof s.EITools.__EIInfoJson__?e.data.toEIInfo(n):e.data},e))).catch((e=>Promise.reject(e)))};handleGet=(e,t,n)=>(0,a.default)({method:"GET",url:e,headers:{responseType:n||"json"}}).then((e=>{const n=e.data instanceof s.EITools.__EIInfoJson__?e.data.toEIInfo(t):e.data;return n})).catch((e=>Promise.reject(e)));callService(e,t,n,r,a,s){a=this.initAxiosHeader(a);const i=new Date;console.log(`${(0,o.toIsoString)(i)} call service [${t}] begin.`);const u=this.buildUrl(t,e),l=void 0===s?.show||s?.show,d={value:void 0};return l&&(0,o.loading)(l,d,s?.target,s?.showAnimation,s?.ms),this.handlePost(u,n,r,"json",a).then((e=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} call service [${t}] end in ${n.getTime()-i.getTime()} ms.`),l&&(0,o.loading)(!1,d,s?.target,s?.showAnimation,s?.ms),e.data})).catch((e=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} failed to call service [${t}]. ${n.getTime()-i.getTime()} ms elapsed.`),l&&(0,o.loading)(!1,d,s?.target,s?.showAnimation,s?.ms),Promise.reject(e)}))}callMasterEPService(e,t,n,r,a){r=this.initAxiosHeader(r);const s=new Date;console.log(`${(0,o.toIsoString)(s)} call service [${e}] begin.`);const i=o.MASTER_EP_NAME,u=this.buildUrl(e,i),l=void 0===a?.show||a?.show,d={value:void 0};return l&&(0,o.loading)(l,d,a?.target,a?.showAnimation,a?.ms),this.handlePost(u,t,n,"json",r).then((t=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} call service [${e}] end in ${n.getTime()-s.getTime()} ms.`),l&&(0,o.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),t.data})).catch((t=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} failed to call service [${e}]. ${n.getTime()-s.getTime()} ms elapsed.`),l&&(0,o.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),Promise.reject(t)}))}callEPService(e,t,n,r,a){r=this.initAxiosHeader(r);const s=new Date;console.log(`${(0,o.toIsoString)(s)} call service [${e}] begin.`);const i=o.EP_NAME,u=this.buildUrl(e,i),l=void 0===a?.show||a?.show,d={value:void 0};return l&&(0,o.loading)(l,d,a?.target,a?.showAnimation,a?.ms),this.handlePost(u,t,n,"json",r).then((t=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} call service [${e}] end in ${n.getTime()-s.getTime()} ms.`),l&&(0,o.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),t.data})).catch((t=>{const n=new Date;return console.log(`${(0,o.toIsoString)(n)} failed to call service [${e}]. ${n.getTime()-s.getTime()} ms elapsed.`),l&&(0,o.loading)(!1,d,a?.target,a?.showAnimation,a?.ms),Promise.reject(t)}))}buildUrl=(e,t)=>(0,o.isPlatJ)()?(t=t||(0,u.getConfig)()?.jAppName||"IPLAT4J",`${t}/service/${e}`):(t=t||"DEFAULT",`${t}/api/CallService/${e}`);initAxiosHeader=e=>(e=e||{},e={...e,uuid:(0,i.v4)()},e)}const d=new l;t.EIManager=d},1539:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EITools=void 0;const r=n(6133),a=n(1050),o=n(7466);(function(e){class t{constructor(){this.company_code="",this.company_name="",this.fore_ip="",this.fore_mac="",this.fore_machine="",this.formname="",this.userid="",this.username="",this.culture="zh_Hans"}company_code;company_name;fore_ip;fore_mac;fore_machine;formname;userid;username;culture}e.Context=t;class n{constructor(){this.descName="",this.msg="",this.status="0",this.msgKey="",this.name="",this.traceId=""}descName;detailMsg;msg;msgKey;name;status;traceId}e.Sys=n;class s{constructor(){this.descName="",this.msg="",this.status=0,this.msgKey="",this.name="",this.traceId=""}descName;detailMsg;msg;msgKey;name;status;traceId}e.SysInfo=s;class i extends Array{constructor(e){super(),e&&e.length>0&&e.forEach((e=>this.push(e)))}}e.DataRow=i;class u{constructor(){this.meta={columns:[]},this.rows=[]}meta;rows;attr;toEiBlock(e){const t=new r.EI.EiBlock;this.attr&&(t.extAttr=new Map(Object.entries(this.attr)));let n=[...this.meta.columns.map((e=>({...e})))];if(e?.autoColumnToUpper&&(n=n.map((e=>({...e,name:e.name.toUpperCase()})))),t.setBlockMeta(n),e?.autoId){const e={pos:n.length,name:a.__IDField__,type:"C",descName:""};n.push(e)}return this.rows.forEach((r=>{const s={};n.forEach(((n,a)=>{if(e?.responseDataHandler){let o=e?.responseDataHandler.call(this,t.name,n.name,r[a]);"D"===n.type&&(o="string"===typeof o&&""!==o.trim()?o&&new Date(o):null),s[n.name]=o}else{let e=r[a];"D"===n.type?e="string"===typeof e&&""!==e.trim()?e&&new Date(e):null:"B"===n.type&&(e=!!e),s[n.name]=e}})),e?.autoId&&(s[a.__IDField__]=(0,o.v4)()),t.data.push(s)})),t}}e.__BlockJson__=u;class l{constructor(e){this.serviceId="",this.__version__="2.0",this.__sys__=new n,this.__context__=new t,this.__blocks__={},e&&(this.__edInfo__=new r.EI.EDInfo)}serviceId;__version__;__sys__;__context__;__blocks__;__edInfo__;addBlock(e,t){this.__blocks__[e]=t}toEIInfo(e){const t=new r.EI.EIInfo;t.context={...this.__context__};const n={...this.__sys__,status:Number(this.__sys__.status)};t.sys=n,this.__edInfo__&&(t.edInfo={fblk_name:[...this.__edInfo__.fblk_name],func_name:[...this.__edInfo__.func_name],pk_name:[...this.__edInfo__.pk_name],pk_val:[...this.__edInfo__.pk_val]});let{descName:a,msg:o,status:s,msgKey:i,name:u}=n;t.descName=a,t.msg=o,t.status=s,t.msgKey=i,t.name=u;const l=Object.keys(this);l.forEach((e=>{e.startsWith("__")||(t.extAttr[e]=this[e])}));for(const r in this.__blocks__){const n=this.__blocks__[r],a=n.toEiBlock(e);t.addBlock(a,r)}return t}}e.__EIInfoJson__=l,e.parseJsonObject=e=>{if("string"===typeof e&&(e=JSON.parse(e)),e&&e.__version__){const t=new l;t.__context__={...e.__context__},t.__sys__={...e.__sys__},t.__version__=e.__version__,e.__edInfo__&&(t.__edInfo__={...e.__edInfo__});const n=Object.keys(e);n.forEach((n=>{n.startsWith("__")||(t[n]=e[n])}));for(const r in e.__blocks__){const n=e.__blocks__[r],a=new u;a.rows=[...n.rows],a.meta={...n.meta},n.attr&&(a.attr={...n.attr}),t.__blocks__[r]=a}return t}return new l}})(t.EITools||(t.EITools={}))},6133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EI=void 0;const r=n(1050),a=n(1539),o=n(8290);(function(e){const t=e=>"string"===typeof e?"C":"number"===typeof e?"N":"boolean"===typeof e?"B":e instanceof Date?"D":"C",n=e=>void 0===e||null===e?"U":t(e),s=(e,t)=>"C"===e&&"string"===typeof t||("N"===e&&"number"===typeof t||("B"===e&&"boolean"===typeof t||"D"===e&&t instanceof Date)),i=e=>void 0!==e&&(null!==e&&""!==e),u=e=>{const t="N"===e?0:"D"===e?null:"";return t},l=e=>{const t="N"===e?0:"";return t};class d{constructor(e){this.name=e||"Table1",this.data=[],this.columns=[],this.extAttr=new Map}name;data;columns;extAttr;pushData(e,t){if(Array.isArray(e)?this.data=[...this.data,...e]:this.data.push(e),t)if(Array.isArray(e))e.forEach((e=>{const t=Object.keys(e);t.forEach(((t,r)=>{const a=this.columns.find((e=>e.name===t)),o=n(e[t]);if(a){if(""===e[t]&&"D"===a.type)throw new Error("不能将日期类型设置为空字符串");("C"===o&&"N"===a.type||"D"===o&&"C"===a.type)&&(a.type=o)}else{const e=new h;e.name=t,e.pos=this.columns.length,e.descName=`C${t}`,e.type="U"===o?"C":o,this.columns.push(e)}}))}));else{const t=Object.keys(e);t.forEach(((t,r)=>{const a=this.columns.find((e=>e.name===t)),o=n(e[t]);if(a)("C"===o&&"N"===a.type||"D"===o&&"C"===a.type)&&(a.type=o);else{const e=new h;e.name=t,e.pos=this.columns.length,e.descName=`C${t}`,e.type="U"===o?"C":o,this.columns.push(e)}}))}}getBlockMeta(){return this.columns}setBlockMeta(e){this.columns=e.map((e=>({...e})))}getColumn(e){if(""===e.trim())throw new Error("columnName cannot be empty");const t=this.columns.find((t=>t.name===e));return t}removeColumn(e){if(""===e.trim())throw new Error("columnName cannot be empty");if(this.columns){const t=this.columns.findIndex((t=>t.name===e));t>=0&&(this.columns.splice(t,1),this.columns.forEach(((e,n)=>{n>=t&&(e.pos=e.pos-1)})))}return this.data.length?(this.data=this.data.map((t=>{const n={...t};return delete n[e],n})),this):this}containsColumn(e){return void 0!==this.columns.find((t=>t.name===e))}addColumn(e,t,n){if(e instanceof h){const n=this.columns.findIndex((t=>t.name===e.name));if(-1!==n)throw new Error("table ["+this.name+"] already has column ["+e.Name+"]");if(this.columns.push(e),t=void 0===t?u(e.type):t,this.data.length){if(!s(e.type,t))throw new Error(`defaultValue [${t}] not match dataType [${e.type}]`);this.data=this.data.map((n=>({...n,[e.name]:void 0===t?"":t})))}}else{if(""===e.trim())throw new Error("column name cannot be empty");if(n||(n="C"),this.columns){const r=this.columns.findIndex((t=>t.name===e));if(-1==r){t=t||"";const r=new h;r.pos=this.columns.length,r.name=e,r.type=n||"C",r.descName=`C${e}`,this.addColumn(r,t)}}}}addColumns(e,...t){if(Array.isArray(e))e.forEach((e=>this.addColumn(e)));else{const n=[e,...t];n.forEach((e=>this.addColumn(e)))}}renameColumn(e,t){if(""===e.trim()||""===t.trim())throw new Error("columnName cannot be empty");if(this.columns){const n=this.columns.find((t=>t.name===e));n&&(n.name=t)}if(this.data.length){const n=Object.keys(this.data[0]);if(n.includes(t))throw new Error(`column name [${t}] already exists.`);if(!n.includes(e))throw new Error(`column name [${t}] does not exist.`);return this.data=this.data.map((n=>{const r={...n,[t]:n[e]};return delete r[e],r})),this}return this}copy(e){const t=new d;return t.columns=this.columns.map((e=>({...e}))),t.name=e||`${this.name} copy`,t.data=this.data.map((e=>({...e}))),this.extAttr&&(t.extAttr=new Map(this.extAttr)),t}clone(e,t){const n=new d;return n.columns=this.columns.map((e=>({...e}))),n.name=e||`${this.name} copy`,t&&(n.data=this.data.map((e=>({...e})))),this.extAttr&&(n.extAttr=new Map(this.extAttr)),n}addRow(e){if(Object.keys(e).length>0)return this.data.push(e),this;throw new Error("rowData cannot be empty")}deleteRow(e){if(e>=0&&e%1===0){let t=this.data.splice(e,1);return t[0]}throw new Error("index must be an integer")}insertRow(e,t){if(e>=0&&e%1===0&&Object.keys(t).length>0)return this.data.splice(e,0,t),this;throw new Error("please check args data")}toJSON(e){const t=new a.EITools.__BlockJson__;let n=[...this.columns.map((e=>({...e})))];return n.length>0&&(e?.autoId&&(n=n.filter((e=>e.name!==r.__IDField__))),t.meta={columns:n}),this.data.forEach(((r,a)=>{const s=[];n.forEach(((n,a)=>{let i=r[n.name];e?.requestDataHandler&&(i=e?.requestDataHandler.call(this,this.name,n.name,i)),"string"===typeof i&&"D"===n.type&&(t.meta.columns[a].type="C"),i instanceof Date&&(t.meta.columns[a].type="D",i=(0,o.toIsoString)(i)),"boolean"===typeof i?i+="":void 0===i?i=l(n.type):null===i&&(i="D"===t.meta.columns[a].type||"N"===t.meta.columns[a].type?null:""),s.push(i)})),s.length>0&&t.rows.push(s)})),this.extAttr&&(t.attr=Array.from(this.extAttr).reduce(((e,[t,n])=>(e[t]=n,e)),{})),t}static build(e,n){let r=new d,a=!1,o=[];if(r.name=e,Array.isArray(n)){let e=[];if("string"===typeof n[0])o=n;else{for(let e in n[0])o.push(e);a=!0}if(o.forEach(((r,o)=>{let s=new h;a&&(s.type=t(n[0][r])),s.name=r,s.pos=o,e.push(s)})),r.columns=e,a)for(let t=0;t<n.length;t++)r.addRow(n[t])}return r}static buildByNames(e,t,n){let r=new d,a=Array.isArray(n);if(r.name=e,Array.isArray(t)){let e=[];t.forEach(((t,r)=>{let o=new h;o.name=t,o.pos=r,a&&i(n[r])&&(o.descName=n[r]),e.push(o)})),r.columns=e}return r}static buildByColumns(e,t){let n=new d;n.name=e;let r=[];return t.forEach(((e,t)=>{let n=new h;n.name=e["field"];let a=new f;Object.keys(a).forEach(((t,r)=>{t in e&&void 0!=e[t]&&(n[t]=e[t])})),n.descName=e["title"],n.pos=t,r.push(n)})),n.columns=r,n}}e.EiBlock=d;class c{constructor(){this.context=new a.EITools.Context,this.sys=new a.EITools.SysInfo,this.blocks={},this.name="",this.descName="",this.msg="",this.msgKey="",this.detailMsg="",this.status=0,this.extAttr={}}context;sys;blocks;name;descName;msg;msgKey;detailMsg;status;extAttr;edInfo;getName(){return this.name}setName(e){this.name=e}setED(e){this.edInfo=e}addBlock(e,t){const n=t||e.name;if(""===n.trim())throw new Error("block name cannot be empty.");if(Object.keys(this.blocks).includes(n))throw new Error(`block [${n}] already exists.`);return e.name=n,this.blocks[n]=e,e}contains(e){const t=this.blocks[e];return i(t)}remove(e){try{const t=this.blocks[e];return delete this.blocks[e],t}catch(t){throw t}}renameBlock(e,t){if(""===e.trim()||""===t.trim())throw new Error("block name cannot be empty.");if(!Object.keys(this.blocks).includes(e))throw new Error(`block [${e}] does not exist.`);if(Object.keys(this.blocks).includes(t))throw new Error(`block [${e}] already exists.`);const n=this.blocks[e];return n.name=t,this.blocks[t]=n,delete this.blocks[e],n}getBlock(e){const t=Object.keys(this.blocks);if("string"===typeof e){if(""===e.trim())throw new Error("block name cannot be empty.");if(!t.includes(e))throw new Error(`block [${e}] does not exist.`);const n=this.blocks[e];return n}{if(e<0||!Number.isInteger(e))throw new Error("block index must be an integer greater than or equal to 0.");if(e>=t.length)throw new Error(`block [${e}] does not exist.`);const n=this.blocks[t[e]];return n}}clone(){const e=a.EITools.parseJsonObject(this.toJSON()),t=e.toEIInfo();return t}get(e){if(""===e.trim())return new Error("EiInfo function get() str cannot be empty.");let t,n=e.split("-");if(3===n.length){const e=parseInt(n[1]);return this.contains(n[0])?(t=this.getBlock(n[0]),t.data[e][n[2]]??null):null}return 2===n.length?this.contains(n[0])?(t=this.getBlock(n[0]),t.extAttr?.get(n[1])??null):null:this.extAttr[n[0]]}set(...e){let n;switch(e.length>2?(n=e[0],"undefined"==typeof this.blocks[n]&&(this.blocks[n]=new d,this.blocks[n].name=n)):n="",e.length){case 2:if("string"==typeof e[0]){let t=e[0].split("-");1==t.length?this.extAttr[e[0]]=e[1]:2==t.length?this.set(t[0],t[1],e[1]):3==t.length&&this.set(t[0],t[1],t[2],e[1])}break;case 3:this.blocks[n].extAttr||(this.blocks[n].extAttr=new Map),this.blocks[n].extAttr.set(e[1],e[2]);break;case 4:if(!this.blocks[n].containsColumn(e[2])){const r=this.blocks[n];console.log(r);let a=new h;a.name=e[2],a.pos=this.blocks[n].columns.length,a.type=e[3]?t(e[3]):"C",this.blocks[n].columns.push(a)}let r=parseInt(e[1]);if(e[2]&&e[3]){const t=this.blocks[n].data;while("undefined"===typeof t[r])t.push({});t[r][e[2]]=e[3]}break}}toJSON(e){const t=new a.EITools.__EIInfoJson__;t.__context__={...this.context};const n={...this.sys,status:this.sys.status+""};t.__sys__=n,this.edInfo&&(t.__edInfo__={fblk_name:[...this.edInfo.fblk_name],func_name:[...this.edInfo.func_name],pk_name:[...this.edInfo.pk_name],pk_val:[...this.edInfo.pk_val]});for(const r in this.blocks)if(Object.prototype.hasOwnProperty.call(this.blocks,r)){let n=new a.EITools.__BlockJson__;const o=this.blocks[r];n=e?o.toJSON(e):o.toJSON(),t.addBlock(r,n)}if(this.extAttr){const e=Object.keys(this.extAttr);e.forEach((e=>{t[e]=this.extAttr[e]}))}return this.name&&(t.__sys__.name=this.name),t}}e.EIInfo=c;class m{constructor(){this.fblk_name=Array(63).fill(""),this.func_name=Array(63).fill(""),this.pk_name=Array(3).fill(""),this.pk_val=Array(3).fill("")}fblk_name;func_name;pk_name;pk_val}e.EDInfo=m;class h{constructor(){this.pos=0,this.name="",this.type="C",this.descName=""}pos;name;type;descName;regex;formatter;editor;minLength;maxLength;primaryKey;nullable;visible;readonly;displayType;errorPrompt;width;height;align;blockName;sourceName;labelProperty;valueProperty}e.EiColumn=h;class f{constructor(){this.pos=0,this.name="",this.type="C",this.descName="",this.regex="",this.formatter="",this.editor="",this.minLength=0,this.maxLength=0,this.primaryKey=!1,this.nullable=!0,this.visible="",this.readonly="",this.displayType="",this.errorPrompt="",this.width=0,this.height=0,this.align="",this.blockName="",this.sourceName="",this.labelProperty="",this.valueProperty=""}pos;name;type;descName;regex;formatter;editor;minLength;maxLength;primaryKey;nullable;visible;readonly;displayType;errorPrompt;width;height;align;blockName;sourceName;labelProperty;valueProperty}})(t.EI||(t.EI={}))},2321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EP=void 0;const r=n(8290);class a{constructor(){}get Environment(){return(0,r.getCurrentEnvironment)()}get User(){return(0,r.getCurrentUser)()}}const o=new a;t.EP=o},8222:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(1267),t),a(n(6133),t),a(n(8756),t),a(n(3276),t),a(n(8290),t),a(n(468),t),a(n(2321),t),a(n(1050),t)},8756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.init=void 0;let n=null;function r(e){n=Object.freeze(e)}function a(){return n}t.init=r,t.getConfig=a},1050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__IDField__=void 0,t.__IDField__="ID"},8290:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toIsoString=t.EP_NAME=t.MASTER_EP_NAME=t.isPlatJ=t.PLAT_TYPE=t.getHtmlTagContent=t.isHtmlString=t.isJsonString=t.loading=t.setContext=t.buildEIInfo=t.removeCurrentEnvironment=t.setCurrentEnvironment=t.getCurrentEnvironment=t.removeCurrentUser=t.setCurrentUser=t.getCurrentUser=t.removeRememberMe=t.setRememberMe=t.getRememberMe=t.removeRefreshToken=t.setRefreshToken=t.getRefreshToken=t.removeToken=t.setToken=t.getToken=void 0;const r=n(6133),a=n(1267),o="signature_token",s="refresh_token",i="user_info",u="app_environment_info",l=e=>{const n=(0,t.getRememberMe)()||e;return n?localStorage.getItem(o):sessionStorage.getItem(o)};t.getToken=l;const d=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(o,e),sessionStorage.removeItem(o)):(sessionStorage.setItem(o,e),localStorage.removeItem(o)),!0}catch(r){return!1}};t.setToken=d;const c=()=>{try{return localStorage.removeItem(o),sessionStorage.removeItem(o),!0}catch(e){return!1}};t.removeToken=c;const m=e=>{const n=(0,t.getRememberMe)()||e;return n?localStorage.getItem(s):sessionStorage.getItem(s)};t.getRefreshToken=m;const h=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(s,e),sessionStorage.removeItem(s)):(localStorage.removeItem(s),sessionStorage.setItem(s,e)),!0}catch(r){return!1}};t.setRefreshToken=h;const f=()=>{try{return localStorage.removeItem(s),sessionStorage.removeItem(s),!0}catch(e){return!1}};t.removeRefreshToken=f;const _=()=>"true"===localStorage.getItem("remember_me");t.getRememberMe=_;const p=e=>{try{return localStorage.setItem("remember_me",e+""),!0}catch(t){return!1}};t.setRememberMe=p;const y=()=>{try{return localStorage.removeItem("remember_me"),!0}catch(e){return!1}};t.removeRememberMe=y;const g=e=>{const n=(0,t.getRememberMe)()||e,r=n?localStorage.getItem(i):sessionStorage.getItem(i);if(r){const e=JSON.parse(r);return e}return{id:"",userId:"",userName:"",deptId:"",deptEName:"",deptCName:""}};t.getCurrentUser=g;const M=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(i,JSON.stringify(e)),sessionStorage.removeItem(i)):(sessionStorage.setItem(i,JSON.stringify(e)),localStorage.removeItem(i)),!0}catch(r){return!1}};t.setCurrentUser=M;const v=()=>{try{return localStorage.removeItem(i),sessionStorage.removeItem(i),!0}catch(e){return!1}};t.removeCurrentUser=v;const L=e=>{const n=(0,t.getRememberMe)()||e,r=n?localStorage.getItem(u):sessionStorage.getItem(u);if(r){const e=JSON.parse(r);return e}return{skinName:"",culture:"",companyCode:"",companyName:"",appName:""}};t.getCurrentEnvironment=L;const w=(e,n)=>{try{const r=(0,t.getRememberMe)()||n;return r?(localStorage.setItem(u,JSON.stringify(e)),sessionStorage.removeItem(u)):(sessionStorage.setItem(u,JSON.stringify(e)),localStorage.removeItem(u)),!0}catch(r){return!1}};t.setCurrentEnvironment=w;const k=()=>{try{return localStorage.removeItem(u),sessionStorage.removeItem(u),!0}catch(e){return!1}};t.removeCurrentEnvironment=k;const Y=(e,n)=>{let a=new r.EI.EIInfo;const o=new r.EI.EiBlock,s=n||"Table1";return o.pushData(e,!0),a.addBlock(o,s),a=(0,t.setContext)(a),a};t.buildEIInfo=Y;const b=()=>{const e=(0,a.getConfig)()?.currentRouter.currentRoute.value??{},{query:t,path:n,fullPath:r}=e,o=t?.formName?t?.formName:void 0!==n?n.toString().substring(n.toString().lastIndexOf("/")+1):"HOME";return o},D=e=>{const n=(0,t.getCurrentUser)(),r=(0,t.getCurrentEnvironment)(),o=(0,a.getConfig)();if(n&&""!==n.userId){const t=b(),a={userid:n.userId,username:n.userName,formname:t.toUpperCase(),fore_ip:o?.sysInfo?.fore_ip??"",fore_mac:o?.sysInfo?.fore_mac??"",fore_machine:o?.sysInfo?.fore_machine??"",culture:r.culture||"zh_Hans",company_code:r.companyCode||"",company_name:r.companyName||""};e.context={...a}}return e};t.setContext=D;let T=!1;const S=()=>{const e=document.createElement("style");e.textContent="\n .request-loading {\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n .loading-mask {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(255, 255, 255, 0.1); /* 半透明白色遮罩 */\n mask-image: none; /* 初始设置为无遮罩 */\n }\n\n .loading-svg {\n /*position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;*/\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n background: rgba(0, 0, 0, 0.2);\n mask-image: none; /* 初始设置为无遮罩 */\n }\n\n /*.loading-svg svg {\n width: 100%;\n height: 100%;\n }*/\n\n @keyframes loadingAnimation {\n to {\n transform: rotate(360deg);\n }\n }\n ",document.head.appendChild(e)},A=(e,t,n)=>{let r,a=!1;if(e){const t=document.querySelectorAll(e);t.length?r=t[0]:(r=document.body,a=!0)}else r=document.body,a=!0;r?.classList.add("request-loading");const o=document.createElement("div");o.className="loading-mask",r?.appendChild(o);const s=document.createElement("div");s.className="loading-svg";const i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("viewBox","0 0 100 100"),i.setAttribute("width","50px"),i.setAttribute("height","50px");let u=null;return n=n??2e3,u=setTimeout((()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d","M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"),e.setAttribute("fill","rgb(64, 158, 255)"),i.appendChild(e),s.appendChild(i),r?.appendChild(s);const t=document.createElementNS("http://www.w3.org/2000/svg","animateTransform");t.setAttribute("attributeName","transform"),t.setAttribute("type","rotate"),t.setAttribute("from","-360 67 67"),t.setAttribute("to","0 67 67"),t.setAttribute("dur","1.2s"),t.setAttribute("repeatCount","indefinite"),e.appendChild(t)}),n),T||(S(),T=!0),u},x=(e,t)=>{let n,r=!1;if(e){const t=document.querySelectorAll(e);t.length?n=t[0]:(n=document.body,r=!0)}else n=document.body,r=!0;const a=n?.querySelector(".loading-mask"),o=n?.querySelector(".loading-svg");a&&a.remove(),o&&o.remove(),n?.classList.remove("request-loading"),t&&clearTimeout(t)},C=(e,t,n,r,a)=>{e?t.value=A(n,r,a):x(n,t.value)};t.loading=C;const E=e=>{try{JSON.parse(e);return!0}catch(t){return!1}};t.isJsonString=E;const j=e=>{const t=new RegExp("<[a-zA-Z]+.*?>([\\s\\S]*?)</[a-zA-Z]*?>","g");return t.test(e)};t.isHtmlString=j;const O=e=>{const t=new RegExp("(?<=>)[^<>]+(?=<)","g");return t.test(e)&&e.match(t)||[]};t.getHtmlTagContent=O,t.PLAT_TYPE=(0,a.getConfig)()?.platType??"4C";const H=()=>"4J"===t.PLAT_TYPE;t.isPlatJ=H,t.MASTER_EP_NAME=(0,t.isPlatJ)()?(0,a.getConfig)()?.jAppName??"iplat4j":"MASTER",t.EP_NAME=(0,t.isPlatJ)()?(0,a.getConfig)()?.jAppName??"iplat4j":"EP";const N=e=>{var t=-e.getTimezoneOffset(),n=t>=0?"+":"-",r=function(e){return(e<10?"0":"")+e};return e.getFullYear()+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())+"T"+r(e.getHours())+":"+r(e.getMinutes())+":"+r(e.getSeconds())+n+r(Math.floor(Math.abs(t)/60))+":"+r(Math.abs(t)%60)};t.toIsoString=N},2592:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},8458:(e,t,n)=>{"use strict";var r=n(4554),a=n(6530),o=n(2592);e.exports={formats:o,parse:a,stringify:r}},6530:(e,t,n)=>{"use strict";var r=n(7116),a=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",c=function(e,t){var n,c={__proto__:null},m=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,f=m.split(t.delimiter,h),_=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&(f[n]===d?p="utf-8":f[n]===l&&(p="iso-8859-1"),_=n,n=f.length);for(n=0;n<f.length;++n)if(n!==_){var y,g,M=f[n],v=M.indexOf("]="),L=-1===v?M.indexOf("="):v+1;-1===L?(y=t.decoder(M,s.decoder,p,"key"),g=t.strictNullHandling?null:""):(y=t.decoder(M.slice(0,L),s.decoder,p,"key"),g=r.maybeMap(u(M.slice(L+1),t),(function(e){return t.decoder(e,s.decoder,p,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=i(g)),M.indexOf("[]=")>-1&&(g=o(g)?[g]:g),a.call(c,y)?c[y]=r.combine(c[y],g):c[y]=g}return c},m=function(e,t,n,r){for(var a=r?t:u(t,n),o=e.length-1;o>=0;--o){var s,i=e[o];if("[]"===i&&n.parseArrays)s=[].concat(a);else{s=n.plainObjects?Object.create(null):{};var l="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,d=parseInt(l,10);n.parseArrays||""!==l?!isNaN(d)&&i!==l&&String(d)===l&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(s=[],s[d]=a):"__proto__"!==l&&(s[l]=a):s={0:a}}a=s}return a},h=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,u=n.depth>0&&s.exec(o),l=u?o.slice(0,u.index):o,d=[];if(l){if(!n.plainObjects&&a.call(Object.prototype,l)&&!n.allowPrototypes)return;d.push(l)}var c=0;while(n.depth>0&&null!==(u=i.exec(o))&&c<n.depth){if(c+=1,!n.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(u[1])}return u&&d.push("["+o.slice(u.index)+"]"),m(d,t,n,r)}},f=function(e){if(!e)return s;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?s.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?s.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:s.comma,decoder:"function"===typeof e.decoder?e.decoder:s.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:s.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,t){var n=f(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var a="string"===typeof e?c(e,n):e,o=n.plainObjects?Object.create(null):{},s=Object.keys(a),i=0;i<s.length;++i){var u=s[i],l=h(u,a[u],n,"string"===typeof e);o=r.merge(o,l,n)}return!0===n.allowSparse?o:r.compact(o)}},4554:(e,t,n)=>{"use strict";var r=n(7478),a=n(7116),o=n(2592),s=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,d=function(e,t){l.apply(e,u(t)?t:[t])},c=Date.prototype.toISOString,m=o["default"],h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:m,formatter:o.formatters[m],indices:!1,serializeDate:function(e){return c.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},_={},p=function e(t,n,o,s,i,l,c,m,p,y,g,M,v,L,w,k){var Y=t,b=k,D=0,T=!1;while(void 0!==(b=b.get(_))&&!T){var S=b.get(t);if(D+=1,"undefined"!==typeof S){if(S===D)throw new RangeError("Cyclic object value");T=!0}"undefined"===typeof b.get(_)&&(D=0)}if("function"===typeof m?Y=m(n,Y):Y instanceof Date?Y=g(Y):"comma"===o&&u(Y)&&(Y=a.maybeMap(Y,(function(e){return e instanceof Date?g(e):e}))),null===Y){if(i)return c&&!L?c(n,h.encoder,w,"key",M):n;Y=""}if(f(Y)||a.isBuffer(Y)){if(c){var A=L?n:c(n,h.encoder,w,"key",M);return[v(A)+"="+v(c(Y,h.encoder,w,"value",M))]}return[v(n)+"="+v(String(Y))]}var x,C=[];if("undefined"===typeof Y)return C;if("comma"===o&&u(Y))L&&c&&(Y=a.maybeMap(Y,c)),x=[{value:Y.length>0?Y.join(",")||null:void 0}];else if(u(m))x=m;else{var E=Object.keys(Y);x=p?E.sort(p):E}for(var j=s&&u(Y)&&1===Y.length?n+"[]":n,O=0;O<x.length;++O){var H=x[O],N="object"===typeof H&&"undefined"!==typeof H.value?H.value:Y[H];if(!l||null!==N){var P=u(Y)?"function"===typeof o?o(j,H):j:j+(y?"."+H:"["+H+"]");k.set(t,D);var I=r();I.set(_,k),d(C,e(N,P,o,s,i,l,"comma"===o&&L&&u(Y)?null:c,m,p,y,g,M,v,L,w,I))}}return C},y=function(e){if(!e)return h;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof e.format){if(!s.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=h.filter;return("function"===typeof e.filter||u(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,a,o=e,s=y(t);"function"===typeof s.filter?(a=s.filter,o=a("",o)):u(s.filter)&&(a=s.filter,n=a);var l,c=[];if("object"!==typeof o||null===o)return"";l=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var m=i[l];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var h="comma"===m&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),s.sort&&n.sort(s.sort);for(var f=r(),_=0;_<n.length;++_){var g=n[_];s.skipNulls&&null===o[g]||d(c,p(o[g],g,m,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,f))}var M=c.join(s.delimiter),v=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),M.length>0?v+M:""}},7116:(e,t,n)=>{"use strict";var r=n(2592),a=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)"undefined"!==typeof n[a]&&r.push(n[a]);t.obj[t.prop]=r}}},u=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},l=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=u(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var s=t[o];s&&"object"===typeof s&&n&&"object"===typeof n?t[o]=e(s,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var s=n[o];return a.call(t,o)?t[o]=e(t[o],s,r):t[o]=s,t}),s)},d=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},c=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(a){return r}},m=function(e,t,n,a,o){if(0===e.length)return e;var i=e;if("symbol"===typeof e?i=Symbol.prototype.toString.call(e):"string"!==typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<i.length;++l){var d=i.charCodeAt(l);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||o===r.RFC1738&&(40===d||41===d)?u+=i.charAt(l):d<128?u+=s[d]:d<2048?u+=s[192|d>>6]+s[128|63&d]:d<55296||d>=57344?u+=s[224|d>>12]+s[128|d>>6&63]+s[128|63&d]:(l+=1,d=65536+((1023&d)<<10|1023&i.charCodeAt(l)),u+=s[240|d>>18]+s[128|d>>12&63]+s[128|d>>6&63]+s[128|63&d])}return u},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],o=a.obj[a.prop],s=Object.keys(o),u=0;u<s.length;++u){var l=s[u],d=o[l];"object"===typeof d&&null!==d&&-1===n.indexOf(d)&&(t.push({obj:o,prop:l}),n.push(d))}return i(t),e},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},_=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},p=function(e,t){return[].concat(e,t)},y=function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:u,assign:d,combine:p,compact:h,decode:c,encode:m,isBuffer:_,isRegExp:f,maybeMap:y,merge:l}},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),a=n(6026),o=n(4372),s=n(5327),i=n(4097),u=n(4109),l=n(7985),d=n(5061),c=n(7874),m=n(5263);e.exports=function(e){return new Promise((function(t,n){var h,f=e.data,_=e.headers,p=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(f)&&delete _["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var M=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";_.Authorization="Basic "+btoa(M+":"+v)}var L=i(e.baseURL,e.url);function w(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,o=p&&"text"!==p&&"json"!==p?g.response:g.responseText,s={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};a((function(e){t(e),y()}),(function(e){n(e),y()}),s),g=null}}if(g.open(e.method.toUpperCase(),s(L,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=w:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(w)},g.onabort=function(){g&&(n(d("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(d(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||l(L))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;k&&(_[e.xsrfHeaderName]=k)}"setRequestHeader"in g&&r.forEach(_,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete _[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),p&&"json"!==p&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){g&&(n(!e||e&&e.type?new m("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),f||(f=null),g.send(f)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),a=n(1849),o=n(321),s=n(7185),i=n(5546);function u(e){var t=new o(e),n=a(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n.create=function(t){return u(s(e,t))},n}var l=u(i);l.Axios=o,l.Cancel=n(5263),l.CancelToken=n(4972),l.isCancel=n(6502),l.VERSION=n(7288).version,l.all=function(e){return Promise.all(e)},l.spread=n(8713),l.isAxiosError=n(6268),e.exports=l,e.exports["default"]=l},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),a=n(5327),o=n(782),s=n(3572),i=n(7185),u=n(4875),l=u.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,d=[];if(this.interceptors.response.forEach((function(e){d.push(e.fulfilled,e.rejected)})),!a){var c=[s,void 0];Array.prototype.unshift.apply(c,r),c=c.concat(d),o=Promise.resolve(t);while(c.length)o=o.then(c.shift(),c.shift());return o}var m=t;while(r.length){var h=r.shift(),f=r.shift();try{m=h(m)}catch(_){f(_);break}}try{o=s(m)}catch(_){return Promise.reject(_)}while(d.length)o=o.then(d.shift(),d.shift());return o},d.prototype.getUri=function(e){return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=d},782:(e,t,n)=>{"use strict";var r=n(4867);function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},4097:(e,t,n)=>{"use strict";var r=n(1793),a=n(7303);e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,a,o){var s=new Error(e);return r(s,t,n,a,o)}},3572:(e,t,n)=>{"use strict";var r=n(4867),a=n(8527),o=n(6502),s=n(5546),i=n(5263);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){u(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return u(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={};function a(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function u(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,a=t(e);r.isUndefined(a)&&t!==u||(n[e]=a)})),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),a=n(5546);e.exports=function(e,t,n){var o=this||a;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},5546:(e,t,n)=>{"use strict";var r=n(4867),a=n(6016),o=n(481),s=n(7874),i={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(5448)),e}function d(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var c={transitional:s,adapter:l(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),d(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw o(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.26.1"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var r=n(4867);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(a(t)+"="+a(e))})))})),o=s.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(a)&&i.push("path="+a),r.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&a.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,n)=>{"use strict";var r=n(7288).version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var o=r[a],s=t[o];if(s){var i=e[o],u=void 0===i||s(i,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:s,validators:a}},4867:(e,t,n)=>{"use strict";var r=n(1849),a=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function i(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"[object FormData]"===a.call(e)}function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer),t}function c(e){return"string"===typeof e}function m(e){return"number"===typeof e}function h(e){return null!==e&&"object"===typeof e}function f(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function _(e){return"[object Date]"===a.call(e)}function p(e){return"[object File]"===a.call(e)}function y(e){return"[object Blob]"===a.call(e)}function g(e){return"[object Function]"===a.call(e)}function M(e){return h(e)&&g(e.pipe)}function v(e){return"[object URLSearchParams]"===a.call(e)}function L(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function Y(){var e={};function t(t,n){f(e[n])&&f(t)?e[n]=Y(e[n],t):f(t)?e[n]=Y({},t):o(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],t);return e}function b(e,t,n){return k(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function D(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:o,isArrayBuffer:u,isBuffer:i,isFormData:l,isArrayBufferView:d,isString:c,isNumber:m,isObject:h,isPlainObject:f,isUndefined:s,isDate:_,isFile:p,isBlob:y,isFunction:g,isStream:M,isURLSearchParams:v,isStandardBrowserEnv:w,forEach:k,merge:Y,extend:b,trim:L,stripBOM:D}},1924:(e,t,n)=>{"use strict";var r=n(210),a=n(5559),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?a(n):n}},5559:(e,t,n)=>{"use strict";var r=n(8612),a=n(210),o=n(7771),s=a("%TypeError%"),i=a("%Function.prototype.apply%"),u=a("%Function.prototype.call%"),l=a("%Reflect.apply%",!0)||r.call(u,i),d=a("%Object.defineProperty%",!0),c=a("%Math.max%");if(d)try{d({},"a",{value:1})}catch(h){d=null}e.exports=function(e){if("function"!==typeof e)throw new s("a function is required");var t=l(r,u,arguments);return o(t,1+c(0,e.length-(arguments.length-1)),!0)};var m=function(){return l(r,i,arguments)};d?d(e.exports,"apply",{value:m}):e.exports.apply=m},2296:(e,t,n)=>{"use strict";var r=n(1044)(),a=n(210),o=r&&a("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(l){o=!1}var s=a("%SyntaxError%"),i=a("%TypeError%"),u=n(7296);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new i("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],c=!!u&&u(e,t);if(o)o(e,t,{configurable:null===l&&c?c.configurable:!l,enumerable:null===r&&c?c.enumerable:!r,value:n,writable:null===a&&c?c.writable:!a});else{if(!d&&(r||a||l))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},7648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,a="[object Function]",o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},s=function(e,t){for(var n=[],r=t||0,a=0;r<e.length;r+=1,a+=1)n[a]=e[r];return n},i=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var u=this;if("function"!==typeof u||n.apply(u)!==a)throw new TypeError(t+u);for(var l,d=s(arguments,1),c=function(){if(this instanceof l){var t=u.apply(this,o(d,arguments));return Object(t)===t?t:this}return u.apply(e,o(d,arguments))},m=r(0,u.length-d.length),h=[],f=0;f<m;f++)h[f]="$"+f;if(l=Function("binder","return function ("+i(h,",")+"){ return binder.apply(this,arguments); }")(c),u.prototype){var _=function(){};_.prototype=u.prototype,l.prototype=new _,_.prototype=null}return l}},8612:(e,t,n)=>{"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},210:(e,t,n)=>{"use strict";var r,a=SyntaxError,o=Function,s=TypeError,i=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(C){u=null}var l=function(){throw new s},d=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(t){return l}}}():l,c=n(1405)(),m=n(8185)(),h=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),f={},_="undefined"!==typeof Uint8Array&&h?h(Uint8Array):r,p={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":c&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&h?h(h([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&c&&h?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&c&&h?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&h?h(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":d,"%TypedArray%":_,"%TypeError%":s,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(h)try{null.error}catch(C){var y=h(h(C));p["%Error.prototype%"]=y}var g=function e(t){var n;if("%AsyncFunction%"===t)n=i("async function () {}");else if("%GeneratorFunction%"===t)n=i("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=i("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&h&&(n=h(a.prototype))}return p[t]=n,n},M={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(8612),L=n(8824),w=v.call(Function.call,Array.prototype.concat),k=v.call(Function.apply,Array.prototype.splice),Y=v.call(Function.call,String.prototype.replace),b=v.call(Function.call,String.prototype.slice),D=v.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,A=function(e){var t=b(e,0,1),n=b(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return Y(e,T,(function(e,t,n,a){r[r.length]=n?Y(a,S,"$1"):t||e})),r},x=function(e,t){var n,r=e;if(L(M,r)&&(n=M[r],r="%"+n[0]+"%"),L(p,r)){var o=p[r];if(o===f&&(o=g(r)),"undefined"===typeof o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=A(e),r=n.length>0?n[0]:"",o=x("%"+r+"%",t),i=o.name,l=o.value,d=!1,c=o.alias;c&&(r=c[0],k(n,w([0,1],c)));for(var m=1,h=!0;m<n.length;m+=1){var f=n[m],_=b(f,0,1),y=b(f,-1);if(('"'===_||"'"===_||"`"===_||'"'===y||"'"===y||"`"===y)&&_!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==f&&h||(d=!0),r+="."+f,i="%"+r+"%",L(p,i))l=p[i];else if(null!=l){if(!(f in l)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&m+1>=n.length){var g=u(l,f);h=!!g,l=h&&"get"in g&&!("originalValue"in g.get)?g.get:l[f]}else h=L(l,f),l=l[f];h&&!d&&(p[i]=l)}}return l}},7296:(e,t,n)=>{"use strict";var r=n(210),a=r("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(o){a=null}e.exports=a},1044:(e,t,n)=>{"use strict";var r=n(210),a=r("%Object.defineProperty%",!0),o=function(){if(a)try{return a({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},8185:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},1405:(e,t,n)=>{"use strict";var r="undefined"!==typeof Symbol&&Symbol,a=n(5419);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&a())))}},5419:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},8824:(e,t,n)=>{"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,o=n(8612);e.exports=o.call(r,a)},9755:function(e,t){var n,r;
|
|
2
2
|
/*!
|
|
3
3
|
* jQuery JavaScript Library v3.6.0
|
|
4
4
|
* https://jquery.com/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://jquery.org/license
|
|
12
12
|
*
|
|
13
13
|
* Date: 2021-03-02T17:08Z
|
|
14
|
-
*/(function(t,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)})("undefined"!==typeof window?window:this,(function(a,
|
|
14
|
+
*/(function(t,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)})("undefined"!==typeof window?window:this,(function(a,o){"use strict";var s=[],i=Object.getPrototypeOf,u=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},d=s.push,c=s.indexOf,m={},h=m.toString,f=m.hasOwnProperty,_=f.toString,p=_.call(Object),y={},g=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},M=function(e){return null!=e&&e===e.window},v=a.document,L={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){n=n||v;var r,a,o=n.createElement("script");if(o.text=e,t)for(r in L)a=t[r]||t.getAttribute&&t.getAttribute(r),a&&o.setAttribute(r,a);n.head.appendChild(o).parentNode.removeChild(o)}function k(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?m[h.call(e)]||"object":typeof e}var Y="3.6.0",b=function(e,t){return new b.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!g(e)&&!M(e)&&("array"===n||0===t||"number"===typeof t&&t>0&&t-1 in e)}b.fn=b.prototype={jquery:Y,constructor:b,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:s.sort,splice:s.splice},b.extend=b.fn.extend=function(){var e,t,n,r,a,o,s=arguments[0]||{},i=1,u=arguments.length,l=!1;for("boolean"===typeof s&&(l=s,s=arguments[i]||{},i++),"object"===typeof s||g(s)||(s={}),i===u&&(s=this,i--);i<u;i++)if(null!=(e=arguments[i]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(l&&r&&(b.isPlainObject(r)||(a=Array.isArray(r)))?(n=s[t],o=a&&!Array.isArray(n)?[]:a||b.isPlainObject(n)?n:{},a=!1,s[t]=b.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},b.extend({expando:"jQuery"+(Y+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e))&&(t=i(e),!t||(n=f.call(t,"constructor")&&t.constructor,"function"===typeof n&&_.call(n)===p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(D(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(D(Object(e))?b.merge(n,"string"===typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,a=e.length;r<n;r++)e[a++]=t[r];return e.length=a,e},grep:function(e,t,n){for(var r,a=[],o=0,s=e.length,i=!n;o<s;o++)r=!t(e[o],o),r!==i&&a.push(e[o]);return a},map:function(e,t,n){var r,a,o=0,s=[];if(D(e))for(r=e.length;o<r;o++)a=t(e[o],o,n),null!=a&&s.push(a);else for(o in e)a=t(e[o],o,n),null!=a&&s.push(a);return l(s)},guid:1,support:y}),"function"===typeof Symbol&&(b.fn[Symbol.iterator]=s[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){m["[object "+t+"]"]=t.toLowerCase()}));var T=
|
|
15
15
|
/*!
|
|
16
16
|
* Sizzle CSS Selector Engine v2.3.6
|
|
17
17
|
* https://sizzlejs.com/
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
*
|
|
23
23
|
* Date: 2021-02-16
|
|
24
24
|
*/
|
|
25
|
-
function(e){var t,n,r,a,s,i,o,u,l,d,c,m,h,f,_,p,y,g,M,v="sizzle"+1*new Date,L=e.document,w=0,Y=0,b=ue(),k=ue(),D=ue(),T=ue(),S=function(e,t){return e===t&&(c=!0),0},A={}.hasOwnProperty,x=[],C=x.pop,E=x.push,j=x.push,H=x.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+P+"*("+I+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+P+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),W=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),V=new RegExp("^"+P+"*,"+P+"*"),z=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),q=new RegExp(F),J=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=function(){m()},ie=ve((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{j.apply(x=H.call(L.childNodes),L.childNodes),x[L.childNodes.length].nodeType}catch(Te){j={apply:x.length?function(e,t){E.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,a){var s,o,l,d,c,f,y,g=t&&t.ownerDocument,L=t?t.nodeType:9;if(r=r||[],"string"!==typeof e||!e||1!==L&&9!==L&&11!==L)return r;if(!a&&(m(t),t=t||h,_)){if(11!==L&&(c=Q.exec(e)))if(s=c[1]){if(9===L){if(!(l=t.getElementById(s)))return r;if(l.id===s)return r.push(l),r}else if(g&&(l=g.getElementById(s))&&M(t,l)&&l.id===s)return r.push(l),r}else{if(c[2])return j.apply(r,t.getElementsByTagName(e)),r;if((s=c[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(r,t.getElementsByClassName(s)),r}if(n.qsa&&!T[e+" "]&&(!p||!p.test(e))&&(1!==L||"object"!==t.nodeName.toLowerCase())){if(y=e,g=t,1===L&&(U.test(e)||z.test(e))){g=ee.test(e)&&ye(t.parentNode)||t,g===t&&n.scope||((d=t.getAttribute("id"))?d=d.replace(re,ae):t.setAttribute("id",d=v)),f=i(e),o=f.length;while(o--)f[o]=(d?"#"+d:":scope")+" "+Me(f[o]);y=f.join(",")}try{return j.apply(r,g.querySelectorAll(y)),r}catch(w){T(e,!0)}finally{d===v&&t.removeAttribute("id")}}}return u(e.replace(W,"$1"),t,r,a)}function ue(){var e=[];function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}return t}function le(e){return e[v]=!0,e}function de(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Te){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){var n=e.split("|"),a=n.length;while(a--)r.attrHandle[n[a]]=t}function me(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function he(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function _e(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return le((function(t){return t=+t,le((function(n,r){var a,s=e([],n.length,t),i=s.length;while(i--)n[a=s[i]]&&(n[a]=!(r[a]=n[a]))}))}))}function ye(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in n=oe.support={},s=oe.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},m=oe.setDocument=function(e){var t,a,i=e?e.ownerDocument||e:L;return i!=h&&9===i.nodeType&&i.documentElement?(h=i,f=h.documentElement,_=!s(h),L!=h&&(a=h.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",se,!1):a.attachEvent&&a.attachEvent("onunload",se)),n.scope=de((function(e){return f.appendChild(e).appendChild(h.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=de((function(e){return f.appendChild(e).id=v,!h.getElementsByName||!h.getElementsByName(v).length})),n.getById?(r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&_){var n,r,a,s=t.getElementById(e);if(s){if(n=s.getAttributeNode("id"),n&&n.value===e)return[s];a=t.getElementsByName(e),r=0;while(s=a[r++])if(n=s.getAttributeNode("id"),n&&n.value===e)return[s]}return[]}}),r.find["TAG"]=n.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,s=t.getElementsByTagName(e);if("*"===e){while(n=s[a++])1===n.nodeType&&r.push(n);return r}return s},r.find["CLASS"]=n.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},y=[],p=[],(n.qsa=X.test(h.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+v+"'></a><select id='"+v+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),t=h.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll("\\\f"),p.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&p.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")}))),(n.matchesSelector=X.test(g=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),y.push("!=",F)})),p=p.length&&new RegExp(p.join("|")),y=y.length&&new RegExp(y.join("|")),t=X.test(f.compareDocumentPosition),M=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==L&&M(L,e)?-1:t==h||t.ownerDocument==L&&M(L,t)?1:d?O(d,e)-O(d,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,a=e.parentNode,s=t.parentNode,i=[e],o=[t];if(!a||!s)return e==h?-1:t==h?1:a?-1:s?1:d?O(d,e)-O(d,t):0;if(a===s)return me(e,t);n=e;while(n=n.parentNode)i.unshift(n);n=t;while(n=n.parentNode)o.unshift(n);while(i[r]===o[r])r++;return r?me(i[r],o[r]):i[r]==L?-1:o[r]==L?1:0},h):h},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if(m(e),n.matchesSelector&&_&&!T[t+" "]&&(!y||!y.test(t))&&(!p||!p.test(t)))try{var r=g.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Te){T(t,!0)}return oe(t,h,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!=h&&m(e),M(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!=h&&m(e);var a=r.attrHandle[t.toLowerCase()],s=a&&A.call(r.attrHandle,t.toLowerCase())?a(e,t,!_):void 0;return void 0!==s?s:n.attributes||!_?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},oe.escape=function(e){return(e+"").replace(re,ae)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],a=0,s=0;if(c=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(S),c){while(t=e[s++])t===e[s]&&(a=r.push(s));while(a--)e.splice(r[a],1)}return d=null,e},a=oe.getText=function(e){var t,n="",r=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===s||4===s)return e.nodeValue}else while(t=e[r++])n+=a(t);return n},r=oe.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G["CHILD"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=i(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&b(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=oe.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var s="nth"!==e.slice(0,3),i="last"!==e.slice(-4),o="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,u){var l,d,c,m,h,f,_=s!==i?"nextSibling":"previousSibling",p=t.parentNode,y=o&&t.nodeName.toLowerCase(),g=!u&&!o,M=!1;if(p){if(s){while(_){m=t;while(m=m[_])if(o?m.nodeName.toLowerCase()===y:1===m.nodeType)return!1;f=_="only"===e&&!f&&"nextSibling"}return!0}if(f=[i?p.firstChild:p.lastChild],i&&g){m=p,c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),l=d[e]||[],h=l[0]===w&&l[1],M=h&&l[2],m=h&&p.childNodes[h];while(m=++h&&m&&m[_]||(M=h=0)||f.pop())if(1===m.nodeType&&++M&&m===t){d[e]=[w,h,M];break}}else if(g&&(m=t,c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),l=d[e]||[],h=l[0]===w&&l[1],M=h),!1===M)while(m=++h&&m&&m[_]||(M=h=0)||f.pop())if((o?m.nodeName.toLowerCase()===y:1===m.nodeType)&&++M&&(g&&(c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),d[e]=[w,M]),m===t))break;return M-=a,M===r||M%r===0&&M/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return a[v]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){var r,s=a(e,t),i=s.length;while(i--)r=O(e,s[i]),e[r]=!(n[r]=s[i])})):function(e){return a(e,0,n)}):a}},pseudos:{not:le((function(e){var t=[],n=[],r=o(e.replace(W,"$1"));return r[v]?le((function(e,t,n,a){var s,i=r(e,null,a,[]),o=e.length;while(o--)(s=i[o])&&(e[o]=!(t[o]=s))})):function(e,a,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return oe(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:le((function(e){return J.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=_?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:_e(!1),disabled:_e(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos["empty"](e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe((function(){return[0]})),last:pe((function(e,t){return[t-1]})),eq:pe((function(e,t,n){return[n<0?n+t:n]})),even:pe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:pe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:pe((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:pe((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos["nth"]=r.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function ge(){}function Me(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,a=t.next,s=a||r,i=n&&"parentNode"===s,o=Y++;return t.first?function(t,n,a){while(t=t[r])if(1===t.nodeType||i)return e(t,n,a);return!1}:function(t,n,u){var l,d,c,m=[w,o];if(u){while(t=t[r])if((1===t.nodeType||i)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||i)if(c=t[v]||(t[v]={}),d=c[t.uniqueID]||(c[t.uniqueID]={}),a&&a===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=d[s])&&l[0]===w&&l[1]===o)return m[2]=l[2];if(d[s]=m,m[2]=e(t,n,u))return!0}return!1}}function Le(e){return e.length>1?function(t,n,r){var a=e.length;while(a--)if(!e[a](t,n,r))return!1;return!0}:e[0]}function we(e,t,n){for(var r=0,a=t.length;r<a;r++)oe(e,t[r],n);return n}function Ye(e,t,n,r,a){for(var s,i=[],o=0,u=e.length,l=null!=t;o<u;o++)(s=e[o])&&(n&&!n(s,r,a)||(i.push(s),l&&t.push(o)));return i}function be(e,t,n,r,a,s){return r&&!r[v]&&(r=be(r)),a&&!a[v]&&(a=be(a,s)),le((function(s,i,o,u){var l,d,c,m=[],h=[],f=i.length,_=s||we(t||"*",o.nodeType?[o]:o,[]),p=!e||!s&&t?_:Ye(_,m,e,o,u),y=n?a||(s?e:f||r)?[]:i:p;if(n&&n(p,y,o,u),r){l=Ye(y,h),r(l,[],o,u),d=l.length;while(d--)(c=l[d])&&(y[h[d]]=!(p[h[d]]=c))}if(s){if(a||e){if(a){l=[],d=y.length;while(d--)(c=y[d])&&l.push(p[d]=c);a(null,y=[],l,u)}d=y.length;while(d--)(c=y[d])&&(l=a?O(s,c):m[d])>-1&&(s[l]=!(i[l]=c))}}else y=Ye(y===i?y.splice(f,y.length):y),a?a(null,i,y,u):j.apply(i,y)}))}function ke(e){for(var t,n,a,s=e.length,i=r.relative[e[0].type],o=i||r.relative[" "],u=i?1:0,d=ve((function(e){return e===t}),o,!0),c=ve((function(e){return O(t,e)>-1}),o,!0),m=[function(e,n,r){var a=!i&&(r||n!==l)||((t=n).nodeType?d(e,n,r):c(e,n,r));return t=null,a}];u<s;u++)if(n=r.relative[e[u].type])m=[ve(Le(m),n)];else{if(n=r.filter[e[u].type].apply(null,e[u].matches),n[v]){for(a=++u;a<s;a++)if(r.relative[e[a].type])break;return be(u>1&&Le(m),u>1&&Me(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(W,"$1"),n,u<a&&ke(e.slice(u,a)),a<s&&ke(e=e.slice(a)),a<s&&Me(e))}m.push(n)}return Le(m)}function De(e,t){var n=t.length>0,a=e.length>0,s=function(s,i,o,u,d){var c,f,p,y=0,g="0",M=s&&[],v=[],L=l,Y=s||a&&r.find["TAG"]("*",d),b=w+=null==L?1:Math.random()||.1,k=Y.length;for(d&&(l=i==h||i||d);g!==k&&null!=(c=Y[g]);g++){if(a&&c){f=0,i||c.ownerDocument==h||(m(c),o=!_);while(p=e[f++])if(p(c,i||h,o)){u.push(c);break}d&&(w=b)}n&&((c=!p&&c)&&y--,s&&M.push(c))}if(y+=g,n&&g!==y){f=0;while(p=t[f++])p(M,v,i,o);if(s){if(y>0)while(g--)M[g]||v[g]||(v[g]=C.call(u));v=Ye(v)}j.apply(u,v),d&&!s&&v.length>0&&y+t.length>1&&oe.uniqueSort(u)}return d&&(w=b,l=L),M};return n?le(s):s}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,i=oe.tokenize=function(e,t){var n,a,s,i,o,u,l,d=k[e+" "];if(d)return t?0:d.slice(0);o=e,u=[],l=r.preFilter;while(o){for(i in n&&!(a=V.exec(o))||(a&&(o=o.slice(a[0].length)||o),u.push(s=[])),n=!1,(a=z.exec(o))&&(n=a.shift(),s.push({value:n,type:a[0].replace(W," ")}),o=o.slice(n.length)),r.filter)!(a=G[i].exec(o))||l[i]&&!(a=l[i](a))||(n=a.shift(),s.push({value:n,type:i,matches:a}),o=o.slice(n.length));if(!n)break}return t?o.length:o?oe.error(e):k(e,u).slice(0)},o=oe.compile=function(e,t){var n,r=[],a=[],s=D[e+" "];if(!s){t||(t=i(e)),n=t.length;while(n--)s=ke(t[n]),s[v]?r.push(s):a.push(s);s=D(e,De(a,r)),s.selector=e}return s},u=oe.select=function(e,t,n,a){var s,u,l,d,c,m="function"===typeof e&&e,h=!a&&i(e=m.selector||e);if(n=n||[],1===h.length){if(u=h[0]=h[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&_&&r.relative[u[1].type]){if(t=(r.find["ID"](l.matches[0].replace(te,ne),t)||[])[0],!t)return n;m&&(t=t.parentNode),e=e.slice(u.shift().value.length)}s=G["needsContext"].test(e)?0:u.length;while(s--){if(l=u[s],r.relative[d=l.type])break;if((c=r.find[d])&&(a=c(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(s,1),e=a.length&&Me(u),!e)return j.apply(n,a),n;break}}}return(m||o(e,h))(a,t,!_,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=!!c,m(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||ce(N,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),oe}(a);k.find=T,k.expr=T.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=T.uniqueSort,k.text=T.getText,k.isXMLDoc=T.isXML,k.contains=T.contains,k.escapeSelector=T.escape;var S=function(e,t,n){var r=[],a=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(a&&k(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=k.expr.match.needsContext;function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?k.grep(e,(function(e){return c.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!==typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<r;t++)if(k.contains(a[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,a[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"===typeof e&&x.test(e)?k(e):e||[],!1).length}});var H,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,N=k.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||H,"string"===typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),E.test(r[1])&&k.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return a=v.getElementById(r[2]),a&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)};N.prototype=k.fn,H=k(v);var P=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,a=this.length,s=[],i="string"!==typeof e&&k(e);if(!x.test(e))for(;r<a;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(i?i.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?k.uniqueSort(s):s)},index:function(e){return e?"string"===typeof e?c.call(k(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var a=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(a=k.filter(r,a)),this.length>1&&(I[e]||k.uniqueSort(a),P.test(e)&&a.reverse()),this.pushStack(a)}}));var F=/[^\x20\t\r\n\f]+/g;function B(e){var t={};return k.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}function W(e){return e}function V(e){throw e}function z(e,t,n,r){var a;try{e&&g(a=e.promise)?a.call(e).done(t).fail(n):e&&g(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"===typeof e?B(e):k.extend({},e);var t,n,r,a,s=[],i=[],o=-1,u=function(){for(a=a||e.once,r=t=!0;i.length;o=-1){n=i.shift();while(++o<s.length)!1===s[o].apply(n[0],n[1])&&e.stopOnFalse&&(o=s.length,n=!1)}e.memory||(n=!1),t=!1,a&&(s=n?[]:"")},l={add:function(){return s&&(n&&!t&&(o=s.length-1,i.push(n)),function t(n){k.each(n,(function(n,r){g(r)?e.unique&&l.has(r)||s.push(r):r&&r.length&&"string"!==Y(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return k.each(arguments,(function(e,t){var n;while((n=k.inArray(t,s,n))>-1)s.splice(n,1),n<=o&&o--})),this},has:function(e){return e?k.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return a=i=[],s=n="",this},disabled:function(){return!s},lock:function(){return a=i=[],n||t||(s=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=n||[],n=[e,n.slice?n.slice():n],i.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var a=g(e[r[4]])&&e[r[4]];s[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){var s=0;function i(e,t,n,r){return function(){var o=this,u=arguments,l=function(){var a,l;if(!(e<s)){if(a=n.apply(o,u),a===t.promise())throw new TypeError("Thenable self-resolution");l=a&&("object"===typeof a||"function"===typeof a)&&a.then,g(l)?r?l.call(a,i(s,t,W,r),i(s,t,V,r)):(s++,l.call(a,i(s,t,W,r),i(s,t,V,r),i(s,t,W,t.notifyWith))):(n!==W&&(o=void 0,u=[a]),(r||t.resolveWith)(o,u))}},d=r?l:function(){try{l()}catch(r){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(r,d.stackTrace),e+1>=s&&(n!==V&&(o=void 0,u=[r]),t.rejectWith(o,u))}};e?d():(k.Deferred.getStackHook&&(d.stackTrace=k.Deferred.getStackHook()),a.setTimeout(d))}}return k.Deferred((function(a){t[0][3].add(i(0,a,g(r)?r:W,a.notifyWith)),t[1][3].add(i(0,a,g(e)?e:W)),t[2][3].add(i(0,a,g(n)?n:V))})).promise()},promise:function(e){return null!=e?k.extend(e,r):r}},s={};return k.each(t,(function(e,a){var i=a[2],o=a[5];r[a[1]]=i.add,o&&i.add((function(){n=o}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(a[3].fire),s[a[0]]=function(){return s[a[0]+"With"](this===s?void 0:this,arguments),this},s[a[0]+"With"]=i.fireWith})),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,r=Array(n),a=u.call(arguments),s=k.Deferred(),i=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?u.call(arguments):n,--t||s.resolveWith(r,a)}};if(t<=1&&(z(e,s.done(i(n)).resolve,s.reject,!t),"pending"===s.state()||g(a[n]&&a[n].then)))return s.then();while(n--)z(a[n],i(n),s.reject);return s.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){a.console&&a.console.warn&&e&&U.test(e.name)&&a.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){a.setTimeout((function(){throw e}))};var q=k.Deferred();function J(){v.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),k.ready()}k.fn.ready=function(e){return q.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||q.resolveWith(v,[k]))}}),k.ready.then=q.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?a.setTimeout(k.ready):(v.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J));var G=function(e,t,n,r,a,s,i){var o=0,u=e.length,l=null==n;if("object"===Y(n))for(o in a=!0,n)G(e,t,o,n[o],!0,s,i);else if(void 0!==r&&(a=!0,g(r)||(i=!0),l&&(i?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(k(e),n)})),t))for(;o<u;o++)t(e[o],n,i?r:r.call(e[o],o,t(e[o],n)));return a?e:l?t.call(e):u?t(e[0],n):s},$=/^-ms-/,K=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function X(e){return e.replace($,"ms-").replace(K,Z)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=k.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,a=this.cache(e);if("string"===typeof t)a[X(t)]=n;else for(r in t)a[X(r)]=t[r];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(X):(t=X(t),t=t in r?[t]:t.match(F)||[]),n=t.length;while(n--)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var te=new ee,ne=new ee,re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function se(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:re.test(e)?JSON.parse(e):e)}function ie(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ae,"-$&").toLowerCase(),n=e.getAttribute(r),"string"===typeof n){try{n=se(n)}catch(a){}ne.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,r,a,s=this[0],i=s&&s.attributes;if(void 0===e){if(this.length&&(a=ne.get(s),1===s.nodeType&&!te.get(s,"hasDataAttrs"))){n=i.length;while(n--)i[n]&&(r=i[n].name,0===r.indexOf("data-")&&(r=X(r.slice(5)),ie(s,r,a[r])));te.set(s,"hasDataAttrs",!0)}return a}return"object"===typeof e?this.each((function(){ne.set(this,e)})):G(this,(function(t){var n;if(s&&void 0===t)return n=ne.get(s,e),void 0!==n?n:(n=ie(s,e),void 0!==n?n:void 0);this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=te.get(e,t),n&&(!r||Array.isArray(n)?r=te.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,a=n.shift(),s=k._queueHooks(e,t),i=function(){k.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete s.stop,a.call(e,i,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return te.get(e,n)||te.access(e,n,{empty:k.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,a=k.Deferred(),s=this,i=this.length,o=function(){--r||a.resolveWith(s,[s])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(i--)n=te.get(s[i],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(o));return o(),a.promise(t)}});var oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ue=new RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),le=["Top","Right","Bottom","Left"],de=v.documentElement,ce=function(e){return k.contains(e.ownerDocument,e)},me={composed:!0};de.getRootNode&&(ce=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(me)===e.ownerDocument});var he=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&ce(e)&&"none"===k.css(e,"display")};function fe(e,t,n,r){var a,s,i=20,o=r?function(){return r.cur()}:function(){return k.css(e,t,"")},u=o(),l=n&&n[3]||(k.cssNumber[t]?"":"px"),d=e.nodeType&&(k.cssNumber[t]||"px"!==l&&+u)&&ue.exec(k.css(e,t));if(d&&d[3]!==l){u/=2,l=l||d[3],d=+u||1;while(i--)k.style(e,t,d+l),(1-s)*(1-(s=o()/u||.5))<=0&&(i=0),d/=s;d*=2,k.style(e,t,d+l),n=n||[]}return n&&(d=+d||+u||0,a=n[1]?d+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=d,r.end=a)),a}var _e={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,a=_e[r];return a||(t=n.body.appendChild(n.createElement(r)),a=k.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),_e[r]=a,a)}function ye(e,t){for(var n,r,a=[],s=0,i=e.length;s<i;s++)r=e[s],r.style&&(n=r.style.display,t?("none"===n&&(a[s]=te.get(r,"display")||null,a[s]||(r.style.display="")),""===r.style.display&&he(r)&&(a[s]=pe(r))):"none"!==n&&(a[s]="none",te.set(r,"display",n)));for(s=0;s<i;s++)null!=a[s]&&(e[s].style.display=a[s]);return e}k.fn.extend({show:function(){return ye(this,!0)},hide:function(){return ye(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){he(this)?k(this).show():k(this).hide()}))}});var ge=/^(?:checkbox|radio)$/i,Me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=v.createDocumentFragment(),t=e.appendChild(v.createElement("div")),n=v.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),y.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",y.option=!!t.lastChild})();var Le={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?k.merge([e],n):n}function Ye(e,t){for(var n=0,r=e.length;n<r;n++)te.set(e[n],"globalEval",!t||te.get(t[n],"globalEval"))}Le.tbody=Le.tfoot=Le.colgroup=Le.caption=Le.thead,Le.th=Le.td,y.option||(Le.optgroup=Le.option=[1,"<select multiple='multiple'>","</select>"]);var be=/<|&#?\w+;/;function ke(e,t,n,r,a){for(var s,i,o,u,l,d,c=t.createDocumentFragment(),m=[],h=0,f=e.length;h<f;h++)if(s=e[h],s||0===s)if("object"===Y(s))k.merge(m,s.nodeType?[s]:s);else if(be.test(s)){i=i||c.appendChild(t.createElement("div")),o=(Me.exec(s)||["",""])[1].toLowerCase(),u=Le[o]||Le._default,i.innerHTML=u[1]+k.htmlPrefilter(s)+u[2],d=u[0];while(d--)i=i.lastChild;k.merge(m,i.childNodes),i=c.firstChild,i.textContent=""}else m.push(t.createTextNode(s));c.textContent="",h=0;while(s=m[h++])if(r&&k.inArray(s,r)>-1)a&&a.push(s);else if(l=ce(s),i=we(c.appendChild(s),"script"),l&&Ye(i),n){d=0;while(s=i[d++])ve.test(s.type||"")&&n.push(s)}return c}var De=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Se(){return!1}function Ae(e,t){return e===xe()===("focus"===t)}function xe(){try{return v.activeElement}catch(e){}}function Ce(e,t,n,r,a,s){var i,o;if("object"===typeof t){for(o in"string"!==typeof n&&(r=r||n,n=void 0),t)Ce(e,o,n,r,t[o],s);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"===typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Se;else if(!a)return e;return 1===s&&(i=a,a=function(e){return k().off(e),i.apply(this,arguments)},a.guid=i.guid||(i.guid=k.guid++)),e.each((function(){k.event.add(this,t,a,r,n)}))}function Ee(e,t,n){n?(te.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,a,s=te.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=u.call(arguments),te.set(this,t,s),r=n(this,t),this[t](),a=te.get(this,t),s!==a||r?te.set(this,t,!1):a={},s!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else s.length&&(te.set(this,t,{value:k.event.trigger(k.extend(s[0],k.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&k.event.add(e,t,Te)}k.event={global:{},add:function(e,t,n,r,a){var s,i,o,u,l,d,c,m,h,f,_,p=te.get(e);if(Q(e)){n.handler&&(s=n,n=s.handler,a=s.selector),a&&k.find.matchesSelector(de,a),n.guid||(n.guid=k.guid++),(u=p.events)||(u=p.events=Object.create(null)),(i=p.handle)||(i=p.handle=function(t){return"undefined"!==typeof k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(F)||[""],l=t.length;while(l--)o=De.exec(t[l])||[],h=_=o[1],f=(o[2]||"").split(".").sort(),h&&(c=k.event.special[h]||{},h=(a?c.delegateType:c.bindType)||h,c=k.event.special[h]||{},d=k.extend({type:h,origType:_,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&k.expr.match.needsContext.test(a),namespace:f.join(".")},s),(m=u[h])||(m=u[h]=[],m.delegateCount=0,c.setup&&!1!==c.setup.call(e,r,f,i)||e.addEventListener&&e.addEventListener(h,i)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?m.splice(m.delegateCount++,0,d):m.push(d),k.event.global[h]=!0)}},remove:function(e,t,n,r,a){var s,i,o,u,l,d,c,m,h,f,_,p=te.hasData(e)&&te.get(e);if(p&&(u=p.events)){t=(t||"").match(F)||[""],l=t.length;while(l--)if(o=De.exec(t[l])||[],h=_=o[1],f=(o[2]||"").split(".").sort(),h){c=k.event.special[h]||{},h=(r?c.delegateType:c.bindType)||h,m=u[h]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=s=m.length;while(s--)d=m[s],!a&&_!==d.origType||n&&n.guid!==d.guid||o&&!o.test(d.namespace)||r&&r!==d.selector&&("**"!==r||!d.selector)||(m.splice(s,1),d.selector&&m.delegateCount--,c.remove&&c.remove.call(e,d));i&&!m.length&&(c.teardown&&!1!==c.teardown.call(e,f,p.handle)||k.removeEvent(e,h,p.handle),delete u[h])}else for(h in u)k.event.remove(e,h+t[l],n,r,!0);k.isEmptyObject(u)&&te.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,s,i,o=new Array(arguments.length),u=k.event.fix(e),l=(te.get(this,"events")||Object.create(null))[u.type]||[],d=k.event.special[u.type]||{};for(o[0]=u,t=1;t<arguments.length;t++)o[t]=arguments[t];if(u.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,u)){i=k.event.handlers.call(this,u,l),t=0;while((a=i[t++])&&!u.isPropagationStopped()){u.currentTarget=a.elem,n=0;while((s=a.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==s.namespace&&!u.rnamespace.test(s.namespace)||(u.handleObj=s,u.data=s.data,r=((k.event.special[s.origType]||{}).handle||s.handler).apply(a.elem,o),void 0!==r&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return d.postDispatch&&d.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,a,s,i,o=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(s=[],i={},n=0;n<u;n++)r=t[n],a=r.selector+" ",void 0===i[a]&&(i[a]=r.needsContext?k(a,this).index(l)>-1:k.find(a,this,null,[l]).length),i[a]&&s.push(r);s.length&&o.push({elem:l,handlers:s})}return l=this,u<t.length&&o.push({elem:l,handlers:t.slice(u)}),o},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&C(t,"input")&&Ee(t,"click",Te),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&C(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&C(t,"input")&&te.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return Ee(this,e,Ae),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,a=e.relatedTarget,s=e.handleObj;return a&&(a===r||k.contains(r,a))||(e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each((function(){k.event.remove(this,e,n,t)}))}});var je=/<script|<style|<link/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,a,s,i,o,u;if(1===t.nodeType){if(te.hasData(e)&&(s=te.get(e),u=s.events,u))for(a in te.remove(t,"handle events"),u)for(n=0,r=u[a].length;n<r;n++)k.event.add(t,a,u[a][n]);ne.hasData(e)&&(i=ne.access(e),o=k.extend({},i),ne.set(t,o))}}function Fe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,r){t=l(t);var a,s,i,o,u,d,c=0,m=e.length,h=m-1,f=t[0],_=g(f);if(_||m>1&&"string"===typeof f&&!y.checkClone&&He.test(f))return e.each((function(a){var s=e.eq(a);_&&(t[0]=f.call(this,a,s.html())),Be(s,t,n,r)}));if(m&&(a=ke(t,e[0].ownerDocument,!1,e,r),s=a.firstChild,1===a.childNodes.length&&(a=s),s||r)){for(i=k.map(we(a,"script"),Pe),o=i.length;c<m;c++)u=a,c!==h&&(u=k.clone(u,!0,!0),o&&k.merge(i,we(u,"script"))),n.call(e[c],u,c);if(o)for(d=i[i.length-1].ownerDocument,k.map(i,Ie),c=0;c<o;c++)u=i[c],ve.test(u.type||"")&&!te.access(u,"globalEval")&&k.contains(d,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?k._evalUrl&&!u.noModule&&k._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},d):w(u.textContent.replace(Oe,""),u,d))}return e}function We(e,t,n){for(var r,a=t?k.filter(t,e):e,s=0;null!=(r=a[s]);s++)n||1!==r.nodeType||k.cleanData(we(r)),r.parentNode&&(n&&ce(r)&&Ye(we(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,a,s,i,o=e.cloneNode(!0),u=ce(e);if(!y.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!k.isXMLDoc(e))for(i=we(o),s=we(e),r=0,a=s.length;r<a;r++)Fe(s[r],i[r]);if(t)if(n)for(s=s||we(e),i=i||we(o),r=0,a=s.length;r<a;r++)Re(s[r],i[r]);else Re(e,o);return i=we(o,"script"),i.length>0&&Ye(i,!u&&we(e,"script")),o},cleanData:function(e){for(var t,n,r,a=k.event.special,s=0;void 0!==(n=e[s]);s++)if(Q(n)){if(t=n[te.expando]){if(t.events)for(r in t.events)a[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[te.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),k.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return G(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.appendChild(e)}}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!je.test(e)&&!Le[(Me.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(k.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(we(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,r=[],a=k(e),s=a.length-1,i=0;i<=s;i++)n=i===s?this:this.clone(!0),k(a[i])[t](n),d.apply(r,n.get());return this.pushStack(r)}}));var Ve=new RegExp("^("+oe+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=a),t.getComputedStyle(e)},Ue=function(e,t,n){var r,a,s={};for(a in t)s[a]=e.style[a],e.style[a]=t[a];for(a in r=n.call(e),t)e.style[a]=s[a];return r},qe=new RegExp(le.join("|"),"i");function Je(e,t,n){var r,a,s,i,o=e.style;return n=n||ze(e),n&&(i=n.getPropertyValue(t)||n[t],""!==i||ce(e)||(i=k.style(e,t)),!y.pixelBoxStyles()&&Ve.test(i)&&qe.test(t)&&(r=o.width,a=o.minWidth,s=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=r,o.minWidth=a,o.maxWidth=s)),void 0!==i?i+"":i}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(d){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",de.appendChild(l).appendChild(d);var e=a.getComputedStyle(d);n="1%"!==e.top,u=12===t(e.marginLeft),d.style.right="60%",i=36===t(e.right),r=36===t(e.width),d.style.position="absolute",s=12===t(d.offsetWidth/3),de.removeChild(l),d=null}}function t(e){return Math.round(parseFloat(e))}var n,r,s,i,o,u,l=v.createElement("div"),d=v.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===d.style.backgroundClip,k.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),i},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,n,r;return null==o&&(e=v.createElement("table"),t=v.createElement("tr"),n=v.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",de.appendChild(e).appendChild(t).appendChild(n),r=a.getComputedStyle(t),o=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,de.removeChild(e)),o}}))})();var $e=["Webkit","Moz","ms"],Ke=v.createElement("div").style,Ze={};function Xe(e){var t=e[0].toUpperCase()+e.slice(1),n=$e.length;while(n--)if(e=$e[n]+t,e in Ke)return e}function Qe(e){var t=k.cssProps[e]||Ze[e];return t||(e in Ke?e:Ze[e]=Xe(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function at(e,t,n){var r=ue.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function st(e,t,n,r,a,s){var i="width"===t?1:0,o=0,u=0;if(n===(r?"border":"content"))return 0;for(;i<4;i+=2)"margin"===n&&(u+=k.css(e,n+le[i],!0,a)),r?("content"===n&&(u-=k.css(e,"padding"+le[i],!0,a)),"margin"!==n&&(u-=k.css(e,"border"+le[i]+"Width",!0,a))):(u+=k.css(e,"padding"+le[i],!0,a),"padding"!==n?u+=k.css(e,"border"+le[i]+"Width",!0,a):o+=k.css(e,"border"+le[i]+"Width",!0,a));return!r&&s>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-u-o-.5))||0),u}function it(e,t,n){var r=ze(e),a=!y.boxSizingReliable()||n,s=a&&"border-box"===k.css(e,"boxSizing",!1,r),i=s,o=Je(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(o)){if(!n)return o;o="auto"}return(!y.boxSizingReliable()&&s||!y.reliableTrDimensions()&&C(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(s="border-box"===k.css(e,"boxSizing",!1,r),i=u in e,i&&(o=e[u])),o=parseFloat(o)||0,o+st(e,t,n||(s?"border":"content"),i,r,o)+"px"}function ot(e,t,n,r,a){return new ot.prototype.init(e,t,n,r,a)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,s,i,o=X(t),u=tt.test(t),l=e.style;if(u||(t=Qe(o)),i=k.cssHooks[t]||k.cssHooks[o],void 0===n)return i&&"get"in i&&void 0!==(a=i.get(e,!1,r))?a:l[t];s=typeof n,"string"===s&&(a=ue.exec(n))&&a[1]&&(n=fe(e,t,a),s="number"),null!=n&&n===n&&("number"!==s||u||(n+=a&&a[3]||(k.cssNumber[o]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var a,s,i,o=X(t),u=tt.test(t);return u||(t=Qe(o)),i=k.cssHooks[t]||k.cssHooks[o],i&&"get"in i&&(a=i.get(e,!0,n)),void 0===a&&(a=Je(e,t,r)),"normal"===a&&t in rt&&(a=rt[t]),""===n||n?(s=parseFloat(a),!0===n||isFinite(s)?s||0:a):a}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!et.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,r):Ue(e,nt,(function(){return it(e,t,r)}))},set:function(e,n,r){var a,s=ze(e),i=!y.scrollboxSize()&&"absolute"===s.position,o=i||r,u=o&&"border-box"===k.css(e,"boxSizing",!1,s),l=r?st(e,t,r,u,s):0;return u&&i&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-st(e,t,"border",!1,s)-.5)),l&&(a=ue.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),at(e,n,l)}}})),k.cssHooks.marginLeft=Ge(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,a={},s="string"===typeof n?n.split(" "):[n];r<4;r++)a[e+le[r]+t]=s[r]||s[r-2]||s[0];return a}},"margin"!==e&&(k.cssHooks[e+t].set=at)})),k.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var r,a,s={},i=0;if(Array.isArray(t)){for(r=ze(e),a=t.length;i<a;i++)s[t[i]]=k.css(e,t[i],!1,r);return s}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,a,s){this.elem=e,this.prop=n,this.easing=a||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(k.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=ot.prototype.init,k.fx.step={};var ut,lt,dt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function mt(){lt&&(!1===v.hidden&&a.requestAnimationFrame?a.requestAnimationFrame(mt):a.setTimeout(mt,k.fx.interval),k.fx.tick())}function ht(){return a.setTimeout((function(){ut=void 0})),ut=Date.now()}function ft(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)n=le[r],a["margin"+n]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function _t(e,t,n){for(var r,a=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),s=0,i=a.length;s<i;s++)if(r=a[s].call(n,t,e))return r}function pt(e,t,n){var r,a,s,i,o,u,l,d,c="width"in t||"height"in t,m=this,h={},f=e.style,_=e.nodeType&&he(e),p=te.get(e,"fxshow");for(r in n.queue||(i=k._queueHooks(e,"fx"),null==i.unqueued&&(i.unqueued=0,o=i.empty.fire,i.empty.fire=function(){i.unqueued||o()}),i.unqueued++,m.always((function(){m.always((function(){i.unqueued--,k.queue(e,"fx").length||i.empty.fire()}))}))),t)if(a=t[r],dt.test(a)){if(delete t[r],s=s||"toggle"===a,a===(_?"hide":"show")){if("show"!==a||!p||void 0===p[r])continue;_=!0}h[r]=p&&p[r]||k.style(e,r)}if(u=!k.isEmptyObject(t),u||!k.isEmptyObject(h))for(r in c&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],l=p&&p.display,null==l&&(l=te.get(e,"display")),d=k.css(e,"display"),"none"===d&&(l?d=l:(ye([e],!0),l=e.style.display||l,d=k.css(e,"display"),ye([e]))),("inline"===d||"inline-block"===d&&null!=l)&&"none"===k.css(e,"float")&&(u||(m.done((function(){f.display=l})),null==l&&(d=f.display,l="none"===d?"":d)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",m.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),u=!1,h)u||(p?"hidden"in p&&(_=p.hidden):p=te.access(e,"fxshow",{display:l}),s&&(p.hidden=!_),_&&ye([e],!0),m.done((function(){for(r in _||ye([e]),te.remove(e,"fxshow"),h)k.style(e,r,h[r])}))),u=_t(_?p[r]:0,r,m),r in p||(p[r]=u.start,_&&(u.end=u.start,u.start=0))}function yt(e,t){var n,r,a,s,i;for(n in e)if(r=X(n),a=t[r],s=e[n],Array.isArray(s)&&(a=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),i=k.cssHooks[r],i&&"expand"in i)for(n in s=i.expand(s),delete e[r],s)n in e||(e[n]=s[n],t[n]=a);else t[r]=a}function gt(e,t,n){var r,a,s=0,i=gt.prefilters.length,o=k.Deferred().always((function(){delete u.elem})),u=function(){if(a)return!1;for(var t=ut||ht(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,s=1-r,i=0,u=l.tweens.length;i<u;i++)l.tweens[i].run(s);return o.notifyWith(e,[l,s,n]),s<1&&u?n:(u||o.notifyWith(e,[l,1,0]),o.resolveWith(e,[l]),!1)},l=o.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(a)return this;for(a=!0;n<r;n++)l.tweens[n].run(1);return t?(o.notifyWith(e,[l,1,0]),o.resolveWith(e,[l,t])):o.rejectWith(e,[l,t]),this}}),d=l.props;for(yt(d,l.opts.specialEasing);s<i;s++)if(r=gt.prefilters[s].call(l,e,d,l.opts),r)return g(r.stop)&&(k._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return k.map(d,_t,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),k.fx.timer(k.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}k.Animation=k.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return fe(n.elem,e,ue.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(F);for(var n,r=0,a=e.length;r<a;r++)n=e[r],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[pt],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"===typeof e?k.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return k.fx.off?r.duration=0:"number"!==typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(he).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var a=k.isEmptyObject(e),s=k.speed(t,n,r),i=function(){var t=gt(this,k.extend({},e),s);(a||te.get(this,"finish"))&&t.stop(!0)};return i.finish=i,a||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,a=null!=e&&e+"queueHooks",s=k.timers,i=te.get(this);if(a)i[a]&&i[a].stop&&r(i[a]);else for(a in i)i[a]&&i[a].stop&&ct.test(a)&&r(i[a]);for(a=s.length;a--;)s[a].elem!==this||null!=e&&s[a].queue!==e||(s[a].anim.stop(n),t=!1,s.splice(a,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=te.get(this),r=n[e+"queue"],a=n[e+"queueHooks"],s=k.timers,i=r?r.length:0;for(n.finish=!0,k.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<i;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,a){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,a)}})),k.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(ut=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),ut=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){lt||(lt=!0,mt())},k.fx.stop=function(){lt=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=a.setTimeout(t,e);n.stop=function(){a.clearTimeout(r)}}))},function(){var e=v.createElement("input"),t=v.createElement("select"),n=t.appendChild(v.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=n.selected,e=v.createElement("input"),e.value="t",e.type="radio",y.radioValue="t"===e.value}();var Mt,vt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return G(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,a,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return"undefined"===typeof e.getAttribute?k.prop(e,t,n):(1===s&&k.isXMLDoc(e)||(a=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?Mt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:(r=k.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(F);if(a&&1===e.nodeType)while(n=a[r++])e.removeAttribute(n)}}),Mt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=vt[t]||k.find.attr;vt[t]=function(e,t,r){var a,s,i=t.toLowerCase();return r||(s=vt[i],vt[i]=a,a=null!=n(e,t,r)?i:null,vt[i]=s),a}}));var Lt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Yt(e){var t=e.match(F)||[];return t.join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(F)||[]}k.fn.extend({prop:function(e,t){return G(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,a,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&k.isXMLDoc(e)||(t=k.propFix[t]||t,a=k.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,a,s,i,o,u=0;if(g(e))return this.each((function(t){k(this).addClass(e.call(this,t,bt(this)))}));if(t=kt(e),t.length)while(n=this[u++])if(a=bt(n),r=1===n.nodeType&&" "+Yt(a)+" ",r){i=0;while(s=t[i++])r.indexOf(" "+s+" ")<0&&(r+=s+" ");o=Yt(r),a!==o&&n.setAttribute("class",o)}return this},removeClass:function(e){var t,n,r,a,s,i,o,u=0;if(g(e))return this.each((function(t){k(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if(t=kt(e),t.length)while(n=this[u++])if(a=bt(n),r=1===n.nodeType&&" "+Yt(a)+" ",r){i=0;while(s=t[i++])while(r.indexOf(" "+s+" ")>-1)r=r.replace(" "+s+" "," ");o=Yt(r),a!==o&&n.setAttribute("class",o)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"===typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,a,s,i;if(r){a=0,s=k(this),i=kt(e);while(t=i[a++])s.hasClass(t)?s.removeClass(t):s.addClass(t)}else void 0!==e&&"boolean"!==n||(t=bt(this),t&&te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+Yt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Dt=/\r/g;k.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=g(e),this.each((function(n){var a;1===this.nodeType&&(a=r?e.call(this,n,k(this).val()):e,null==a?a="":"number"===typeof a?a+="":Array.isArray(a)&&(a=k.map(a,(function(e){return null==e?"":e+""}))),t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=k.valHooks[a.type]||k.valHooks[a.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:(n=a.value,"string"===typeof n?n.replace(Dt,""):null==n?"":n)):void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:Yt(k.text(e))}},select:{get:function(e){var t,n,r,a=e.options,s=e.selectedIndex,i="select-one"===e.type,o=i?null:[],u=i?s+1:a.length;for(r=s<0?u:i?s:0;r<u;r++)if(n=a[r],(n.selected||r===s)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=k(n).val(),i)return t;o.push(t)}return o},set:function(e,t){var n,r,a=e.options,s=k.makeArray(t),i=a.length;while(i--)r=a[i],(r.selected=k.inArray(k.valHooks.option.get(r),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},y.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in a;var Tt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,r){var s,i,o,u,l,d,c,m,h=[n||v],_=f.call(e,"type")?e.type:e,p=f.call(e,"namespace")?e.namespace.split("."):[];if(i=m=o=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(_+k.event.triggered)&&(_.indexOf(".")>-1&&(p=_.split("."),_=p.shift(),p.sort()),l=_.indexOf(":")<0&&"on"+_,e=e[k.expando]?e:new k.Event(_,"object"===typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[_]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!M(n)){for(u=c.delegateType||_,Tt.test(u+_)||(i=i.parentNode);i;i=i.parentNode)h.push(i),o=i;o===(n.ownerDocument||v)&&h.push(o.defaultView||o.parentWindow||a)}s=0;while((i=h[s++])&&!e.isPropagationStopped())m=i,e.type=s>1?u:c.bindType||_,d=(te.get(i,"events")||Object.create(null))[e.type]&&te.get(i,"handle"),d&&d.apply(i,t),d=l&&i[l],d&&d.apply&&Q(i)&&(e.result=d.apply(i,t),!1===e.result&&e.preventDefault());return e.type=_,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!Q(n)||l&&g(n[_])&&!M(n)&&(o=n[l],o&&(n[l]=null),k.event.triggered=_,e.isPropagationStopped()&&m.addEventListener(_,St),n[_](),e.isPropagationStopped()&&m.removeEventListener(_,St),k.event.triggered=void 0,o&&(n[l]=o)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),y.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=te.access(r,t);a||r.addEventListener(e,n,!0),te.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=te.access(r,t)-1;a?te.access(r,t,a):(r.removeEventListener(e,n,!0),te.remove(r,t))}}}));var At=a.location,xt={guid:Date.now()},Ct=/\?/;k.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new a.DOMParser).parseFromString(e,"text/xml")}catch(r){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,jt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var a;if(Array.isArray(t))k.each(t,(function(t,a){n||Et.test(e)?r(e,a):Nt(e+"["+("object"===typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==Y(t))r(e,t);else for(a in t)Nt(e+"["+a+"]",t[a],n,r)}k.param=function(e,t){var n,r=[],a=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){a(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,a);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(jt,"\r\n")}})):{name:t.name,value:n.replace(jt,"\r\n")}})).get()}});var Pt=/%20/g,It=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Vt=/^\/\//,zt={},Ut={},qt="*/".concat("*"),Jt=v.createElement("a");function Gt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,a=0,s=t.toLowerCase().match(F)||[];if(g(n))while(r=s[a++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var a={},s=e===Ut;function i(o){var u;return a[o]=!0,k.each(e[o]||[],(function(e,o){var l=o(t,n,r);return"string"!==typeof l||s||a[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)})),u}return i(t.dataTypes[0])||!a["*"]&&i("*")}function Kt(e,t){var n,r,a=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}function Zt(e,t,n){var r,a,s,i,o=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in o)if(o[a]&&o[a].test(r)){u.unshift(a);break}if(u[0]in n)s=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){s=a;break}i||(i=a)}s=s||i}if(s)return s!==u[0]&&u.unshift(s),n[s]}function Xt(e,t,n,r){var a,s,i,o,u,l={},d=e.dataTypes.slice();if(d[1])for(i in e.converters)l[i.toLowerCase()]=e.converters[i];s=d.shift();while(s)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=s,s=d.shift(),s)if("*"===s)s=u;else if("*"!==u&&u!==s){if(i=l[u+" "+s]||l["* "+s],!i)for(a in l)if(o=a.split(" "),o[1]===s&&(i=l[u+" "+o[0]]||l["* "+o[0]],i)){!0===i?i=l[a]:!0!==l[a]&&(s=o[0],d.unshift(o[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+u+" to "+s}}}return{state:"success",data:t}}Jt.href=At.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Bt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,k.ajaxSettings),t):Kt(k.ajaxSettings,e)},ajaxPrefilter:Gt(zt),ajaxTransport:Gt(Ut),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,r,s,i,o,u,l,d,c,m,h=k.ajaxSetup({},t),f=h.context||h,_=h.context&&(f.nodeType||f.jquery)?k(f):k.event,p=k.Deferred(),y=k.Callbacks("once memory"),g=h.statusCode||{},M={},L={},w="canceled",Y={readyState:0,getResponseHeader:function(e){var t;if(l){if(!i){i={};while(t=Ft.exec(s))i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?s:null},setRequestHeader:function(e,t){return null==l&&(e=L[e.toLowerCase()]=L[e.toLowerCase()]||e,M[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)Y.always(e[Y.status]);else for(t in e)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),b(0,t),this}};if(p.promise(Y),h.url=((e||h.url||At.href)+"").replace(Vt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){u=v.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Jt.protocol+"//"+Jt.host!==u.protocol+"//"+u.host}catch(D){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=k.param(h.data,h.traditional)),$t(zt,h,t,Y),l)return Y;for(c in d=k.event&&h.global,d&&0===k.active++&&k.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),r=h.url.replace(It,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(m=h.url.slice(r.length),h.data&&(h.processData||"string"===typeof h.data)&&(r+=(Ct.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Rt,"$1"),m=(Ct.test(r)?"&":"?")+"_="+xt.guid+++m),h.url=r+m),h.ifModified&&(k.lastModified[r]&&Y.setRequestHeader("If-Modified-Since",k.lastModified[r]),k.etag[r]&&Y.setRequestHeader("If-None-Match",k.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&Y.setRequestHeader("Content-Type",h.contentType),Y.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)Y.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(!1===h.beforeSend.call(f,Y,h)||l))return Y.abort();if(w="abort",y.add(h.complete),Y.done(h.success),Y.fail(h.error),n=$t(Ut,h,t,Y),n){if(Y.readyState=1,d&&_.trigger("ajaxSend",[Y,h]),l)return Y;h.async&&h.timeout>0&&(o=a.setTimeout((function(){Y.abort("timeout")}),h.timeout));try{l=!1,n.send(M,b)}catch(D){if(l)throw D;b(-1,D)}}else b(-1,"No Transport");function b(e,t,i,u){var c,m,M,v,L,w=t;l||(l=!0,o&&a.clearTimeout(o),n=void 0,s=u||"",Y.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(v=Zt(h,Y,i)),!c&&k.inArray("script",h.dataTypes)>-1&&k.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),v=Xt(h,v,Y,c),c?(h.ifModified&&(L=Y.getResponseHeader("Last-Modified"),L&&(k.lastModified[r]=L),L=Y.getResponseHeader("etag"),L&&(k.etag[r]=L)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=v.state,m=v.data,M=v.error,c=!M)):(M=w,!e&&w||(w="error",e<0&&(e=0))),Y.status=e,Y.statusText=(t||w)+"",c?p.resolveWith(f,[m,w,Y]):p.rejectWith(f,[Y,w,M]),Y.statusCode(g),g=void 0,d&&_.trigger(c?"ajaxSuccess":"ajaxError",[Y,h,c?m:M]),y.fireWith(f,[Y,w]),d&&(_.trigger("ajaxComplete",[Y,h]),--k.active||k.event.trigger("ajaxStop")))}return Y},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,a){return g(n)&&(a=a||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:a,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},en=k.ajaxSettings.xhr();y.cors=!!en&&"withCredentials"in en,y.ajax=en=!!en,k.ajaxTransport((function(e){var t,n;if(y.cors||en&&!e.crossDomain)return{send:function(r,s){var i,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];for(i in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(i,r[i]);t=function(e){return function(){t&&(t=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!==typeof o.status?s(0,"error"):s(o.status,o.statusText):s(Qt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!==typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),n=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&a.setTimeout((function(){t&&n()}))},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(u){if(t)throw u}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var tn=[],nn=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||k.expando+"_"+xt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,n){var r,s,i,o=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||k.error(r+" was not called"),i[0]},e.dataTypes[0]="json",s=a[r],a[r]=function(){i=arguments},n.always((function(){void 0===s?k(a).removeProp(r):a[r]=s,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),i&&g(s)&&s(i[0]),i=s=void 0})),"script"})),y.createHTMLDocument=function(){var e=v.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),k.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?(t=v.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=v.location.href,t.head.appendChild(r)):t=v),a=E.exec(e),s=!n&&[],a?[t.createElement(a[1])]:(a=ke([e],t,s),s&&s.length&&k(s).remove(),k.merge([],a.childNodes)));var r,a,s},k.fn.load=function(e,t,n){var r,a,s,i=this,o=e.indexOf(" ");return o>-1&&(r=Yt(e.slice(o)),e=e.slice(0,o)),g(t)?(n=t,t=void 0):t&&"object"===typeof t&&(a="POST"),i.length>0&&k.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done((function(e){s=arguments,i.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)})).always(n&&function(e,t){i.each((function(){n.apply(this,s||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var r,a,s,i,o,u,l,d=k.css(e,"position"),c=k(e),m={};"static"===d&&(e.style.position="relative"),o=c.offset(),s=k.css(e,"top"),u=k.css(e,"left"),l=("absolute"===d||"fixed"===d)&&(s+u).indexOf("auto")>-1,l?(r=c.position(),i=r.top,a=r.left):(i=parseFloat(s)||0,a=parseFloat(u)||0),g(t)&&(t=t.call(e,n,k.extend({},o))),null!=t.top&&(m.top=t.top-o.top+i),null!=t.left&&(m.left=t.left-o.left+a),"using"in t?t.using.call(e,m):c.css(m)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],a={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&(a=k(e).offset(),a.top+=k.css(e,"borderTopWidth",!0),a.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-k.css(r,"marginTop",!0),left:t.left-a.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||de}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(r){return G(this,(function(e,r,a){var s;if(M(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===a)return s?s[t]:e[r];s?s.scrollTo(n?s.pageXOffset:a,n?a:s.pageYOffset):e[r]=a}),e,r,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=Ge(y.pixelPosition,(function(e,n){if(n)return n=Je(e,t),Ve.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){k.fn[r]=function(a,s){var i=arguments.length&&(n||"boolean"!==typeof a),o=n||(!0===a||!0===s?"margin":"border");return G(this,(function(t,n,a){var s;return M(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===a?k.css(t,n,o):k.style(t,n,a,o)}),t,i?a:void 0,i)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,r,a;if("string"===typeof t&&(n=e[t],t=e,e=n),g(e))return r=u.call(arguments,2),a=function(){return e.apply(t||this,r.concat(u.call(arguments)))},a.guid=e.guid=e.guid||k.guid++,a},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=C,k.isFunction=g,k.isWindow=M,k.camelCase=X,k.type=Y,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(rn,"")},n=[],r=function(){return k}.apply(t,n),void 0===r||(e.exports=r);var an=a.jQuery,sn=a.$;return k.noConflict=function(e){return a.$===k&&(a.$=sn),e&&a.jQuery===k&&(a.jQuery=an),k},"undefined"===typeof s&&(a.jQuery=a.$=k),k}))},2786:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
25
|
+
function(e){var t,n,r,a,o,s,i,u,l,d,c,m,h,f,_,p,y,g,M,v="sizzle"+1*new Date,L=e.document,w=0,k=0,Y=ue(),b=ue(),D=ue(),T=ue(),S=function(e,t){return e===t&&(c=!0),0},A={}.hasOwnProperty,x=[],C=x.pop,E=x.push,j=x.push,O=x.slice,H=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+P+"*("+I+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+P+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),W=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),V=new RegExp("^"+P+"*,"+P+"*"),z=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),q=new RegExp(F),J=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){m()},se=ve((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{j.apply(x=O.call(L.childNodes),L.childNodes),x[L.childNodes.length].nodeType}catch(Te){j={apply:x.length?function(e,t){E.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ie(e,t,r,a){var o,i,l,d,c,f,y,g=t&&t.ownerDocument,L=t?t.nodeType:9;if(r=r||[],"string"!==typeof e||!e||1!==L&&9!==L&&11!==L)return r;if(!a&&(m(t),t=t||h,_)){if(11!==L&&(c=Q.exec(e)))if(o=c[1]){if(9===L){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(g&&(l=g.getElementById(o))&&M(t,l)&&l.id===o)return r.push(l),r}else{if(c[2])return j.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!T[e+" "]&&(!p||!p.test(e))&&(1!==L||"object"!==t.nodeName.toLowerCase())){if(y=e,g=t,1===L&&(U.test(e)||z.test(e))){g=ee.test(e)&&ye(t.parentNode)||t,g===t&&n.scope||((d=t.getAttribute("id"))?d=d.replace(re,ae):t.setAttribute("id",d=v)),f=s(e),i=f.length;while(i--)f[i]=(d?"#"+d:":scope")+" "+Me(f[i]);y=f.join(",")}try{return j.apply(r,g.querySelectorAll(y)),r}catch(w){T(e,!0)}finally{d===v&&t.removeAttribute("id")}}}return u(e.replace(W,"$1"),t,r,a)}function ue(){var e=[];function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}return t}function le(e){return e[v]=!0,e}function de(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Te){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){var n=e.split("|"),a=n.length;while(a--)r.attrHandle[n[a]]=t}function me(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function he(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function _e(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return le((function(t){return t=+t,le((function(n,r){var a,o=e([],n.length,t),s=o.length;while(s--)n[a=o[s]]&&(n[a]=!(r[a]=n[a]))}))}))}function ye(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in n=ie.support={},o=ie.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},m=ie.setDocument=function(e){var t,a,s=e?e.ownerDocument||e:L;return s!=h&&9===s.nodeType&&s.documentElement?(h=s,f=h.documentElement,_=!o(h),L!=h&&(a=h.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",oe,!1):a.attachEvent&&a.attachEvent("onunload",oe)),n.scope=de((function(e){return f.appendChild(e).appendChild(h.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=de((function(e){return f.appendChild(e).id=v,!h.getElementsByName||!h.getElementsByName(v).length})),n.getById?(r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&_){var n,r,a,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];a=t.getElementsByName(e),r=0;while(o=a[r++])if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),r.find["TAG"]=n.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[a++])1===n.nodeType&&r.push(n);return r}return o},r.find["CLASS"]=n.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},y=[],p=[],(n.qsa=X.test(h.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+v+"'></a><select id='"+v+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),t=h.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll("\\\f"),p.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&p.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")}))),(n.matchesSelector=X.test(g=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),y.push("!=",F)})),p=p.length&&new RegExp(p.join("|")),y=y.length&&new RegExp(y.join("|")),t=X.test(f.compareDocumentPosition),M=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==L&&M(L,e)?-1:t==h||t.ownerDocument==L&&M(L,t)?1:d?H(d,e)-H(d,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,a=e.parentNode,o=t.parentNode,s=[e],i=[t];if(!a||!o)return e==h?-1:t==h?1:a?-1:o?1:d?H(d,e)-H(d,t):0;if(a===o)return me(e,t);n=e;while(n=n.parentNode)s.unshift(n);n=t;while(n=n.parentNode)i.unshift(n);while(s[r]===i[r])r++;return r?me(s[r],i[r]):s[r]==L?-1:i[r]==L?1:0},h):h},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if(m(e),n.matchesSelector&&_&&!T[t+" "]&&(!y||!y.test(t))&&(!p||!p.test(t)))try{var r=g.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Te){T(t,!0)}return ie(t,h,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!=h&&m(e),M(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!=h&&m(e);var a=r.attrHandle[t.toLowerCase()],o=a&&A.call(r.attrHandle,t.toLowerCase())?a(e,t,!_):void 0;return void 0!==o?o:n.attributes||!_?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.escape=function(e){return(e+"").replace(re,ae)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],a=0,o=0;if(c=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(S),c){while(t=e[o++])t===e[o]&&(a=r.push(o));while(a--)e.splice(r[a],1)}return d=null,e},a=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=a(t);return n},r=ie.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G["CHILD"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=Y[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&Y(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=ie.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),i="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,u){var l,d,c,m,h,f,_=o!==s?"nextSibling":"previousSibling",p=t.parentNode,y=i&&t.nodeName.toLowerCase(),g=!u&&!i,M=!1;if(p){if(o){while(_){m=t;while(m=m[_])if(i?m.nodeName.toLowerCase()===y:1===m.nodeType)return!1;f=_="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?p.firstChild:p.lastChild],s&&g){m=p,c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),l=d[e]||[],h=l[0]===w&&l[1],M=h&&l[2],m=h&&p.childNodes[h];while(m=++h&&m&&m[_]||(M=h=0)||f.pop())if(1===m.nodeType&&++M&&m===t){d[e]=[w,h,M];break}}else if(g&&(m=t,c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),l=d[e]||[],h=l[0]===w&&l[1],M=h),!1===M)while(m=++h&&m&&m[_]||(M=h=0)||f.pop())if((i?m.nodeName.toLowerCase()===y:1===m.nodeType)&&++M&&(g&&(c=m[v]||(m[v]={}),d=c[m.uniqueID]||(c[m.uniqueID]={}),d[e]=[w,M]),m===t))break;return M-=a,M===r||M%r===0&&M/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return a[v]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){var r,o=a(e,t),s=o.length;while(s--)r=H(e,o[s]),e[r]=!(n[r]=o[s])})):function(e){return a(e,0,n)}):a}},pseudos:{not:le((function(e){var t=[],n=[],r=i(e.replace(W,"$1"));return r[v]?le((function(e,t,n,a){var o,s=r(e,null,a,[]),i=e.length;while(i--)(o=s[i])&&(e[i]=!(t[i]=o))})):function(e,a,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return ie(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:le((function(e){return J.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=_?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:_e(!1),disabled:_e(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos["empty"](e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe((function(){return[0]})),last:pe((function(e,t){return[t-1]})),eq:pe((function(e,t,n){return[n<0?n+t:n]})),even:pe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:pe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:pe((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:pe((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos["nth"]=r.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function ge(){}function Me(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,a=t.next,o=a||r,s=n&&"parentNode"===o,i=k++;return t.first?function(t,n,a){while(t=t[r])if(1===t.nodeType||s)return e(t,n,a);return!1}:function(t,n,u){var l,d,c,m=[w,i];if(u){while(t=t[r])if((1===t.nodeType||s)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||s)if(c=t[v]||(t[v]={}),d=c[t.uniqueID]||(c[t.uniqueID]={}),a&&a===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=d[o])&&l[0]===w&&l[1]===i)return m[2]=l[2];if(d[o]=m,m[2]=e(t,n,u))return!0}return!1}}function Le(e){return e.length>1?function(t,n,r){var a=e.length;while(a--)if(!e[a](t,n,r))return!1;return!0}:e[0]}function we(e,t,n){for(var r=0,a=t.length;r<a;r++)ie(e,t[r],n);return n}function ke(e,t,n,r,a){for(var o,s=[],i=0,u=e.length,l=null!=t;i<u;i++)(o=e[i])&&(n&&!n(o,r,a)||(s.push(o),l&&t.push(i)));return s}function Ye(e,t,n,r,a,o){return r&&!r[v]&&(r=Ye(r)),a&&!a[v]&&(a=Ye(a,o)),le((function(o,s,i,u){var l,d,c,m=[],h=[],f=s.length,_=o||we(t||"*",i.nodeType?[i]:i,[]),p=!e||!o&&t?_:ke(_,m,e,i,u),y=n?a||(o?e:f||r)?[]:s:p;if(n&&n(p,y,i,u),r){l=ke(y,h),r(l,[],i,u),d=l.length;while(d--)(c=l[d])&&(y[h[d]]=!(p[h[d]]=c))}if(o){if(a||e){if(a){l=[],d=y.length;while(d--)(c=y[d])&&l.push(p[d]=c);a(null,y=[],l,u)}d=y.length;while(d--)(c=y[d])&&(l=a?H(o,c):m[d])>-1&&(o[l]=!(s[l]=c))}}else y=ke(y===s?y.splice(f,y.length):y),a?a(null,s,y,u):j.apply(s,y)}))}function be(e){for(var t,n,a,o=e.length,s=r.relative[e[0].type],i=s||r.relative[" "],u=s?1:0,d=ve((function(e){return e===t}),i,!0),c=ve((function(e){return H(t,e)>-1}),i,!0),m=[function(e,n,r){var a=!s&&(r||n!==l)||((t=n).nodeType?d(e,n,r):c(e,n,r));return t=null,a}];u<o;u++)if(n=r.relative[e[u].type])m=[ve(Le(m),n)];else{if(n=r.filter[e[u].type].apply(null,e[u].matches),n[v]){for(a=++u;a<o;a++)if(r.relative[e[a].type])break;return Ye(u>1&&Le(m),u>1&&Me(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(W,"$1"),n,u<a&&be(e.slice(u,a)),a<o&&be(e=e.slice(a)),a<o&&Me(e))}m.push(n)}return Le(m)}function De(e,t){var n=t.length>0,a=e.length>0,o=function(o,s,i,u,d){var c,f,p,y=0,g="0",M=o&&[],v=[],L=l,k=o||a&&r.find["TAG"]("*",d),Y=w+=null==L?1:Math.random()||.1,b=k.length;for(d&&(l=s==h||s||d);g!==b&&null!=(c=k[g]);g++){if(a&&c){f=0,s||c.ownerDocument==h||(m(c),i=!_);while(p=e[f++])if(p(c,s||h,i)){u.push(c);break}d&&(w=Y)}n&&((c=!p&&c)&&y--,o&&M.push(c))}if(y+=g,n&&g!==y){f=0;while(p=t[f++])p(M,v,s,i);if(o){if(y>0)while(g--)M[g]||v[g]||(v[g]=C.call(u));v=ke(v)}j.apply(u,v),d&&!o&&v.length>0&&y+t.length>1&&ie.uniqueSort(u)}return d&&(w=Y,l=L),M};return n?le(o):o}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,s=ie.tokenize=function(e,t){var n,a,o,s,i,u,l,d=b[e+" "];if(d)return t?0:d.slice(0);i=e,u=[],l=r.preFilter;while(i){for(s in n&&!(a=V.exec(i))||(a&&(i=i.slice(a[0].length)||i),u.push(o=[])),n=!1,(a=z.exec(i))&&(n=a.shift(),o.push({value:n,type:a[0].replace(W," ")}),i=i.slice(n.length)),r.filter)!(a=G[s].exec(i))||l[s]&&!(a=l[s](a))||(n=a.shift(),o.push({value:n,type:s,matches:a}),i=i.slice(n.length));if(!n)break}return t?i.length:i?ie.error(e):b(e,u).slice(0)},i=ie.compile=function(e,t){var n,r=[],a=[],o=D[e+" "];if(!o){t||(t=s(e)),n=t.length;while(n--)o=be(t[n]),o[v]?r.push(o):a.push(o);o=D(e,De(a,r)),o.selector=e}return o},u=ie.select=function(e,t,n,a){var o,u,l,d,c,m="function"===typeof e&&e,h=!a&&s(e=m.selector||e);if(n=n||[],1===h.length){if(u=h[0]=h[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&_&&r.relative[u[1].type]){if(t=(r.find["ID"](l.matches[0].replace(te,ne),t)||[])[0],!t)return n;m&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=G["needsContext"].test(e)?0:u.length;while(o--){if(l=u[o],r.relative[d=l.type])break;if((c=r.find[d])&&(a=c(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(o,1),e=a.length&&Me(u),!e)return j.apply(n,a),n;break}}}return(m||i(e,h))(a,t,!_,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=!!c,m(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||ce(N,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ie}(a);b.find=T,b.expr=T.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=T.uniqueSort,b.text=T.getText,b.isXMLDoc=T.isXML,b.contains=T.contains,b.escapeSelector=T.escape;var S=function(e,t,n){var r=[],a=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(a&&b(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=b.expr.match.needsContext;function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?b.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?b.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?b.grep(e,(function(e){return c.call(t,e)>-1!==n})):b.filter(t,e,n)}b.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?b.find.matchesSelector(r,e)?[r]:[]:b.find.matches(e,b.grep(t,(function(e){return 1===e.nodeType})))},b.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!==typeof e)return this.pushStack(b(e).filter((function(){for(t=0;t<r;t++)if(b.contains(a[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)b.find(e,a[t],n);return r>1?b.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"===typeof e&&x.test(e)?b(e):e||[],!1).length}});var O,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,N=b.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||O,"string"===typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof b?t[0]:t,b.merge(this,b.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),E.test(r[1])&&b.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return a=v.getElementById(r[2]),a&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(b):b.makeArray(e,this)};N.prototype=b.fn,O=b(v);var P=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){while((e=e[t])&&1!==e.nodeType);return e}b.fn.extend({has:function(e){var t=b(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(b.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,a=this.length,o=[],s="string"!==typeof e&&b(e);if(!x.test(e))for(;r<a;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?b.uniqueSort(o):o)},index:function(e){return e?"string"===typeof e?c.call(b(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},(function(e,t){b.fn[e]=function(n,r){var a=b.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(a=b.filter(r,a)),this.length>1&&(I[e]||b.uniqueSort(a),P.test(e)&&a.reverse()),this.pushStack(a)}}));var F=/[^\x20\t\r\n\f]+/g;function B(e){var t={};return b.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}function W(e){return e}function V(e){throw e}function z(e,t,n,r){var a;try{e&&g(a=e.promise)?a.call(e).done(t).fail(n):e&&g(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}b.Callbacks=function(e){e="string"===typeof e?B(e):b.extend({},e);var t,n,r,a,o=[],s=[],i=-1,u=function(){for(a=a||e.once,r=t=!0;s.length;i=-1){n=s.shift();while(++i<o.length)!1===o[i].apply(n[0],n[1])&&e.stopOnFalse&&(i=o.length,n=!1)}e.memory||(n=!1),t=!1,a&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(i=o.length-1,s.push(n)),function t(n){b.each(n,(function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==k(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return b.each(arguments,(function(e,t){var n;while((n=b.inArray(t,o,n))>-1)o.splice(n,1),n<=i&&i--})),this},has:function(e){return e?b.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return a=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return a=s=[],n||t||(o=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},b.extend({Deferred:function(e){var t=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return b.Deferred((function(n){b.each(t,(function(t,r){var a=g(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){var o=0;function s(e,t,n,r){return function(){var i=this,u=arguments,l=function(){var a,l;if(!(e<o)){if(a=n.apply(i,u),a===t.promise())throw new TypeError("Thenable self-resolution");l=a&&("object"===typeof a||"function"===typeof a)&&a.then,g(l)?r?l.call(a,s(o,t,W,r),s(o,t,V,r)):(o++,l.call(a,s(o,t,W,r),s(o,t,V,r),s(o,t,W,t.notifyWith))):(n!==W&&(i=void 0,u=[a]),(r||t.resolveWith)(i,u))}},d=r?l:function(){try{l()}catch(r){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(r,d.stackTrace),e+1>=o&&(n!==V&&(i=void 0,u=[r]),t.rejectWith(i,u))}};e?d():(b.Deferred.getStackHook&&(d.stackTrace=b.Deferred.getStackHook()),a.setTimeout(d))}}return b.Deferred((function(a){t[0][3].add(s(0,a,g(r)?r:W,a.notifyWith)),t[1][3].add(s(0,a,g(e)?e:W)),t[2][3].add(s(0,a,g(n)?n:V))})).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},o={};return b.each(t,(function(e,a){var s=a[2],i=a[5];r[a[1]]=s.add,i&&s.add((function(){n=i}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(a[3].fire),o[a[0]]=function(){return o[a[0]+"With"](this===o?void 0:this,arguments),this},o[a[0]+"With"]=s.fireWith})),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),a=u.call(arguments),o=b.Deferred(),s=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(r,a)}};if(t<=1&&(z(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||g(a[n]&&a[n].then)))return o.then();while(n--)z(a[n],s(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,t){a.console&&a.console.warn&&e&&U.test(e.name)&&a.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},b.readyException=function(e){a.setTimeout((function(){throw e}))};var q=b.Deferred();function J(){v.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),b.ready()}b.fn.ready=function(e){return q.then(e).catch((function(e){b.readyException(e)})),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==e&&--b.readyWait>0||q.resolveWith(v,[b]))}}),b.ready.then=q.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?a.setTimeout(b.ready):(v.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J));var G=function(e,t,n,r,a,o,s){var i=0,u=e.length,l=null==n;if("object"===k(n))for(i in a=!0,n)G(e,t,i,n[i],!0,o,s);else if(void 0!==r&&(a=!0,g(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(b(e),n)})),t))for(;i<u;i++)t(e[i],n,s?r:r.call(e[i],i,t(e[i],n)));return a?e:l?t.call(e):u?t(e[0],n):o},$=/^-ms-/,K=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function X(e){return e.replace($,"ms-").replace(K,Z)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=b.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,a=this.cache(e);if("string"===typeof t)a[X(t)]=n;else for(r in t)a[X(r)]=t[r];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(X):(t=X(t),t=t in r?[t]:t.match(F)||[]),n=t.length;while(n--)delete r[t[n]]}(void 0===t||b.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var te=new ee,ne=new ee,re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function oe(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:re.test(e)?JSON.parse(e):e)}function se(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ae,"-$&").toLowerCase(),n=e.getAttribute(r),"string"===typeof n){try{n=oe(n)}catch(a){}ne.set(e,t,n)}else n=void 0;return n}b.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}}),b.fn.extend({data:function(e,t){var n,r,a,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(a=ne.get(o),1===o.nodeType&&!te.get(o,"hasDataAttrs"))){n=s.length;while(n--)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=X(r.slice(5)),se(o,r,a[r])));te.set(o,"hasDataAttrs",!0)}return a}return"object"===typeof e?this.each((function(){ne.set(this,e)})):G(this,(function(t){var n;if(o&&void 0===t)return n=ne.get(o,e),void 0!==n?n:(n=se(o,e),void 0!==n?n:void 0);this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}}),b.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=te.get(e,t),n&&(!r||Array.isArray(n)?r=te.access(e,t,b.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,a=n.shift(),o=b._queueHooks(e,t),s=function(){b.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete o.stop,a.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return te.get(e,n)||te.access(e,n,{empty:b.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",n])}))})}}),b.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?b.queue(this[0],e):void 0===t?this:this.each((function(){var n=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&b.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){b.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,a=b.Deferred(),o=this,s=this.length,i=function(){--r||a.resolveWith(o,[o])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(s--)n=te.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(i));return i(),a.promise(t)}});var ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ue=new RegExp("^(?:([+-])=|)("+ie+")([a-z%]*)$","i"),le=["Top","Right","Bottom","Left"],de=v.documentElement,ce=function(e){return b.contains(e.ownerDocument,e)},me={composed:!0};de.getRootNode&&(ce=function(e){return b.contains(e.ownerDocument,e)||e.getRootNode(me)===e.ownerDocument});var he=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&ce(e)&&"none"===b.css(e,"display")};function fe(e,t,n,r){var a,o,s=20,i=r?function(){return r.cur()}:function(){return b.css(e,t,"")},u=i(),l=n&&n[3]||(b.cssNumber[t]?"":"px"),d=e.nodeType&&(b.cssNumber[t]||"px"!==l&&+u)&&ue.exec(b.css(e,t));if(d&&d[3]!==l){u/=2,l=l||d[3],d=+u||1;while(s--)b.style(e,t,d+l),(1-o)*(1-(o=i()/u||.5))<=0&&(s=0),d/=o;d*=2,b.style(e,t,d+l),n=n||[]}return n&&(d=+d||+u||0,a=n[1]?d+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=d,r.end=a)),a}var _e={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,a=_e[r];return a||(t=n.body.appendChild(n.createElement(r)),a=b.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),_e[r]=a,a)}function ye(e,t){for(var n,r,a=[],o=0,s=e.length;o<s;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(a[o]=te.get(r,"display")||null,a[o]||(r.style.display="")),""===r.style.display&&he(r)&&(a[o]=pe(r))):"none"!==n&&(a[o]="none",te.set(r,"display",n)));for(o=0;o<s;o++)null!=a[o]&&(e[o].style.display=a[o]);return e}b.fn.extend({show:function(){return ye(this,!0)},hide:function(){return ye(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){he(this)?b(this).show():b(this).hide()}))}});var ge=/^(?:checkbox|radio)$/i,Me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=v.createDocumentFragment(),t=e.appendChild(v.createElement("div")),n=v.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),y.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",y.option=!!t.lastChild})();var Le={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?b.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)te.set(e[n],"globalEval",!t||te.get(t[n],"globalEval"))}Le.tbody=Le.tfoot=Le.colgroup=Le.caption=Le.thead,Le.th=Le.td,y.option||(Le.optgroup=Le.option=[1,"<select multiple='multiple'>","</select>"]);var Ye=/<|&#?\w+;/;function be(e,t,n,r,a){for(var o,s,i,u,l,d,c=t.createDocumentFragment(),m=[],h=0,f=e.length;h<f;h++)if(o=e[h],o||0===o)if("object"===k(o))b.merge(m,o.nodeType?[o]:o);else if(Ye.test(o)){s=s||c.appendChild(t.createElement("div")),i=(Me.exec(o)||["",""])[1].toLowerCase(),u=Le[i]||Le._default,s.innerHTML=u[1]+b.htmlPrefilter(o)+u[2],d=u[0];while(d--)s=s.lastChild;b.merge(m,s.childNodes),s=c.firstChild,s.textContent=""}else m.push(t.createTextNode(o));c.textContent="",h=0;while(o=m[h++])if(r&&b.inArray(o,r)>-1)a&&a.push(o);else if(l=ce(o),s=we(c.appendChild(o),"script"),l&&ke(s),n){d=0;while(o=s[d++])ve.test(o.type||"")&&n.push(o)}return c}var De=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Se(){return!1}function Ae(e,t){return e===xe()===("focus"===t)}function xe(){try{return v.activeElement}catch(e){}}function Ce(e,t,n,r,a,o){var s,i;if("object"===typeof t){for(i in"string"!==typeof n&&(r=r||n,n=void 0),t)Ce(e,i,n,r,t[i],o);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"===typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Se;else if(!a)return e;return 1===o&&(s=a,a=function(e){return b().off(e),s.apply(this,arguments)},a.guid=s.guid||(s.guid=b.guid++)),e.each((function(){b.event.add(this,t,a,r,n)}))}function Ee(e,t,n){n?(te.set(e,t,!1),b.event.add(e,t,{namespace:!1,handler:function(e){var r,a,o=te.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(b.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),te.set(this,t,o),r=n(this,t),this[t](),a=te.get(this,t),o!==a||r?te.set(this,t,!1):a={},o!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else o.length&&(te.set(this,t,{value:b.event.trigger(b.extend(o[0],b.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&b.event.add(e,t,Te)}b.event={global:{},add:function(e,t,n,r,a){var o,s,i,u,l,d,c,m,h,f,_,p=te.get(e);if(Q(e)){n.handler&&(o=n,n=o.handler,a=o.selector),a&&b.find.matchesSelector(de,a),n.guid||(n.guid=b.guid++),(u=p.events)||(u=p.events=Object.create(null)),(s=p.handle)||(s=p.handle=function(t){return"undefined"!==typeof b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(F)||[""],l=t.length;while(l--)i=De.exec(t[l])||[],h=_=i[1],f=(i[2]||"").split(".").sort(),h&&(c=b.event.special[h]||{},h=(a?c.delegateType:c.bindType)||h,c=b.event.special[h]||{},d=b.extend({type:h,origType:_,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:f.join(".")},o),(m=u[h])||(m=u[h]=[],m.delegateCount=0,c.setup&&!1!==c.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(h,s)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?m.splice(m.delegateCount++,0,d):m.push(d),b.event.global[h]=!0)}},remove:function(e,t,n,r,a){var o,s,i,u,l,d,c,m,h,f,_,p=te.hasData(e)&&te.get(e);if(p&&(u=p.events)){t=(t||"").match(F)||[""],l=t.length;while(l--)if(i=De.exec(t[l])||[],h=_=i[1],f=(i[2]||"").split(".").sort(),h){c=b.event.special[h]||{},h=(r?c.delegateType:c.bindType)||h,m=u[h]||[],i=i[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=m.length;while(o--)d=m[o],!a&&_!==d.origType||n&&n.guid!==d.guid||i&&!i.test(d.namespace)||r&&r!==d.selector&&("**"!==r||!d.selector)||(m.splice(o,1),d.selector&&m.delegateCount--,c.remove&&c.remove.call(e,d));s&&!m.length&&(c.teardown&&!1!==c.teardown.call(e,f,p.handle)||b.removeEvent(e,h,p.handle),delete u[h])}else for(h in u)b.event.remove(e,h+t[l],n,r,!0);b.isEmptyObject(u)&&te.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,o,s,i=new Array(arguments.length),u=b.event.fix(e),l=(te.get(this,"events")||Object.create(null))[u.type]||[],d=b.event.special[u.type]||{};for(i[0]=u,t=1;t<arguments.length;t++)i[t]=arguments[t];if(u.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,u)){s=b.event.handlers.call(this,u,l),t=0;while((a=s[t++])&&!u.isPropagationStopped()){u.currentTarget=a.elem,n=0;while((o=a.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,r=((b.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,i),void 0!==r&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return d.postDispatch&&d.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,a,o,s,i=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],s={},n=0;n<u;n++)r=t[n],a=r.selector+" ",void 0===s[a]&&(s[a]=r.needsContext?b(a,this).index(l)>-1:b.find(a,this,null,[l]).length),s[a]&&o.push(r);o.length&&i.push({elem:l,handlers:o})}return l=this,u<t.length&&i.push({elem:l,handlers:t.slice(u)}),i},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&C(t,"input")&&Ee(t,"click",Te),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&C(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&C(t,"input")&&te.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},(function(e,t){b.event.special[e]={setup:function(){return Ee(this,e,Ae),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}})),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,a=e.relatedTarget,o=e.handleObj;return a&&(a===r||b.contains(r,a))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),b.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,b(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each((function(){b.event.remove(this,e,n,t)}))}});var je=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,a,o,s,i,u;if(1===t.nodeType){if(te.hasData(e)&&(o=te.get(e),u=o.events,u))for(a in te.remove(t,"handle events"),u)for(n=0,r=u[a].length;n<r;n++)b.event.add(t,a,u[a][n]);ne.hasData(e)&&(s=ne.access(e),i=b.extend({},s),ne.set(t,i))}}function Fe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,r){t=l(t);var a,o,s,i,u,d,c=0,m=e.length,h=m-1,f=t[0],_=g(f);if(_||m>1&&"string"===typeof f&&!y.checkClone&&Oe.test(f))return e.each((function(a){var o=e.eq(a);_&&(t[0]=f.call(this,a,o.html())),Be(o,t,n,r)}));if(m&&(a=be(t,e[0].ownerDocument,!1,e,r),o=a.firstChild,1===a.childNodes.length&&(a=o),o||r)){for(s=b.map(we(a,"script"),Pe),i=s.length;c<m;c++)u=a,c!==h&&(u=b.clone(u,!0,!0),i&&b.merge(s,we(u,"script"))),n.call(e[c],u,c);if(i)for(d=s[s.length-1].ownerDocument,b.map(s,Ie),c=0;c<i;c++)u=s[c],ve.test(u.type||"")&&!te.access(u,"globalEval")&&b.contains(d,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?b._evalUrl&&!u.noModule&&b._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},d):w(u.textContent.replace(He,""),u,d))}return e}function We(e,t,n){for(var r,a=t?b.filter(t,e):e,o=0;null!=(r=a[o]);o++)n||1!==r.nodeType||b.cleanData(we(r)),r.parentNode&&(n&&ce(r)&&ke(we(r,"script")),r.parentNode.removeChild(r));return e}b.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,a,o,s,i=e.cloneNode(!0),u=ce(e);if(!y.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!b.isXMLDoc(e))for(s=we(i),o=we(e),r=0,a=o.length;r<a;r++)Fe(o[r],s[r]);if(t)if(n)for(o=o||we(e),s=s||we(i),r=0,a=o.length;r<a;r++)Re(o[r],s[r]);else Re(e,i);return s=we(i,"script"),s.length>0&&ke(s,!u&&we(e,"script")),i},cleanData:function(e){for(var t,n,r,a=b.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[te.expando]){if(t.events)for(r in t.events)a[r]?b.event.remove(n,r):b.removeEvent(n,r,t.handle);n[te.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),b.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return G(this,(function(e){return void 0===e?b.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.appendChild(e)}}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(b.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return b.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!je.test(e)&&!Le[(Me.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(b.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(we(this)),n&&n.replaceChild(t,this))}),e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){b.fn[e]=function(e){for(var n,r=[],a=b(e),o=a.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),b(a[s])[t](n),d.apply(r,n.get());return this.pushStack(r)}}));var Ve=new RegExp("^("+ie+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=a),t.getComputedStyle(e)},Ue=function(e,t,n){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in r=n.call(e),t)e.style[a]=o[a];return r},qe=new RegExp(le.join("|"),"i");function Je(e,t,n){var r,a,o,s,i=e.style;return n=n||ze(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||ce(e)||(s=b.style(e,t)),!y.pixelBoxStyles()&&Ve.test(s)&&qe.test(t)&&(r=i.width,a=i.minWidth,o=i.maxWidth,i.minWidth=i.maxWidth=i.width=s,s=n.width,i.width=r,i.minWidth=a,i.maxWidth=o)),void 0!==s?s+"":s}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(d){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",de.appendChild(l).appendChild(d);var e=a.getComputedStyle(d);n="1%"!==e.top,u=12===t(e.marginLeft),d.style.right="60%",s=36===t(e.right),r=36===t(e.width),d.style.position="absolute",o=12===t(d.offsetWidth/3),de.removeChild(l),d=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,s,i,u,l=v.createElement("div"),d=v.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===d.style.backgroundClip,b.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,r;return null==i&&(e=v.createElement("table"),t=v.createElement("tr"),n=v.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",de.appendChild(e).appendChild(t).appendChild(n),r=a.getComputedStyle(t),i=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,de.removeChild(e)),i}}))})();var $e=["Webkit","Moz","ms"],Ke=v.createElement("div").style,Ze={};function Xe(e){var t=e[0].toUpperCase()+e.slice(1),n=$e.length;while(n--)if(e=$e[n]+t,e in Ke)return e}function Qe(e){var t=b.cssProps[e]||Ze[e];return t||(e in Ke?e:Ze[e]=Xe(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function at(e,t,n){var r=ue.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ot(e,t,n,r,a,o){var s="width"===t?1:0,i=0,u=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=b.css(e,n+le[s],!0,a)),r?("content"===n&&(u-=b.css(e,"padding"+le[s],!0,a)),"margin"!==n&&(u-=b.css(e,"border"+le[s]+"Width",!0,a))):(u+=b.css(e,"padding"+le[s],!0,a),"padding"!==n?u+=b.css(e,"border"+le[s]+"Width",!0,a):i+=b.css(e,"border"+le[s]+"Width",!0,a));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-i-.5))||0),u}function st(e,t,n){var r=ze(e),a=!y.boxSizingReliable()||n,o=a&&"border-box"===b.css(e,"boxSizing",!1,r),s=o,i=Je(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(i)){if(!n)return i;i="auto"}return(!y.boxSizingReliable()&&o||!y.reliableTrDimensions()&&C(e,"tr")||"auto"===i||!parseFloat(i)&&"inline"===b.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===b.css(e,"boxSizing",!1,r),s=u in e,s&&(i=e[u])),i=parseFloat(i)||0,i+ot(e,t,n||(o?"border":"content"),s,r,i)+"px"}function it(e,t,n,r,a){return new it.prototype.init(e,t,n,r,a)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Je(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,s,i=X(t),u=tt.test(t),l=e.style;if(u||(t=Qe(i)),s=b.cssHooks[t]||b.cssHooks[i],void 0===n)return s&&"get"in s&&void 0!==(a=s.get(e,!1,r))?a:l[t];o=typeof n,"string"===o&&(a=ue.exec(n))&&a[1]&&(n=fe(e,t,a),o="number"),null!=n&&n===n&&("number"!==o||u||(n+=a&&a[3]||(b.cssNumber[i]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var a,o,s,i=X(t),u=tt.test(t);return u||(t=Qe(i)),s=b.cssHooks[t]||b.cssHooks[i],s&&"get"in s&&(a=s.get(e,!0,n)),void 0===a&&(a=Je(e,t,r)),"normal"===a&&t in rt&&(a=rt[t]),""===n||n?(o=parseFloat(a),!0===n||isFinite(o)?o||0:a):a}}),b.each(["height","width"],(function(e,t){b.cssHooks[t]={get:function(e,n,r){if(n)return!et.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?st(e,t,r):Ue(e,nt,(function(){return st(e,t,r)}))},set:function(e,n,r){var a,o=ze(e),s=!y.scrollboxSize()&&"absolute"===o.position,i=s||r,u=i&&"border-box"===b.css(e,"boxSizing",!1,o),l=r?ot(e,t,r,u,o):0;return u&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ot(e,t,"border",!1,o)-.5)),l&&(a=ue.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=b.css(e,t)),at(e,n,l)}}})),b.cssHooks.marginLeft=Ge(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(e,t){b.cssHooks[e+t]={expand:function(n){for(var r=0,a={},o="string"===typeof n?n.split(" "):[n];r<4;r++)a[e+le[r]+t]=o[r]||o[r-2]||o[0];return a}},"margin"!==e&&(b.cssHooks[e+t].set=at)})),b.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var r,a,o={},s=0;if(Array.isArray(t)){for(r=ze(e),a=t.length;s<a;s++)o[t[s]]=b.css(e,t[s],!1,r);return o}return void 0!==n?b.style(e,t,n):b.css(e,t)}),e,t,arguments.length>1)}}),b.Tween=it,it.prototype={constructor:it,init:function(e,t,n,r,a,o){this.elem=e,this.prop=n,this.easing=a||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,n=it.propHooks[this.prop];return this.options.duration?this.pos=t=b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||!b.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=it.prototype.init,b.fx.step={};var ut,lt,dt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function mt(){lt&&(!1===v.hidden&&a.requestAnimationFrame?a.requestAnimationFrame(mt):a.setTimeout(mt,b.fx.interval),b.fx.tick())}function ht(){return a.setTimeout((function(){ut=void 0})),ut=Date.now()}function ft(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)n=le[r],a["margin"+n]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function _t(e,t,n){for(var r,a=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),o=0,s=a.length;o<s;o++)if(r=a[o].call(n,t,e))return r}function pt(e,t,n){var r,a,o,s,i,u,l,d,c="width"in t||"height"in t,m=this,h={},f=e.style,_=e.nodeType&&he(e),p=te.get(e,"fxshow");for(r in n.queue||(s=b._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,i=s.empty.fire,s.empty.fire=function(){s.unqueued||i()}),s.unqueued++,m.always((function(){m.always((function(){s.unqueued--,b.queue(e,"fx").length||s.empty.fire()}))}))),t)if(a=t[r],dt.test(a)){if(delete t[r],o=o||"toggle"===a,a===(_?"hide":"show")){if("show"!==a||!p||void 0===p[r])continue;_=!0}h[r]=p&&p[r]||b.style(e,r)}if(u=!b.isEmptyObject(t),u||!b.isEmptyObject(h))for(r in c&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],l=p&&p.display,null==l&&(l=te.get(e,"display")),d=b.css(e,"display"),"none"===d&&(l?d=l:(ye([e],!0),l=e.style.display||l,d=b.css(e,"display"),ye([e]))),("inline"===d||"inline-block"===d&&null!=l)&&"none"===b.css(e,"float")&&(u||(m.done((function(){f.display=l})),null==l&&(d=f.display,l="none"===d?"":d)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",m.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),u=!1,h)u||(p?"hidden"in p&&(_=p.hidden):p=te.access(e,"fxshow",{display:l}),o&&(p.hidden=!_),_&&ye([e],!0),m.done((function(){for(r in _||ye([e]),te.remove(e,"fxshow"),h)b.style(e,r,h[r])}))),u=_t(_?p[r]:0,r,m),r in p||(p[r]=u.start,_&&(u.end=u.start,u.start=0))}function yt(e,t){var n,r,a,o,s;for(n in e)if(r=X(n),a=t[r],o=e[n],Array.isArray(o)&&(a=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=b.cssHooks[r],s&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=a);else t[r]=a}function gt(e,t,n){var r,a,o=0,s=gt.prefilters.length,i=b.Deferred().always((function(){delete u.elem})),u=function(){if(a)return!1;for(var t=ut||ht(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,s=0,u=l.tweens.length;s<u;s++)l.tweens[s].run(o);return i.notifyWith(e,[l,o,n]),o<1&&u?n:(u||i.notifyWith(e,[l,1,0]),i.resolveWith(e,[l]),!1)},l=i.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(a)return this;for(a=!0;n<r;n++)l.tweens[n].run(1);return t?(i.notifyWith(e,[l,1,0]),i.resolveWith(e,[l,t])):i.rejectWith(e,[l,t]),this}}),d=l.props;for(yt(d,l.opts.specialEasing);o<s;o++)if(r=gt.prefilters[o].call(l,e,d,l.opts),r)return g(r.stop)&&(b._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return b.map(d,_t,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}b.Animation=b.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return fe(n.elem,e,ue.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(F);for(var n,r=0,a=e.length;r<a;r++)n=e[r],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[pt],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),b.speed=function(e,t,n){var r=e&&"object"===typeof e?b.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return b.fx.off?r.duration=0:"number"!==typeof r.duration&&(r.duration in b.fx.speeds?r.duration=b.fx.speeds[r.duration]:r.duration=b.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(he).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var a=b.isEmptyObject(e),o=b.speed(t,n,r),s=function(){var t=gt(this,b.extend({},e),o);(a||te.get(this,"finish"))&&t.stop(!0)};return s.finish=s,a||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,a=null!=e&&e+"queueHooks",o=b.timers,s=te.get(this);if(a)s[a]&&s[a].stop&&r(s[a]);else for(a in s)s[a]&&s[a].stop&&ct.test(a)&&r(s[a]);for(a=o.length;a--;)o[a].elem!==this||null!=e&&o[a].queue!==e||(o[a].anim.stop(n),t=!1,o.splice(a,1));!t&&n||b.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=te.get(this),r=n[e+"queue"],a=n[e+"queueHooks"],o=b.timers,s=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),b.each(["toggle","show","hide"],(function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,a){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,a)}})),b.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),b.timers=[],b.fx.tick=function(){var e,t=0,n=b.timers;for(ut=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||b.fx.stop(),ut=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){lt||(lt=!0,mt())},b.fx.stop=function(){lt=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(e,t){return e=b.fx&&b.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=a.setTimeout(t,e);n.stop=function(){a.clearTimeout(r)}}))},function(){var e=v.createElement("input"),t=v.createElement("select"),n=t.appendChild(v.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=n.selected,e=v.createElement("input"),e.value="t",e.type="radio",y.radioValue="t"===e.value}();var Mt,vt=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return G(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){b.removeAttr(this,e)}))}}),b.extend({attr:function(e,t,n){var r,a,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof e.getAttribute?b.prop(e,t,n):(1===o&&b.isXMLDoc(e)||(a=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?Mt:void 0)),void 0!==n?null===n?void b.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:(r=b.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(F);if(a&&1===e.nodeType)while(n=a[r++])e.removeAttribute(n)}}),Mt={set:function(e,t,n){return!1===t?b.removeAttr(e,n):e.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=vt[t]||b.find.attr;vt[t]=function(e,t,r){var a,o,s=t.toLowerCase();return r||(o=vt[s],vt[s]=a,a=null!=n(e,t,r)?s:null,vt[s]=o),a}}));var Lt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function kt(e){var t=e.match(F)||[];return t.join(" ")}function Yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(F)||[]}b.fn.extend({prop:function(e,t){return G(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[b.propFix[e]||e]}))}}),b.extend({prop:function(e,t,n){var r,a,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&b.isXMLDoc(e)||(t=b.propFix[t]||t,a=b.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(b.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(e){var t,n,r,a,o,s,i,u=0;if(g(e))return this.each((function(t){b(this).addClass(e.call(this,t,Yt(this)))}));if(t=bt(e),t.length)while(n=this[u++])if(a=Yt(n),r=1===n.nodeType&&" "+kt(a)+" ",r){s=0;while(o=t[s++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i=kt(r),a!==i&&n.setAttribute("class",i)}return this},removeClass:function(e){var t,n,r,a,o,s,i,u=0;if(g(e))return this.each((function(t){b(this).removeClass(e.call(this,t,Yt(this)))}));if(!arguments.length)return this.attr("class","");if(t=bt(e),t.length)while(n=this[u++])if(a=Yt(n),r=1===n.nodeType&&" "+kt(a)+" ",r){s=0;while(o=t[s++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i=kt(r),a!==i&&n.setAttribute("class",i)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"===typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){b(this).toggleClass(e.call(this,n,Yt(this),t),t)})):this.each((function(){var t,a,o,s;if(r){a=0,o=b(this),s=bt(e);while(t=s[a++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||(t=Yt(this),t&&te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+kt(Yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Dt=/\r/g;b.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=g(e),this.each((function(n){var a;1===this.nodeType&&(a=r?e.call(this,n,b(this).val()):e,null==a?a="":"number"===typeof a?a+="":Array.isArray(a)&&(a=b.map(a,(function(e){return null==e?"":e+""}))),t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=b.valHooks[a.type]||b.valHooks[a.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:(n=a.value,"string"===typeof n?n.replace(Dt,""):null==n?"":n)):void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:kt(b.text(e))}},select:{get:function(e){var t,n,r,a=e.options,o=e.selectedIndex,s="select-one"===e.type,i=s?null:[],u=s?o+1:a.length;for(r=o<0?u:s?o:0;r<u;r++)if(n=a[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=b(n).val(),s)return t;i.push(t)}return i},set:function(e,t){var n,r,a=e.options,o=b.makeArray(t),s=a.length;while(s--)r=a[s],(r.selected=b.inArray(b.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=b.inArray(b(e).val(),t)>-1}},y.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in a;var Tt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(e,t,n,r){var o,s,i,u,l,d,c,m,h=[n||v],_=f.call(e,"type")?e.type:e,p=f.call(e,"namespace")?e.namespace.split("."):[];if(s=m=i=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(_+b.event.triggered)&&(_.indexOf(".")>-1&&(p=_.split("."),_=p.shift(),p.sort()),l=_.indexOf(":")<0&&"on"+_,e=e[b.expando]?e:new b.Event(_,"object"===typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:b.makeArray(t,[e]),c=b.event.special[_]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!M(n)){for(u=c.delegateType||_,Tt.test(u+_)||(s=s.parentNode);s;s=s.parentNode)h.push(s),i=s;i===(n.ownerDocument||v)&&h.push(i.defaultView||i.parentWindow||a)}o=0;while((s=h[o++])&&!e.isPropagationStopped())m=s,e.type=o>1?u:c.bindType||_,d=(te.get(s,"events")||Object.create(null))[e.type]&&te.get(s,"handle"),d&&d.apply(s,t),d=l&&s[l],d&&d.apply&&Q(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=_,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!Q(n)||l&&g(n[_])&&!M(n)&&(i=n[l],i&&(n[l]=null),b.event.triggered=_,e.isPropagationStopped()&&m.addEventListener(_,St),n[_](),e.isPropagationStopped()&&m.removeEventListener(_,St),b.event.triggered=void 0,i&&(n[l]=i)),e.result}},simulate:function(e,t,n){var r=b.extend(new b.Event,n,{type:e,isSimulated:!0});b.event.trigger(r,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each((function(){b.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return b.event.trigger(e,t,n,!0)}}),y.focusin||b.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){b.event.simulate(t,e.target,b.event.fix(e))};b.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=te.access(r,t);a||r.addEventListener(e,n,!0),te.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=te.access(r,t)-1;a?te.access(r,t,a):(r.removeEventListener(e,n,!0),te.remove(r,t))}}}));var At=a.location,xt={guid:Date.now()},Ct=/\?/;b.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new a.DOMParser).parseFromString(e,"text/xml")}catch(r){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||b.error("Invalid XML: "+(n?b.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,jt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var a;if(Array.isArray(t))b.each(t,(function(t,a){n||Et.test(e)?r(e,a):Nt(e+"["+("object"===typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==k(t))r(e,t);else for(a in t)Nt(e+"["+a+"]",t[a],n,r)}b.param=function(e,t){var n,r=[],a=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,(function(){a(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,a);return r.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&Ht.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,(function(e){return{name:t.name,value:e.replace(jt,"\r\n")}})):{name:t.name,value:n.replace(jt,"\r\n")}})).get()}});var Pt=/%20/g,It=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Vt=/^\/\//,zt={},Ut={},qt="*/".concat("*"),Jt=v.createElement("a");function Gt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,a=0,o=t.toLowerCase().match(F)||[];if(g(n))while(r=o[a++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var a={},o=e===Ut;function s(i){var u;return a[i]=!0,b.each(e[i]||[],(function(e,i){var l=i(t,n,r);return"string"!==typeof l||o||a[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),s(l),!1)})),u}return s(t.dataTypes[0])||!a["*"]&&s("*")}function Kt(e,t){var n,r,a=b.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&b.extend(!0,e,r),e}function Zt(e,t,n){var r,a,o,s,i=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in i)if(i[a]&&i[a].test(r)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}s||(s=a)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Xt(e,t,n,r){var a,o,s,i,u,l={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];o=d.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=d.shift(),o)if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=l[u+" "+o]||l["* "+o],!s)for(a in l)if(i=a.split(" "),i[1]===o&&(s=l[u+" "+i[0]]||l["* "+i[0]],s)){!0===s?s=l[a]:!0!==l[a]&&(o=i[0],d.unshift(i[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(c){return{state:"parsererror",error:s?c:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}Jt.href=At.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Bt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,b.ajaxSettings),t):Kt(b.ajaxSettings,e)},ajaxPrefilter:Gt(zt),ajaxTransport:Gt(Ut),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,r,o,s,i,u,l,d,c,m,h=b.ajaxSetup({},t),f=h.context||h,_=h.context&&(f.nodeType||f.jquery)?b(f):b.event,p=b.Deferred(),y=b.Callbacks("once memory"),g=h.statusCode||{},M={},L={},w="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s){s={};while(t=Ft.exec(o))s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=L[e.toLowerCase()]=L[e.toLowerCase()]||e,M[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)k.always(e[k.status]);else for(t in e)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),Y(0,t),this}};if(p.promise(k),h.url=((e||h.url||At.href)+"").replace(Vt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){u=v.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Jt.protocol+"//"+Jt.host!==u.protocol+"//"+u.host}catch(D){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=b.param(h.data,h.traditional)),$t(zt,h,t,k),l)return k;for(c in d=b.event&&h.global,d&&0===b.active++&&b.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),r=h.url.replace(It,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(m=h.url.slice(r.length),h.data&&(h.processData||"string"===typeof h.data)&&(r+=(Ct.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Rt,"$1"),m=(Ct.test(r)?"&":"?")+"_="+xt.guid+++m),h.url=r+m),h.ifModified&&(b.lastModified[r]&&k.setRequestHeader("If-Modified-Since",b.lastModified[r]),b.etag[r]&&k.setRequestHeader("If-None-Match",b.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(!1===h.beforeSend.call(f,k,h)||l))return k.abort();if(w="abort",y.add(h.complete),k.done(h.success),k.fail(h.error),n=$t(Ut,h,t,k),n){if(k.readyState=1,d&&_.trigger("ajaxSend",[k,h]),l)return k;h.async&&h.timeout>0&&(i=a.setTimeout((function(){k.abort("timeout")}),h.timeout));try{l=!1,n.send(M,Y)}catch(D){if(l)throw D;Y(-1,D)}}else Y(-1,"No Transport");function Y(e,t,s,u){var c,m,M,v,L,w=t;l||(l=!0,i&&a.clearTimeout(i),n=void 0,o=u||"",k.readyState=e>0?4:0,c=e>=200&&e<300||304===e,s&&(v=Zt(h,k,s)),!c&&b.inArray("script",h.dataTypes)>-1&&b.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),v=Xt(h,v,k,c),c?(h.ifModified&&(L=k.getResponseHeader("Last-Modified"),L&&(b.lastModified[r]=L),L=k.getResponseHeader("etag"),L&&(b.etag[r]=L)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=v.state,m=v.data,M=v.error,c=!M)):(M=w,!e&&w||(w="error",e<0&&(e=0))),k.status=e,k.statusText=(t||w)+"",c?p.resolveWith(f,[m,w,k]):p.rejectWith(f,[k,w,M]),k.statusCode(g),g=void 0,d&&_.trigger(c?"ajaxSuccess":"ajaxError",[k,h,c?m:M]),y.fireWith(f,[k,w]),d&&(_.trigger("ajaxComplete",[k,h]),--b.active||b.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return b.get(e,t,n,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],(function(e,t){b[t]=function(e,n,r,a){return g(n)&&(a=a||r,r=n,n=void 0),b.ajax(b.extend({url:e,type:t,dataType:a,data:n,success:r},b.isPlainObject(e)&&e))}})),b.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),b._evalUrl=function(e,t,n){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){b.globalEval(e,t,n)}})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=b(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){b(this).wrapInner(e.call(this,t))})):this.each((function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){b(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},en=b.ajaxSettings.xhr();y.cors=!!en&&"withCredentials"in en,y.ajax=en=!!en,b.ajaxTransport((function(e){var t,n;if(y.cors||en&&!e.crossDomain)return{send:function(r,o){var s,i=e.xhr();if(i.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)i[s]=e.xhrFields[s];for(s in e.mimeType&&i.overrideMimeType&&i.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)i.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!==typeof i.status?o(0,"error"):o(i.status,i.statusText):o(Qt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!==typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=t(),n=i.onerror=i.ontimeout=t("error"),void 0!==i.onabort?i.onabort=n:i.onreadystatechange=function(){4===i.readyState&&a.setTimeout((function(){t&&n()}))},t=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(u){if(t)throw u}},abort:function(){t&&t()}}})),b.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),b.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=b("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var tn=[],nn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||b.expando+"_"+xt.guid++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",(function(e,t,n){var r,o,s,i=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(i||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,i?e[i]=e[i].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||b.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=a[r],a[r]=function(){s=arguments},n.always((function(){void 0===o?b(a).removeProp(r):a[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),s&&g(o)&&o(s[0]),s=o=void 0})),"script"})),y.createHTMLDocument=function(){var e=v.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),b.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?(t=v.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=v.location.href,t.head.appendChild(r)):t=v),a=E.exec(e),o=!n&&[],a?[t.createElement(a[1])]:(a=be([e],t,o),o&&o.length&&b(o).remove(),b.merge([],a.childNodes)));var r,a,o},b.fn.load=function(e,t,n){var r,a,o,s=this,i=e.indexOf(" ");return i>-1&&(r=kt(e.slice(i)),e=e.slice(0,i)),g(t)?(n=t,t=void 0):t&&"object"===typeof t&&(a="POST"),s.length>0&&b.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?b("<div>").append(b.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},b.expr.pseudos.animated=function(e){return b.grep(b.timers,(function(t){return e===t.elem})).length},b.offset={setOffset:function(e,t,n){var r,a,o,s,i,u,l,d=b.css(e,"position"),c=b(e),m={};"static"===d&&(e.style.position="relative"),i=c.offset(),o=b.css(e,"top"),u=b.css(e,"left"),l=("absolute"===d||"fixed"===d)&&(o+u).indexOf("auto")>-1,l?(r=c.position(),s=r.top,a=r.left):(s=parseFloat(o)||0,a=parseFloat(u)||0),g(t)&&(t=t.call(e,n,b.extend({},i))),null!=t.top&&(m.top=t.top-i.top+s),null!=t.left&&(m.left=t.left-i.left+a),"using"in t?t.using.call(e,m):c.css(m)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){b.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],a={top:0,left:0};if("fixed"===b.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===b.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&(a=b(e).offset(),a.top+=b.css(e,"borderTopWidth",!0),a.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-b.css(r,"marginTop",!0),left:t.left-a.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===b.css(e,"position"))e=e.offsetParent;return e||de}))}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;b.fn[e]=function(r){return G(this,(function(e,r,a){var o;if(M(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===a)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:a,n?a:o.pageYOffset):e[r]=a}),e,r,arguments.length)}})),b.each(["top","left"],(function(e,t){b.cssHooks[t]=Ge(y.pixelPosition,(function(e,n){if(n)return n=Je(e,t),Ve.test(n)?b(e).position()[t]+"px":n}))})),b.each({Height:"height",Width:"width"},(function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){b.fn[r]=function(a,o){var s=arguments.length&&(n||"boolean"!==typeof a),i=n||(!0===a||!0===o?"margin":"border");return G(this,(function(t,n,a){var o;return M(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===a?b.css(t,n,i):b.style(t,n,a,i)}),t,s?a:void 0,s)}}))})),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){b.fn[t]=function(e){return this.on(t,e)}})),b.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;b.proxy=function(e,t){var n,r,a;if("string"===typeof t&&(n=e[t],t=e,e=n),g(e))return r=u.call(arguments,2),a=function(){return e.apply(t||this,r.concat(u.call(arguments)))},a.guid=e.guid=e.guid||b.guid++,a},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=C,b.isFunction=g,b.isWindow=M,b.camelCase=X,b.type=k,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},b.trim=function(e){return null==e?"":(e+"").replace(rn,"")},n=[],r=function(){return b}.apply(t,n),void 0===r||(e.exports=r);var an=a.jQuery,on=a.$;return b.noConflict=function(e){return a.$===b&&(a.$=on),e&&a.jQuery===b&&(a.jQuery=an),b},"undefined"===typeof o&&(a.jQuery=a.$=b),b}))},2786:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
26
26
|
//! moment.js locale configuration
|
|
27
27
|
var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},4130:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
28
28
|
//! moment.js locale configuration
|
|
29
|
-
var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,s
|
|
29
|
+
var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,o,s){var i=t(r),u=n[e][t(r)];return 2===i&&(u=u[a?0:1]),u.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},6135:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
30
30
|
//! moment.js locale configuration
|
|
31
31
|
var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t}))},6440:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
32
32
|
//! moment.js locale configuration
|
|
33
|
-
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,s
|
|
33
|
+
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,o,s){var i=n(t),u=r[e][n(t)];return 2===i&&(u=u[a?0:1]),u.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},7702:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
34
34
|
//! moment.js locale configuration
|
|
35
35
|
var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},6040:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
36
36
|
//! moment.js locale configuration
|
|
@@ -38,7 +38,7 @@ var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n=
|
|
|
38
38
|
//! moment.js locale configuration
|
|
39
39
|
var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},867:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
40
40
|
//! moment.js locale configuration
|
|
41
|
-
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},
|
|
41
|
+
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,s){var i=r(t),u=a[e][r(t)];return 2===i&&(u=u[n?0:1]),u.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],i=e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},1083:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
42
42
|
//! moment.js locale configuration
|
|
43
43
|
var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,a=e>=100?100:null;return e+(t[n]||t[r]||t[a])},week:{dow:1,doy:7}});return n}))},9808:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
44
44
|
//! moment.js locale configuration
|
|
@@ -54,13 +54,13 @@ var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0
|
|
|
54
54
|
//! moment.js locale configuration
|
|
55
55
|
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r}))},1278:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
56
56
|
//! moment.js locale configuration
|
|
57
|
-
function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+a(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function a(e,t){return 2===t?
|
|
57
|
+
function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+a(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function a(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var s=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,d=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],c=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],m=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],h=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:m,fullWeekdaysParse:d,shortWeekdaysParse:c,minWeekdaysParse:m,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:u,monthsShortStrictRegex:l,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return h}))},622:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
58
58
|
//! moment.js locale configuration
|
|
59
59
|
function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},2468:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
60
60
|
//! moment.js locale configuration
|
|
61
61
|
var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},5822:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
62
62
|
//! moment.js locale configuration
|
|
63
|
-
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function
|
|
63
|
+
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!==~~(e/10)}function s(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(o(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(o(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(o(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(o(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(o(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(o(e)?"roky":"let"):a+"lety"}}var i=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},877:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
64
64
|
//! moment.js locale configuration
|
|
65
65
|
var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},7373:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
66
66
|
//! moment.js locale configuration
|
|
@@ -96,13 +96,13 @@ var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July
|
|
|
96
96
|
//! moment.js locale configuration
|
|
97
97
|
var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},5251:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
98
98
|
//! moment.js locale configuration
|
|
99
|
-
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
99
|
+
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},6112:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
100
100
|
//! moment.js locale configuration
|
|
101
|
-
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
101
|
+
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return o}))},1146:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
102
102
|
//! moment.js locale configuration
|
|
103
|
-
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
103
|
+
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return o}))},5655:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
104
104
|
//! moment.js locale configuration
|
|
105
|
-
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
105
|
+
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return o}))},5603:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
106
106
|
//! moment.js locale configuration
|
|
107
107
|
function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},7763:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
108
108
|
//! moment.js locale configuration
|
|
@@ -110,7 +110,7 @@ var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_eka
|
|
|
110
110
|
//! moment.js locale configuration
|
|
111
111
|
var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r}))},1897:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
112
112
|
//! moment.js locale configuration
|
|
113
|
-
var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var
|
|
113
|
+
var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var o="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta";break}return o=a(e,r)+" "+o,o}function a(e,r){return e<10?r?n[e]:t[e]:e}var o=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},2549:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
114
114
|
//! moment.js locale configuration
|
|
115
115
|
var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},4694:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
116
116
|
//! moment.js locale configuration
|
|
@@ -120,13 +120,13 @@ var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juill
|
|
|
120
120
|
//! moment.js locale configuration
|
|
121
121
|
var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},4470:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
122
122
|
//! moment.js locale configuration
|
|
123
|
-
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],
|
|
123
|
+
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},5044:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
124
124
|
//! moment.js locale configuration
|
|
125
125
|
var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},9295:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
126
126
|
//! moment.js locale configuration
|
|
127
|
-
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],a=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],
|
|
127
|
+
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],a=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],s=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return s}))},2101:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
128
128
|
//! moment.js locale configuration
|
|
129
|
-
var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],a=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],
|
|
129
|
+
var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],a=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],s=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return s}))},8794:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
130
130
|
//! moment.js locale configuration
|
|
131
131
|
var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},7884:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
132
132
|
//! moment.js locale configuration
|
|
@@ -138,7 +138,7 @@ var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0
|
|
|
138
138
|
//! moment.js locale configuration
|
|
139
139
|
var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},94:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
140
140
|
//! moment.js locale configuration
|
|
141
|
-
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],a=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],
|
|
141
|
+
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],a=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:a,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},316:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
142
142
|
//! moment.js locale configuration
|
|
143
143
|
function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},2138:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
144
144
|
//! moment.js locale configuration
|
|
@@ -148,7 +148,7 @@ var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_
|
|
|
148
148
|
//! moment.js locale configuration
|
|
149
149
|
var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},135:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
150
150
|
//! moment.js locale configuration
|
|
151
|
-
function t(e){return e%100===11||e%10!==1}function n(e,n,r,a){var
|
|
151
|
+
function t(e){return e%100===11||e%10!==1}function n(e,n,r,a){var o=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||a?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||a?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||a?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(a?"daga":"dögum"):n?o+"dagur":o+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(a?"mánuði":"mánuðum"):n?o+"mánuður":o+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?o+(n||a?"ár":"árum"):o+(n||a?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},150:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
152
152
|
//! moment.js locale configuration
|
|
153
153
|
var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},626:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
154
154
|
//! moment.js locale configuration
|
|
@@ -172,13 +172,13 @@ var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n=
|
|
|
172
172
|
//! moment.js locale configuration
|
|
173
173
|
var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},6841:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
174
174
|
//! moment.js locale configuration
|
|
175
|
-
function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"viru "+e:"virun "+e}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return a(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return a(e)}return e/=1e3,a(e)}var
|
|
175
|
+
function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"viru "+e:"virun "+e}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return a(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return a(e)}return e/=1e3,a(e)}var o=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},5466:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
176
176
|
//! moment.js locale configuration
|
|
177
177
|
var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},7010:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
178
178
|
//! moment.js locale configuration
|
|
179
|
-
var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?
|
|
179
|
+
var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function a(e){return e%10===0||e>10&&e<20}function o(e){return t[e].split("_")}function s(e,t,n,s){var i=e+" ";return 1===e?i+r(e,t,n[0],s):t?i+(a(e)?o(n)[1]:o(n)[0]):s?i+o(n)[1]:i+(a(e)?o(n)[1]:o(n)[2])}var i=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:s,m:r,mm:s,h:r,hh:s,d:r,dd:s,M:r,MM:s,y:r,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return i}))},7595:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
180
180
|
//! moment.js locale configuration
|
|
181
|
-
var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}function
|
|
181
|
+
var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}var s=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},9861:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
182
182
|
//! moment.js locale configuration
|
|
183
183
|
var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},5493:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
184
184
|
//! moment.js locale configuration
|
|
@@ -204,9 +204,9 @@ var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_augus
|
|
|
204
204
|
//! moment.js locale configuration
|
|
205
205
|
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return r}))},9814:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
206
206
|
//! moment.js locale configuration
|
|
207
|
-
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
207
|
+
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},3901:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
208
208
|
//! moment.js locale configuration
|
|
209
|
-
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
209
|
+
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},3877:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
210
210
|
//! moment.js locale configuration
|
|
211
211
|
var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},2135:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
212
212
|
//! moment.js locale configuration
|
|
@@ -214,7 +214,7 @@ var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_
|
|
|
214
214
|
//! moment.js locale configuration
|
|
215
215
|
var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r}))},4495:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
216
216
|
//! moment.js locale configuration
|
|
217
|
-
var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function
|
|
217
|
+
var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}var s=e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},7971:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
218
218
|
//! moment.js locale configuration
|
|
219
219
|
var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},9520:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
220
220
|
//! moment.js locale configuration
|
|
@@ -230,15 +230,15 @@ var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_c
|
|
|
230
230
|
//! moment.js locale configuration
|
|
231
231
|
var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},4249:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
232
232
|
//! moment.js locale configuration
|
|
233
|
-
var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var
|
|
233
|
+
var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var o=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?o+(r(e)?"roky":"rokov"):o+"rokmi"}}var o=e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},4985:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
234
234
|
//! moment.js locale configuration
|
|
235
235
|
function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",a;case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",a;case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",a;case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",a;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",a;case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",a}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1104:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
236
236
|
//! moment.js locale configuration
|
|
237
237
|
var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},9915:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
238
238
|
//! moment.js locale configuration
|
|
239
|
-
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var s
|
|
239
|
+
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,s=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?s[0]:s[1]:(o=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"годину"===o?e+" година":e+" "+o)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},9131:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
240
240
|
//! moment.js locale configuration
|
|
241
|
-
var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var s
|
|
241
|
+
var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,s=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?s[0]:s[1]:(o=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"godinu"===o?e+" godina":e+" "+o)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},5893:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
242
242
|
//! moment.js locale configuration
|
|
243
243
|
var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},8760:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
244
244
|
//! moment.js locale configuration
|
|
@@ -256,13 +256,13 @@ var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"
|
|
|
256
256
|
//! moment.js locale configuration
|
|
257
257
|
var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},9005:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
258
258
|
//! moment.js locale configuration
|
|
259
|
-
var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,
|
|
259
|
+
var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,o=e>=100?100:null;return e+(t[r]||t[a]||t[o])}},week:{dow:1,doy:7}});return n}))},5768:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
260
260
|
//! moment.js locale configuration
|
|
261
261
|
var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},9444:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
262
262
|
//! moment.js locale configuration
|
|
263
|
-
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function a(e,t,n,r){var a=
|
|
263
|
+
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function a(e,t,n,r){var a=o(e);switch(n){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function o(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),a>0&&(o+=(""!==o?" ":"")+t[a]),""===o?"pagh":o}var s=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},2397:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
264
264
|
//! moment.js locale configuration
|
|
265
|
-
var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,a=e%100-r,
|
|
265
|
+
var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,a=e%100-r,o=e>=100?100:null;return e+(t[r]||t[a]||t[o])}},week:{dow:1,doy:7}});return n}))},8254:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
266
266
|
//! moment.js locale configuration
|
|
267
267
|
var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}return t}))},699:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
268
268
|
//! moment.js locale configuration
|
|
@@ -272,7 +272,7 @@ var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕ
|
|
|
272
272
|
//! moment.js locale configuration
|
|
273
273
|
var t=e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},7691:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
274
274
|
//! moment.js locale configuration
|
|
275
|
-
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var a={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(a[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var
|
|
275
|
+
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var a={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(a[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}))},3795:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
276
276
|
//! moment.js locale configuration
|
|
277
277
|
var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},588:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
278
278
|
//! moment.js locale configuration
|
|
@@ -292,16 +292,16 @@ var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_
|
|
|
292
292
|
//! moment.js locale configuration
|
|
293
293
|
var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},4152:function(e,t,n){(function(e,t){t(n(381))})(0,(function(e){"use strict";
|
|
294
294
|
//! moment.js locale configuration
|
|
295
|
-
var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},6700:(e,t,n)=>{var r={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":238,"./ru.js":238,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function a(e){var t=s(e);return n(t)}function s(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=s,e.exports=a,a.id=6700},381:function(e,t,n){e=n.nmd(e),function(t,n){e.exports=n()}(0,(function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function s(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function d(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return $n(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=p()),e._pf}function g(e){if(null==e._isValid){var t=y(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function M(e){var t=_(NaN);return null!=e?f(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=a.momentProperties=[],L=!1;function w(e,t){var n,r,a,s=v.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=y(t)),d(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)r=v[n],a=t[r],d(a)||(e[r]=a);return e}function Y(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===L&&(L=!0,a.updateOffset(this),L=!1)}function b(e){return e instanceof Y||null!=e&&null!=e._isAMomentObject}function k(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,s,i,o=[],l=arguments.length;for(s=0;s<l;s++){if(r="","object"===typeof arguments[s]){for(i in r+="\n["+s+"] ",arguments[0])u(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[s];o.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,S={};function A(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),S[e]||(k(t),S[e]=!0)}function x(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)u(e,n)&&(t=e[n],x(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=f({},e);for(n in t)u(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&o(e[n])&&(r[n]=f({},r[n]));return r}function j(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var H={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return x(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),a=t-r.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},F={};function B(e,t,n,r){var a=r;"string"===typeof r&&(a=function(){return this[r]()}),e&&(F[e]=a),t&&(F[t[0]]=function(){return N(a.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,r=e.match(P);for(t=0,n=r.length;t<n;t++)F[r[t]]?r[t]=F[r[t]]:r[t]=W(r[t]);return function(t){var a,s="";for(a=0;a<n;a++)s+=x(r[a])?r[a].call(t,e):r[a];return s}}function z(e,t){return e.isValid()?(t=U(t,e.localeData()),R[t]=R[t]||V(t),R[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}I.lastIndex=0;while(n>=0&&I.test(e))e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function J(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function $(){return this._invalidDate}var K="%d",Z=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var a=this._relativeTime[n];return x(a)?a(e,t,n,r):a.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ae(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function se(e){var t,n,r={};for(n in e)u(e,n)&&(t=ae(n),t&&(r[t]=e[n]));return r}var ie={};function oe(e,t){ie[e]=t}function ue(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}function me(e,t){return function(n){return null!=n?(fe(this,e,n),a.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function _e(e){return e=ae(e),x(this[e])?this[e]():this}function pe(e,t){if("object"===typeof e){e=se(e);var n,r=ue(e),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=ae(e),x(this[e]))return this[e](t);return this}var ye,ge=/\d/,Me=/\d\d/,ve=/\d{3}/,Le=/\d{4}/,we=/[+-]?\d{6}/,Ye=/\d\d?/,be=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Te=/\d{1,4}/,Se=/[+-]?\d{1,6}/,Ae=/\d+/,xe=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,je=/[+-]?\d+(\.\d{1,3})?/,He=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Oe(e,t,n){ye[e]=x(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return u(ye,e)?ye[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Re={};function Fe(e,t){var n,r,a=t;for("string"===typeof e&&(e=[e]),c(t)&&(a=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Re[e[n]]=a}function Be(e,t){Fe(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function We(e,t,n){null!=t&&u(Re,e)&&Re[e](t,n._a,n,e)}var Ve,ze=0,Ue=1,qe=2,Je=3,Ge=4,$e=5,Ke=6,Ze=7,Xe=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),oe("month",8),Oe("M",Ye),Oe("MM",Ye,Me),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[Ue]=ce(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Ue]=a:y(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=He,st=He;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months["standalone"]}function ot(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,n){var r,a,s,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:null):(a=Ve.call(this._longMonthsParse,i),-1!==a?a:null):"MMM"===t?(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:(a=Ve.call(this._longMonthsParse,i),-1!==a?a:null)):(a=Ve.call(this._longMonthsParse,i),-1!==a?a:(a=Ve.call(this._shortMonthsParse,i),-1!==a?a:null))}function lt(e,t,n){var r,a,s;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(s="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function dt(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=ce(t);else if(t=e.localeData().monthsParse(t),!c(t))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ct(e){return null!=e?(dt(this,e),a.updateOffset(this,!0),this):he(this,"Month")}function mt(){return et(this.year(),this.month())}function ht(e){return this._monthsParseExact?(u(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(u(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],s=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),s.sort(e),t=0;t<12;t++)r[t]=Ie(r[t]),a[t]=Ie(a[t]);for(t=0;t<24;t++)s[t]=Ie(s[t]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pt(e){return le(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),re("year","y"),oe("year",1),Oe("Y",xe),Oe("YY",Ye,Me),Oe("YYYY",Te,Le),Oe("YYYYY",Se,we),Oe("YYYYYY",Se,we),Fe(["YYYYY","YYYYYY"],ze),Fe("YYYY",(function(e,t){t[ze]=2===e.length?a.parseTwoDigitYear(e):ce(e)})),Fe("YY",(function(e,t){t[ze]=a.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[ze]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};var yt=me("FullYear",!0);function gt(){return le(this.year())}function Mt(e,t,n,r,a,s,i){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,r,a,s,i),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,a,s,i),o}function vt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Lt(e,t,n){var r=7+t-n,a=(7+vt(e,0,r).getUTCDay()-t)%7;return-a+r-1}function wt(e,t,n,r,a){var s,i,o=(7+n-r)%7,u=Lt(e,r,a),l=1+7*(t-1)+o+u;return l<=0?(s=e-1,i=pt(s)+l):l>pt(e)?(s=e+1,i=l-pt(e)):(s=e,i=l),{year:s,dayOfYear:i}}function Yt(e,t,n){var r,a,s=Lt(e.year(),t,n),i=Math.floor((e.dayOfYear()-s-1)/7)+1;return i<1?(a=e.year()-1,r=i+bt(a,t,n)):i>bt(e.year(),t,n)?(r=i-bt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function bt(e,t,n){var r=Lt(e,t,n),a=Lt(e+1,t,n);return(pt(e)-r+a)/7}function kt(e){return Yt(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),oe("week",5),oe("isoWeek",5),Oe("w",Ye),Oe("ww",Ye,Me),Oe("W",Ye),Oe("WW",Ye,Me),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var Dt={dow:0,doy:6};function Tt(){return this._week.dow}function St(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=Yt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Et(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),oe("day",11),oe("weekday",11),oe("isoWeekday",11),Oe("d",Ye),Oe("e",Ye),Oe("E",Ye),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:y(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pt=He,It=He,Rt=He;function Ft(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vt(e,t,n){var r,a,s,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?(a=Ve.call(this._weekdaysParse,i),-1!==a?a:null):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:null):(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null):"dddd"===t?(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null))):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:null))):(a=Ve.call(this._minWeekdaysParse,i),-1!==a?a:(a=Ve.call(this._weekdaysParse,i),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,i),-1!==a?a:null)))}function zt(e,t,n){var r,a,s;if(this._weekdaysParseExact)return Vt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Jt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Pt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,a,s,i=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=Ie(this.weekdaysMin(n,"")),a=Ie(this.weekdaysShort(n,"")),s=Ie(this.weekdays(n,"")),i.push(r),o.push(a),u.push(s),l.push(r),l.push(a),l.push(s);i.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Xt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),en("a",!0),en("A",!1),re("hour","h"),oe("hour",13),Oe("a",tn),Oe("A",tn),Oe("H",Ye),Oe("h",Ye),Oe("k",Ye),Oe("HH",Ye,Me),Oe("hh",Ye,Me),Oe("kk",Ye,Me),Oe("hmm",be),Oe("hmmss",ke),Oe("Hmm",be),Oe("Hmmss",ke),Fe(["H","HH"],Je),Fe(["k","kk"],(function(e,t,n){var r=ce(e);t[Je]=24===r?0:r})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[Je]=ce(e),y(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var r=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r)),y(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r,2)),t[$e]=ce(e.substr(a)),y(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var r=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r))})),Fe("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r,2)),t[$e]=ce(e.substr(a))}));var rn=/[ap]\.?m?\.?/i,an=me("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,un={calendar:H,longDateFormat:q,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:Z,relativeTime:Q,months:tt,monthsShort:nt,week:Dt,weekdays:Ht,weekdaysMin:Nt,weekdaysShort:Ot,meridiemParse:rn},ln={},dn={};function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function mn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){var t,n,r,a,s=0;while(s<e.length){a=mn(e[s]).split("-"),t=a.length,n=mn(e[s+1]),n=n?n.split("-"):null;while(t>0){if(r=_n(a.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&cn(a,n)>=t-1)break;t--}s++}return on}function fn(e){return null!=e.match("^[^/\\\\]*$")}function _n(t){var r=null;if(void 0===ln[t]&&e&&e.exports&&fn(t))try{r=on._abbr,void 0,n(6700)("./"+t),pn(r)}catch(a){ln[t]=null}return ln[t]}function pn(e,t){var n;return e&&(n=d(t)?Mn(e):yn(e,t),n?on=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function yn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(n=_n(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new j(E(r,t)),dn[e]&&dn[e].forEach((function(e){yn(e.name,e.config)})),pn(e),ln[e]}return delete ln[e],null}function gn(e,t){if(null!=t){var n,r,a=un;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(E(ln[e]._config,t)):(r=_n(e),null!=r&&(a=r._config),t=E(a,t),null==r&&(t.abbr=e),n=new j(t),n.parentLocale=ln[e],ln[e]=n),pn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===pn()&&pn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function Mn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!i(e)){if(t=_n(e),t)return t;e=[e]}return hn(e)}function vn(){return T(ln)}function Ln(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[qe]<1||n[qe]>et(n[ze],n[Ue])?qe:n[Je]<0||n[Je]>24||24===n[Je]&&(0!==n[Ge]||0!==n[$e]||0!==n[Ke])?Je:n[Ge]<0||n[Ge]>59?Ge:n[$e]<0||n[$e]>59?$e:n[Ke]<0||n[Ke]>999?Ke:-1,y(e)._overflowDayOfYear&&(t<ze||t>qe)&&(t=qe),y(e)._overflowWeeks&&-1===t&&(t=Ze),y(e)._overflowWeekday&&-1===t&&(t=Xe),y(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Dn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((-?\d+)/i,Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xn(e){var t,n,r,a,s,i,o=e._i,u=wn.exec(o)||Yn.exec(o),l=kn.length,d=Dn.length;if(u){for(y(e).iso=!0,t=0,n=l;t<n;t++)if(kn[t][1].exec(u[1])){a=kn[t][0],r=!1!==kn[t][2];break}if(null==a)return void(e._isValid=!1);if(u[3]){for(t=0,n=d;t<n;t++)if(Dn[t][1].exec(u[3])){s=(u[2]||" ")+Dn[t][0];break}if(null==s)return void(e._isValid=!1)}if(!r&&null!=s)return void(e._isValid=!1);if(u[4]){if(!bn.exec(u[4]))return void(e._isValid=!1);i="Z"}e._f=a+(s||"")+(i||""),Wn(e)}else e._isValid=!1}function Cn(e,t,n,r,a,s){var i=[En(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return s&&i.push(parseInt(s,10)),i}function En(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function jn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Hn(e,t,n){if(e){var r=Ot.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function On(e,t,n){if(e)return An[e];if(t)return 0;var r=parseInt(n,10),a=r%100,s=(r-a)/100;return 60*s+a}function Nn(e){var t,n=Sn.exec(jn(e._i));if(n){if(t=Cn(n[4],n[3],n[2],n[5],n[6],n[7]),!Hn(n[1],t,e))return;e._a=t,e._tzm=On(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Pn(e){var t=Tn.exec(e._i);null===t?(xn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function In(e,t,n){return null!=e?e:null!=t?t:n}function Rn(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fn(e){var t,n,r,a,s,i=[];if(!e._d){for(r=Rn(e),e._w&&null==e._a[qe]&&null==e._a[Ue]&&Bn(e),null!=e._dayOfYear&&(s=In(e._a[ze],r[ze]),(e._dayOfYear>pt(s)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=vt(s,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[qe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Je]&&0===e._a[Ge]&&0===e._a[$e]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[Je]=0),e._d=(e._useUTC?vt:Mt).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Je]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,a,s,i,o,u,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,i=4,n=In(t.GG,e._a[ze],Yt(Kn(),1,4).year),r=In(t.W,1),a=In(t.E,1),(a<1||a>7)&&(u=!0)):(s=e._locale._week.dow,i=e._locale._week.doy,l=Yt(Kn(),s,i),n=In(t.gg,e._a[ze],l.year),r=In(t.w,l.week),null!=t.d?(a=t.d,(a<0||a>6)&&(u=!0)):null!=t.e?(a=t.e+s,(t.e<0||t.e>6)&&(u=!0)):a=s),r<1||r>bt(n,s,i)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(o=wt(n,r,a,s,i),e._a[ze]=o.year,e._dayOfYear=o.dayOfYear)}function Wn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,s,i,o,u,l=""+e._i,d=l.length,c=0;for(r=U(e._f,e._locale).match(P)||[],u=r.length,t=0;t<u;t++)s=r[t],n=(l.match(Ne(s,e))||[])[0],n&&(i=l.substr(0,l.indexOf(n)),i.length>0&&y(e).unusedInput.push(i),l=l.slice(l.indexOf(n)+n.length),c+=n.length),F[s]?(n?y(e).empty=!1:y(e).unusedTokens.push(s),We(s,n,e)):e._strict&&!n&&y(e).unusedTokens.push(s);y(e).charsLeftOver=d-c,l.length>0&&y(e).unusedInput.push(l),e._a[Je]<=12&&!0===y(e).bigHour&&e._a[Je]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Je]=Vn(e._locale,e._a[Je],e._meridiem),o=y(e).era,null!==o&&(e._a[ze]=e._locale.erasConvertYear(o,e._a[ze])),Fn(e),Ln(e)}else Nn(e);else xn(e)}function Vn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,a,s,i,o=!1,u=e._f.length;if(0===u)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<u;a++)s=0,i=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Wn(t),g(t)&&(i=!0),s+=y(t).charsLeftOver,s+=10*y(t).unusedTokens.length,y(t).score=s,o?s<r&&(r=s,n=t):(null==r||s<r||i)&&(r=s,n=t,i&&(o=!0));f(e,n||t)}function Un(e){if(!e._d){var t=se(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fn(e)}}function qn(e){var t=new Y(Ln(Jn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Jn(e){var t=e._i,n=e._f;return e._locale=e._locale||Mn(e._l),null===t||void 0===n&&""===t?M({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new Y(Ln(t)):(m(t)?e._d=t:i(n)?zn(e):n?Wn(e):Gn(e),g(e)||(e._d=null),e))}function Gn(e){var t=e._i;d(t)?e._d=new Date(a.now()):m(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Pn(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Fn(e)):o(t)?Un(e):c(t)?e._d=new Date(t):a.createFromInputFallback(e)}function $n(e,t,n,r,a){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=r,qn(s)}function Kn(e,t,n,r){return $n(e,t,n,r,!1)}a.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Zn=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:M()})),Xn=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:M()}));function Qn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){var e=[].slice.call(arguments,0);return Qn("isBefore",e)}function tr(){var e=[].slice.call(arguments,0);return Qn("isAfter",e)}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n,r=!1,a=rr.length;for(t in e)if(u(e,t)&&(-1===Ve.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==ce(e[rr[n]])&&(r=!0)}return!0}function sr(){return this._isValid}function ir(){return Ar(NaN)}function or(e){var t=se(e),n=t.year||0,r=t.quarter||0,a=t.month||0,s=t.week||t.isoWeek||0,i=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=ar(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+i+7*s,this._months=+a+3*r+12*n,this._data={},this._locale=Mn(),this._bubble()}function ur(e){return e instanceof or}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r,a=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&i++;return i+s}function cr(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),Oe("Z",Ee),Oe("ZZ",Ee),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hr(Ee,e)}));var mr=/([\+\-]|\d\d)/gi;function hr(e,t){var n,r,a,s=(t||"").match(e);return null===s?null:(n=s[s.length-1]||[],r=(n+"").match(mr)||["-",0,0],a=60*r[1]+ce(r[2]),0===a?0:"+"===r[0]?a:-a)}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(b(e)||m(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Kn(e).local()}function _r(e){return-Math.round(e._d.getTimezoneOffset())}function pr(e,t,n){var r,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=hr(Ee,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=_r(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==e&&(!t||this._changeInProgress?Hr(this,Ar(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:_r(this)}function yr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function Mr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(_r(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=hr(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Lr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yr(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=Jn(t),t._a?(e=t._isUTC?_(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&dr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function br(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Dr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ar(e,t){var n,r,a,s=e,i=null;return ur(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(i=Tr.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:ce(i[qe])*n,h:ce(i[Je])*n,m:ce(i[Ge])*n,s:ce(i[$e])*n,ms:ce(lr(1e3*i[Ke]))*n}):(i=Sr.exec(e))?(n="-"===i[1]?-1:1,s={y:xr(i[2],n),M:xr(i[3],n),w:xr(i[4],n),d:xr(i[5],n),h:xr(i[6],n),m:xr(i[7],n),s:xr(i[8],n)}):null==s?s={}:"object"===typeof s&&("from"in s||"to"in s)&&(a=Er(Kn(s.from),Kn(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),r=new or(s),ur(e)&&u(e,"_locale")&&(r._locale=e._locale),ur(e)&&u(e,"_isValid")&&(r._isValid=e._isValid),r}function xr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Er(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Cr(e,t):(n=Cr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jr(e,t){return function(n,r){var a,s;return null===r||isNaN(+r)||(A(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),a=Ar(n,r),Hr(this,a,e),this}}function Hr(e,t,n,r){var s=t._milliseconds,i=lr(t._days),o=lr(t._months);e.isValid()&&(r=null==r||r,o&&dt(e,he(e,"Month")+o*n),i&&fe(e,"Date",he(e,"Date")+i*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&a.updateOffset(e,i||o))}Ar.fn=or.prototype,Ar.invalid=ir;var Or=jr(1,"add"),Nr=jr(-1,"subtract");function Pr(e){return"string"===typeof e||e instanceof String}function Ir(e){return b(e)||m(e)||Pr(e)||c(e)||Fr(e)||Rr(e)||null===e||void 0===e}function Rr(e){var t,n,r=o(e)&&!l(e),a=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i=s.length;for(t=0;t<i;t+=1)n=s[t],a=a||u(e,n);return r&&a}function Fr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Pr(e)})).length),t&&n}function Br(e){var t,n,r=o(e)&&!l(e),a=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)n=s[t],a=a||u(e,n);return r&&a}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vr(e,t){1===arguments.length&&(arguments[0]?Ir(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),r=fr(n,this).startOf("day"),s=a.calendarFormat(this,r)||"sameElse",i=t&&(x(t[s])?t[s].call(this,n):t[s]);return this.format(i||this.localeData().calendar(s,this,Kn(n)))}function zr(){return new Y(this)}function Ur(e,t){var n=b(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function qr(e,t){var n=b(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Jr(e,t,n,r){var a=b(e)?e:Kn(e),s=b(t)?t:Kn(t);return!!(this.isValid()&&a.isValid()&&s.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(s,n):!this.isAfter(s,n)))}function Gr(e,t){var n,r=b(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function $r(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,a,s;if(!this.isValid())return NaN;if(r=fr(e,this),!r.isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":s=Xr(this,r)/12;break;case"month":s=Xr(this,r);break;case"quarter":s=Xr(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-a)/864e5;break;case"week":s=(this-r-a)/6048e5;break;default:s=this-r}return n?s:de(s)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(a,"months");return t-s<0?(n=e.clone().add(a-1,"months"),r=(t-s)/(s-n)):(n=e.clone().add(a+1,"months"),r=(t-s)/(n-s)),-(a+r)||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",s="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=s+'[")]',this.format(e+t+n+r)}function na(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)}function ra(e,t){return this.isValid()&&(b(e)&&e.isValid()||Kn(e).isValid())?Ar({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from(Kn(),e)}function sa(e,t){return this.isValid()&&(b(e)&&e.isValid()||Kn(e).isValid())?Ar({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ia(e){return this.to(Kn(),e)}function oa(e){var t;return void 0===e?this._locale._abbr:(t=Mn(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ua=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function la(){return this._locale}var da=1e3,ca=60*da,ma=60*ca,ha=3506328*ma;function fa(e,t){return(e%t+t)%t}function _a(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ha:new Date(e,t,n).valueOf()}function pa(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ha:Date.UTC(e,t,n)}function ya(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pa:_a,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fa(t+(this._isUTC?0:this.utcOffset()*ca),ma);break;case"minute":t=this._d.valueOf(),t-=fa(t,ca);break;case"second":t=this._d.valueOf(),t-=fa(t,da);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function ga(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pa:_a,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ma-fa(t+(this._isUTC?0:this.utcOffset()*ca),ma)-1;break;case"minute":t=this._d.valueOf(),t+=ca-fa(t,ca)-1;break;case"second":t=this._d.valueOf(),t+=da-fa(t,da)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function Ma(){return this._d.valueOf()-6e4*(this._offset||0)}function va(){return Math.floor(this.valueOf()/1e3)}function La(){return new Date(this.valueOf())}function wa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ya(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ba(){return this.isValid()?this.toISOString():null}function ka(){return g(this)}function Da(){return f({},y(this))}function Ta(){return y(this).overflow}function Sa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Aa(e,t){var n,r,s,i=this._eras||Mn("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=a(i[n].since).startOf("day"),i[n].since=s.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=a(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf();break}}return i}function xa(e,t,n){var r,a,s,i,o,u=this.eras();for(e=e.toUpperCase(),r=0,a=u.length;r<a;++r)if(s=u[r].name.toUpperCase(),i=u[r].abbr.toUpperCase(),o=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return u[r];break;case"NNNN":if(s===e)return u[r];break;case"NNNNN":if(o===e)return u[r];break}else if([s,i,o].indexOf(e)>=0)return u[r]}function Ca(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Ea(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function ja(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ha(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Oa(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-a(s[e].since).year())*n+s[e].offset;return this.year()}function Na(e){return u(this,"_erasNameRegex")||Va.call(this),e?this._erasNameRegex:this._erasRegex}function Pa(e){return u(this,"_erasAbbrRegex")||Va.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ia(e){return u(this,"_erasNarrowRegex")||Va.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ra(e,t){return t.erasAbbrRegex(e)}function Fa(e,t){return t.erasNameRegex(e)}function Ba(e,t){return t.erasNarrowRegex(e)}function Wa(e,t){return t._eraYearOrdinalRegex||Ae}function Va(){var e,t,n=[],r=[],a=[],s=[],i=this.eras();for(e=0,t=i.length;e<t;++e)r.push(Ie(i[e].name)),n.push(Ie(i[e].abbr)),a.push(Ie(i[e].narrow)),s.push(Ie(i[e].name)),s.push(Ie(i[e].abbr)),s.push(Ie(i[e].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function za(e,t){B(0,[e,e.length],0,t)}function Ua(e){return Za.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qa(e){return Za.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ja(){return bt(this.year(),1,4)}function Ga(){return bt(this.isoWeekYear(),1,4)}function $a(){var e=this.localeData()._week;return bt(this.year(),e.dow,e.doy)}function Ka(){var e=this.localeData()._week;return bt(this.weekYear(),e.dow,e.doy)}function Za(e,t,n,r,a){var s;return null==e?Yt(this,r,a).year:(s=bt(e,r,a),t>s&&(t=s),Xa.call(this,e,t,n,r,a))}function Xa(e,t,n,r,a){var s=wt(e,t,n,r,a),i=vt(s.year,0,s.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Qa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Oe("N",Ra),Oe("NN",Ra),Oe("NNN",Ra),Oe("NNNN",Fa),Oe("NNNNN",Ba),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?y(n).era=a:y(n).invalidEra=e})),Oe("y",Ae),Oe("yy",Ae),Oe("yyy",Ae),Oe("yyyy",Ae),Oe("yo",Wa),Fe(["y","yy","yyy","yyyy"],ze),Fe(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ze]=n._locale.eraYearOrdinalParse(e,a):t[ze]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),za("gggg","weekYear"),za("ggggg","weekYear"),za("GGGG","isoWeekYear"),za("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),oe("weekYear",1),oe("isoWeekYear",1),Oe("G",xe),Oe("g",xe),Oe("GG",Ye,Me),Oe("gg",Ye,Me),Oe("GGGG",Te,Le),Oe("gggg",Te,Le),Oe("GGGGG",Se,we),Oe("ggggg",Se,we),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Be(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),re("quarter","Q"),oe("quarter",7),Oe("Q",ge),Fe("Q",(function(e,t){t[Ue]=3*(ce(e)-1)})),B("D",["DD",2],"Do","date"),re("date","D"),oe("date",9),Oe("D",Ye),Oe("DD",Ye,Me),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],qe),Fe("Do",(function(e,t){t[qe]=ce(e.match(Ye)[0])}));var es=me("Date",!0);function ts(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),oe("dayOfYear",4),Oe("DDD",De),Oe("DDDD",ve),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),B("m",["mm",2],0,"minute"),re("minute","m"),oe("minute",14),Oe("m",Ye),Oe("mm",Ye,Me),Fe(["m","mm"],Ge);var ns=me("Minutes",!1);B("s",["ss",2],0,"second"),re("second","s"),oe("second",15),Oe("s",Ye),Oe("ss",Ye,Me),Fe(["s","ss"],$e);var rs,as,ss=me("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),oe("millisecond",16),Oe("S",De,ge),Oe("SS",De,Me),Oe("SSS",De,ve),rs="SSSS";rs.length<=9;rs+="S")Oe(rs,Ae);function is(e,t){t[Ke]=ce(1e3*("0."+e))}for(rs="S";rs.length<=9;rs+="S")Fe(rs,is);function os(){return this._isUTC?"UTC":""}function us(){return this._isUTC?"Coordinated Universal Time":""}as=me("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ls=Y.prototype;function ds(e){return Kn(1e3*e)}function cs(){return Kn.apply(null,arguments).parseZone()}function ms(e){return e}ls.add=Or,ls.calendar=Vr,ls.clone=zr,ls.diff=Zr,ls.endOf=ga,ls.format=na,ls.from=ra,ls.fromNow=aa,ls.to=sa,ls.toNow=ia,ls.get=_e,ls.invalidAt=Ta,ls.isAfter=Ur,ls.isBefore=qr,ls.isBetween=Jr,ls.isSame=Gr,ls.isSameOrAfter=$r,ls.isSameOrBefore=Kr,ls.isValid=ka,ls.lang=ua,ls.locale=oa,ls.localeData=la,ls.max=Xn,ls.min=Zn,ls.parsingFlags=Da,ls.set=pe,ls.startOf=ya,ls.subtract=Nr,ls.toArray=wa,ls.toObject=Ya,ls.toDate=La,ls.toISOString=ea,ls.inspect=ta,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ls[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ls.toJSON=ba,ls.toString=Qr,ls.unix=va,ls.valueOf=Ma,ls.creationData=Sa,ls.eraName=Ea,ls.eraNarrow=ja,ls.eraAbbr=Ha,ls.eraYear=Oa,ls.year=yt,ls.isLeapYear=gt,ls.weekYear=Ua,ls.isoWeekYear=qa,ls.quarter=ls.quarters=Qa,ls.month=ct,ls.daysInMonth=mt,ls.week=ls.weeks=At,ls.isoWeek=ls.isoWeeks=xt,ls.weeksInYear=$a,ls.weeksInWeekYear=Ka,ls.isoWeeksInYear=Ja,ls.isoWeeksInISOWeekYear=Ga,ls.date=es,ls.day=ls.days=Ut,ls.weekday=qt,ls.isoWeekday=Jt,ls.dayOfYear=ts,ls.hour=ls.hours=an,ls.minute=ls.minutes=ns,ls.second=ls.seconds=ss,ls.millisecond=ls.milliseconds=as,ls.utcOffset=pr,ls.utc=gr,ls.local=Mr,ls.parseZone=vr,ls.hasAlignedHourOffset=Lr,ls.isDST=wr,ls.isLocal=br,ls.isUtcOffset=kr,ls.isUtc=Dr,ls.isUTC=Dr,ls.zoneAbbr=os,ls.zoneName=us,ls.dates=D("dates accessor is deprecated. Use date instead.",es),ls.months=D("months accessor is deprecated. Use month instead",ct),ls.years=D("years accessor is deprecated. Use year instead",yt),ls.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ls.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yr);var hs=j.prototype;function fs(e,t,n,r){var a=Mn(),s=_().set(r,t);return a[n](s,e)}function _s(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fs(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=fs(e,r,n,"month");return a}function ps(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var a,s=Mn(),i=e?s._week.dow:0,o=[];if(null!=n)return fs(t,(n+i)%7,r,"day");for(a=0;a<7;a++)o[a]=fs(t,(a+i)%7,r,"day");return o}function ys(e,t){return _s(e,t,"months")}function gs(e,t){return _s(e,t,"monthsShort")}function Ms(e,t,n){return ps(e,t,n,"weekdays")}function vs(e,t,n){return ps(e,t,n,"weekdaysShort")}function Ls(e,t,n){return ps(e,t,n,"weekdaysMin")}hs.calendar=O,hs.longDateFormat=J,hs.invalidDate=$,hs.ordinal=X,hs.preparse=ms,hs.postformat=ms,hs.relativeTime=ee,hs.pastFuture=te,hs.set=C,hs.eras=Aa,hs.erasParse=xa,hs.erasConvertYear=Ca,hs.erasAbbrRegex=Pa,hs.erasNameRegex=Na,hs.erasNarrowRegex=Ia,hs.months=it,hs.monthsShort=ot,hs.monthsParse=lt,hs.monthsRegex=ft,hs.monthsShortRegex=ht,hs.week=kt,hs.firstDayOfYear=St,hs.firstDayOfWeek=Tt,hs.weekdays=Ft,hs.weekdaysMin=Wt,hs.weekdaysShort=Bt,hs.weekdaysParse=zt,hs.weekdaysRegex=Gt,hs.weekdaysShortRegex=$t,hs.weekdaysMinRegex=Kt,hs.isPM=nn,hs.meridiem=sn,pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=D("moment.lang is deprecated. Use moment.locale instead.",pn),a.langData=D("moment.langData is deprecated. Use moment.localeData instead.",Mn);var ws=Math.abs;function Ys(){var e=this._data;return this._milliseconds=ws(this._milliseconds),this._days=ws(this._days),this._months=ws(this._months),e.milliseconds=ws(e.milliseconds),e.seconds=ws(e.seconds),e.minutes=ws(e.minutes),e.hours=ws(e.hours),e.months=ws(e.months),e.years=ws(e.years),this}function bs(e,t,n,r){var a=Ar(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function ks(e,t){return bs(this,e,t,1)}function Ds(e,t){return bs(this,e,t,-1)}function Ts(e){return e<0?Math.floor(e):Math.ceil(e)}function Ss(){var e,t,n,r,a,s=this._milliseconds,i=this._days,o=this._months,u=this._data;return s>=0&&i>=0&&o>=0||s<=0&&i<=0&&o<=0||(s+=864e5*Ts(xs(o)+i),i=0,o=0),u.milliseconds=s%1e3,e=de(s/1e3),u.seconds=e%60,t=de(e/60),u.minutes=t%60,n=de(t/60),u.hours=n%24,i+=de(n/24),a=de(As(i)),o+=a,i-=Ts(xs(a)),r=de(o/12),o%=12,u.days=i,u.months=o,u.years=r,this}function As(e){return 4800*e/146097}function xs(e){return 146097*e/4800}function Cs(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+As(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xs(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Es(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function js(e){return function(){return this.as(e)}}var Hs=js("ms"),Os=js("s"),Ns=js("m"),Ps=js("h"),Is=js("d"),Rs=js("w"),Fs=js("M"),Bs=js("Q"),Ws=js("y");function Vs(){return Ar(this)}function zs(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function Us(e){return function(){return this.isValid()?this._data[e]:NaN}}var qs=Us("milliseconds"),Js=Us("seconds"),Gs=Us("minutes"),$s=Us("hours"),Ks=Us("days"),Zs=Us("months"),Xs=Us("years");function Qs(){return de(this.days()/7)}var ei=Math.round,ti={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ni(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function ri(e,t,n,r){var a=Ar(e).abs(),s=ei(a.as("s")),i=ei(a.as("m")),o=ei(a.as("h")),u=ei(a.as("d")),l=ei(a.as("M")),d=ei(a.as("w")),c=ei(a.as("y")),m=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||i<=1&&["m"]||i<n.m&&["mm",i]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(m=m||d<=1&&["w"]||d<n.w&&["ww",d]),m=m||l<=1&&["M"]||l<n.M&&["MM",l]||c<=1&&["y"]||["yy",c],m[2]=t,m[3]=+e>0,m[4]=r,ni.apply(null,m)}function ai(e){return void 0===e?ei:"function"===typeof e&&(ei=e,!0)}function si(e,t){return void 0!==ti[e]&&(void 0===t?ti[e]:(ti[e]=t,"s"===e&&(ti.ss=t-1),!0))}function ii(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,s=ti;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(a=e),"object"===typeof t&&(s=Object.assign({},ti,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=this.localeData(),r=ri(this,!a,s,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var oi=Math.abs;function ui(e){return(e>0)-(e<0)||+e}function li(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,s,i,o,u=oi(this._milliseconds)/1e3,l=oi(this._days),d=oi(this._months),c=this.asSeconds();return c?(e=de(u/60),t=de(e/60),u%=60,e%=60,n=de(d/12),d%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",s=ui(this._months)!==ui(c)?"-":"",i=ui(this._days)!==ui(c)?"-":"",o=ui(this._milliseconds)!==ui(c)?"-":"",a+"P"+(n?s+n+"Y":"")+(d?s+d+"M":"")+(l?i+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+r+"S":"")):"P0D"}var di=or.prototype;return di.isValid=sr,di.abs=Ys,di.add=ks,di.subtract=Ds,di.as=Cs,di.asMilliseconds=Hs,di.asSeconds=Os,di.asMinutes=Ns,di.asHours=Ps,di.asDays=Is,di.asWeeks=Rs,di.asMonths=Fs,di.asQuarters=Bs,di.asYears=Ws,di.valueOf=Es,di._bubble=Ss,di.clone=Vs,di.get=zs,di.milliseconds=qs,di.seconds=Js,di.minutes=Gs,di.hours=$s,di.days=Ks,di.weeks=Qs,di.months=Zs,di.years=Xs,di.humanize=ii,di.toISOString=li,di.toString=li,di.toJSON=li,di.locale=oa,di.localeData=la,di.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",li),di.lang=ua,B("X",0,0,"unix"),B("x",0,0,"valueOf"),Oe("x",xe),Oe("X",je),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(ce(e))})),
|
|
295
|
+
var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},6700:(e,t,n)=>{var r={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":238,"./ru.js":238,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6700},381:function(e,t,n){e=n.nmd(e),function(t,n){e.exports=n()}(0,(function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){t=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function d(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return $n(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=p()),e._pf}function g(e){if(null==e._isValid){var t=y(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function M(e){var t=_(NaN);return null!=e?f(y(t),e):y(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=a.momentProperties=[],L=!1;function w(e,t){var n,r,a,o=v.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=y(t)),d(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=v[n],a=t[r],d(a)||(e[r]=a);return e}function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===L&&(L=!0,a.updateOffset(this),L=!1)}function Y(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function b(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,o,s,i=[],l=arguments.length;for(o=0;o<l;o++){if(r="","object"===typeof arguments[o]){for(s in r+="\n["+o+"] ",arguments[0])u(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[o];i.push(r)}b(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,S={};function A(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),S[e]||(b(t),S[e]=!0)}function x(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,n;for(n in e)u(e,n)&&(t=e[n],x(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=f({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=f({},r[n]));return r}function j(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function H(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return x(r)?r.call(t,n):r}function N(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},F={};function B(e,t,n,r){var a=r;"string"===typeof r&&(a=function(){return this[r]()}),e&&(F[e]=a),t&&(F[t[0]]=function(){return N(a.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,r=e.match(P);for(t=0,n=r.length;t<n;t++)F[r[t]]?r[t]=F[r[t]]:r[t]=W(r[t]);return function(t){var a,o="";for(a=0;a<n;a++)o+=x(r[a])?r[a].call(t,e):r[a];return o}}function z(e,t){return e.isValid()?(t=U(t,e.localeData()),R[t]=R[t]||V(t),R[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}I.lastIndex=0;while(n>=0&&I.test(e))e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function J(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function $(){return this._invalidDate}var K="%d",Z=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var a=this._relativeTime[n];return x(a)?a(e,t,n,r):a.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ae(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)u(e,n)&&(t=ae(n),t&&(r[t]=e[n]));return r}var se={};function ie(e,t){se[e]=t}function ue(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}function me(e,t){return function(n){return null!=n?(fe(this,e,n),a.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function _e(e){return e=ae(e),x(this[e])?this[e]():this}function pe(e,t){if("object"===typeof e){e=oe(e);var n,r=ue(e),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=ae(e),x(this[e]))return this[e](t);return this}var ye,ge=/\d/,Me=/\d\d/,ve=/\d{3}/,Le=/\d{4}/,we=/[+-]?\d{6}/,ke=/\d\d?/,Ye=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Te=/\d{1,4}/,Se=/[+-]?\d{1,6}/,Ae=/\d+/,xe=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,je=/[+-]?\d+(\.\d{1,3})?/,Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function He(e,t,n){ye[e]=x(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return u(ye,e)?ye[e](t._strict,t._locale):new RegExp(Pe(e))}function Pe(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Re={};function Fe(e,t){var n,r,a=t;for("string"===typeof e&&(e=[e]),c(t)&&(a=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Re[e[n]]=a}function Be(e,t){Fe(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function We(e,t,n){null!=t&&u(Re,e)&&Re[e](t,n._a,n,e)}var Ve,ze=0,Ue=1,qe=2,Je=3,Ge=4,$e=5,Ke=6,Ze=7,Xe=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),ie("month",8),He("M",ke),He("MM",ke,Me),He("MMM",(function(e,t){return t.monthsShortRegex(e)})),He("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[Ue]=ce(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Ue]=a:y(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Oe,ot=Oe;function st(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function it(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,n){var r,a,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(a=Ve.call(this._shortMonthsParse,s),-1!==a?a:null):(a=Ve.call(this._longMonthsParse,s),-1!==a?a:null):"MMM"===t?(a=Ve.call(this._shortMonthsParse,s),-1!==a?a:(a=Ve.call(this._longMonthsParse,s),-1!==a?a:null)):(a=Ve.call(this._longMonthsParse,s),-1!==a?a:(a=Ve.call(this._shortMonthsParse,s),-1!==a?a:null))}function lt(e,t,n){var r,a,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function dt(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=ce(t);else if(t=e.localeData().monthsParse(t),!c(t))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ct(e){return null!=e?(dt(this,e),a.updateOffset(this,!0),this):he(this,"Month")}function mt(){return et(this.year(),this.month())}function ht(e){return this._monthsParseExact?(u(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(u(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],o=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Ie(r[t]),a[t]=Ie(a[t]);for(t=0;t<24;t++)o[t]=Ie(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pt(e){return le(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),re("year","y"),ie("year",1),He("Y",xe),He("YY",ke,Me),He("YYYY",Te,Le),He("YYYYY",Se,we),He("YYYYYY",Se,we),Fe(["YYYYY","YYYYYY"],ze),Fe("YYYY",(function(e,t){t[ze]=2===e.length?a.parseTwoDigitYear(e):ce(e)})),Fe("YY",(function(e,t){t[ze]=a.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[ze]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};var yt=me("FullYear",!0);function gt(){return le(this.year())}function Mt(e,t,n,r,a,o,s){var i;return e<100&&e>=0?(i=new Date(e+400,t,n,r,a,o,s),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,n,r,a,o,s),i}function vt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Lt(e,t,n){var r=7+t-n,a=(7+vt(e,0,r).getUTCDay()-t)%7;return-a+r-1}function wt(e,t,n,r,a){var o,s,i=(7+n-r)%7,u=Lt(e,r,a),l=1+7*(t-1)+i+u;return l<=0?(o=e-1,s=pt(o)+l):l>pt(e)?(o=e+1,s=l-pt(e)):(o=e,s=l),{year:o,dayOfYear:s}}function kt(e,t,n){var r,a,o=Lt(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?(a=e.year()-1,r=s+Yt(a,t,n)):s>Yt(e.year(),t,n)?(r=s-Yt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=s),{week:r,year:a}}function Yt(e,t,n){var r=Lt(e,t,n),a=Lt(e+1,t,n);return(pt(e)-r+a)/7}function bt(e){return kt(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),ie("week",5),ie("isoWeek",5),He("w",ke),He("ww",ke,Me),He("W",ke),He("WW",ke,Me),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var Dt={dow:0,doy:6};function Tt(){return this._week.dow}function St(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Et(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),ie("day",11),ie("weekday",11),ie("isoWeekday",11),He("d",ke),He("e",ke),He("E",ke),He("dd",(function(e,t){return t.weekdaysMinRegex(e)})),He("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),He("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:y(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ht="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pt=Oe,It=Oe,Rt=Oe;function Ft(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vt(e,t,n){var r,a,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(a=Ve.call(this._weekdaysParse,s),-1!==a?a:null):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,s),-1!==a?a:null):(a=Ve.call(this._minWeekdaysParse,s),-1!==a?a:null):"dddd"===t?(a=Ve.call(this._weekdaysParse,s),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,s),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,s),-1!==a?a:null))):"ddd"===t?(a=Ve.call(this._shortWeekdaysParse,s),-1!==a?a:(a=Ve.call(this._weekdaysParse,s),-1!==a?a:(a=Ve.call(this._minWeekdaysParse,s),-1!==a?a:null))):(a=Ve.call(this._minWeekdaysParse,s),-1!==a?a:(a=Ve.call(this._weekdaysParse,s),-1!==a?a:(a=Ve.call(this._shortWeekdaysParse,s),-1!==a?a:null)))}function zt(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Vt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Jt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Pt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,a,o,s=[],i=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=Ie(this.weekdaysMin(n,"")),a=Ie(this.weekdaysShort(n,"")),o=Ie(this.weekdays(n,"")),s.push(r),i.push(a),u.push(o),l.push(r),l.push(a),l.push(o);s.sort(e),i.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Xt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Xt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),en("a",!0),en("A",!1),re("hour","h"),ie("hour",13),He("a",tn),He("A",tn),He("H",ke),He("h",ke),He("k",ke),He("HH",ke,Me),He("hh",ke,Me),He("kk",ke,Me),He("hmm",Ye),He("hmmss",be),He("Hmm",Ye),He("Hmmss",be),Fe(["H","HH"],Je),Fe(["k","kk"],(function(e,t,n){var r=ce(e);t[Je]=24===r?0:r})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[Je]=ce(e),y(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var r=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r)),y(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r,2)),t[$e]=ce(e.substr(a)),y(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var r=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r))})),Fe("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Je]=ce(e.substr(0,r)),t[Ge]=ce(e.substr(r,2)),t[$e]=ce(e.substr(a))}));var rn=/[ap]\.?m?\.?/i,an=me("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,un={calendar:O,longDateFormat:q,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:Z,relativeTime:Q,months:tt,monthsShort:nt,week:Dt,weekdays:Ot,weekdaysMin:Nt,weekdaysShort:Ht,meridiemParse:rn},ln={},dn={};function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function mn(e){return e?e.toLowerCase().replace("_","-"):e}function hn(e){var t,n,r,a,o=0;while(o<e.length){a=mn(e[o]).split("-"),t=a.length,n=mn(e[o+1]),n=n?n.split("-"):null;while(t>0){if(r=_n(a.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&cn(a,n)>=t-1)break;t--}o++}return sn}function fn(e){return null!=e.match("^[^/\\\\]*$")}function _n(t){var r=null;if(void 0===ln[t]&&e&&e.exports&&fn(t))try{r=sn._abbr,void 0,n(6700)("./"+t),pn(r)}catch(a){ln[t]=null}return ln[t]}function pn(e,t){var n;return e&&(n=d(t)?Mn(e):yn(e,t),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])A("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(n=_n(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new j(E(r,t)),dn[e]&&dn[e].forEach((function(e){yn(e.name,e.config)})),pn(e),ln[e]}return delete ln[e],null}function gn(e,t){if(null!=t){var n,r,a=un;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(E(ln[e]._config,t)):(r=_n(e),null!=r&&(a=r._config),t=E(a,t),null==r&&(t.abbr=e),n=new j(t),n.parentLocale=ln[e],ln[e]=n),pn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===pn()&&pn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function Mn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!s(e)){if(t=_n(e),t)return t;e=[e]}return hn(e)}function vn(){return T(ln)}function Ln(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[qe]<1||n[qe]>et(n[ze],n[Ue])?qe:n[Je]<0||n[Je]>24||24===n[Je]&&(0!==n[Ge]||0!==n[$e]||0!==n[Ke])?Je:n[Ge]<0||n[Ge]>59?Ge:n[$e]<0||n[$e]>59?$e:n[Ke]<0||n[Ke]>999?Ke:-1,y(e)._overflowDayOfYear&&(t<ze||t>qe)&&(t=qe),y(e)._overflowWeeks&&-1===t&&(t=Ze),y(e)._overflowWeekday&&-1===t&&(t=Xe),y(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yn=/Z|[+-]\d\d(?::?\d\d)?/,bn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Dn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((-?\d+)/i,Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xn(e){var t,n,r,a,o,s,i=e._i,u=wn.exec(i)||kn.exec(i),l=bn.length,d=Dn.length;if(u){for(y(e).iso=!0,t=0,n=l;t<n;t++)if(bn[t][1].exec(u[1])){a=bn[t][0],r=!1!==bn[t][2];break}if(null==a)return void(e._isValid=!1);if(u[3]){for(t=0,n=d;t<n;t++)if(Dn[t][1].exec(u[3])){o=(u[2]||" ")+Dn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Yn.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=a+(o||"")+(s||""),Wn(e)}else e._isValid=!1}function Cn(e,t,n,r,a,o){var s=[En(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&s.push(parseInt(o,10)),s}function En(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function jn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function On(e,t,n){if(e){var r=Ht.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Hn(e,t,n){if(e)return An[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return 60*o+a}function Nn(e){var t,n=Sn.exec(jn(e._i));if(n){if(t=Cn(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Hn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Pn(e){var t=Tn.exec(e._i);null===t?(xn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function In(e,t,n){return null!=e?e:null!=t?t:n}function Rn(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fn(e){var t,n,r,a,o,s=[];if(!e._d){for(r=Rn(e),e._w&&null==e._a[qe]&&null==e._a[Ue]&&Bn(e),null!=e._dayOfYear&&(o=In(e._a[ze],r[ze]),(e._dayOfYear>pt(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=vt(o,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[qe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Je]&&0===e._a[Ge]&&0===e._a[$e]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[Je]=0),e._d=(e._useUTC?vt:Mt).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Je]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,a,o,s,i,u,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,s=4,n=In(t.GG,e._a[ze],kt(Kn(),1,4).year),r=In(t.W,1),a=In(t.E,1),(a<1||a>7)&&(u=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,l=kt(Kn(),o,s),n=In(t.gg,e._a[ze],l.year),r=In(t.w,l.week),null!=t.d?(a=t.d,(a<0||a>6)&&(u=!0)):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(u=!0)):a=o),r<1||r>Yt(n,o,s)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(i=wt(n,r,a,o,s),e._a[ze]=i.year,e._dayOfYear=i.dayOfYear)}function Wn(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],y(e).empty=!0;var t,n,r,o,s,i,u,l=""+e._i,d=l.length,c=0;for(r=U(e._f,e._locale).match(P)||[],u=r.length,t=0;t<u;t++)o=r[t],n=(l.match(Ne(o,e))||[])[0],n&&(s=l.substr(0,l.indexOf(n)),s.length>0&&y(e).unusedInput.push(s),l=l.slice(l.indexOf(n)+n.length),c+=n.length),F[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),We(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);y(e).charsLeftOver=d-c,l.length>0&&y(e).unusedInput.push(l),e._a[Je]<=12&&!0===y(e).bigHour&&e._a[Je]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Je]=Vn(e._locale,e._a[Je],e._meridiem),i=y(e).era,null!==i&&(e._a[ze]=e._locale.erasConvertYear(i,e._a[ze])),Fn(e),Ln(e)}else Nn(e);else xn(e)}function Vn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,a,o,s,i=!1,u=e._f.length;if(0===u)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<u;a++)o=0,s=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Wn(t),g(t)&&(s=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,i?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(i=!0));f(e,n||t)}function Un(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fn(e)}}function qn(e){var t=new k(Ln(Jn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Jn(e){var t=e._i,n=e._f;return e._locale=e._locale||Mn(e._l),null===t||void 0===n&&""===t?M({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new k(Ln(t)):(m(t)?e._d=t:s(n)?zn(e):n?Wn(e):Gn(e),g(e)||(e._d=null),e))}function Gn(e){var t=e._i;d(t)?e._d=new Date(a.now()):m(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Pn(e):s(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Fn(e)):i(t)?Un(e):c(t)?e._d=new Date(t):a.createFromInputFallback(e)}function $n(e,t,n,r,a){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,qn(o)}function Kn(e,t,n,r){return $n(e,t,n,r,!1)}a.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Zn=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:M()})),Xn=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:M()}));function Qn(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){var e=[].slice.call(arguments,0);return Qn("isBefore",e)}function tr(){var e=[].slice.call(arguments,0);return Qn("isAfter",e)}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n,r=!1,a=rr.length;for(t in e)if(u(e,t)&&(-1===Ve.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==ce(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function sr(){return Ar(NaN)}function ir(e){var t=oe(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,i=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=ar(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*i*60*60,this._days=+s+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=Mn(),this._bubble()}function ur(e){return e instanceof ir}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&s++;return s+o}function cr(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),He("Z",Ee),He("ZZ",Ee),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hr(Ee,e)}));var mr=/([\+\-]|\d\d)/gi;function hr(e,t){var n,r,a,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(mr)||["-",0,0],a=60*r[1]+ce(r[2]),0===a?0:"+"===r[0]?a:-a)}function fr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Y(e)||m(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Kn(e).local()}function _r(e){return-Math.round(e._d.getTimezoneOffset())}function pr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=hr(Ee,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=_r(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Or(this,Ar(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:_r(this)}function yr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gr(e){return this.utcOffset(0,e)}function Mr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(_r(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=hr(Ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Lr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kr(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=Jn(t),t._a?(e=t._isUTC?_(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&dr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yr(){return!!this.isValid()&&!this._isUTC}function br(){return!!this.isValid()&&this._isUTC}function Dr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ar(e,t){var n,r,a,o=e,s=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Tr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ce(s[qe])*n,h:ce(s[Je])*n,m:ce(s[Ge])*n,s:ce(s[$e])*n,ms:ce(lr(1e3*s[Ke]))*n}):(s=Sr.exec(e))?(n="-"===s[1]?-1:1,o={y:xr(s[2],n),M:xr(s[3],n),w:xr(s[4],n),d:xr(s[5],n),h:xr(s[6],n),m:xr(s[7],n),s:xr(s[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(a=Er(Kn(o.from),Kn(o.to)),o={},o.ms=a.milliseconds,o.M=a.months),r=new ir(o),ur(e)&&u(e,"_locale")&&(r._locale=e._locale),ur(e)&&u(e,"_isValid")&&(r._isValid=e._isValid),r}function xr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Cr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Er(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Cr(e,t):(n=Cr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jr(e,t){return function(n,r){var a,o;return null===r||isNaN(+r)||(A(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),a=Ar(n,r),Or(this,a,e),this}}function Or(e,t,n,r){var o=t._milliseconds,s=lr(t._days),i=lr(t._months);e.isValid()&&(r=null==r||r,i&&dt(e,he(e,"Month")+i*n),s&&fe(e,"Date",he(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&a.updateOffset(e,s||i))}Ar.fn=ir.prototype,Ar.invalid=sr;var Hr=jr(1,"add"),Nr=jr(-1,"subtract");function Pr(e){return"string"===typeof e||e instanceof String}function Ir(e){return Y(e)||m(e)||Pr(e)||c(e)||Fr(e)||Rr(e)||null===e||void 0===e}function Rr(e){var t,n,r=i(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],a=a||u(e,n);return r&&a}function Fr(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Pr(e)})).length),t&&n}function Br(e){var t,n,r=i(e)&&!l(e),a=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],a=a||u(e,n);return r&&a}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vr(e,t){1===arguments.length&&(arguments[0]?Ir(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),r=fr(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",s=t&&(x(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function zr(){return new k(this)}function Ur(e,t){var n=Y(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function qr(e,t){var n=Y(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Jr(e,t,n,r){var a=Y(e)?e:Kn(e),o=Y(t)?t:Kn(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Gr(e,t){var n,r=Y(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function $r(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=fr(e,this),!r.isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":o=Xr(this,r)/12;break;case"month":o=Xr(this,r);break;case"quarter":o=Xr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:de(o)}function Xr(e,t){if(e.date()<t.date())return-Xr(t,e);var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(a,"months");return t-o<0?(n=e.clone().add(a-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(a+1,"months"),r=(t-o)/(n-o)),-(a+r)||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function na(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)}function ra(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Kn(e).isValid())?Ar({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from(Kn(),e)}function oa(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Kn(e).isValid())?Ar({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sa(e){return this.to(Kn(),e)}function ia(e){var t;return void 0===e?this._locale._abbr:(t=Mn(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ua=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function la(){return this._locale}var da=1e3,ca=60*da,ma=60*ca,ha=3506328*ma;function fa(e,t){return(e%t+t)%t}function _a(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ha:new Date(e,t,n).valueOf()}function pa(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ha:Date.UTC(e,t,n)}function ya(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pa:_a,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fa(t+(this._isUTC?0:this.utcOffset()*ca),ma);break;case"minute":t=this._d.valueOf(),t-=fa(t,ca);break;case"second":t=this._d.valueOf(),t-=fa(t,da);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function ga(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?pa:_a,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ma-fa(t+(this._isUTC?0:this.utcOffset()*ca),ma)-1;break;case"minute":t=this._d.valueOf(),t+=ca-fa(t,ca)-1;break;case"second":t=this._d.valueOf(),t+=da-fa(t,da)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function Ma(){return this._d.valueOf()-6e4*(this._offset||0)}function va(){return Math.floor(this.valueOf()/1e3)}function La(){return new Date(this.valueOf())}function wa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ka(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ya(){return this.isValid()?this.toISOString():null}function ba(){return g(this)}function Da(){return f({},y(this))}function Ta(){return y(this).overflow}function Sa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Aa(e,t){var n,r,o,s=this._eras||Mn("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":o=a(s[n].since).startOf("day"),s[n].since=o.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":o=a(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf();break}}return s}function xa(e,t,n){var r,a,o,s,i,u=this.eras();for(e=e.toUpperCase(),r=0,a=u.length;r<a;++r)if(o=u[r].name.toUpperCase(),s=u[r].abbr.toUpperCase(),i=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return u[r];break;case"NNNN":if(o===e)return u[r];break;case"NNNNN":if(i===e)return u[r];break}else if([o,s,i].indexOf(e)>=0)return u[r]}function Ca(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Ea(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function ja(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Oa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ha(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()}function Na(e){return u(this,"_erasNameRegex")||Va.call(this),e?this._erasNameRegex:this._erasRegex}function Pa(e){return u(this,"_erasAbbrRegex")||Va.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ia(e){return u(this,"_erasNarrowRegex")||Va.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ra(e,t){return t.erasAbbrRegex(e)}function Fa(e,t){return t.erasNameRegex(e)}function Ba(e,t){return t.erasNarrowRegex(e)}function Wa(e,t){return t._eraYearOrdinalRegex||Ae}function Va(){var e,t,n=[],r=[],a=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Ie(s[e].name)),n.push(Ie(s[e].abbr)),a.push(Ie(s[e].narrow)),o.push(Ie(s[e].name)),o.push(Ie(s[e].abbr)),o.push(Ie(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function za(e,t){B(0,[e,e.length],0,t)}function Ua(e){return Za.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qa(e){return Za.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ja(){return Yt(this.year(),1,4)}function Ga(){return Yt(this.isoWeekYear(),1,4)}function $a(){var e=this.localeData()._week;return Yt(this.year(),e.dow,e.doy)}function Ka(){var e=this.localeData()._week;return Yt(this.weekYear(),e.dow,e.doy)}function Za(e,t,n,r,a){var o;return null==e?kt(this,r,a).year:(o=Yt(e,r,a),t>o&&(t=o),Xa.call(this,e,t,n,r,a))}function Xa(e,t,n,r,a){var o=wt(e,t,n,r,a),s=vt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Qa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),He("N",Ra),He("NN",Ra),He("NNN",Ra),He("NNNN",Fa),He("NNNNN",Ba),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?y(n).era=a:y(n).invalidEra=e})),He("y",Ae),He("yy",Ae),He("yyy",Ae),He("yyyy",Ae),He("yo",Wa),Fe(["y","yy","yyy","yyyy"],ze),Fe(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ze]=n._locale.eraYearOrdinalParse(e,a):t[ze]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),za("gggg","weekYear"),za("ggggg","weekYear"),za("GGGG","isoWeekYear"),za("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),ie("weekYear",1),ie("isoWeekYear",1),He("G",xe),He("g",xe),He("GG",ke,Me),He("gg",ke,Me),He("GGGG",Te,Le),He("gggg",Te,Le),He("GGGGG",Se,we),He("ggggg",Se,we),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Be(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),re("quarter","Q"),ie("quarter",7),He("Q",ge),Fe("Q",(function(e,t){t[Ue]=3*(ce(e)-1)})),B("D",["DD",2],"Do","date"),re("date","D"),ie("date",9),He("D",ke),He("DD",ke,Me),He("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],qe),Fe("Do",(function(e,t){t[qe]=ce(e.match(ke)[0])}));var eo=me("Date",!0);function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),ie("dayOfYear",4),He("DDD",De),He("DDDD",ve),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),B("m",["mm",2],0,"minute"),re("minute","m"),ie("minute",14),He("m",ke),He("mm",ke,Me),Fe(["m","mm"],Ge);var no=me("Minutes",!1);B("s",["ss",2],0,"second"),re("second","s"),ie("second",15),He("s",ke),He("ss",ke,Me),Fe(["s","ss"],$e);var ro,ao,oo=me("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),ie("millisecond",16),He("S",De,ge),He("SS",De,Me),He("SSS",De,ve),ro="SSSS";ro.length<=9;ro+="S")He(ro,Ae);function so(e,t){t[Ke]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Fe(ro,so);function io(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}ao=me("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var lo=k.prototype;function co(e){return Kn(1e3*e)}function mo(){return Kn.apply(null,arguments).parseZone()}function ho(e){return e}lo.add=Hr,lo.calendar=Vr,lo.clone=zr,lo.diff=Zr,lo.endOf=ga,lo.format=na,lo.from=ra,lo.fromNow=aa,lo.to=oa,lo.toNow=sa,lo.get=_e,lo.invalidAt=Ta,lo.isAfter=Ur,lo.isBefore=qr,lo.isBetween=Jr,lo.isSame=Gr,lo.isSameOrAfter=$r,lo.isSameOrBefore=Kr,lo.isValid=ba,lo.lang=ua,lo.locale=ia,lo.localeData=la,lo.max=Xn,lo.min=Zn,lo.parsingFlags=Da,lo.set=pe,lo.startOf=ya,lo.subtract=Nr,lo.toArray=wa,lo.toObject=ka,lo.toDate=La,lo.toISOString=ea,lo.inspect=ta,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Ya,lo.toString=Qr,lo.unix=va,lo.valueOf=Ma,lo.creationData=Sa,lo.eraName=Ea,lo.eraNarrow=ja,lo.eraAbbr=Oa,lo.eraYear=Ha,lo.year=yt,lo.isLeapYear=gt,lo.weekYear=Ua,lo.isoWeekYear=qa,lo.quarter=lo.quarters=Qa,lo.month=ct,lo.daysInMonth=mt,lo.week=lo.weeks=At,lo.isoWeek=lo.isoWeeks=xt,lo.weeksInYear=$a,lo.weeksInWeekYear=Ka,lo.isoWeeksInYear=Ja,lo.isoWeeksInISOWeekYear=Ga,lo.date=eo,lo.day=lo.days=Ut,lo.weekday=qt,lo.isoWeekday=Jt,lo.dayOfYear=to,lo.hour=lo.hours=an,lo.minute=lo.minutes=no,lo.second=lo.seconds=oo,lo.millisecond=lo.milliseconds=ao,lo.utcOffset=pr,lo.utc=gr,lo.local=Mr,lo.parseZone=vr,lo.hasAlignedHourOffset=Lr,lo.isDST=wr,lo.isLocal=Yr,lo.isUtcOffset=br,lo.isUtc=Dr,lo.isUTC=Dr,lo.zoneAbbr=io,lo.zoneName=uo,lo.dates=D("dates accessor is deprecated. Use date instead.",eo),lo.months=D("months accessor is deprecated. Use month instead",ct),lo.years=D("years accessor is deprecated. Use year instead",yt),lo.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),lo.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kr);var fo=j.prototype;function _o(e,t,n,r){var a=Mn(),o=_().set(r,t);return a[n](o,e)}function po(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return _o(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=_o(e,r,n,"month");return a}function yo(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var a,o=Mn(),s=e?o._week.dow:0,i=[];if(null!=n)return _o(t,(n+s)%7,r,"day");for(a=0;a<7;a++)i[a]=_o(t,(a+s)%7,r,"day");return i}function go(e,t){return po(e,t,"months")}function Mo(e,t){return po(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function Lo(e,t,n){return yo(e,t,n,"weekdaysShort")}function wo(e,t,n){return yo(e,t,n,"weekdaysMin")}fo.calendar=H,fo.longDateFormat=J,fo.invalidDate=$,fo.ordinal=X,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=ee,fo.pastFuture=te,fo.set=C,fo.eras=Aa,fo.erasParse=xa,fo.erasConvertYear=Ca,fo.erasAbbrRegex=Pa,fo.erasNameRegex=Na,fo.erasNarrowRegex=Ia,fo.months=st,fo.monthsShort=it,fo.monthsParse=lt,fo.monthsRegex=ft,fo.monthsShortRegex=ht,fo.week=bt,fo.firstDayOfYear=St,fo.firstDayOfWeek=Tt,fo.weekdays=Ft,fo.weekdaysMin=Wt,fo.weekdaysShort=Bt,fo.weekdaysParse=zt,fo.weekdaysRegex=Gt,fo.weekdaysShortRegex=$t,fo.weekdaysMinRegex=Kt,fo.isPM=nn,fo.meridiem=on,pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=D("moment.lang is deprecated. Use moment.locale instead.",pn),a.langData=D("moment.langData is deprecated. Use moment.localeData instead.",Mn);var ko=Math.abs;function Yo(){var e=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),e.milliseconds=ko(e.milliseconds),e.seconds=ko(e.seconds),e.minutes=ko(e.minutes),e.hours=ko(e.hours),e.months=ko(e.months),e.years=ko(e.years),this}function bo(e,t,n,r){var a=Ar(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Do(e,t){return bo(this,e,t,1)}function To(e,t){return bo(this,e,t,-1)}function So(e){return e<0?Math.floor(e):Math.ceil(e)}function Ao(){var e,t,n,r,a,o=this._milliseconds,s=this._days,i=this._months,u=this._data;return o>=0&&s>=0&&i>=0||o<=0&&s<=0&&i<=0||(o+=864e5*So(Co(i)+s),s=0,i=0),u.milliseconds=o%1e3,e=de(o/1e3),u.seconds=e%60,t=de(e/60),u.minutes=t%60,n=de(t/60),u.hours=n%24,s+=de(n/24),a=de(xo(s)),i+=a,s-=So(Co(a)),r=de(i/12),i%=12,u.days=s,u.months=i,u.years=r,this}function xo(e){return 4800*e/146097}function Co(e){return 146097*e/4800}function Eo(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Co(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function jo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Oo(e){return function(){return this.as(e)}}var Ho=Oo("ms"),No=Oo("s"),Po=Oo("m"),Io=Oo("h"),Ro=Oo("d"),Fo=Oo("w"),Bo=Oo("M"),Wo=Oo("Q"),Vo=Oo("y");function zo(){return Ar(this)}function Uo(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function qo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Jo=qo("milliseconds"),Go=qo("seconds"),$o=qo("minutes"),Ko=qo("hours"),Zo=qo("days"),Xo=qo("months"),Qo=qo("years");function es(){return de(this.days()/7)}var ts=Math.round,ns={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function rs(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function as(e,t,n,r){var a=Ar(e).abs(),o=ts(a.as("s")),s=ts(a.as("m")),i=ts(a.as("h")),u=ts(a.as("d")),l=ts(a.as("M")),d=ts(a.as("w")),c=ts(a.as("y")),m=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||i<=1&&["h"]||i<n.h&&["hh",i]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(m=m||d<=1&&["w"]||d<n.w&&["ww",d]),m=m||l<=1&&["M"]||l<n.M&&["MM",l]||c<=1&&["y"]||["yy",c],m[2]=t,m[3]=+e>0,m[4]=r,rs.apply(null,m)}function os(e){return void 0===e?ts:"function"===typeof e&&(ts=e,!0)}function ss(e,t){return void 0!==ns[e]&&(void 0===t?ns[e]:(ns[e]=t,"s"===e&&(ns.ss=t-1),!0))}function is(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=ns;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(a=e),"object"===typeof t&&(o=Object.assign({},ns,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=as(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var us=Math.abs;function ls(e){return(e>0)-(e<0)||+e}function ds(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,s,i,u=us(this._milliseconds)/1e3,l=us(this._days),d=us(this._months),c=this.asSeconds();return c?(e=de(u/60),t=de(e/60),u%=60,e%=60,n=de(d/12),d%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",o=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",i=ls(this._milliseconds)!==ls(c)?"-":"",a+"P"+(n?o+n+"Y":"")+(d?o+d+"M":"")+(l?s+l+"D":"")+(t||e||u?"T":"")+(t?i+t+"H":"")+(e?i+e+"M":"")+(u?i+r+"S":"")):"P0D"}var cs=ir.prototype;return cs.isValid=or,cs.abs=Yo,cs.add=Do,cs.subtract=To,cs.as=Eo,cs.asMilliseconds=Ho,cs.asSeconds=No,cs.asMinutes=Po,cs.asHours=Io,cs.asDays=Ro,cs.asWeeks=Fo,cs.asMonths=Bo,cs.asQuarters=Wo,cs.asYears=Vo,cs.valueOf=jo,cs._bubble=Ao,cs.clone=zo,cs.get=Uo,cs.milliseconds=Jo,cs.seconds=Go,cs.minutes=$o,cs.hours=Ko,cs.days=Zo,cs.weeks=es,cs.months=Xo,cs.years=Qo,cs.humanize=is,cs.toISOString=ds,cs.toString=ds,cs.toJSON=ds,cs.locale=ia,cs.localeData=la,cs.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ds),cs.lang=ua,B("X",0,0,"unix"),B("x",0,0,"valueOf"),He("x",xe),He("X",je),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(ce(e))})),
|
|
296
296
|
//! moment.js
|
|
297
|
-
a.version="2.29.4",s(Kn),a.fn=ls,a.min=er,a.max=tr,a.now=nr,a.utc=_,a.unix=ds,a.months=ys,a.isDate=m,a.locale=pn,a.invalid=M,a.duration=Ar,a.isMoment=b,a.weekdays=Ms,a.parseZone=cs,a.localeData=Mn,a.isDuration=ur,a.monthsShort=gs,a.weekdaysMin=Ls,a.defineLocale=yn,a.updateLocale=gn,a.locales=vn,a.weekdaysShort=vs,a.normalizeUnits=ae,a.relativeTimeRounding=ai,a.relativeTimeThreshold=si,a.calendarFormat=Wr,a.prototype=ls,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))},631:(e,t,n)=>{var r="function"===typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,s=r&&a&&"function"===typeof a.get?a.get:null,i=r&&Map.prototype.forEach,o="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=o&&u&&"function"===typeof u.get?u.get:null,d=o&&Set.prototype.forEach,c="function"===typeof WeakMap&&WeakMap.prototype,m=c?WeakMap.prototype.has:null,h="function"===typeof WeakSet&&WeakSet.prototype,f=h?WeakSet.prototype.has:null,_="function"===typeof WeakRef&&WeakRef.prototype,p=_?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,M=Function.prototype.toString,v=String.prototype.match,L=String.prototype.slice,w=String.prototype.replace,Y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,k=RegExp.prototype.test,D=Array.prototype.concat,T=Array.prototype.join,S=Array.prototype.slice,A=Math.floor,x="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"===typeof Symbol&&"object"===typeof Symbol.iterator,H="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,N=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function P(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||k.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var a=String(r),s=L.call(t,a.length+1);return w.call(a,n,"$&_")+"."+w.call(w.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,n,"$&_")}var I=n(4654),R=I.custom,F=K(R)?R:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function W(e){return w.call(String(e),/"/g,""")}function V(e){return"[object Array]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function z(e){return"[object Date]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function U(e){return"[object RegExp]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function q(e){return"[object Error]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function J(e){return"[object String]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function G(e){return"[object Number]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function $(e){return"[object Boolean]"===ee(e)&&(!H||!("object"===typeof e&&H in e))}function K(e){if(j)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}function Z(e){if(!e||"object"!==typeof e||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,a,o){var u=r||{};if(Q(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Q(u,"maxStringLength")&&("number"===typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!Q(u,"customInspect")||u.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Q(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Q(u,"numericSeparator")&&"boolean"!==typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=u.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return le(t,u);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var h=String(t);return m?P(t,h):h}if("bigint"===typeof t){var f=String(t)+"n";return m?P(t,f):f}var _="undefined"===typeof u.depth?5:u.depth;if("undefined"===typeof a&&(a=0),a>=_&&_>0&&"object"===typeof t)return V(t)?"[Array]":"[Object]";var p=_e(u,a);if("undefined"===typeof o)o=[];else if(ne(o,t)>=0)return"[Circular]";function g(t,n,r){if(n&&(o=S.call(o),o.push(n)),r){var s={depth:u.depth};return Q(u,"quoteStyle")&&(s.quoteStyle=u.quoteStyle),e(t,s,a+1,o)}return e(t,u,a+1,o)}if("function"===typeof t&&!U(t)){var M=te(t),v=ye(t,g);return"[Function"+(M?": "+M:" (anonymous)")+"]"+(v.length>0?" { "+T.call(v,", ")+" }":"")}if(K(t)){var Y=j?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!==typeof t||j?Y:ce(Y)}if(ue(t)){for(var k="<"+b.call(String(t.nodeName)),A=t.attributes||[],C=0;C<A.length;C++)k+=" "+A[C].name+"="+B(W(A[C].value),"double",u);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+b.call(String(t.nodeName))+">",k}if(V(t)){if(0===t.length)return"[]";var R=ye(t,g);return p&&!fe(R)?"["+pe(R,p)+"]":"[ "+T.call(R,", ")+" ]"}if(q(t)){var X=ye(t,g);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===X.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(X,", ")+" }":"{ ["+String(t)+"] "+T.call(D.call("[cause]: "+g(t.cause),X),", ")+" }"}if("object"===typeof t&&c){if(F&&"function"===typeof t[F]&&I)return I(t,{depth:_-a});if("symbol"!==c&&"function"===typeof t.inspect)return t.inspect()}if(re(t)){var de=[];return i&&i.call(t,(function(e,n){de.push(g(n,t,!0)+" => "+g(e,t))})),he("Map",s.call(t),de,p)}if(ie(t)){var ge=[];return d&&d.call(t,(function(e){ge.push(g(e,t))})),he("Set",l.call(t),ge,p)}if(ae(t))return me("WeakMap");if(oe(t))return me("WeakSet");if(se(t))return me("WeakRef");if(G(t))return ce(g(Number(t)));if(Z(t))return ce(g(x.call(t)));if($(t))return ce(y.call(t));if(J(t))return ce(g(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!z(t)&&!U(t)){var Me=ye(t,g),ve=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,Le=t instanceof Object?"":"null prototype",we=!ve&&H&&Object(t)===t&&H in t?L.call(ee(t),8,-1):Le?"Object":"",Ye=ve||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",be=Ye+(we||Le?"["+T.call(D.call([],we||[],Le||[]),": ")+"] ":"");return 0===Me.length?be+"{}":p?be+"{"+pe(Me,p)+"}":be+"{ "+T.call(Me,", ")+" }"}return String(t)};var X=Object.prototype.hasOwnProperty||function(e){return e in this};function Q(e,t){return X.call(e,t)}function ee(e){return g.call(e)}function te(e){if(e.name)return e.name;var t=v.call(M.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!s||!e||"object"!==typeof e)return!1;try{s.call(e);try{l.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function ae(e){if(!m||!e||"object"!==typeof e)return!1;try{m.call(e,m);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function se(e){if(!p||!e||"object"!==typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}function ie(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{s.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function oe(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{m.call(e,m)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function ue(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function le(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return le(L.call(e,0,t.maxStringLength),t)+r}var a=w.call(w.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,de);return B(a,"single",t)}function de(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+Y.call(t.toString(16))}function ce(e){return"Object("+e+")"}function me(e){return e+" { ? }"}function he(e,t,n,r){var a=r?pe(n,r):T.call(n,", ");return e+" ("+t+") {"+a+"}"}function fe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function _e(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=T.call(Array(e.indent+1)," ")}return{base:n,prev:T.call(Array(t+1),n)}}function pe(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+T.call(e,","+n)+"\n"+t.prev}function ye(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=Q(e,a)?t(e[a],e):""}var s,i="function"===typeof C?C(e):[];if(j){s={};for(var o=0;o<i.length;o++)s["$"+i[o]]=i[o]}for(var u in e)Q(e,u)&&(n&&String(Number(u))===u&&u<e.length||j&&s["$"+u]instanceof Symbol||(k.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof C)for(var l=0;l<i.length;l++)O.call(e,i[l])&&r.push("["+t(i[l])+"]: "+t(e[i[l]],e));return r}},7771:(e,t,n)=>{"use strict";var r=n(210),a=n(2296),s=n(1044)(),i=n(7296),o=r("%TypeError%"),u=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new o("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||u(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&i){var d=i(e,"length");d&&!d.configurable&&(r=!1),d&&!d.writable&&(l=!1)}return(r||l||!n)&&(s?a(e,"length",t,!0,!0):a(e,"length",t)),e}},7478:(e,t,n)=>{"use strict";var r=n(210),a=n(1924),s=n(631),i=r("%TypeError%"),o=r("%WeakMap%",!0),u=r("%Map%",!0),l=a("WeakMap.prototype.get",!0),d=a("WeakMap.prototype.set",!0),c=a("WeakMap.prototype.has",!0),m=a("Map.prototype.get",!0),h=a("Map.prototype.set",!0),f=a("Map.prototype.has",!0),_=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},p=function(e,t){var n=_(e,t);return n&&n.value},y=function(e,t,n){var r=_(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},g=function(e,t){return!!_(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+s(e))},get:function(r){if(o&&r&&("object"===typeof r||"function"===typeof r)){if(e)return l(e,r)}else if(u){if(t)return m(t,r)}else if(n)return p(n,r)},has:function(r){if(o&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(u){if(t)return f(t,r)}else if(n)return g(n,r);return!1},set:function(r,a){o&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new o),d(e,r,a)):u?(t||(t=new u),h(t,r,a)):(n||(n={key:{},next:null}),y(n,r,a))}};return r}},7466:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{NIL:()=>G,parse:()=>v,stringify:()=>m,v1:()=>g,v3:()=>R,v4:()=>B,v5:()=>J,validate:()=>u,version:()=>K});var a=new Uint8Array(16);function s(){if(!r&&(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}const i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function o(e){return"string"===typeof e&&i.test(e)}const u=o;for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n}const m=c;var h,f,_=0,p=0;function y(e,t,n){var r=t&&n||0,a=t||new Array(16);e=e||{};var i=e.node||h,o=void 0!==e.clockseq?e.clockseq:f;if(null==i||null==o){var u=e.random||(e.rng||s)();null==i&&(i=h=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==o&&(o=f=16383&(u[6]<<8|u[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),d=void 0!==e.nsecs?e.nsecs:p+1,c=l-_+(d-p)/1e4;if(c<0&&void 0===e.clockseq&&(o=o+1&16383),(c<0||l>_)&&void 0===e.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_=l,p=d,f=o,l+=122192928e5;var y=(1e4*(268435455&l)+d)%4294967296;a[r++]=y>>>24&255,a[r++]=y>>>16&255,a[r++]=y>>>8&255,a[r++]=255&y;var g=l/4294967296*1e4&268435455;a[r++]=g>>>8&255,a[r++]=255&g,a[r++]=g>>>24&15|16,a[r++]=g>>>16&255,a[r++]=o>>>8|128,a[r++]=255&o;for(var M=0;M<6;++M)a[r+M]=i[M];return t||m(a)}const g=y;function M(e){if(!u(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}const v=M;function L(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}var w="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Y="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function b(e,t,n){function r(e,r,a,s){if("string"===typeof e&&(e=L(e)),"string"===typeof r&&(r=v(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(r),i.set(e,r.length),i=n(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,a){s=s||0;for(var o=0;o<16;++o)a[s+o]=i[o];return a}return m(i)}try{r.name=e}catch(a){}return r.DNS=w,r.URL=Y,r}function k(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return D(S(A(e),8*e.length))}function D(e){for(var t=[],n=32*e.length,r="0123456789abcdef",a=0;a<n;a+=8){var s=e[a>>5]>>>a%32&255,i=parseInt(r.charAt(s>>>4&15)+r.charAt(15&s),16);t.push(i)}return t}function T(e){return 14+(e+64>>>9<<4)+1}function S(e,t){e[t>>5]|=128<<t%32,e[T(t)-1]=t;for(var n=1732584193,r=-271733879,a=-1732584194,s=271733878,i=0;i<e.length;i+=16){var o=n,u=r,l=a,d=s;n=j(n,r,a,s,e[i],7,-680876936),s=j(s,n,r,a,e[i+1],12,-389564586),a=j(a,s,n,r,e[i+2],17,606105819),r=j(r,a,s,n,e[i+3],22,-1044525330),n=j(n,r,a,s,e[i+4],7,-176418897),s=j(s,n,r,a,e[i+5],12,1200080426),a=j(a,s,n,r,e[i+6],17,-1473231341),r=j(r,a,s,n,e[i+7],22,-45705983),n=j(n,r,a,s,e[i+8],7,1770035416),s=j(s,n,r,a,e[i+9],12,-1958414417),a=j(a,s,n,r,e[i+10],17,-42063),r=j(r,a,s,n,e[i+11],22,-1990404162),n=j(n,r,a,s,e[i+12],7,1804603682),s=j(s,n,r,a,e[i+13],12,-40341101),a=j(a,s,n,r,e[i+14],17,-1502002290),r=j(r,a,s,n,e[i+15],22,1236535329),n=H(n,r,a,s,e[i+1],5,-165796510),s=H(s,n,r,a,e[i+6],9,-1069501632),a=H(a,s,n,r,e[i+11],14,643717713),r=H(r,a,s,n,e[i],20,-373897302),n=H(n,r,a,s,e[i+5],5,-701558691),s=H(s,n,r,a,e[i+10],9,38016083),a=H(a,s,n,r,e[i+15],14,-660478335),r=H(r,a,s,n,e[i+4],20,-405537848),n=H(n,r,a,s,e[i+9],5,568446438),s=H(s,n,r,a,e[i+14],9,-1019803690),a=H(a,s,n,r,e[i+3],14,-187363961),r=H(r,a,s,n,e[i+8],20,1163531501),n=H(n,r,a,s,e[i+13],5,-1444681467),s=H(s,n,r,a,e[i+2],9,-51403784),a=H(a,s,n,r,e[i+7],14,1735328473),r=H(r,a,s,n,e[i+12],20,-1926607734),n=O(n,r,a,s,e[i+5],4,-378558),s=O(s,n,r,a,e[i+8],11,-2022574463),a=O(a,s,n,r,e[i+11],16,1839030562),r=O(r,a,s,n,e[i+14],23,-35309556),n=O(n,r,a,s,e[i+1],4,-1530992060),s=O(s,n,r,a,e[i+4],11,1272893353),a=O(a,s,n,r,e[i+7],16,-155497632),r=O(r,a,s,n,e[i+10],23,-1094730640),n=O(n,r,a,s,e[i+13],4,681279174),s=O(s,n,r,a,e[i],11,-358537222),a=O(a,s,n,r,e[i+3],16,-722521979),r=O(r,a,s,n,e[i+6],23,76029189),n=O(n,r,a,s,e[i+9],4,-640364487),s=O(s,n,r,a,e[i+12],11,-421815835),a=O(a,s,n,r,e[i+15],16,530742520),r=O(r,a,s,n,e[i+2],23,-995338651),n=N(n,r,a,s,e[i],6,-198630844),s=N(s,n,r,a,e[i+7],10,1126891415),a=N(a,s,n,r,e[i+14],15,-1416354905),r=N(r,a,s,n,e[i+5],21,-57434055),n=N(n,r,a,s,e[i+12],6,1700485571),s=N(s,n,r,a,e[i+3],10,-1894986606),a=N(a,s,n,r,e[i+10],15,-1051523),r=N(r,a,s,n,e[i+1],21,-2054922799),n=N(n,r,a,s,e[i+8],6,1873313359),s=N(s,n,r,a,e[i+15],10,-30611744),a=N(a,s,n,r,e[i+6],15,-1560198380),r=N(r,a,s,n,e[i+13],21,1309151649),n=N(n,r,a,s,e[i+4],6,-145523070),s=N(s,n,r,a,e[i+11],10,-1120210379),a=N(a,s,n,r,e[i+2],15,718787259),r=N(r,a,s,n,e[i+9],21,-343485551),n=x(n,o),r=x(r,u),a=x(a,l),s=x(s,d)}return[n,r,a,s]}function A(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(T(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}function x(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function C(e,t){return e<<t|e>>>32-t}function E(e,t,n,r,a,s){return x(C(x(x(t,e),x(r,s)),a),n)}function j(e,t,n,r,a,s,i){return E(t&n|~t&r,e,t,a,s,i)}function H(e,t,n,r,a,s,i){return E(t&r|n&~r,e,t,a,s,i)}function O(e,t,n,r,a,s,i){return E(t^n^r,e,t,a,s,i)}function N(e,t,n,r,a,s,i){return E(n^(t|~r),e,t,a,s,i)}const P=k;var I=b("v3",48,P);const R=I;function F(e,t,n){e=e||{};var r=e.random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=r[a];return t}return m(r)}const B=F;function W(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function V(e,t){return e<<t|e>>>32-t}function z(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var a=0;a<r.length;++a)e.push(r.charCodeAt(a))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var s=e.length/4+2,i=Math.ceil(s/16),o=new Array(i),u=0;u<i;++u){for(var l=new Uint32Array(16),d=0;d<16;++d)l[d]=e[64*u+4*d]<<24|e[64*u+4*d+1]<<16|e[64*u+4*d+2]<<8|e[64*u+4*d+3];o[u]=l}o[i-1][14]=8*(e.length-1)/Math.pow(2,32),o[i-1][14]=Math.floor(o[i-1][14]),o[i-1][15]=8*(e.length-1)&4294967295;for(var c=0;c<i;++c){for(var m=new Uint32Array(80),h=0;h<16;++h)m[h]=o[c][h];for(var f=16;f<80;++f)m[f]=V(m[f-3]^m[f-8]^m[f-14]^m[f-16],1);for(var _=n[0],p=n[1],y=n[2],g=n[3],M=n[4],v=0;v<80;++v){var L=Math.floor(v/20),w=V(_,5)+W(L,p,y,g)+M+t[L]+m[v]>>>0;M=g,g=y,y=V(p,30)>>>0,p=_,_=w}n[0]=n[0]+_>>>0,n[1]=n[1]+p>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+M>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}const U=z;var q=b("v5",80,U);const J=q,G="00000000-0000-0000-0000-000000000000";function $(e){if(!u(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const K=$},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n}},7203:t=>{"use strict";t.exports=e},4654:()=>{}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var s=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{r.p=""})();var a={};return(()=>{"use strict";if(r.r(a),r.d(a,{default:()=>Si,ermAttach:()=>bi,ermForm:()=>ie,ermList:()=>x}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}var n=r(7203),s=r(8222);const i="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCAGXAcsDASIAAhEBAxEB/8QAGgABAQADAQEAAAAAAAAAAAAAAAUCAwQBBv/EABQBAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAfuwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw89w9M3noAAAA80YHW5+gAAAAAAAAAAAAAAAAAAAAY5DTll6eZAAAABo19Y0bwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE46vNGwzYDNgM2AzYDNgM2AzYDNgM2AzYDNgM9mjgLQAAAAAAAAAAAAABNO+Xt9KGU0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0UspeguSK8gpgAAAAAAAAAAAAASa0ktAAAAAAAAAAAAR7EcsSK8gpgAAAAAAAAAAAAASa0ktAAPJxSxm5HfnNxKiXTPQAAAAAI9iOWJFeQUwAADhMt8XaWmncAAAAAAc+GzA8ejydSnF70Hnssw7fOUe0RO8q+HNxbOg6cpNYAAAAAR7EcsSK8gpgAAAn9TMzAAAAAAAAAk1pJaBjO3+nJS4fTHu2cxtcQ7pnViY9mnSUQAAAAI9iOWJFeQUwAAAAAAAAAAAAAJNaSWgcGzPUY+a+828XbxHIBo78Dk11/DjWBzdIAAAI9iOWJFeQUwADWbHPuMgAAAADSe7OLM63noAAk1pJaAk1uM0d3LoKzh7T15xnTO86DRT4u8AAAAAR7EcsSK8gpgAeejTuAAAAAB56Ofd76AAGOBtk1pJaABw6qes087E96Ob0c9bafPXueKfSubWdoAAAEexHLEivIKYAAAAAAAAAAAAMMNwSa0ktAAAAAAato+U5ezjKf0HxnWfVNG8AAR7EQtyMRVAAAAAAAAAAAAAAkV+EpI3pYRxYRxYRxYRxYRxYRxV+f6xCdnIbPofmvT7N871FhHFiO5C+kislCq4ewyShVStx3gAAAAAAAAAAAAAAAAAAcPcPk9f1ME0fVcvYAAAAAAAeegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT6AAAAAAAAAAA5+jkPOnTkbwAAAAAAAAAAAAAAa5tX0+dpaawAAAAAAAAAA89GvP0AAAAAAAAAAAAAAAAc3SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//EACoQAAEEAQMDAwUBAQEAAAAAAAMAAQIEFBESEzA0QBAgMyEiIzFQcIAy/9oACAEBAAEFAv8At530/tSf6M/06RJaLhZDk7/y9NU7aNtZaadIkdW5foOLs38t/wBf5fzDZc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJRnGX8C3J4ijTHtwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKKPGJ526KuOzwacdN8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8VvitdfS951qbsmoxWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjTM9awr3nWvl8mz3Sveda+XybPdK951r5ffuZluj4Nnule6NibjFB9w/DtfL7P0pWdZcJiLCGsIa4CwUbLwdn1bq2e6V7oGNMcjGmQcLBYwHJ5w6sjDg+SJZIlkiWSJHJGZfV30Z3lal+MEOYpVwGkuAzLlOJM4zw+6rKMmk3Us90r3RufAL4etII5PjiWOJY4ljiVgcYE9Tu5SSlCuIYnNL6RaMmk3oUDxcZInGLUBupZ7pXuiQbFhFtsfDtfL6SfbGq2qf89qUmhGMHOtYQXJBckE04yUm4LNqOoxy3j6dnule8618vpafQA/sr02/Ef7yooIGWEJYQkOtAUrbagb769N9QdOz3Sveda+X0t9v+61Pt371GFMixCrFKsUqLXJAca5HGAEyQxCrEKgjkOPQs90r3nWvl9Dx3Bry316v2SeDPJGLMayjLKMhHJOdt/oR+OvWjtB07PdK97pPozx0Zvq3UnLa3QtfL6i/DYsReMhzYkfZKTQiFnKU78hW6lnule9z/VbOrLcp79G5E3691r5fU4uSADcjSFMMh2oTWvpOzCC452JFLEMK4trdSz3SveKX/y3699r5fYYG942Xg7jEZYbLDZ1EIgqdnV5VJyiGzITxk0m6dnule8t30Zpelr5fbKEZs9TRcdllx2nTVNVEcYehQRKzOSrMZoki1oTz6Nnule8uTato7urXy9WcIziWPERV7TwUZNJvfZ7pXvOtfL1jikOfoI8hOMsSx91zXn3W1EJSE8218vWlFpMeq4/WE3g4LMS+6z3Pn2BcjMeyzZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhc9hTGScv16fpRukZsiwsiwsiwsiwpc8i89hc9hc9hc9hCIWUn/XNYXPYXPYQiFlP+OauxFODwkhwck2bRv6xBxJGdacZADxR/wA0nN2fQkVCW6P8ARZTP40/tm5Y6CbbDzpvthlFQyyiUZyTn42yLfwq/df2YCaE/wDoP//EABQRAQAAAAAAAAAAAAAAAAAAAJD/2gAIAQMBAT8BPL//xAAUEQEAAAAAAAAAAAAAAAAAAACQ/9oACAECAQE/ATy//8QAMxAAAgAEAQsDBAICAwAAAAAAAAECAxEyMRASITAzQEFRcZGhICJhEyNQgUJwgrFigJD/2gAIAQEABj8C/wDCRJYsxdeY08V+YTWKLHUbeL/ty9F6L0XovRei9F6L0XovRei9F6L0XovRei9F6L0XovRei9Gh1/AaOIq1bMH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3IYoOO/4oho+Ivci5FyLkXIuRci5FyLkXIuRci5FyLkXIuRci5FyLkXLLL679DAtGcaYoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoiGFOsMWSX136VvUnJL679K3qTkl9d+lajEx3GTkl9dTWEhfNbpK9WbKhzme+ZT4RpqcT7cz9MzZ0NPkqtdJyS+uopDLqUil0QkpXAq1TXUcWkuLi4uJea8PRVlFolo5H2oKLmz3TqHtnH3Iarmjmc5ZVa2Tkl9dT+yDpr6uHSWFhYWEvNWL9Ckw/wCR8I+pN/SOSKrL9SVofI/2hyna8NbJyS+upzWJct0lZWyKa8Yin8YBt4Iz5lvCEpVIvh7l8PcookxRK2Iz1jCKLnrJOSX136VliF0HFzZBL4YvIs6p/Lufy7mdDWo/jSdVrZOSX136VlZ/iIXTIs2PNNszbM2zHE5tRP6tEVhmUNszbMpFFnamTkl9d+lZYkLsRynwYouKyLNgzjYmxKRS6LmQy1jEx/CIdZJyS+vrrx3eV6Ipbwi0oU6HhiVXpqxzosOBDJX71snJL6+vHRrfae7UyvRouWBmxXGfKw4wmn2v5y41fwVmaIORRY8EZ8V0Wtk5JfXdlqJXpzoHmxmbOVHzK6H8o9scSPdHEyv+zNlLOZnOL3mZHgVWGsk5JfXfMMkr1e5HsjcJomJm0R9yY4j2qmT55mnAqjNrqpOSX13zTkla6kSHDDFkzY9KKrUSckvrv0rXuuHPLow5FYfXLzceBghRTuG/StfRmdDphy1hZR6IvVK/AJw3Ip9Kv6Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4K/Sa6L0UombHwbHwbHwbHwKY5b0fBsTYmxNiUjl0RoNj4Nj4Nj4KRy6L8RXCIo1kzUJfl6MolU/5P+tVDDiyudUr+BmQvBbuo+BodfwDaVTYsjiUFW+BRy6Ld8PwU381FGuP/AGE//8QALBAAAgEACAYDAAIDAAAAAAAAAAERECExQaGx8PEwQFFhccEgUJGB0XCA4f/aAAgBAQABPyH/AHegSKtcSV1+slIQEQrJ4TltTCZ/cQorbY+rasLkQmJMVxwnWxpQnqemWyNL+sWYCqSX+L21Dl8m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5lg/h9AsprUMqt6ieZIQhCEIQhCEIQhCEIQhCEma0ms5+L+4WyH5HaT1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1Elhp0Zr1zypmTWjKtxqUahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGpQ7rcnRmvXPY/2uaxSzozXPY/2uaxSzozXPY/2uA7UiE6xf3kcUs6M1wZ5Q5SHsbUPlMf7XxbSS3CK+3UuLdEYK9N/I7mH8ltewkof8CJhNdVxsUs6M1wJIF6ksk1sMYZaSJOHWLk/041WcOzOzOzOzH7Kmr/ROaUOZCQytnVvqTc0X6ydAEskEW1jfdF0zLvL0dpE5S/AQ3ynxcUs6M1wbXwMJ48DT6jtv07b9O2/Ttv0R8KrBKKXnVWwJDFRCXUt5/ih22EEhZXWhpNVlg9raXjhK7A7BvX4uKWdGa4MwXE3CUNiRymP9qnsipHraCrwJXf+5VFIG9YiQUyd0uDbhtgYSLsztU2RNoTJ2acTFLOjNc9j/ap8uqP4KZWG1zZK8zBKFAwuHR05n6UmSq+oIrkYxdG6Z4OKWdGa57H+18K7gNPnZVlvq0PZMDRM1zNUxptFdWLazFMVjo4s9zTM0THJluvBxSzozXPY/wBqnwERG9Vhr2SLwP8ALouh7Lkd7+M738ZM75hL/UARXrhEc618TFLOjNfKySpbYeF8V06FWk+Bj/apalDWQcFrzY9hNfV8Xx8JC8KlSnejJRJJJVLiYpZ0Zr5JCGdE+wiKlxFeJCWioqVDqJQm354/2vhXFSsYklwlTTvGetcKifshI1KZK6lVeAFW8qzrP4xQY6srn24uKWdGa5Wx8mG4GP8Aa+NiQvMoSMWSQELoHKgqJdxWn6tyHKe1xB1wd9whvTbiYpZ0Zrm0TMlcOHSjH+18owhiGl0Z4C8I8EiexWCuE0K8qLoj8nhZNryuhWinrcTPBxSzozXN/wANWhLnVijH+1xmqYmS8R2ogfI9BDbKfAxSzozHPY/2uO6JNnVSvmvCYHldPnC//qk1iGYKLnPY/wBrjt6ZTHD/AKSmo8YgXgOvyx6z+gbbhqEJpFfI0mNJjSY0mNJjSY0mNJjSY0mNJjSY0mNJhvVa/oZE7Vg02aahqhNtKcNXinO9WazGsxrMazDPEdhDSTNJM0EzQTPLxQM07SXFSNZjSY0mPLhR9QraeQZozoQA7SKPt4U+GVXF2NC5Wup/jVQEk0oeEQpPoXBVtX7y9fq4Q+wrORckPSna6+fbIhXGiZf4B0Cg+6/lmJiUs+BfQ4l5/dS8Tb/2E//aAAwDAQACAAMAAAAQCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC2CCCCCeKCCCCCCCCCCCCCCCCCCCCCiiCCCCWOCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGKCCCCCCCCCCCSCCCCCCCCCCCCCCCCoAAAAAAAAAAEoCCCCCCCCCCCCCCCG88888888888cMCCCCCCCCCCCCCCC884Aoc88888888CCCC+CCCCCCCCCW0oa+sCU8888888CCCCuCCCCCCCCCS8GeiE6+w088888CCCCiCCCCCCCCCC8yGGCWiMc88888CCCKCCCCCGGCCCC8cGY8yc8888888CCCiCCCCCS6CCGC88MMEq24088888CCCCCCCCCCCCCSu8888884Cq0888qCCCCCCCCCCCCCCWc88888se+y4wiOGCCGCCCCCCCCCCCCCCCCCCCSOiCCCCCCCiCCCCCCCCCCCCCCCCCCSCCCCCCCCCCCCCCCCCCCCCCKCCCCCCCCCCWuqCCCCCCCCCCCCCCKGCCCCCCCCCCSyiCCCCCCCCCCCCCCCuqCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC//xAAUEQEAAAAAAAAAAAAAAAAAAACQ/9oACAEDAQE/EDy//8QAFBEBAAAAAAAAAAAAAAAAAAAAkP/aAAgBAgEBPxA8v//EACwQAQACAAQEBAcBAQEAAAAAAAEAESExQfFRYdHwMEBxkRAgUIGhscHhYID/2gAIAQEAAT8Q/wDb1jS+UVDx8TEql+v0xZSg+sRURb0ZkZdGsA5YnhPbXKCLi/2EbDEDxPpdwbuY8LvWY5MSEKyeFxIEaxdoPCqxPrKUPsj6Y9Q1h5IeISvpl+Ncv/prCOBxmPmT3ve973ve973ve973ve/4SnHFf0B8gYdnUvjAFtPxNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DATiC3PLP388oFrRFlN3ojSa90GsIEnAGmbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBhVkcRv4ZfPAqugTnWX9gdTrpM/ab10Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30R/wBroj3dAXK2v38Mvnw0CiHl2KJCiZexl578/wCcJcnYy89+f+csNY978xmkvKBEwblnkZcnYy8FrnGVeEa0smGqeU/P/KORBmrQRHA8E5PvLCvXf70hDE9VpEmN+NmOHMauEOPbQTF7QIlliWPkJcnYy8ATSYpF/UaVEbhjwxIIjwtQM8COzdS/i6RQIsyptTNqZtTNqYe7GVZYIBsy4/E4ALV0jbqjVkGFy6CiLtcJiSclx/Ij5FVH9gk0U6MRGIMcpEtU6RzcCyKxPHlydjLwe9c53/h46p6zSzcHWbg6zcHWbg6wYmEBW8TjAFGBVB8aYdrNBw74ygAUFmoIvDjlhFjn2gIGG+QcH4IACOjHF/Bl9sobtLWjFaK3tOXjy5Oxl4LwhhvNhMhcC+AeXkBbJoEW02eCYI3jI5I/2L3iDCSWc7M4so8ZgAVO9v7O/v7HvBg1jYIwUyGcMujhDC0V9fGlydjLwbn3fLyIs0H5Q8v+RjL/AOhhUqN90hpCMFAUBHLGwmFDjex0nM9jpDiICZx+oNXinqXX9jpFlP4iIt1vzLJZxlPDlydjL6DIVQ0RYEzE1MPSZwy/Yx3ciluPwdz84WX7Tduub11zfOuApstuLHmzl88o4ZyxmxQ4ueDN66pvnVFvpsV4H3h4UuTsZfPZdX5qTia3Ptj/ACBYWKPB2SOqRVusZ2e5VwhUaLUFr2nb/wDJ2/8AyYWeuwNOZGx4IQ7coQ00TVlyYJ/PHxpcnYy+Zlcy1fCA1MLu84qeaW+KZz1pjVNQfDkBBxGLm8HS2A/blGur8S38jE4MqHxrl+1lCLGXDj3xj41C0ad/2VsAoOHjS5Oxl8wrlMHdkHBAAyDLxGqZxGpT1N8KrOB1pTDLKZhumPr4cnLtj9QhQdP9zL3sZme0Awrg4WPKHgI8GJFoD1l+TlCW3BhqWeD6oKEsVoI42aHRwhh40uTsZeV/G/pg9p4slJpCcL9ZceGFSGOgmYX7kWkR0G5YwTgyuXGt/WAiG1QhmAJbKuAxG/QoY/5h4UwR8aXJ2MvKoJSCc5l8rj7RxiC5vu8CRMV5k1hlWZMiMa4Zdw/vwiHxjkQiI5GcrCNsowNJQRDiaHJlfZRaZwzBWq5ifW4ACIjqeHLk7GXm8LvFHqSo7RqVWHj6Fi98ekvjUpVT6MFMpahyTV1kCLlk8KFHc4ecPIaJhBjXOg/AwhZVuY4MPFX7i+dAAkEOuRMTP784ARlFG/sYTLDz2g34rAa54YeCuhn8Z9B8Mn1lDBmNsFy+a+HDqw889FXL6ygCKXiezOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ecOD7ecQCB0epLRri0H5ilkUjp8DqmWDBJTJMKG32YMCXHsznb6k7fUnb6kdzeeogHr7s4d2/s7fWnb60yMe8Yx+8q8KU1ZU5OznOz1Z2epMrHvGMfv9Hq5TiJhpfWLiL2eYzSHbiuLwOMe8ur2SpUqVKleDX0YiYxwVdDMlkKv9Eq6QtunKGH1U+Jhp/wB4SDJXkHGNSIxWVhBeodOH0E4VgNGFU8vcw4iD3SmhDULBppGnC/PvqPYdZsHREqraRcTehM9zFXD3PLAREEeMqk8RGDz9fHky+sqY3WzgW3D6zpK/8k//2Q==",o=e=>((0,n.pushScopeId)("data-v-160fcaec"),e=e(),(0,n.popScopeId)(),e),u={class:"myClass"},l=o((()=>(0,n.createElementVNode)("img",{src:i,style:{width:"150px",height:"150px","border-radius":"50%"}},null,-1))),d=o((()=>(0,n.createElementVNode)("h4",{style:{color:"darkgray","margin-top":"0px"}},"暂无数据",-1))),c=[l,d];function m(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",u,c)}var h=r(3744);const f={},_=(0,h.Z)(f,[["render",m],["__scopeId","data-v-160fcaec"]]),p=_,y={key:0,class:"mainTitle"},g=["onClick"],M={class:"rowContent"},v={key:0,class:"leftArea"},L=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],w=["onClick"],Y={key:1,class:"rightArea"},b=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],k=(0,n.defineComponent)({__name:"ermList",props:{data:[],maxHeight:{type:String,default:"auto"},initSvc:{type:String,require:!0},formName:{type:String,require:!0},functionId:{type:String,require:!0},showLeft:{type:Boolean,default:!1},showRight:{type:Boolean,default:!1},mainTitle:{type:String,default:!1},leftIconUrl:{type:String,default:"lg.png"},rightIconUrl:{type:String,default:"xiangyou.png"},leftIconSize:{type:Array,default:["35px","35px"]},rightIconSize:{type:Array,default:["35px","35px"]},showSelect:{type:Boolean,default:!1},selectMode:{type:String,default:"multiRow"},pullDisabled:{type:Boolean,default:!1},pullDownDisabled:{type:Boolean,default:!1},leftSwiperSelect:{type:Boolean,default:!1},rightSwiperDelete:{type:Boolean,default:!1}},emits:["leftIconClick","mainClick","rightIconClick","leftIconHold","rightIconHold","pullRefresh","pullUpdate"],setup(e,{expose:t,emit:r}){const a=e,i=r;t({endLoad:A,selectAll:H,selectNone:O,getSelectedRows:N});a.maxHeight&&a.maxHeight;var o=(0,n.ref)("0%"),u=(0,n.ref)("100%"),l=(0,n.ref)("0%");function d(){a.showLeft&&a.showRight?(o.value="15%",l.value="15%",u.value="70%"):a.showLeft?(o.value="15%",u.value="85%"):a.showRight&&(l.value="15%",u.value="85%"),console.log(o,l,u)}(0,n.watch)((()=>[a.showLeft,a.showRight]),(([e,t],[n,r])=>{d()}));const c=(0,n.ref)([]);async function m(){console.log("erm初始化---formName ",a.formName),console.log("erm初始化---functionId ",a.functionId),console.log("erm初始化---initSvc ",a.initSvc);const e=new s.EI.EIInfo,t=e.addBlock(new s.EI.EiBlock,"");t.pushData({TYPE:"FORM",FORM_NAME:a.formName,FUNCTION_ID:a.functionId},!0),s.EIManager.callService("",a.initSvc,e).then((e=>{c.value=e.blocks["Table0"].data,c.value.forEach((e=>{if(""!==e.HEAD_TEXTCOLOR.trim()){var t=e.HEAD_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.HEAD_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000";if(""!==e.CELL_TEXTCOLOR.trim()){t=e.CELL_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.CELL_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000"}))}))}var h=null;function f(e){h=setTimeout((()=>{h=null,i("leftIconHold",e)}),1e3)}function _(e){clearTimeout(h),h=null}function k(e){h=setTimeout((()=>{h=null,i("rightIconHold",e)}),1e3)}function D(e){clearTimeout(h),h=null}const T=(0,n.ref)(!1),S=(0,n.ref)(!1);function A(){T.value=!1,S.value=!1}var x=(0,n.ref)(!1);function C(e,t){x.value&&(j.value.indexOf(e)<0?("singleRow"===a.selectMode&&(j.value=[]),j.value.push(e)):j.value.splice(j.value.indexOf(e),1))}(0,n.watch)((()=>a.showSelect),(()=>{x.value=a.showSelect}),{immediate:!0});const E=(0,n.ref)(null),j=(0,n.ref)([]);function H(){"multiRow"===a.selectMode&&E.value.toggleAll(!0)}function O(){E.value.toggleAll(!1)}function N(){for(let e=j.value.length-1;e>=0;e--){const t=j.value[e];a.data.includes(t)||j.value.splice(e,1)}return(0,n.toRaw)(j.value)}(0,n.watch)((()=>a.showSelect),(()=>{a.data.forEach((e=>{j.value.splice(j.value.indexOf(e),1)}))}));var P=(0,n.ref)(!0);function I(){x.value=!0}function R(){O(),x.value=!1}(0,n.watch)((()=>a.leftSwiperSelect),(()=>{a.leftSwiperSelect?P.value=!0:P.value=!1}),{deep:!0,immediate:!0});var F=(0,n.ref)(!0);function B(e){a.data.splice(e,1)}function W(){var e=document.getElementsByClassName("colDesc");for(let t=0;t<e.length;t++){const n=e[t];n.innerHTML=n.innerHTML.replaceAll("<br>","<br>")}}function V(e){return new URL(`/src/assets/img/${e}`,"file:///C:/Users/Raymo/Desktop/%E5%B7%A5%E4%BD%9C%E6%96%87%E6%A1%A3/%E9%A1%B9%E7%9B%AE/%E7%A7%BB%E5%8A%A8%E5%BA%94%E7%94%A8/%E7%A7%BB%E5%8A%A8%E5%BA%94%E7%94%A8%E4%BA%A7%E5%93%81%E5%8C%96/GIT/erm/packages/ermList/ermList.vue%3Fvue&type=script&lang=ts&setup=true").href}return(0,n.watch)((()=>a.rightSwiperDelete),(()=>{a.rightSwiperDelete?F.value=!0:F.value=!1}),{deep:!0,immediate:!0}),(0,n.watch)((()=>a.data),(()=>{(0,n.nextTick)((()=>{W()}))}),{immediate:!0,deep:!0}),(0,n.watch)((()=>c.value),(()=>{(0,n.nextTick)((()=>{W()}))}),{immediate:!0,deep:!0}),(0,n.watch)((()=>a.pullDownDisabled),(()=>{!0===a.pullDownDisabled&&(S.value=!1)}),{immediate:!0}),(0,n.onMounted)((()=>{d(),m()})),(t,r)=>{const a=(0,n.resolveComponent)("van-button"),s=(0,n.resolveComponent)("van-checkbox"),i=(0,n.resolveComponent)("van-col"),o=(0,n.resolveComponent)("van-row"),u=(0,n.resolveComponent)("van-swipe-cell"),l=(0,n.resolveComponent)("van-checkbox-group"),d=(0,n.resolveComponent)("van-list"),m=(0,n.resolveComponent)("van-pull-refresh");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[e.mainTitle&&""!==e.mainTitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",y,(0,n.toDisplayString)(e.mainTitle),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(m,{class:"pullRefresh",modelValue:T.value,"onUpdate:modelValue":r[3]||(r[3]=e=>T.value=e),disabled:e.pullDisabled,onRefresh:r[4]||(r[4]=e=>t.$emit("pullRefresh"))},{default:(0,n.withCtx)((()=>[c.value.length>0&&e.data.length>0?((0,n.openBlock)(),(0,n.createBlock)(d,{key:0,loading:S.value,"onUpdate:loading":r[1]||(r[1]=e=>S.value=e),style:{"min-height":"200px"},onLoad:r[2]||(r[2]=e=>t.$emit("pullUpdate")),"immediate-check":!0,finished:e.pullDownDisabled},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(l,{modelValue:j.value,"onUpdate:modelValue":r[0]||(r[0]=e=>j.value=e),ref_key:"checkBoxGroup",ref:E},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.data,((r,l)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)({selected:j.value.indexOf(r)>=0}),onClick:e=>C(r,l)},[(0,n.createVNode)(u,null,{left:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"leftButton",{data:{item:r,index:l}},(()=>[(0,n.unref)(P)&&!(0,n.unref)(x)?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,square:"",type:"primary",text:"开启多选",class:"swiperButton",onClick:I})):(0,n.createCommentVNode)("",!0),(0,n.unref)(P)&&(0,n.unref)(x)?((0,n.openBlock)(),(0,n.createBlock)(a,{key:1,square:"",type:"primary",text:"取消多选",class:"swiperButton",onClick:R})):(0,n.createCommentVNode)("",!0)]))])),right:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"rightButton",{data:{item:r,index:l}},(()=>[(0,n.unref)(F)?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,square:"",type:"danger",text:"删除",class:"swiperButton",onClick:e=>B(l)},null,8,["onClick"])):(0,n.createCommentVNode)("",!0)]))])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",M,[e.showLeft||(0,n.unref)(x)?((0,n.openBlock)(),(0,n.createElementBlock)("div",v,[(0,n.unref)(x)?((0,n.openBlock)(),(0,n.createBlock)(s,{key:1,onClick:e=>C(r,l),name:r},null,8,["onClick","name"])):(0,n.renderSlot)(t.$slots,"leftArea",{key:0,data:{item:r,index:l}},(()=>[(0,n.createElementVNode)("img",{src:V(e.leftIconUrl),style:(0,n.normalizeStyle)("height:"+e.leftIconSize[1]+";width:"+e.leftIconSize[0]),onClick:e=>t.$emit("leftIconClick",r),onMousedown:e=>f(r),onMouseup:e=>_(r),onTouchstart:e=>f(r),onTouchend:e=>_(r)},null,44,L)]))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:"mainContent",onClick:e=>t.$emit("mainClick",r)},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(c.value,((t,r)=>((0,n.openBlock)(),(0,n.createBlock)(o,null,{default:(0,n.withCtx)((()=>[(0,n.createVNode)(i,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+t.HEAD_TEXTCOLOR),span:"8"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(t.COL_CAPTION)+":",1)])),_:2},1032,["style"]),(0,n.createVNode)(i,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+t.CELL_TEXTCOLOR),offset:"0",span:"16"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.data[l][t.ITEM_CODE]),1)])),_:2},1032,["style"])])),_:2},1024)))),256))],8,w),e.showRight?((0,n.openBlock)(),(0,n.createElementBlock)("div",Y,[(0,n.renderSlot)(t.$slots,"rightArea",{data:{item:r,index:l}},(()=>[(0,n.createElementVNode)("img",{class:"rightIcon",src:V(e.rightIconUrl),style:(0,n.normalizeStyle)("height:"+e.rightIconSize[1]+";width:"+e.rightIconSize[0]),onClick:e=>t.$emit("rightIconClick",r),onMousedown:e=>k(r),onMouseup:e=>D(r),onTouchstart:e=>k(r),onTouchend:e=>D(r)},null,44,b)]))])):(0,n.createCommentVNode)("",!0)])])),_:2},1024)],10,g)))),256))])),_:3},8,["modelValue"])])),_:3},8,["loading","finished"])):(0,n.createCommentVNode)("",!0),0===c.value.length||0===e.data.length?((0,n.openBlock)(),(0,n.createBlock)(p,{key:1})):(0,n.createCommentVNode)("",!0)])),_:3},8,["modelValue","disabled"])],64)}}}),D=(0,h.Z)(k,[["__scopeId","data-v-69f08f9e"]]),T=D,S=e=>(e.install=t=>{const n=e.name||e.__name;t.component(n,e)},e),A=S(T),x=A;var C=r(381),E=r.n(C);const j=(0,n.defineComponent)({__name:"MobileLookUp",props:{data:{type:String},value:{type:String},title:{type:String,default:""},codeSet:{type:s.EI.EiBlock},valueCol:{type:String},displayCol:{type:String},showSearch:{type:Boolean,default:!0},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input","cancel"],setup(e,{expose:t,emit:r}){const a=e,s=r;t({}),(0,n.watch)((()=>a.data),(()=>{if(a.codeSet){for(let e=0;e<a.codeSet.data.length;e++)if(a.codeSet.data[e][l.value]===a.data)return i.value=Object.assign({},a.codeSet.data[e]),void(u.value=e);i.value[l.text]="",i.value[l.value]=""}s("input",i.value[l.value])}));const i=(0,n.ref)({}),o=(0,n.ref)(!1),u=(0,n.ref)(0);var l={text:"CODE_DESC_1_CONTENT",value:"CODE"};const d=(0,n.ref)([]),c=(0,n.ref)([]);(0,n.watch)((()=>a.valueCol),(()=>{""!==a.displayCol.trim()&&""!==a.valueCol.trim()&&(l.text=a.displayCol,l.value=a.valueCol)}),{immediate:!0,deep:!0}),(0,n.watch)((()=>a.codeSet),(()=>{if(d.value=[],a.codeSet)for(let e=0;e<a.codeSet.data.length;e++){const t=a.codeSet.data[e];!1!==t.showFlag&&d.value.push(t)}c.value=d.value}),{immediate:!0,deep:!0});const m=e=>{e&&(i.value=e,s("input",i.value[l.value])),o.value=!1,y()},h=e=>{},f=()=>{i.value[l.text]="",i.value[l.value]="",console.log(i.value),o.value=!1,s("input",i.value[l.value]),y()},_=(0,n.ref)(""),p=e=>{console.log("keyword",e),console.log("handleSearch1",d);const t=[];c.value.forEach((n=>{n[l.text].indexOf(e)>-1&&t.push(n)})),d.value=t},y=()=>{_.value="",d.value=c.value};return(0,n.onMounted)((()=>{})),(t,r)=>{const a=(0,n.resolveComponent)("van-field"),s=(0,n.resolveComponent)("van-picker"),c=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(a,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:i.value[(0,n.unref)(l).text],"onUpdate:modelValue":r[0]||(r[0]=e=>i.value[(0,n.unref)(l).text]=e),"is-link":!e.readOnly,placeholder:"点击选择",onClick:r[1]||(r[1]=()=>{e.readOnly||(o.value=!0)}),readonly:!0},null,8,["class","modelValue","is-link"]),(0,n.createVNode)(c,{show:o.value,"onUpdate:show":r[4]||(r[4]=e=>o.value=e),round:"",position:"bottom"},{default:(0,n.withCtx)((()=>[e.showSearch?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,placeholder:"查询选项",modelValue:_.value,"onUpdate:modelValue":[r[2]||(r[2]=e=>_.value=e),r[3]||(r[3]=e=>p(_.value))],"left-icon":"search",autocomplete:"off",clearable:!0},null,8,["modelValue"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(s,{columns:d.value,onCancel:f,onConfirm:m,onChange:h,"default-index":u.value,"cancel-button-text":"清空","columns-field-names":(0,n.unref)(l)},null,8,["columns","default-index","columns-field-names"])])),_:1},8,["show"])],64)}}}),H=j,O=H,N=(0,n.defineComponent)({__name:"MobileSpin",props:{data:{type:Number},scale:{type:String},checkFlag:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,s=r;var i;function o(e){var t;"-1"===a.scale?"."===e.data&&(e.target.value=e.target.value.replace(".","")):t=a.scale;let r=new RegExp(`^(\\-)*(\\d+)\\.(\\d{0,${t}}).*$`),o="$1$2.$3";e.target.value=e.target.value.replace(r,o),"-"===e.data&&(isNaN(e.target.value)||(e.target.value=-e.target.value)),(0,n.nextTick)((()=>{i=Number(e.target.value),s("input",i)}))}return t({}),(0,n.watch)((()=>a.data),(()=>{i=a.data})),(0,n.onMounted)((()=>{i=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createBlock)(a,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(i),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(i)?i.value=e:i=e),type:"number",onInput:o,placeholder:"请输入",autocomplete:"off",readonly:e.readOnly},null,8,["class","modelValue","readonly"])}}}),P=N,I=P,R=(0,n.defineComponent)({__name:"MobileText",props:{data:{type:String},height:{type:Number,default:1},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,s=r;t({});var i=(0,n.ref)("");function o(){s("input",i.value)}return(0,n.watch)((()=>a.data),(()=>{i.value=a.data})),(0,n.onMounted)((()=>{i.value=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return e.height>1?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(i),"onUpdate:modelValue":[r[0]||(r[0]=e=>(0,n.isRef)(i)?i.value=e:i=e),o],type:"textarea",autocomplete:"off",placeholder:"请输入",rows:e.height,clearable:!0,spellcheck:"false",readonly:e.readOnly},null,8,["class","modelValue","rows","readonly"])):((0,n.openBlock)(),(0,n.createBlock)(a,{key:1,class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(i),"onUpdate:modelValue":[r[1]||(r[1]=e=>(0,n.isRef)(i)?i.value=e:i=e),o],placeholder:"请输入",autocomplete:"off",readonly:e.readOnly,clearable:!0,spellcheck:"false"},null,8,["class","modelValue","readonly"]))}}}),F=R,B=F,W=(0,n.defineComponent)({__name:"DateTimePicker",props:{showPicker:{type:Boolean},type:{type:String,default:"yyyy-MM-dd HH:mm:ss"},title:{type:String,default:" "}},emits:["confirm","cancel","changeValue"],setup(e,{emit:t}){const r=(0,n.reactive)({isPicker:!1,columns:[],Mdays:"",Dindex:null,selectedValues:[]}),a=(0,n.ref)();var s="";const i=e,o=t;function u(){r.columns=[];let e=new Date,t=e.getFullYear(),n=e.getMonth(),a=e.getDate(),o=e.getHours(),u=e.getMinutes(),l=e.getSeconds(),c=[],m=(new Date).getFullYear();for(let r=m-20;r<m+20;r++)c.push(r.toString());t.toString();const h=n+1<10?`0${n+1}`:(n+1).toString(),f=a<10?`0${a}`:a.toString(),_=o<10?`0${o}`:o.toString(),p=u<10?`0${u}`:u.toString(),y=l<10?`0${l}`:l.toString();let g,M=[];M=Object.keys(Array.apply(null,{length:13})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),M.splice(0,1),g=s.length>=6?d(s.substring(0,4),s.substring(4,6)):d(t.toString(),n.toString());let v=[];v=Object.keys(Array.apply(null,{length:g+1})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),v.splice(0,1);let L=[];L=Object.keys(Array.apply(null,{length:24})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()}));let w=[];w=Object.keys(Array.apply(null,{length:60})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()}));let Y=[];Y=Object.keys(Array.apply(null,{length:60})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),r.columns.push({values:c,defaultIndex:c.indexOf(t.toString())}),r.columns.push({values:M,defaultIndex:M.indexOf(h)}),r.columns.push({values:v,defaultIndex:v.indexOf(f)}),r.columns.push({values:L,defaultIndex:L.indexOf(_)}),r.columns.push({values:w,defaultIndex:w.indexOf(p)}),r.columns.push({values:Y,defaultIndex:Y.indexOf(y)}),"yyyy-mm-dd"===i.type.trim().toLowerCase()&&r.columns.splice(3,3),console.log("columns",r.columns)}function l(){const e=a.value.getValues();s="",e.forEach((e=>{s+=e})),u()}function d(e,t){let n=new Date(e,t,0);return n.getDate()}function c(){o("changeValue")}function m(){r.isPicker=!1,o("cancel")}function h(){const e=a.value.getValues();var t="";e.forEach((e=>{t+=e})),o("confirm",t)}return(0,n.watch)((()=>r.isPicker),(e=>{r.columns=[],u()})),(0,n.watch)((()=>i.showPicker),(e=>{r.isPicker=e})),(e,t)=>{const s=(0,n.resolveComponent)("van-picker"),o=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createBlock)(o,{show:r.isPicker,"onUpdate:show":t[1]||(t[1]=e=>r.isPicker=e),position:"bottom",round:"",onClose:c},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(s,{ref_key:"picker",ref:a,columns:r.columns,onChange:l,onCancel:m,onConfirm:h,modelValue:r.selectedValues,"onUpdate:modelValue":t[0]||(t[0]=e=>r.selectedValues=e),"cancel-button-text":"清空",title:i.title},null,8,["columns","modelValue","title"])])),_:1},8,["show"])}}}),V=W,z=V,U=(0,n.defineComponent)({__name:"MobileDate",props:{data:{type:String},type:{type:String},title:{type:String},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,s=r;t({});var i="";const o=(0,n.ref)(!1);function u(e){return 14===e.length?E()(e,"YYYYMMDDHHmmss").format("YYYY-MM-DD HH:mm:ss"):8===e.length?E()(e,"YYYYMMDD").format("YYYY-MM-DD"):e}const l=e=>{o.value=!1,i=e,s("input",i)},d=e=>{o.value=!1,i="",s("input",i)};return(0,n.watch)((()=>a.data),(()=>{i=a.data})),(0,n.onMounted)((()=>{})),(t,r)=>{const s=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(s,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(i),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(i)?i.value=e:i=e),"is-link":!e.readOnly,name:"datetimePicker",formatter:u,placeholder:"点击选择时间",onClick:r[1]||(r[1]=()=>{e.readOnly||(o.value=!0)}),readonly:!0,autocomplete:"off"},null,8,["class","modelValue","is-link"]),(0,n.createVNode)(z,{onChangeValue:r[2]||(r[2]=e=>o.value=!1),showPicker:o.value,type:a.type,onConfirm:l,title:a.title,onCancel:d},null,8,["showPicker","type","title"])],64)}}}),q=U,J=q,G=(0,n.defineComponent)({__name:"MobileButtonEdit",props:{data:{type:String},readOnly:{type:Boolean,default:!1}},emits:["input","btnClick"],setup(e,{expose:t,emit:r}){const a=e,s=r;var i;function o(){s("input",i)}function u(){a.readOnly||s("btnClick")}return t({}),(0,n.watch)((()=>a.data),(()=>{i=a.data})),(0,n.onMounted)((()=>{i=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createBlock)(a,{class:"vanField",modelValue:(0,n.unref)(i),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(i)?i.value=e:i=e),"is-link":!e.readOnly,placeholder:"点击选择",onClick:u,readonly:!0,onInput:o,autocomplete:"false"},null,8,["modelValue","is-link"])}}}),$=G,K=$,Z={key:0,class:"mainTitle"},X={key:1},Q={class:"rowContent"},ee={class:"mainContent"},te={key:0,class:"required"},ne=(0,n.defineComponent)({__name:"ermForm",props:{maxHeight:{type:String,default:"auto"},initSvc:{type:String,require:!0},formName:{type:String,require:!0},functionId:{type:String,require:!0},mainTitle:{type:String,default:!1}},emits:["dataChange","cellValueChange","btnClick"],setup(e,{expose:t,emit:r}){const a=e,i=r;t({getGridData:h,setGridData:f,addRow:m,checkRequireInput:Y,resetData:b,getGridCellData:_,mergeDataRow:k});a.maxHeight&&a.maxHeight;const o=(0,n.ref)([]);var u=(0,n.reactive)([]);const l=(0,n.ref)({}),d=(0,n.computed)((()=>JSON.parse(JSON.stringify(u))));async function c(){const e=new s.EI.EIInfo,t=e.addBlock(new s.EI.EiBlock,"");console.log("erm初始化---formName ",a.formName),console.log("erm初始化---functionId ",a.functionId),console.log("erm初始化---initSvc ",a.initSvc),t.pushData({TYPE:"FORM",FORM_NAME:a.formName,FUNCTION_ID:a.functionId},!0),s.EIManager.callService("",a.initSvc,e).then((e=>{o.value=e.blocks["Table0"].data,o.value.forEach((e=>{if(""!==e.HEAD_TEXTCOLOR.trim()){var t=e.HEAD_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.HEAD_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000";if(""!==e.CELL_TEXTCOLOR.trim()){t=e.CELL_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.CELL_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000"})),m()}))}function m(){u.push({}),(0,n.nextTick)((()=>{setTimeout((()=>{p(u[u.length-1]),g()}),500)}))}function h(){return u}function f(e,t,n){u[e][t]=n}function _(e,t){return u[e][t]}function p(e){o.value.forEach((t=>{e[t.ITEM_CODE]=y(t.DEFAULT_VALUE.trim(),t.DATA_TYPE)}))}function y(e,t){var n=e.trim();e.trim().indexOf("yyyy")>0&&(n=e.trim().replace("yyyy","YYYY")),e.trim().indexOf("MMdd")>0&&(n=e.trim().replace("dd","DD"));var r=new Date;if("$USER_ID$"===n)return(0,s.getCurrentUser)().userId;if("$COMPANY_CODE$"===n)return(0,s.getCurrentEnvironment)().companyCode;if("$USER_NAME$"===n)return(0,s.getCurrentUser)().userName;if(n.toUpperCase().indexOf("YYYY")>=0&&n.toUpperCase().indexOf(",ADD")<0){var a=E()(r).format(n);return a}if(n.toUpperCase().indexOf(",ADDDAYS")>0){var i=n.toUpperCase().indexOf(",ADDDAYS"),o=n.substring(0,i),u=n.substring(n.indexOf("(")+1,n.indexOf(")")),l=y(o),d="YYYYMMDDHHmmss";return 14===l.length?d="YYYYMMDDHHmmss":8===l.length&&(d="YYYYMMdd"),E()(l,d).add(Number(u),"days").format("YYYYMMDDHHmmss")}if(n.toUpperCase().indexOf(",ADDMONTHS")>0){i=n.toUpperCase().indexOf(",ADDMONTHS"),o=n.substring(0,i),u=n.substring(n.indexOf("(")+1,n.indexOf(")")),l=y(o),d="YYYYMMDDHHmmss";return 14===l.length?d="YYYYMMDDHHmmss":8===l.length&&(d="YYYYMMdd"),E()(l,d).add(Number(u),"M").format("YYYYMMDDHHmmss")}return"2"===t?Number(e):e}function g(){var e=document.getElementsByClassName("colDesc");for(let t=0;t<e.length;t++){const n=e[t];n.innerHTML=n.innerHTML.replaceAll("<br>","<br>")}}(0,n.watch)((()=>d.value),((e,t)=>{if(0!==Object.keys(e[0]).length&&i("dataChange",e),null!==l.value&&void 0!==l.value&&0!==Object.keys(l.value).length&&(L(),e.length===t.length))for(let n=0;n<u.length;n++)for(let r=0;r<o.value.length;r++){const a=o.value[r].ITEM_CODE;e[n][a]!==t[n][a]&&void 0!==t[n][a]&&(w.length>0&&(w[n][a]=!1),i("cellValueChange",{ITEM_CODE:a,ROW_NO:n,OLD_VALUE:t[n][a],NEW_VALUE:e[n][a]}))}}),{deep:!0});const M=async(e,t)=>{var n={};const r=new s.EI.EIInfo,i=r.addBlock(new s.EI.EiBlock,"");e.forEach((e=>{i.pushData({TYPE:"CODE",FORM_NAME:a.formName,QUERY_TYPE:e.queryType,QUERY_ID:e.queryId,QUERY_FILTER:e.queryFilter},!0)})),await s.EIManager.callService("",e[0].initSvc,r).then((e=>{0!==e.sys.status&&console.log("获取小代码报错",e.msg),n=e.blocks})),await t(n)};async function v(){var e=[];l.value={},o.value.forEach((t=>{var n;if("7"===t.COLUMN_EDIT||"C"===t.COLUMN_EDIT){if("5"===t.ORIGIN_CODE||"1"===t.ORIGIN_CODE)n="1";else if("2"===t.ORIGIN_CODE)n="2";else if("4"===t.ORIGIN_CODE)n="3";else{if("6"!==t.ORIGIN_CODE)return;n="4"}e.push({initSvc:a.initSvc,queryType:n,queryId:t.SVC_NAME,queryFilter:t.FILTER_STRING,displayMember:t.DISPLAY_MEMBER,valueMember:t.VALUE_MEMBER,formFilter:t.FORM_FILTER})}})),M(e,(e=>{l.value=e}))}function L(){o.value.forEach((e=>{if(""!==e.FORM_FILTER.trim()&&""!==e.FATHER_FIELD.trim()){var t=e.FORM_FILTER.substring(0,e.FORM_FILTER.indexOf("=")).trim();for(let n=0;n<l.value[e.SVC_NAME].data.length;n++){const r=l.value[e.SVC_NAME].data[n];l.value[e.SVC_NAME].data[n].showFlag=!0,""===u[0][e.FATHER_FIELD]&&" "===u[0][e.FATHER_FIELD]||r[t]===u[0][e.FATHER_FIELD]?r.showFlag=!0:r.showFlag=!1}}}))}const w=(0,n.reactive)([]);function Y(){w.splice(0,w.length),setTimeout((()=>{for(let e=0;e<u.length;e++){w.push({});for(let t=0;t<o.value.length;t++)w[e][o.value[t].ITEM_CODE]=!1}u.forEach(((e,t)=>{o.value.forEach((n=>{"1"===n.ITEM_MUST_FLAG&&("2"===n.DATA_TYPE?0===Number(e[n.ITEM_CODE])&&(w[t][n.ITEM_CODE]=!0):""!==e[n.ITEM_CODE]&&" "!==e[n.ITEM_CODE]||(w[t][n.ITEM_CODE]=!0))}))}))}),300);let e=!1;return u.forEach(((t,n)=>{o.value.forEach((n=>{"1"===n.ITEM_MUST_FLAG&&("2"===n.DATA_TYPE?0===Number(t[n.ITEM_CODE])&&(e=!0):""!==t[n.ITEM_CODE]&&" "!==t[n.ITEM_CODE]||(e=!0))}))})),!e}function b(){u.forEach((e=>{p(e)}))}function k(e,t){if(u.length<=e)console.log("data中不存在第"+e+"行数据");else for(const n in t)t.hasOwnProperty(n)&&(console.log(`属性名: ${n}, 属性值: ${t[n]}`),u[e].hasOwnProperty(n)&&(u[e][n]=t[n]))}return(0,n.onMounted)((()=>{c()})),(0,n.watch)((()=>o.value),(()=>{(0,n.nextTick)((()=>{v(),g()}))}),{deep:!0}),(t,r)=>{const a=(0,n.resolveComponent)("van-col"),s=(0,n.resolveComponent)("van-row"),d=(0,n.resolveComponent)("NoData");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[e.mainTitle&&""!==e.mainTitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",Z,(0,n.toDisplayString)(e.mainTitle),1)):(0,n.createCommentVNode)("",!0),o.value.length>0&&(0,n.unref)(u).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",X,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)((0,n.unref)(u),((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",Q,[(0,n.createElementVNode)("div",ee,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,((e,r)=>((0,n.openBlock)(),(0,n.createBlock)(s,{justify:"center"},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(a,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+e.HEAD_TEXTCOLOR),span:"6"},{default:(0,n.withCtx)((()=>["1"===e.ITEM_MUST_FLAG?((0,n.openBlock)(),(0,n.createElementBlock)("div",te,"*")):(0,n.createCommentVNode)("",!0),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(e.COL_CAPTION)+": ",1)])),_:2},1032,["style"]),(0,n.createVNode)(a,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+e.CELL_TEXTCOLOR),span:"16"},{default:(0,n.withCtx)((()=>["0"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(B,{key:0,height:e.ROWHIGH,data:(0,n.unref)(u)[t][e.ITEM_CODE],onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},checkFlag:w.length>0&&w[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["height","data","onInput","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"1"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(K,{key:1,data:(0,n.unref)(u)[t][e.ITEM_CODE],onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},onBtnClick:n=>i("btnClick",{ITEM_CODE:e.ITEM_CODE,INDEX:t}),checkFlag:w.length>0&&w[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","onInput","onBtnClick","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"9"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(I,{key:2,data:(0,n.unref)(u)[t][e.ITEM_CODE],scale:e.DATA_ACCU,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},checkFlag:w.length>0&&w[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","scale","onInput","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"5"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(J,{key:3,data:(0,n.unref)(u)[t][e.ITEM_CODE],type:e.FORMAT_STRING,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},title:e.COL_CAPTION,checkFlag:w.length>0&&w[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","type","onInput","title","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"7"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(O,{key:4,data:(0,n.unref)(u)[t][e.ITEM_CODE],"code-set":l.value[e.SVC_NAME],type:e.FORMAT_STRING,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},title:e.COL_CAPTION,"value-col":e.VALUE_MEMBER,"display-col":e.DISPLAY_MEMBER,"show-search":!0,checkFlag:w.length>0&&w[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","code-set","type","onInput","title","value-col","display-col","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0)])),_:2},1032,["style"])])),_:2},1024)))),256))])])))),256))])):(0,n.createCommentVNode)("",!0),0===o.value.length||0===(0,n.unref)(u).length?((0,n.openBlock)(),(0,n.createBlock)(d,{key:2})):(0,n.createCommentVNode)("",!0)],64)}}}),re=(0,h.Z)(ne,[["__scopeId","data-v-5446108e"]]),ae=re,se=S(ae),ie=se;Object.assign;const oe=()=>{},ue=Array.isArray;function le(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function de(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ce(e[n],t[n]))return!1;return!0}function ce(e,t){return ue(e)?me(e,t):ue(t)?me(t,e):e===t}function me(e,t){return ue(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var he,fe;(function(e){e["pop"]="pop",e["push"]="push"})(he||(he={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(fe||(fe={}));new Map;Symbol("");var _e;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(_e||(_e={}));Symbol(""),Symbol("");const pe=Symbol(""),ye=Symbol("");Symbol("");function ge(e){const t=(0,n.inject)(pe),r=(0,n.inject)(ye),a=(0,n.computed)((()=>t.resolve((0,n.unref)(e.to)))),s=(0,n.computed)((()=>{const{matched:e}=a.value,{length:t}=e,n=e[t-1],s=r.matched;if(!n||!s.length)return-1;const i=s.findIndex(le.bind(null,n));if(i>-1)return i;const o=Le(e[t-2]);return t>1&&Le(n)===o&&s[s.length-1].path!==o?s.findIndex(le.bind(null,e[t-2])):i})),i=(0,n.computed)((()=>s.value>-1&&ve(r.params,a.value.params))),o=(0,n.computed)((()=>s.value>-1&&s.value===r.matched.length-1&&de(r.params,a.value.params)));function u(r={}){return Me(r)?t[(0,n.unref)(e.replace)?"replace":"push"]((0,n.unref)(e.to)).catch(oe):Promise.resolve()}return{route:a,href:(0,n.computed)((()=>a.value.href)),isActive:i,isExactActive:o,navigate:u}}Boolean,Boolean;function Me(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ve(e,t){for(const n in t){const r=t[n],a=e[n];if("string"===typeof r){if(r!==a)return!1}else if(!ue(a)||a.length!==r.length||r.some(((e,t)=>e!==a[t])))return!1}return!0}function Le(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const we=(e,t,n)=>null!=e?e:null!=t?t:n;function Ye(){return(0,n.inject)(pe)}const be=e=>void 0!==e&&null!==e,ke=e=>"function"===typeof e,De=e=>null!==e&&"object"===typeof e,Te=e=>De(e)&&ke(e.then)&&ke(e.catch);const Se=e=>"number"===typeof e||/^\d+(\.\d+)?$/.test(e),Ae=()=>!!Ee&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function xe(){}const Ce=Object.assign,Ee="undefined"!==typeof window;function je(e,t){const n=t.split(".");let r=e;return n.forEach((e=>{var t;r=De(r)&&null!=(t=r[e])?t:""})),r}function He(e,t,n){return t.reduce(((t,r)=>(n&&void 0===e[r]||(t[r]=e[r]),t)),{})}function Oe(e){if(be(e))return Se(e)?`${e}px`:String(e)}function Ne(e){if(be(e)){if(Array.isArray(e))return{width:Oe(e[0]),height:Oe(e[1])};const t=Oe(e);return{width:t,height:t}}}function Pe(e){const t={};return void 0!==e&&(t.zIndex=+e),t}const Ie=/-(\w)/g,Re=e=>e.replace(Ie,((e,t)=>t.toUpperCase())),Fe=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"");const Be=(e,t,n)=>Math.min(Math.max(e,t),n);function We(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(Re(`-${n}`),e))},e}function Ve(e){const t=(0,n.getCurrentInstance)();t&&Ce(t.proxy,e)}function ze(){const e=(0,n.reactive)({show:!1}),t=t=>{e.show=t},r=n=>{Ce(e,n,{transitionAppear:!0}),t(!0)},a=()=>t(!1);return Ve({open:r,close:a,toggle:t}),{open:r,close:a,state:e,toggle:t}}function Ue(e){const t=(0,n.createApp)(e),r=document.createElement("div");return document.body.appendChild(r),{instance:t.mount(r),unmount(){t.unmount(),document.body.removeChild(r)}}}const{hasOwnProperty:qe}=Object.prototype;function Je(e,t,n){const r=t[n];be(r)&&(qe.call(e,n)&&De(r)?e[n]=Ge(Object(e[n]),r):e[n]=r)}function Ge(e,t){return Object.keys(t).forEach((n=>{Je(e,t,n)})),e}var $e={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const Ke=(0,n.ref)("zh-CN"),Ze=(0,n.reactive)({"zh-CN":$e}),Xe={messages(){return Ze[Ke.value]},use(e,t){Ke.value=e,this.add({[e]:t})},add(e={}){Ge(Ze,e)}};var Qe=Xe;function et(e){const t=Re(e)+".";return(e,...n)=>{const r=Qe.messages(),a=je(r,t+e)||je(r,e);return ke(a)?a(...n):a}}function tt(e,t){return t?"string"===typeof t?` ${e}--${t}`:Array.isArray(t)?t.reduce(((t,n)=>t+tt(e,n)),""):Object.keys(t).reduce(((n,r)=>n+(t[r]?tt(e,r):"")),""):""}function nt(e){return(t,n)=>(t&&"string"!==typeof t&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${tt(t,n)}`)}function rt(e){const t=`van-${e}`;return[t,nt(t),et(t)]}const at=null,st=[Number,String],it={type:Boolean,default:!0},ot=e=>({type:e,required:!0}),ut=()=>({type:Array,default:()=>[]}),lt=e=>({type:Number,default:e}),dt=e=>({type:st,default:e}),ct=e=>({type:String,default:e});let mt=0;function ht(e){e?(mt||document.body.classList.add("van-toast--unclickable"),mt++):mt&&(mt--,mt||document.body.classList.remove("van-toast--unclickable"))}const[ft,_t]=rt("badge"),pt={dot:Boolean,max:st,tag:ct("div"),color:String,offset:Array,content:st,showZero:it,position:ct("top-right")};var yt=(0,n.defineComponent)({name:ft,props:pt,setup(e,{slots:t}){const r=()=>{if(t.content)return!0;const{content:n,showZero:r}=e;return be(n)&&""!==n&&(r||0!==n&&"0"!==n)},a=()=>{const{dot:n,max:a,content:s}=e;if(!n&&r())return t.content?t.content():be(a)&&Se(s)&&+s>a?`${a}+`:s},s=(0,n.computed)((()=>{const n={background:e.color};if(e.offset){const[r,a]=e.offset;t.default?(n.top=Oe(a),n.right="number"===typeof r?Oe(-r):r.startsWith("-")?r.replace("-",""):`-${r}`):(n.marginTop=Oe(a),n.marginLeft=Oe(r))}return n})),i=()=>{if(r()||e.dot)return(0,n.createVNode)("div",{class:_t([e.position,{dot:e.dot,fixed:!!t.default}]),style:s.value},[a()])};return()=>{if(t.default){const{tag:r}=e;return(0,n.createVNode)(r,{class:_t("wrapper")},{default:()=>[t.default(),i()]})}return i()}}});const gt=We(yt);let Mt=2e3;const vt=()=>++Mt,Lt=e=>{Mt=e},[wt,Yt]=rt("config-provider"),bt=Symbol(wt),kt={tag:ct("div"),zIndex:Number,themeVars:Object,iconPrefix:String};function Dt(e){const t={};return Object.keys(e).forEach((n=>{t[`--van-${Fe(n)}`]=e[n]})),t}(0,n.defineComponent)({name:wt,props:kt,setup(e,{slots:t}){const r=(0,n.computed)((()=>{if(e.themeVars)return Dt(e.themeVars)}));return(0,n.provide)(bt,e),(0,n.watchEffect)((()=>{void 0!==e.zIndex&&Lt(e.zIndex)})),()=>(0,n.createVNode)(e.tag,{class:Yt(),style:r.value},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}});const[Tt,St]=rt("icon"),At=e=>null==e?void 0:e.includes("/"),xt={dot:Boolean,tag:ct("i"),name:String,size:st,badge:st,color:String,badgeProps:Object,classPrefix:String};var Ct=(0,n.defineComponent)({name:Tt,props:xt,setup(e,{slots:t}){const r=(0,n.inject)(bt,null),a=(0,n.computed)((()=>e.classPrefix||(null==r?void 0:r.iconPrefix)||St()));return()=>{const{tag:r,dot:s,name:i,size:o,badge:u,color:l}=e,d=At(i);return(0,n.createVNode)(gt,(0,n.mergeProps)({dot:s,tag:r,class:[a.value,d?"":`${a.value}-${i}`],style:{color:l,fontSize:Oe(o)},content:u},e.badgeProps),{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t),d&&(0,n.createVNode)("img",{class:St("image"),src:i},null)]}})}}});const Et=We(Ct);const jt={show:Boolean,zIndex:st,overlay:it,duration:st,teleport:[String,Object],lockScroll:it,lazyRender:it,beforeClose:Function,overlayStyle:Object,overlayClass:at,transitionAppear:Boolean,closeOnClickOverlay:it};Object.keys(jt);function Ht(e,{args:t=[],done:n,canceled:r}){if(e){const a=e.apply(null,t);Te(a)?a.then((e=>{e?n():r&&r()})).catch(xe):a?n():r&&r()}else n()}const Ot="van-hairline",Nt=`${Ot}--bottom`,Pt=`${Ot}--surround`,It="van-haptics-feedback";Symbol("van-form");var Rt="undefined"!==typeof window;function Ft(e){return Rt?requestAnimationFrame(e):-1}function Bt(e){Ft((()=>Ft(e)))}var Wt=e=>e===window,Vt=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),zt=e=>{const t=(0,n.unref)(e);if(Wt(t)){const e=t.innerWidth,n=t.innerHeight;return Vt(e,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():Vt(0,0)};function Ut(e){const t=(0,n.inject)(e,null);if(t){const e=(0,n.getCurrentInstance)(),{link:r,unlink:a,internalChildren:s}=t;r(e),(0,n.onUnmounted)((()=>a(e)));const i=(0,n.computed)((()=>s.indexOf(e)));return{parent:t,index:i}}return{parent:null,index:(0,n.ref)(-1)}}function qt(e){const t=[],r=e=>{Array.isArray(e)&&e.forEach((e=>{var a;(0,n.isVNode)(e)&&(t.push(e),(null==(a=e.component)?void 0:a.subTree)&&(t.push(e.component.subTree),r(e.component.subTree.children)),e.children&&r(e.children))}))};return r(e),t}var Jt=(e,t)=>{const n=e.indexOf(t);return-1===n?e.findIndex((e=>void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key)):n};function Gt(e,t,n){const r=qt(e.subTree.children);n.sort(((e,t)=>Jt(r,e.vnode)-Jt(r,t.vnode)));const a=n.map((e=>e.proxy));t.sort(((e,t)=>{const n=a.indexOf(e),r=a.indexOf(t);return n-r}))}function $t(e){const t=(0,n.reactive)([]),r=(0,n.reactive)([]),a=(0,n.getCurrentInstance)(),s=s=>{const i=e=>{e.proxy&&(r.push(e),t.push(e.proxy),Gt(a,t,r))},o=e=>{const n=r.indexOf(e);t.splice(n,1),r.splice(n,1)};(0,n.provide)(e,Object.assign({link:i,unlink:o,children:t,internalChildren:r},s))};return{children:t,linkChildren:s}}var Kt,Zt;function Xt(e){let t;(0,n.onMounted)((()=>{e(),(0,n.nextTick)((()=>{t=!0}))})),(0,n.onActivated)((()=>{t&&e()}))}function Qt(e,t,r={}){if(!Rt)return;const{target:a=window,passive:s=!1,capture:i=!1}=r;let o,u=!1;const l=r=>{if(u)return;const a=(0,n.unref)(r);a&&!o&&(a.addEventListener(e,t,{capture:i,passive:s}),o=!0)},d=r=>{if(u)return;const a=(0,n.unref)(r);a&&o&&(a.removeEventListener(e,t,i),o=!1)};let c;return(0,n.onUnmounted)((()=>d(a))),(0,n.onDeactivated)((()=>d(a))),Xt((()=>l(a))),(0,n.isRef)(a)&&(c=(0,n.watch)(a,((e,t)=>{d(t),l(e)}))),()=>{null==c||c(),d(a),u=!0}}function en(){if(!Kt&&(Kt=(0,n.ref)(0),Zt=(0,n.ref)(0),Rt)){const e=()=>{Kt.value=window.innerWidth,Zt.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Kt,height:Zt}}var tn,nn=/scroll|auto|overlay/i,rn=Rt?window:void 0;function an(e){const t=1;return"HTML"!==e.tagName&&"BODY"!==e.tagName&&e.nodeType===t}function sn(e,t=rn){let n=e;while(n&&n!==t&&an(n)){const{overflowY:e}=window.getComputedStyle(n);if(nn.test(e))return n;n=n.parentNode}return t}function on(){if(!tn&&(tn=(0,n.ref)("visible"),Rt)){const e=()=>{tn.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return tn}Symbol("van-field");function un(e,t){return e>t?"horizontal":t>e?"vertical":""}function ln(){const e=(0,n.ref)(0),t=(0,n.ref)(0),r=(0,n.ref)(0),a=(0,n.ref)(0),s=(0,n.ref)(0),i=(0,n.ref)(0),o=(0,n.ref)(""),u=()=>"vertical"===o.value,l=()=>"horizontal"===o.value,d=()=>{r.value=0,a.value=0,s.value=0,i.value=0,o.value=""},c=n=>{d(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},m=n=>{const u=n.touches[0];r.value=(u.clientX<0?0:u.clientX)-e.value,a.value=u.clientY-t.value,s.value=Math.abs(r.value),i.value=Math.abs(a.value);const l=10;(!o.value||s.value<l&&i.value<l)&&(o.value=un(s.value,i.value))};return{move:m,start:c,reset:d,startX:e,startY:t,deltaX:r,deltaY:a,offsetX:s,offsetY:i,direction:o,isVertical:u,isHorizontal:l}}Ae();const dn=e=>e.stopPropagation();function cn(e,t){("boolean"!==typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&dn(e)}function mn(e){const t=(0,n.unref)(e);if(!t)return!1;const r=window.getComputedStyle(t),a="none"===r.display,s=null===t.offsetParent&&"fixed"!==r.position;return a||s}const{width:hn,height:fn}=en();let _n=0;const pn="van-overflow-hidden";function yn(e,t){const r=ln(),a="01",s="10",i=t=>{r.move(t);const n=r.deltaY.value>0?s:a,i=sn(t.target,e.value),{scrollHeight:o,offsetHeight:u,scrollTop:l}=i;let d="11";0===l?d=u>=o?"00":"01":l+u>=o&&(d="10"),"11"===d||!r.isVertical()||parseInt(d,2)&parseInt(n,2)||cn(t,!0)},o=()=>{document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",i,{passive:!1}),_n||document.body.classList.add(pn),_n++},u=()=>{_n&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",i),_n--,_n||document.body.classList.remove(pn))},l=()=>t()&&o(),d=()=>t()&&u();Xt(l),(0,n.onDeactivated)(d),(0,n.onBeforeUnmount)(d),(0,n.watch)(t,(e=>{e?o():u()}))}function gn(e){const t=(0,n.ref)(!1);return(0,n.watch)(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const Mn=Symbol();function vn(e){const t=(0,n.inject)(Mn,null);t&&(0,n.watch)(t,(t=>{t&&e()}))}const[Ln,wn]=rt("overlay"),Yn={show:Boolean,zIndex:st,duration:st,className:at,lockScroll:it,lazyRender:it,customStyle:Object};var bn=(0,n.defineComponent)({name:Ln,props:Yn,setup(e,{slots:t}){const r=(0,n.ref)(),a=gn((()=>e.show||!e.lazyRender)),s=t=>{e.lockScroll&&cn(t,!0)},i=a((()=>{var a;const s=Ce(Pe(e.zIndex),e.customStyle);return be(e.duration)&&(s.animationDuration=`${e.duration}s`),(0,n.withDirectives)((0,n.createVNode)("div",{ref:r,style:s,class:[wn(),e.className]},[null==(a=t.default)?void 0:a.call(t)]),[[n.vShow,e.show]])}));return Qt("touchmove",s,{target:r}),()=>(0,n.createVNode)(n.Transition,{name:"van-fade",appear:!0},{default:i})}});const kn=We(bn);const Dn=Ce({},jt,{round:Boolean,position:ct("center"),closeIcon:ct("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:ct("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Tn,Sn]=rt("popup");var An=(0,n.defineComponent)({name:Tn,inheritAttrs:!1,props:Dn,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:r,slots:a}){let s,i;const o=(0,n.ref)(),u=(0,n.ref)(),l=gn((()=>e.show||!e.lazyRender)),d=(0,n.computed)((()=>{const t={zIndex:o.value};if(be(e.duration)){const n="center"===e.position?"animationDuration":"transitionDuration";t[n]=`${e.duration}s`}return t})),c=()=>{s||(s=!0,o.value=void 0!==e.zIndex?+e.zIndex:vt(),t("open"))},m=()=>{s&&Ht(e.beforeClose,{done(){s=!1,t("close"),t("update:show",!1)}})},h=n=>{t("click-overlay",n),e.closeOnClickOverlay&&m()},f=()=>{if(e.overlay)return(0,n.createVNode)(kn,{show:e.show,class:e.overlayClass,zIndex:o.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:h},{default:a["overlay-content"]})},_=e=>{t("click-close-icon",e),m()},p=()=>{if(e.closeable)return(0,n.createVNode)(Et,{role:"button",tabindex:0,name:e.closeIcon,class:[Sn("close-icon",e.closeIconPosition),It],classPrefix:e.iconPrefix,onClick:_},null)},y=()=>t("opened"),g=()=>t("closed"),M=e=>t("keydown",e),v=l((()=>{var t;const{round:s,position:i,safeAreaInsetTop:o,safeAreaInsetBottom:l}=e;return(0,n.withDirectives)((0,n.createVNode)("div",(0,n.mergeProps)({ref:u,style:d.value,role:"dialog",tabindex:0,class:[Sn({round:s,[i]:i}),{"van-safe-area-top":o,"van-safe-area-bottom":l}],onKeydown:M},r),[null==(t=a.default)?void 0:t.call(a),p()]),[[n.vShow,e.show]])})),L=()=>{const{position:t,transition:r,transitionAppear:a}=e,s="center"===t?"van-fade":`van-popup-slide-${t}`;return(0,n.createVNode)(n.Transition,{name:r||s,appear:a,onAfterEnter:y,onAfterLeave:g},{default:v})};return(0,n.watch)((()=>e.show),(e=>{e&&!s&&(c(),0===r.tabindex&&(0,n.nextTick)((()=>{var e;null==(e=u.value)||e.focus()}))),!e&&s&&(s=!1,t("close"))})),Ve({popupRef:u}),yn(u,(()=>e.show&&e.lockScroll)),Qt("popstate",(()=>{e.closeOnPopstate&&(m(),i=!1)})),(0,n.onMounted)((()=>{e.show&&c()})),(0,n.onActivated)((()=>{i&&(t("update:show",!0),i=!1)})),(0,n.onDeactivated)((()=>{e.show&&e.teleport&&(m(),i=!0)})),(0,n.provide)(Mn,(()=>e.show)),()=>e.teleport?(0,n.createVNode)(n.Teleport,{to:e.teleport},{default:()=>[f(),L()]}):(0,n.createVNode)(n.Fragment,null,[f(),L()])}});const xn=We(An);const[Cn,En]=rt("loading"),jn=Array(12).fill(null).map(((e,t)=>(0,n.createVNode)("i",{class:En("line",String(t+1))},null))),Hn=(0,n.createVNode)("svg",{class:En("circular"),viewBox:"25 25 50 50"},[(0,n.createVNode)("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),On={size:st,type:ct("circular"),color:String,vertical:Boolean,textSize:st,textColor:String};var Nn=(0,n.defineComponent)({name:Cn,props:On,setup(e,{slots:t}){const r=(0,n.computed)((()=>Ce({color:e.color},Ne(e.size)))),a=()=>{var r;if(t.default)return(0,n.createVNode)("span",{class:En("text"),style:{fontSize:Oe(e.textSize),color:null!=(r=e.textColor)?r:e.color}},[t.default()])};return()=>{const{type:t,vertical:s}=e;return(0,n.createVNode)("div",{class:En([t,{vertical:s}]),"aria-live":"polite","aria-busy":!0},[(0,n.createVNode)("span",{class:En("spinner",t),style:r.value},["spinner"===t?jn:Hn]),a()])}}});const Pn=We(Nn);const[In,Rn]=rt("toast"),Fn=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],Bn={icon:String,show:Boolean,type:ct("text"),overlay:Boolean,message:st,iconSize:st,duration:lt(2e3),position:ct("middle"),teleport:[String,Object],className:at,iconPrefix:String,transition:ct("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:at,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean};var Wn=(0,n.defineComponent)({name:In,props:Bn,emits:["update:show"],setup(e,{emit:t}){let r,a=!1;const s=()=>{const t=e.show&&e.forbidClick;a!==t&&(a=t,ht(a))},i=e=>t("update:show",e),o=()=>{e.closeOnClick&&i(!1)},u=()=>clearTimeout(r),l=()=>{const{icon:t,type:r,iconSize:a,iconPrefix:s,loadingType:i}=e,o=t||"success"===r||"fail"===r;return o?(0,n.createVNode)(Et,{name:t||r,size:a,class:Rn("icon"),classPrefix:s},null):"loading"===r?(0,n.createVNode)(Pn,{class:Rn("loading"),size:a,type:i},null):void 0},d=()=>{const{type:t,message:r}=e;if(be(r)&&""!==r)return"html"===t?(0,n.createVNode)("div",{key:0,class:Rn("text"),innerHTML:String(r)},null):(0,n.createVNode)("div",{class:Rn("text")},[r])};return(0,n.watch)((()=>[e.show,e.forbidClick]),s),(0,n.watch)((()=>[e.show,e.type,e.message,e.duration]),(()=>{u(),e.show&&e.duration>0&&(r=setTimeout((()=>{i(!1)}),e.duration))})),(0,n.onMounted)(s),(0,n.onUnmounted)(s),()=>(0,n.createVNode)(xn,(0,n.mergeProps)({class:[Rn([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:o,onClosed:u,"onUpdate:show":i},He(e,Fn)),{default:()=>[l(),d()]})}});const Vn={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let zn=[],Un=!1,qn=Ce({},Vn);const Jn=new Map;function Gn(e){return De(e)?e:{message:e}}function $n(){const{instance:e,unmount:t}=Ue({setup(){const r=(0,n.ref)(""),{open:a,state:s,close:i,toggle:o}=ze(),u=()=>{Un&&(zn=zn.filter((t=>t!==e)),t())},l=()=>{const e={onClosed:u,"onUpdate:show":o};return(0,n.createVNode)(Wn,(0,n.mergeProps)(s,e),null)};return(0,n.watch)(r,(e=>{s.message=e})),(0,n.getCurrentInstance)().render=l,{open:a,clear:i,message:r}}});return e}function Kn(){if(!zn.length||Un){const e=$n();zn.push(e)}return zn[zn.length-1]}function Zn(e={}){if(!Ee)return{};const t=Kn(),n=Gn(e);return t.open(Ce({},qn,Jn.get(n.type||qn.type),n)),t}const Xn=e=>t=>Zn(Ce({type:e},Gn(t)));function Qn(e,t){"string"===typeof e?Jn.set(e,t):Ce(qn,e)}Zn.loading=Xn("loading"),Zn.success=Xn("success"),Zn.fail=Xn("fail"),Zn.clear=e=>{var t;zn.length&&(e?(zn.forEach((e=>{e.clear()})),zn=[]):Un?null==(t=zn.shift())||t.clear():zn[0].clear())},Zn.setDefaultOptions=Qn,Zn.resetDefaultOptions=e=>{"string"===typeof e?Jn.delete(e):(qn=Ce({},Vn),Jn.clear())},Zn.allowMultiple=(e=!0)=>{Un=e},Zn.install=e=>{e.use(We(Wn)),e.config.globalProperties.$toast=Zn};const er={to:[String,Object],url:String,replace:Boolean};function tr({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function nr(){const e=(0,n.getCurrentInstance)().proxy;return()=>tr(e)}const[rr,ar]=rt("button"),sr=Ce({},er,{tag:ct("button"),text:String,icon:String,type:ct("default"),size:ct("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:ct("button"),loadingSize:st,loadingText:String,loadingType:String,iconPosition:ct("left")});var ir=(0,n.defineComponent)({name:rr,props:sr,emits:["click"],setup(e,{emit:t,slots:r}){const a=nr(),s=()=>r.loading?r.loading():(0,n.createVNode)(Pn,{size:e.loadingSize,type:e.loadingType,class:ar("loading")},null),i=()=>e.loading?s():r.icon?(0,n.createVNode)("div",{class:ar("icon")},[r.icon()]):e.icon?(0,n.createVNode)(Et,{name:e.icon,class:ar("icon"),classPrefix:e.iconPrefix},null):void 0,o=()=>{let t;if(t=e.loading?e.loadingText:r.default?r.default():e.text,t)return(0,n.createVNode)("span",{class:ar("text")},[t])},u=()=>{const{color:t,plain:n}=e;if(t){const e={color:n?t:"white"};return n||(e.background=t),t.includes("gradient")?e.border=0:e.borderColor=t,e}},l=n=>{e.loading?cn(n):e.disabled||(t("click",n),a())};return()=>{const{tag:t,type:r,size:a,block:s,round:d,plain:c,square:m,loading:h,disabled:f,hairline:_,nativeType:p,iconPosition:y}=e,g=[ar([r,a,{plain:c,block:s,round:d,square:m,loading:h,disabled:f,hairline:_}]),{[Pt]:_}];return(0,n.createVNode)(t,{type:p,class:g,style:u(),disabled:f,onClick:l},{default:()=>[(0,n.createVNode)("div",{class:ar("content")},["left"===y&&i(),o(),"right"===y&&i()])]})}}});const or=We(ir);let ur=0;function lr(){const e=(0,n.getCurrentInstance)(),{name:t="unknown"}=(null==e?void 0:e.type)||{};return`${t}-${++ur}`}const[dr,cr]=rt("empty"),mr={image:ct("default"),imageSize:[Number,String,Array],description:String};var hr=(0,n.defineComponent)({name:dr,props:mr,setup(e,{slots:t}){const r=()=>{const r=t.description?t.description():e.description;if(r)return(0,n.createVNode)("p",{class:cr("description")},[r])},a=()=>{if(t.default)return(0,n.createVNode)("div",{class:cr("bottom")},[t.default()])},s=lr(),i=e=>`${s}-${e}`,o=e=>`url(#${i(e)})`,u=(e,t,r)=>(0,n.createVNode)("stop",{"stop-color":e,offset:`${t}%`,"stop-opacity":r},null),l=(e,t)=>[u(e,0),u(t,100)],d=e=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("radialGradient",{id:i(e),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[u("#EBEDF0",0),u("#F2F3F5",100,.3)])]),(0,n.createVNode)("ellipse",{fill:o(e),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:i("a"),x1:"64%",y1:"100%",x2:"64%"},[u("#FFF",0,.5),u("#F2F3F5",100)])]),(0,n.createVNode)("g",{opacity:".8"},[(0,n.createVNode)("path",{d:"M36 131V53H16v20H2v58h34z",fill:o("a")},null),(0,n.createVNode)("path",{d:"M123 15h22v14h9v77h-31V15z",fill:o("a")},null)])],m=()=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:i("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[u("#F2F3F5",0,.3),u("#F2F3F5",100)])]),(0,n.createVNode)("g",{opacity:".8"},[(0,n.createVNode)("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:o("b")},null),(0,n.createVNode)("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:o("b")},null)])],h=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:i(1),x1:"64%",y1:"100%",x2:"64%"},[u("#FFF",0,.5),u("#F2F3F5",100)]),(0,n.createVNode)("linearGradient",{id:i(2),x1:"50%",x2:"50%",y2:"84%"},[u("#EBEDF0",0),u("#DCDEE0",100,0)]),(0,n.createVNode)("linearGradient",{id:i(3),x1:"100%",x2:"100%",y2:"100%"},[l("#EAEDF0","#DCDEE0")]),(0,n.createVNode)("radialGradient",{id:i(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[u("#EBEDF0",0),u("#FFF",100,0)])]),(0,n.createVNode)("g",{fill:"none"},[c(),(0,n.createVNode)("path",{fill:o(4),d:"M0 139h160v21H0z"},null),(0,n.createVNode)("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:o(2)},null),(0,n.createVNode)("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[(0,n.createVNode)("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:o(3)},null),(0,n.createVNode)("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:o(3)},null),(0,n.createVNode)("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:o(3)},null),(0,n.createVNode)("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:o(3)},null)]),(0,n.createVNode)("g",{transform:"translate(31 105)"},[(0,n.createVNode)("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),(0,n.createVNode)("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),(0,n.createVNode)("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),f=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(5)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:i(6)},[l("#EAEDF1","#DCDEE0")]),(0,n.createVNode)("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:i(7)},[l("#EAEDF1","#DCDEE0")])]),c(),m(),(0,n.createVNode)("g",{transform:"translate(36 50)",fill:"none"},[(0,n.createVNode)("g",{transform:"translate(8)"},[(0,n.createVNode)("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),(0,n.createVNode)("rect",{fill:o(5),width:"64",height:"66",rx:"2"},null),(0,n.createVNode)("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),(0,n.createVNode)("g",{transform:"translate(15 17)",fill:o(6)},[(0,n.createVNode)("rect",{width:"34",height:"6",rx:"1"},null),(0,n.createVNode)("path",{d:"M0 14h34v6H0z"},null),(0,n.createVNode)("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),(0,n.createVNode)("rect",{fill:o(7),y:"61",width:"88",height:"28",rx:"1"},null),(0,n.createVNode)("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),_=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(8)},[l("#EAEDF1","#DCDEE0")])]),c(),m(),d("c"),(0,n.createVNode)("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:o(8)},null)]),p=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:i(9)},[l("#EEE","#D8D8D8")]),(0,n.createVNode)("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:i(10)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(11)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(12)},[l("#FFF","#F7F8FA")])]),c(),m(),d("d"),(0,n.createVNode)("g",{transform:"rotate(-45 113 -4)",fill:"none"},[(0,n.createVNode)("rect",{fill:o(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),(0,n.createVNode)("rect",{fill:o(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),(0,n.createVNode)("circle",{stroke:o(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),(0,n.createVNode)("circle",{fill:o(12),cx:"27",cy:"27",r:"16"},null),(0,n.createVNode)("path",{d:"M37 7c-8 0-15 5-16 12",stroke:o(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),y=()=>{var r;if(t.image)return t.image();const a={error:_,search:p,network:h,default:f};return(null==(r=a[e.image])?void 0:r.call(a))||(0,n.createVNode)("img",{src:e.image},null)};return()=>(0,n.createVNode)("div",{class:cr()},[(0,n.createVNode)("div",{class:cr("image"),style:Ne(e.imageSize)},[y()]),r(),a()])}});const fr=We(hr);const _r=(e,t)=>{const r=(0,n.ref)(),a=()=>{r.value=zt(e).height};return(0,n.onMounted)((()=>{if((0,n.nextTick)(a),t)for(let e=1;e<=3;e++)setTimeout(a,100*e)})),vn((()=>(0,n.nextTick)(a))),r};function pr(e,t){const r=_r(e,!0);return e=>(0,n.createVNode)("div",{class:t("placeholder"),style:{height:r.value?`${r.value}px`:void 0}},[e()])}const[yr,gr]=rt("nav-bar"),Mr={title:String,fixed:Boolean,zIndex:st,border:it,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean};var vr=(0,n.defineComponent)({name:yr,props:Mr,emits:["click-left","click-right"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),s=pr(a,gr),i=e=>t("click-left",e),o=e=>t("click-right",e),u=()=>r.left?r.left():[e.leftArrow&&(0,n.createVNode)(Et,{class:gr("arrow"),name:"arrow-left"},null),e.leftText&&(0,n.createVNode)("span",{class:gr("text")},[e.leftText])],l=()=>r.right?r.right():(0,n.createVNode)("span",{class:gr("text")},[e.rightText]),d=()=>{const{title:t,fixed:s,border:d,zIndex:c}=e,m=Pe(c),h=e.leftArrow||e.leftText||r.left,f=e.rightText||r.right;return(0,n.createVNode)("div",{ref:a,style:m,class:[gr({fixed:s}),{[Nt]:d,"van-safe-area-top":e.safeAreaInsetTop}]},[(0,n.createVNode)("div",{class:gr("content")},[h&&(0,n.createVNode)("div",{class:[gr("left"),It],onClick:i},[u()]),(0,n.createVNode)("div",{class:[gr("title"),"van-ellipsis"]},[r.title?r.title():t]),f&&(0,n.createVNode)("div",{class:[gr("right"),It],onClick:o},[l()])])])};return()=>e.fixed&&e.placeholder?s(d):d()}});const Lr=We(vr);var wr="0123456789abcdefghijklmnopqrstuvwxyz";function Yr(e){return wr.charAt(e)}function br(e,t){return e&t}function kr(e,t){return e|t}function Dr(e,t){return e^t}function Tr(e,t){return e&~t}function Sr(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Ar(e){var t=0;while(0!=e)e&=e-1,++t;return t}var xr,Cr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Er="=";function jr(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=Cr.charAt(n>>6)+Cr.charAt(63&n);t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=Cr.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=Cr.charAt(n>>2)+Cr.charAt((3&n)<<4));while((3&r.length)>0)r+=Er;return r}function Hr(e){var t,n="",r=0,a=0;for(t=0;t<e.length;++t){if(e.charAt(t)==Er)break;var s=Cr.indexOf(e.charAt(t));s<0||(0==r?(n+=Yr(s>>2),a=3&s,r=1):1==r?(n+=Yr(a<<2|s>>4),a=15&s,r=2):2==r?(n+=Yr(a),n+=Yr(s>>2),a=3&s,r=3):(n+=Yr(a<<2|s>>4),n+=Yr(15&s),r=0))}return 1==r&&(n+=Yr(a<<2)),n}var Or,Nr={decode:function(e){var t;if(void 0===xr){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(xr={},t=0;t<16;++t)xr[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)xr[n.charAt(t)]=t;for(t=0;t<r.length;++t)xr[r.charAt(t)]=-1}var a=[],s=0,i=0;for(t=0;t<e.length;++t){var o=e.charAt(t);if("="==o)break;if(o=xr[o],-1!=o){if(void 0===o)throw new Error("Illegal character at offset "+t);s|=o,++i>=2?(a[a.length]=s,s=0,i=0):s<<=4}}if(i)throw new Error("Hex encoding incomplete: 4 bits missing");return a}},Pr={decode:function(e){var t;if(void 0===Or){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="= \f\n\r\t \u2028\u2029";for(Or=Object.create(null),t=0;t<64;++t)Or[n.charAt(t)]=t;for(Or["-"]=62,Or["_"]=63,t=0;t<r.length;++t)Or[r.charAt(t)]=-1}var a=[],s=0,i=0;for(t=0;t<e.length;++t){var o=e.charAt(t);if("="==o)break;if(o=Or[o],-1!=o){if(void 0===o)throw new Error("Illegal character at offset "+t);s|=o,++i>=4?(a[a.length]=s>>16,a[a.length]=s>>8&255,a[a.length]=255&s,s=0,i=0):s<<=6}}switch(i){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:a[a.length]=s>>10;break;case 3:a[a.length]=s>>16,a[a.length]=s>>8&255;break}return a},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=Pr.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return Pr.decode(e)}},Ir=1e13,Rr=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,r,a=this.buf,s=a.length;for(n=0;n<s;++n)r=a[n]*e+t,r<Ir?t=0:(t=0|r/Ir,r-=t*Ir),a[n]=r;t>0&&(a[n]=t)},e.prototype.sub=function(e){var t,n,r=this.buf,a=r.length;for(t=0;t<a;++t)n=r[t]-e,n<0?(n+=Ir,e=1):e=0,r[t]=n;while(0===r[r.length-1])r.pop()},e.prototype.toString=function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),r=t.length-2;r>=0;--r)n+=(Ir+t[r]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*Ir+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),Fr="…",Br=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,Wr=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Vr(e,t){return e.length>t&&(e=e.substring(0,t)+Fr),e}var zr,Ur=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return"string"===typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var r="",a=e;a<t;++a)if(r+=this.hexByte(this.get(a)),!0!==n)switch(15&a){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},e.prototype.isASCII=function(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n},e.prototype.parseStringUTF=function(e,t){for(var n="",r=e;r<t;){var a=this.get(r++);n+=a<128?String.fromCharCode(a):a>191&&a<224?String.fromCharCode((31&a)<<6|63&this.get(r++)):String.fromCharCode((15&a)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,r,a="",s=e;s<t;)n=this.get(s++),r=this.get(s++),a+=String.fromCharCode(n<<8|r);return a},e.prototype.parseTime=function(e,t,n){var r=this.parseStringISO(e,t),a=(n?Br:Wr).exec(r);return a?(n&&(a[1]=+a[1],a[1]+=+a[1]<70?2e3:1900),r=a[1]+"-"+a[2]+"-"+a[3]+" "+a[4],a[5]&&(r+=":"+a[5],a[6]&&(r+=":"+a[6],a[7]&&(r+="."+a[7]))),a[8]&&(r+=" UTC","Z"!=a[8]&&(r+=a[8],a[9]&&(r+=":"+a[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(e,t){var n,r=this.get(e),a=r>127,s=a?255:0,i="";while(r==s&&++e<t)r=this.get(e);if(n=t-e,0===n)return a?-1:0;if(n>4){i=r,n<<=3;while(0==(128&(+i^s)))i=+i<<1,--n;i="("+n+" bit)\n"}a&&(r-=256);for(var o=new Rr(r),u=e+1;u<t;++u)o.mulAdd(256,this.get(u));return i+o.toString()},e.prototype.parseBitString=function(e,t,n){for(var r=this.get(e),a=(t-e-1<<3)-r,s="("+a+" bit)\n",i="",o=e+1;o<t;++o){for(var u=this.get(o),l=o==t-1?r:0,d=7;d>=l;--d)i+=u>>d&1?"1":"0";if(i.length>n)return s+Vr(i,n)}return s+i},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return Vr(this.parseStringISO(e,t),n);var r=t-e,a="("+r+" byte)\n";n/=2,r>n&&(t=e+n);for(var s=e;s<t;++s)a+=this.hexByte(this.get(s));return r>n&&(a+=Fr),a},e.prototype.parseOID=function(e,t,n){for(var r="",a=new Rr,s=0,i=e;i<t;++i){var o=this.get(i);if(a.mulAdd(128,127&o),s+=7,!(128&o)){if(""===r)if(a=a.simplify(),a instanceof Rr)a.sub(80),r="2."+a.toString();else{var u=a<80?a<40?0:1:2;r=u+"."+(a-40*u)}else r+="."+a.toString();if(r.length>n)return Vr(r,n);a=new Rr,s=0}}return s>0&&(r+=".incomplete"),r},e}(),qr=function(){function e(e,t,n,r,a){if(!(r instanceof Jr))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=a}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return Vr(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Vr(this.stream.parseStringISO(t,t+n),e);case 30:return Vr(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n<r;++n)t+=this.sub[n].toPrettyString(e)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r<n;++r)t=256*t+e.get();return t},e.prototype.getHexStringValue=function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)},e.decode=function(t){var n;n=t instanceof Ur?t:new Ur(t,0);var r=new Ur(n),a=new Jr(n),s=e.decodeLength(n),i=n.pos,o=i-r.pos,u=null,l=function(){var t=[];if(null!==s){var r=i+s;while(n.pos<r)t[t.length]=e.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+i)}else try{for(;;){var a=e.decode(n);if(a.tag.isEOC())break;t[t.length]=a}s=i-n.pos}catch(o){throw new Error("Exception while decoding undefined length content: "+o)}return t};if(a.tagConstructed)u=l();else if(a.isUniversal()&&(3==a.tagNumber||4==a.tagNumber))try{if(3==a.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=l();for(var d=0;d<u.length;++d)if(u[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(c){u=null}if(null===u){if(null===s)throw new Error("We can't skip over an invalid tag with undefined length at offset "+i);n.pos=i+Math.abs(s)}return new e(r,o,s,a,u)},e}(),Jr=function(){function e(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=0!==(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new Rr;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),Gr=0xdeadbeefcafe,$r=15715070==(16777215&Gr),Kr=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Zr=(1<<26)/Kr[Kr.length-1],Xr=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,a=!1,s="",i=this.t,o=this.DB-i*this.DB%t;if(i-- >0){o<this.DB&&(n=this[i]>>o)>0&&(a=!0,s=Yr(n));while(i>=0)o<t?(n=(this[i]&(1<<o)-1)<<t-o,n|=this[--i]>>(o+=this.DB-t)):(n=this[i]>>(o-=t)&r,o<=0&&(o+=this.DB,--i)),n>0&&(a=!0),a&&(s+=Yr(n))}return a?s:"0"},e.prototype.negate=function(){var t=ra();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;while(--n>=0)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+ma(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=ra();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new ea(t):new ta(t),this.exp(e,n)},e.prototype.clone=function(){var e=ra();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,a=0;if(e-- >0){r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[a++]=n|this.s<<this.DB-r);while(e>=0)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==a&&(128&this.s)!=(128&n)&&++a,(a>0||n!=this.s)&&(t[a++]=n)}return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=ra();return this.bitwiseTo(e,br,t),t},e.prototype.or=function(e){var t=ra();return this.bitwiseTo(e,kr,t),t},e.prototype.xor=function(e){var t=ra();return this.bitwiseTo(e,Dr,t),t},e.prototype.andNot=function(e){var t=ra();return this.bitwiseTo(e,Tr,t),t},e.prototype.not=function(){for(var e=ra(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=ra();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=ra();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+Sr(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=Ar(this[n]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,kr)},e.prototype.clearBit=function(e){return this.changeBit(e,Tr)},e.prototype.flipBit=function(e){return this.changeBit(e,Dr)},e.prototype.add=function(e){var t=ra();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=ra();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=ra();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=ra();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=ra();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=ra(),n=ra();return this.divRemTo(e,t,n),[t,n]},e.prototype.modPow=function(e,t){var n,r,a=e.bitLength(),s=ca(1);if(a<=0)return s;n=a<18?1:a<48?3:a<144?4:a<768?5:6,r=a<8?new ea(t):t.isEven()?new na(t):new ta(t);var i=[],o=3,u=n-1,l=(1<<n)-1;if(i[1]=r.convert(this),n>1){var d=ra();r.sqrTo(i[1],d);while(o<=l)i[o]=ra(),r.mulTo(d,i[o-2],i[o]),o+=2}var c,m,h=e.t-1,f=!0,_=ra();a=ma(e[h])-1;while(h>=0){a>=u?c=e[h]>>a-u&l:(c=(e[h]&(1<<a+1)-1)<<u-a,h>0&&(c|=e[h-1]>>this.DB+a-u)),o=n;while(0==(1&c))c>>=1,--o;if((a-=o)<0&&(a+=this.DB,--h),f)i[c].copyTo(s),f=!1;else{while(o>1)r.sqrTo(s,_),r.sqrTo(_,s),o-=2;o>0?r.sqrTo(s,_):(m=s,s=_,_=m),r.mulTo(_,i[c],s)}while(h>=0&&0==(e[h]&1<<a))r.sqrTo(s,_),m=s,s=_,_=m,--a<0&&(a=this.DB-1,--h)}return r.revert(s)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;var r=t.clone(),a=this.clone(),s=ca(1),i=ca(0),o=ca(0),u=ca(1);while(0!=r.signum()){while(r.isEven())r.rShiftTo(1,r),n?(s.isEven()&&i.isEven()||(s.addTo(this,s),i.subTo(t,i)),s.rShiftTo(1,s)):i.isEven()||i.subTo(t,i),i.rShiftTo(1,i);while(a.isEven())a.rShiftTo(1,a),n?(o.isEven()&&u.isEven()||(o.addTo(this,o),u.subTo(t,u)),o.rShiftTo(1,o)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);r.compareTo(a)>=0?(r.subTo(a,r),n&&s.subTo(o,s),i.subTo(u,i)):(a.subTo(r,a),n&&o.subTo(s,o),u.subTo(i,u))}return 0!=a.compareTo(e.ONE)?e.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u},e.prototype.pow=function(e){return this.exp(e,new Qr)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var a=t.getLowestSetBit(),s=n.getLowestSetBit();if(s<0)return t;a<s&&(s=a),s>0&&(t.rShiftTo(s,t),n.rShiftTo(s,n));while(t.signum()>0)(a=t.getLowestSetBit())>0&&t.rShiftTo(a,t),(a=n.getLowestSetBit())>0&&n.rShiftTo(a,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return s>0&&n.lShiftTo(s,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=Kr[Kr.length-1]){for(t=0;t<Kr.length;++t)if(n[0]==Kr[t])return!0;return!1}if(n.isEven())return!1;t=1;while(t<Kr.length){var r=Kr[t],a=t+1;while(a<Kr.length&&r<Zr)r*=Kr[a++];r=n.modInt(r);while(t<a)if(r%Kr[t++]==0)return!1}return n.millerRabin(e)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;var a=t.length,s=!1,i=0;while(--a>=0){var o=8==r?255&+t[a]:da(t,a);o<0?"-"==t.charAt(a)&&(s=!0):(s=!1,0==i?this[this.t++]=o:i+r>this.DB?(this[this.t-1]|=(o&(1<<this.DB-i)-1)<<i,this[this.t++]=o>>this.DB-i):this[this.t-1]|=o<<i,i+=r,i>=this.DB&&(i-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,i>0&&(this[this.t-1]|=(1<<this.DB-i)-1<<i)),this.clamp(),s&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){var e=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,r=this.DB-n,a=(1<<r)-1,s=Math.floor(e/this.DB),i=this.s<<n&this.DM,o=this.t-1;o>=0;--o)t[o+s+1]=this[o]>>r|i,i=(this[o]&a)<<n;for(o=s-1;o>=0;--o)t[o]=0;t[s]=i,t.t=this.t+s+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,a=this.DB-r,s=(1<<r)-1;t[0]=this[n]>>r;for(var i=n+1;i<this.t;++i)t[i-n-1]|=(this[i]&s)<<a,t[i-n]=this[i]>>r;r>0&&(t[this.t-n-1]|=(this.s&s)<<a),t.t=this.t-n,t.clamp()}},e.prototype.subTo=function(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r-=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),a=t.abs(),s=r.t;n.t=s+a.t;while(--s>=0)n[s]=0;for(s=0;s<a.t;++s)n[s+r.t]=r.am(0,a[s],n,s,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(e){var t=this.abs(),n=e.t=2*t.t;while(--n>=0)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,r){var a=t.abs();if(!(a.t<=0)){var s=this.abs();if(s.t<a.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=ra());var i=ra(),o=this.s,u=t.s,l=this.DB-ma(a[a.t-1]);l>0?(a.lShiftTo(l,i),s.lShiftTo(l,r)):(a.copyTo(i),s.copyTo(r));var d=i.t,c=i[d-1];if(0!=c){var m=c*(1<<this.F1)+(d>1?i[d-2]>>this.F2:0),h=this.FV/m,f=(1<<this.F1)/m,_=1<<this.F2,p=r.t,y=p-d,g=null==n?ra():n;i.dlShiftTo(y,g),r.compareTo(g)>=0&&(r[r.t++]=1,r.subTo(g,r)),e.ONE.dlShiftTo(d,g),g.subTo(i,i);while(i.t<d)i[i.t++]=0;while(--y>=0){var M=r[--p]==c?this.DM:Math.floor(r[p]*h+(r[p-1]+_)*f);if((r[p]+=i.am(0,M,r,y,0,d))<M){i.dlShiftTo(y,g),r.subTo(g,r);while(r[p]<--M)r.subTo(g,r)}}null!=n&&(r.drShiftTo(d,n),o!=u&&e.ZERO.subTo(n,n)),r.t=d,r.clamp(),l>0&&r.rShiftTo(l,r),o<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=ra(),a=ra(),s=n.convert(this),i=ma(t)-1;s.copyTo(r);while(--i>=0)if(n.sqrTo(r,a),(t&1<<i)>0)n.mulTo(a,s,r);else{var o=r;r=a,a=o}return n.revert(r)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=ca(n),a=ra(),s=ra(),i="";this.divRemTo(r,a,s);while(a.signum()>0)i=(n+s.intValue()).toString(e).substr(1)+i,a.divRemTo(r,a,s);return s.intValue().toString(e)+i},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),a=Math.pow(n,r),s=!1,i=0,o=0,u=0;u<t.length;++u){var l=da(t,u);l<0?"-"==t.charAt(u)&&0==this.signum()&&(s=!0):(o=n*o+l,++i>=r&&(this.dMultiply(a),this.dAddOffset(o,0),i=0,o=0))}i>0&&(this.dMultiply(Math.pow(n,i)),this.dAddOffset(o,0)),s&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),kr,this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(n))this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this)}else{var a=[],s=7&t;a.length=1+(t>>3),n.nextBytes(a),s>0?a[0]&=(1<<s)-1:a[0]=0,this.fromString(a,256)}},e.prototype.bitwiseTo=function(e,t,n){var r,a,s=Math.min(e.t,this.t);for(r=0;r<s;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(a=e.s&this.DM,r=s;r<this.t;++r)n[r]=t(this[r],a);n.t=this.t}else{for(a=this.s&this.DM,r=s;r<e.t;++r)n[r]=t(a,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},e.prototype.changeBit=function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r},e.prototype.addTo=function(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r+=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var r=Math.min(this.t+e.t,t);n.s=0,n.t=r;while(r>0)n[--r]=0;for(var a=n.t-this.t;r<a;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(a=Math.min(e.t,t);r<a;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()},e.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;n.s=0;while(--r>=0)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var a=n.shiftRight(r);t=t+1>>1,t>Kr.length&&(t=Kr.length);for(var s=ra(),i=0;i<t;++i){s.fromInt(Kr[Math.floor(Math.random()*Kr.length)]);var o=s.modPow(a,this);if(0!=o.compareTo(e.ONE)&&0!=o.compareTo(n)){var u=1;while(u++<r&&0!=o.compareTo(n))if(o=o.modPowInt(2,this),0==o.compareTo(e.ONE))return!1;if(0!=o.compareTo(n))return!1}}return!0},e.prototype.square=function(){var e=ra();return this.squareTo(e),e},e.prototype.gcda=function(e,t){var n=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(n.compareTo(r)<0){var a=n;n=r,r=a}var s=n.getLowestSetBit(),i=r.getLowestSetBit();if(i<0)t(n);else{s<i&&(i=s),i>0&&(n.rShiftTo(i,n),r.rShiftTo(i,r));var o=function(){(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(o,0):(i>0&&r.lShiftTo(i,r),setTimeout((function(){t(r)}),0))};setTimeout(o,10)}},e.prototype.fromNumberAsync=function(t,n,r,a){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),kr,this),this.isEven()&&this.dAddOffset(1,0);var s=this,i=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(e.ONE.shiftLeft(t-1),s),s.isProbablePrime(n)?setTimeout((function(){a()}),0):setTimeout(i,0)};setTimeout(i,0)}else{var o=[],u=7&t;o.length=1+(t>>3),n.nextBytes(o),u>0?o[0]&=(1<<u)-1:o[0]=0,this.fromString(o,256)}},e}(),Qr=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),ea=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),ta=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=ra();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(Xr.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=ra();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);while(e[n]>=e.DV)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),na=function(){function e(e){this.m=e,this.r2=ra(),this.q3=ra(),Xr.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=ra();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.dAddOffset(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function ra(){return new Xr(null)}function aa(e,t){return new Xr(e,t)}var sa="undefined"!==typeof navigator;sa&&$r&&"Microsoft Internet Explorer"==navigator.appName?(Xr.prototype.am=function(e,t,n,r,a,s){var i=32767&t,o=t>>15;while(--s>=0){var u=32767&this[e],l=this[e++]>>15,d=o*u+l*i;u=i*u+((32767&d)<<15)+n[r]+(1073741823&a),a=(u>>>30)+(d>>>15)+o*l+(a>>>30),n[r++]=1073741823&u}return a},zr=30):sa&&$r&&"Netscape"!=navigator.appName?(Xr.prototype.am=function(e,t,n,r,a,s){while(--s>=0){var i=t*this[e++]+n[r]+a;a=Math.floor(i/67108864),n[r++]=67108863&i}return a},zr=26):(Xr.prototype.am=function(e,t,n,r,a,s){var i=16383&t,o=t>>14;while(--s>=0){var u=16383&this[e],l=this[e++]>>14,d=o*u+l*i;u=i*u+((16383&d)<<14)+n[r]+a,a=(u>>28)+(d>>14)+o*l,n[r++]=268435455&u}return a},zr=28),Xr.prototype.DB=zr,Xr.prototype.DM=(1<<zr)-1,Xr.prototype.DV=1<<zr;var ia=52;Xr.prototype.FV=Math.pow(2,ia),Xr.prototype.F1=ia-zr,Xr.prototype.F2=2*zr-ia;var oa,ua,la=[];for(oa="0".charCodeAt(0),ua=0;ua<=9;++ua)la[oa++]=ua;for(oa="a".charCodeAt(0),ua=10;ua<36;++ua)la[oa++]=ua;for(oa="A".charCodeAt(0),ua=10;ua<36;++ua)la[oa++]=ua;function da(e,t){var n=la[e.charCodeAt(t)];return null==n?-1:n}function ca(e){var t=ra();return t.fromInt(e),t}function ma(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}Xr.ZERO=ca(0),Xr.ONE=ca(1);var ha=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}();function fa(){return new ha}var _a,pa,ya=256,ga=null;if(null==ga){ga=[],pa=0;var Ma=void 0;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues){var va=new Uint32Array(256);for(window.crypto.getRandomValues(va),Ma=0;Ma<va.length;++Ma)ga[pa++]=255&va[Ma]}var La=0,wa=function(e){if(La=La||0,La>=256||pa>=ya)window.removeEventListener?window.removeEventListener("mousemove",wa,!1):window.detachEvent&&window.detachEvent("onmousemove",wa);else try{var t=e.x+e.y;ga[pa++]=255&t,La+=1}catch(n){}};"undefined"!==typeof window&&(window.addEventListener?window.addEventListener("mousemove",wa,!1):window.attachEvent&&window.attachEvent("onmousemove",wa))}function Ya(){if(null==_a){_a=fa();while(pa<ya){var e=Math.floor(65536*Math.random());ga[pa++]=255&e}for(_a.init(ga),pa=0;pa<ga.length;++pa)ga[pa]=0;pa=0}return _a.next()}var ba=function(){function e(){}return e.prototype.nextBytes=function(e){for(var t=0;t<e.length;++t)e[t]=Ya()},e}();function ka(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,r="",a=0;a<n;a+=2)r+="ff";var s="0001"+r+"00"+e;return aa(s,16)}function Da(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;var n=[],r=e.length-1;while(r>=0&&t>0){var a=e.charCodeAt(r--);a<128?n[--t]=a:a>127&&a<2048?(n[--t]=63&a|128,n[--t]=a>>6|192):(n[--t]=63&a|128,n[--t]=a>>6&63|128,n[--t]=a>>12|224)}n[--t]=0;var s=new ba,i=[];while(t>2){i[0]=0;while(0==i[0])s.nextBytes(i);n[--t]=i[0]}return n[--t]=2,n[--t]=0,new Xr(n)}var Ta=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(n)<0)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=aa(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=this.n.bitLength()+7>>3,n=Da(e,t);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var a=r.toString(16),s=a.length,i=0;i<2*t-s;i++)a="0"+a;return a},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=aa(e,16),this.e=parseInt(t,16),this.d=aa(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,r,a,s,i,o){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=aa(e,16),this.e=parseInt(t,16),this.d=aa(n,16),this.p=aa(r,16),this.q=aa(a,16),this.dmp1=aa(s,16),this.dmq1=aa(i,16),this.coeff=aa(o,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new ba,r=e>>1;this.e=parseInt(t,16);for(var a=new Xr(t,16);;){for(;;)if(this.p=new Xr(e-r,1,n),0==this.p.subtract(Xr.ONE).gcd(a).compareTo(Xr.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new Xr(r,1,n),0==this.q.subtract(Xr.ONE).gcd(a).compareTo(Xr.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var i=this.p.subtract(Xr.ONE),o=this.q.subtract(Xr.ONE),u=i.multiply(o);if(0==u.gcd(a).compareTo(Xr.ONE)){this.n=this.p.multiply(this.q),this.d=a.modInverse(u),this.dmp1=this.d.mod(i),this.dmq1=this.d.mod(o),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=aa(e,16),n=this.doPrivate(t);return null==n?null:Sa(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var r=new ba,a=e>>1;this.e=parseInt(t,16);var s=new Xr(t,16),i=this,o=function(){var t=function(){if(i.p.compareTo(i.q)<=0){var e=i.p;i.p=i.q,i.q=e}var t=i.p.subtract(Xr.ONE),r=i.q.subtract(Xr.ONE),a=t.multiply(r);0==a.gcd(s).compareTo(Xr.ONE)?(i.n=i.p.multiply(i.q),i.d=s.modInverse(a),i.dmp1=i.d.mod(t),i.dmq1=i.d.mod(r),i.coeff=i.q.modInverse(i.p),setTimeout((function(){n()}),0)):setTimeout(o,0)},u=function(){i.q=ra(),i.q.fromNumberAsync(a,1,r,(function(){i.q.subtract(Xr.ONE).gcda(s,(function(e){0==e.compareTo(Xr.ONE)&&i.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(u,0)}))}))},l=function(){i.p=ra(),i.p.fromNumberAsync(e-a,1,r,(function(){i.p.subtract(Xr.ONE).gcda(s,(function(e){0==e.compareTo(Xr.ONE)&&i.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(l,0)}))}))};setTimeout(l,0)};setTimeout(o,0)},e.prototype.sign=function(e,t,n){var r=xa(n),a=r+t(e).toString(),s=ka(a,this.n.bitLength()/4);if(null==s)return null;var i=this.doPrivate(s);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},e.prototype.verify=function(e,t,n){var r=aa(t,16),a=this.doPublic(r);if(null==a)return null;var s=a.toString(16).replace(/^1f+00/,""),i=Ca(s);return i==n(e).toString()},e}();function Sa(e,t){var n=e.toByteArray(),r=0;while(r<n.length&&0==n[r])++r;if(n.length-r!=t-1||2!=n[r])return null;++r;while(0!=n[r])if(++r>=n.length)return null;var a="";while(++r<n.length){var s=255&n[r];s<128?a+=String.fromCharCode(s):s>191&&s<224?(a+=String.fromCharCode((31&s)<<6|63&n[r+1]),++r):(a+=String.fromCharCode((15&s)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return a}var Aa={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function xa(e){return Aa[e]||""}function Ca(e){for(var t in Aa)if(Aa.hasOwnProperty(t)){var n=Aa[t],r=n.length;if(e.substr(0,r)==n)return e.substr(r)}return e}
|
|
297
|
+
a.version="2.29.4",o(Kn),a.fn=lo,a.min=er,a.max=tr,a.now=nr,a.utc=_,a.unix=co,a.months=go,a.isDate=m,a.locale=pn,a.invalid=M,a.duration=Ar,a.isMoment=Y,a.weekdays=vo,a.parseZone=mo,a.localeData=Mn,a.isDuration=ur,a.monthsShort=Mo,a.weekdaysMin=wo,a.defineLocale=yn,a.updateLocale=gn,a.locales=vn,a.weekdaysShort=Lo,a.normalizeUnits=ae,a.relativeTimeRounding=os,a.relativeTimeThreshold=ss,a.calendarFormat=Wr,a.prototype=lo,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))},631:(e,t,n)=>{var r="function"===typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"===typeof a.get?a.get:null,s=r&&Map.prototype.forEach,i="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&u&&"function"===typeof u.get?u.get:null,d=i&&Set.prototype.forEach,c="function"===typeof WeakMap&&WeakMap.prototype,m=c?WeakMap.prototype.has:null,h="function"===typeof WeakSet&&WeakSet.prototype,f=h?WeakSet.prototype.has:null,_="function"===typeof WeakRef&&WeakRef.prototype,p=_?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,M=Function.prototype.toString,v=String.prototype.match,L=String.prototype.slice,w=String.prototype.replace,k=String.prototype.toUpperCase,Y=String.prototype.toLowerCase,b=RegExp.prototype.test,D=Array.prototype.concat,T=Array.prototype.join,S=Array.prototype.slice,A=Math.floor,x="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"===typeof Symbol&&"object"===typeof Symbol.iterator,O="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j||"symbol")?Symbol.toStringTag:null,H=Object.prototype.propertyIsEnumerable,N=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function P(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||b.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var a=String(r),o=L.call(t,a.length+1);return w.call(a,n,"$&_")+"."+w.call(w.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,n,"$&_")}var I=n(4654),R=I.custom,F=K(R)?R:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function W(e){return w.call(String(e),/"/g,""")}function V(e){return"[object Array]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function z(e){return"[object Date]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function U(e){return"[object RegExp]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function q(e){return"[object Error]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function J(e){return"[object String]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function G(e){return"[object Number]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function $(e){return"[object Boolean]"===ee(e)&&(!O||!("object"===typeof e&&O in e))}function K(e){if(j)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}function Z(e){if(!e||"object"!==typeof e||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,a,i){var u=r||{};if(Q(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Q(u,"maxStringLength")&&("number"===typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!Q(u,"customInspect")||u.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Q(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Q(u,"numericSeparator")&&"boolean"!==typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=u.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return le(t,u);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var h=String(t);return m?P(t,h):h}if("bigint"===typeof t){var f=String(t)+"n";return m?P(t,f):f}var _="undefined"===typeof u.depth?5:u.depth;if("undefined"===typeof a&&(a=0),a>=_&&_>0&&"object"===typeof t)return V(t)?"[Array]":"[Object]";var p=_e(u,a);if("undefined"===typeof i)i=[];else if(ne(i,t)>=0)return"[Circular]";function g(t,n,r){if(n&&(i=S.call(i),i.push(n)),r){var o={depth:u.depth};return Q(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),e(t,o,a+1,i)}return e(t,u,a+1,i)}if("function"===typeof t&&!U(t)){var M=te(t),v=ye(t,g);return"[Function"+(M?": "+M:" (anonymous)")+"]"+(v.length>0?" { "+T.call(v,", ")+" }":"")}if(K(t)){var k=j?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!==typeof t||j?k:ce(k)}if(ue(t)){for(var b="<"+Y.call(String(t.nodeName)),A=t.attributes||[],C=0;C<A.length;C++)b+=" "+A[C].name+"="+B(W(A[C].value),"double",u);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+Y.call(String(t.nodeName))+">",b}if(V(t)){if(0===t.length)return"[]";var R=ye(t,g);return p&&!fe(R)?"["+pe(R,p)+"]":"[ "+T.call(R,", ")+" ]"}if(q(t)){var X=ye(t,g);return"cause"in Error.prototype||!("cause"in t)||H.call(t,"cause")?0===X.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(X,", ")+" }":"{ ["+String(t)+"] "+T.call(D.call("[cause]: "+g(t.cause),X),", ")+" }"}if("object"===typeof t&&c){if(F&&"function"===typeof t[F]&&I)return I(t,{depth:_-a});if("symbol"!==c&&"function"===typeof t.inspect)return t.inspect()}if(re(t)){var de=[];return s&&s.call(t,(function(e,n){de.push(g(n,t,!0)+" => "+g(e,t))})),he("Map",o.call(t),de,p)}if(se(t)){var ge=[];return d&&d.call(t,(function(e){ge.push(g(e,t))})),he("Set",l.call(t),ge,p)}if(ae(t))return me("WeakMap");if(ie(t))return me("WeakSet");if(oe(t))return me("WeakRef");if(G(t))return ce(g(Number(t)));if(Z(t))return ce(g(x.call(t)));if($(t))return ce(y.call(t));if(J(t))return ce(g(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!z(t)&&!U(t)){var Me=ye(t,g),ve=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,Le=t instanceof Object?"":"null prototype",we=!ve&&O&&Object(t)===t&&O in t?L.call(ee(t),8,-1):Le?"Object":"",ke=ve||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Ye=ke+(we||Le?"["+T.call(D.call([],we||[],Le||[]),": ")+"] ":"");return 0===Me.length?Ye+"{}":p?Ye+"{"+pe(Me,p)+"}":Ye+"{ "+T.call(Me,", ")+" }"}return String(t)};var X=Object.prototype.hasOwnProperty||function(e){return e in this};function Q(e,t){return X.call(e,t)}function ee(e){return g.call(e)}function te(e){if(e.name)return e.name;var t=v.call(M.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{l.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function ae(e){if(!m||!e||"object"!==typeof e)return!1;try{m.call(e,m);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function oe(e){if(!p||!e||"object"!==typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}function se(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function ie(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{m.call(e,m)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function ue(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function le(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return le(L.call(e,0,t.maxStringLength),t)+r}var a=w.call(w.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,de);return B(a,"single",t)}function de(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+k.call(t.toString(16))}function ce(e){return"Object("+e+")"}function me(e){return e+" { ? }"}function he(e,t,n,r){var a=r?pe(n,r):T.call(n,", ");return e+" ("+t+") {"+a+"}"}function fe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function _e(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=T.call(Array(e.indent+1)," ")}return{base:n,prev:T.call(Array(t+1),n)}}function pe(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+T.call(e,","+n)+"\n"+t.prev}function ye(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=Q(e,a)?t(e[a],e):""}var o,s="function"===typeof C?C(e):[];if(j){o={};for(var i=0;i<s.length;i++)o["$"+s[i]]=s[i]}for(var u in e)Q(e,u)&&(n&&String(Number(u))===u&&u<e.length||j&&o["$"+u]instanceof Symbol||(b.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof C)for(var l=0;l<s.length;l++)H.call(e,s[l])&&r.push("["+t(s[l])+"]: "+t(e[s[l]],e));return r}},7771:(e,t,n)=>{"use strict";var r=n(210),a=n(2296),o=n(1044)(),s=n(7296),i=r("%TypeError%"),u=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new i("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||u(t)!==t)throw new i("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&s){var d=s(e,"length");d&&!d.configurable&&(r=!1),d&&!d.writable&&(l=!1)}return(r||l||!n)&&(o?a(e,"length",t,!0,!0):a(e,"length",t)),e}},7478:(e,t,n)=>{"use strict";var r=n(210),a=n(1924),o=n(631),s=r("%TypeError%"),i=r("%WeakMap%",!0),u=r("%Map%",!0),l=a("WeakMap.prototype.get",!0),d=a("WeakMap.prototype.set",!0),c=a("WeakMap.prototype.has",!0),m=a("Map.prototype.get",!0),h=a("Map.prototype.set",!0),f=a("Map.prototype.has",!0),_=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},p=function(e,t){var n=_(e,t);return n&&n.value},y=function(e,t,n){var r=_(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},g=function(e,t){return!!_(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+o(e))},get:function(r){if(i&&r&&("object"===typeof r||"function"===typeof r)){if(e)return l(e,r)}else if(u){if(t)return m(t,r)}else if(n)return p(n,r)},has:function(r){if(i&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(u){if(t)return f(t,r)}else if(n)return g(n,r);return!1},set:function(r,a){i&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new i),d(e,r,a)):u?(t||(t=new u),h(t,r,a)):(n||(n={key:{},next:null}),y(n,r,a))}};return r}},7466:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{NIL:()=>G,parse:()=>v,stringify:()=>m,v1:()=>g,v3:()=>R,v4:()=>B,v5:()=>J,validate:()=>u,version:()=>K});var a=new Uint8Array(16);function o(){if(!r&&(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}const s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function i(e){return"string"===typeof e&&s.test(e)}const u=i;for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n}const m=c;var h,f,_=0,p=0;function y(e,t,n){var r=t&&n||0,a=t||new Array(16);e=e||{};var s=e.node||h,i=void 0!==e.clockseq?e.clockseq:f;if(null==s||null==i){var u=e.random||(e.rng||o)();null==s&&(s=h=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==i&&(i=f=16383&(u[6]<<8|u[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),d=void 0!==e.nsecs?e.nsecs:p+1,c=l-_+(d-p)/1e4;if(c<0&&void 0===e.clockseq&&(i=i+1&16383),(c<0||l>_)&&void 0===e.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_=l,p=d,f=i,l+=122192928e5;var y=(1e4*(268435455&l)+d)%4294967296;a[r++]=y>>>24&255,a[r++]=y>>>16&255,a[r++]=y>>>8&255,a[r++]=255&y;var g=l/4294967296*1e4&268435455;a[r++]=g>>>8&255,a[r++]=255&g,a[r++]=g>>>24&15|16,a[r++]=g>>>16&255,a[r++]=i>>>8|128,a[r++]=255&i;for(var M=0;M<6;++M)a[r+M]=s[M];return t||m(a)}const g=y;function M(e){if(!u(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}const v=M;function L(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}var w="6ba7b810-9dad-11d1-80b4-00c04fd430c8",k="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Y(e,t,n){function r(e,r,a,o){if("string"===typeof e&&(e=L(e)),"string"===typeof r&&(r=v(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),s=n(s),s[6]=15&s[6]|t,s[8]=63&s[8]|128,a){o=o||0;for(var i=0;i<16;++i)a[o+i]=s[i];return a}return m(s)}try{r.name=e}catch(a){}return r.DNS=w,r.URL=k,r}function b(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return D(S(A(e),8*e.length))}function D(e){for(var t=[],n=32*e.length,r="0123456789abcdef",a=0;a<n;a+=8){var o=e[a>>5]>>>a%32&255,s=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);t.push(s)}return t}function T(e){return 14+(e+64>>>9<<4)+1}function S(e,t){e[t>>5]|=128<<t%32,e[T(t)-1]=t;for(var n=1732584193,r=-271733879,a=-1732584194,o=271733878,s=0;s<e.length;s+=16){var i=n,u=r,l=a,d=o;n=j(n,r,a,o,e[s],7,-680876936),o=j(o,n,r,a,e[s+1],12,-389564586),a=j(a,o,n,r,e[s+2],17,606105819),r=j(r,a,o,n,e[s+3],22,-1044525330),n=j(n,r,a,o,e[s+4],7,-176418897),o=j(o,n,r,a,e[s+5],12,1200080426),a=j(a,o,n,r,e[s+6],17,-1473231341),r=j(r,a,o,n,e[s+7],22,-45705983),n=j(n,r,a,o,e[s+8],7,1770035416),o=j(o,n,r,a,e[s+9],12,-1958414417),a=j(a,o,n,r,e[s+10],17,-42063),r=j(r,a,o,n,e[s+11],22,-1990404162),n=j(n,r,a,o,e[s+12],7,1804603682),o=j(o,n,r,a,e[s+13],12,-40341101),a=j(a,o,n,r,e[s+14],17,-1502002290),r=j(r,a,o,n,e[s+15],22,1236535329),n=O(n,r,a,o,e[s+1],5,-165796510),o=O(o,n,r,a,e[s+6],9,-1069501632),a=O(a,o,n,r,e[s+11],14,643717713),r=O(r,a,o,n,e[s],20,-373897302),n=O(n,r,a,o,e[s+5],5,-701558691),o=O(o,n,r,a,e[s+10],9,38016083),a=O(a,o,n,r,e[s+15],14,-660478335),r=O(r,a,o,n,e[s+4],20,-405537848),n=O(n,r,a,o,e[s+9],5,568446438),o=O(o,n,r,a,e[s+14],9,-1019803690),a=O(a,o,n,r,e[s+3],14,-187363961),r=O(r,a,o,n,e[s+8],20,1163531501),n=O(n,r,a,o,e[s+13],5,-1444681467),o=O(o,n,r,a,e[s+2],9,-51403784),a=O(a,o,n,r,e[s+7],14,1735328473),r=O(r,a,o,n,e[s+12],20,-1926607734),n=H(n,r,a,o,e[s+5],4,-378558),o=H(o,n,r,a,e[s+8],11,-2022574463),a=H(a,o,n,r,e[s+11],16,1839030562),r=H(r,a,o,n,e[s+14],23,-35309556),n=H(n,r,a,o,e[s+1],4,-1530992060),o=H(o,n,r,a,e[s+4],11,1272893353),a=H(a,o,n,r,e[s+7],16,-155497632),r=H(r,a,o,n,e[s+10],23,-1094730640),n=H(n,r,a,o,e[s+13],4,681279174),o=H(o,n,r,a,e[s],11,-358537222),a=H(a,o,n,r,e[s+3],16,-722521979),r=H(r,a,o,n,e[s+6],23,76029189),n=H(n,r,a,o,e[s+9],4,-640364487),o=H(o,n,r,a,e[s+12],11,-421815835),a=H(a,o,n,r,e[s+15],16,530742520),r=H(r,a,o,n,e[s+2],23,-995338651),n=N(n,r,a,o,e[s],6,-198630844),o=N(o,n,r,a,e[s+7],10,1126891415),a=N(a,o,n,r,e[s+14],15,-1416354905),r=N(r,a,o,n,e[s+5],21,-57434055),n=N(n,r,a,o,e[s+12],6,1700485571),o=N(o,n,r,a,e[s+3],10,-1894986606),a=N(a,o,n,r,e[s+10],15,-1051523),r=N(r,a,o,n,e[s+1],21,-2054922799),n=N(n,r,a,o,e[s+8],6,1873313359),o=N(o,n,r,a,e[s+15],10,-30611744),a=N(a,o,n,r,e[s+6],15,-1560198380),r=N(r,a,o,n,e[s+13],21,1309151649),n=N(n,r,a,o,e[s+4],6,-145523070),o=N(o,n,r,a,e[s+11],10,-1120210379),a=N(a,o,n,r,e[s+2],15,718787259),r=N(r,a,o,n,e[s+9],21,-343485551),n=x(n,i),r=x(r,u),a=x(a,l),o=x(o,d)}return[n,r,a,o]}function A(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(T(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}function x(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function C(e,t){return e<<t|e>>>32-t}function E(e,t,n,r,a,o){return x(C(x(x(t,e),x(r,o)),a),n)}function j(e,t,n,r,a,o,s){return E(t&n|~t&r,e,t,a,o,s)}function O(e,t,n,r,a,o,s){return E(t&r|n&~r,e,t,a,o,s)}function H(e,t,n,r,a,o,s){return E(t^n^r,e,t,a,o,s)}function N(e,t,n,r,a,o,s){return E(n^(t|~r),e,t,a,o,s)}const P=b;var I=Y("v3",48,P);const R=I;function F(e,t,n){e=e||{};var r=e.random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=r[a];return t}return m(r)}const B=F;function W(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function V(e,t){return e<<t|e>>>32-t}function z(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var a=0;a<r.length;++a)e.push(r.charCodeAt(a))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,s=Math.ceil(o/16),i=new Array(s),u=0;u<s;++u){for(var l=new Uint32Array(16),d=0;d<16;++d)l[d]=e[64*u+4*d]<<24|e[64*u+4*d+1]<<16|e[64*u+4*d+2]<<8|e[64*u+4*d+3];i[u]=l}i[s-1][14]=8*(e.length-1)/Math.pow(2,32),i[s-1][14]=Math.floor(i[s-1][14]),i[s-1][15]=8*(e.length-1)&4294967295;for(var c=0;c<s;++c){for(var m=new Uint32Array(80),h=0;h<16;++h)m[h]=i[c][h];for(var f=16;f<80;++f)m[f]=V(m[f-3]^m[f-8]^m[f-14]^m[f-16],1);for(var _=n[0],p=n[1],y=n[2],g=n[3],M=n[4],v=0;v<80;++v){var L=Math.floor(v/20),w=V(_,5)+W(L,p,y,g)+M+t[L]+m[v]>>>0;M=g,g=y,y=V(p,30)>>>0,p=_,_=w}n[0]=n[0]+_>>>0,n[1]=n[1]+p>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+M>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}const U=z;var q=Y("v5",80,U);const J=q,G="00000000-0000-0000-0000-000000000000";function $(e){if(!u(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const K=$},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n}},7203:t=>{"use strict";t.exports=e},4654:()=>{}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{r.p=""})();var a={};return(()=>{"use strict";if(r.r(a),r.d(a,{default:()=>Os,ermAttach:()=>xs,ermForm:()=>ce,ermList:()=>H}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}var n=r(7203),o=r(8222);const s="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCAGXAcsDASIAAhEBAxEB/8QAGgABAQADAQEAAAAAAAAAAAAAAAUCAwQBBv/EABQBAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAfuwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw89w9M3noAAAA80YHW5+gAAAAAAAAAAAAAAAAAAAAY5DTll6eZAAAABo19Y0bwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE46vNGwzYDNgM2AzYDNgM2AzYDNgM2AzYDNgM9mjgLQAAAAAAAAAAAAABNO+Xt9KGU0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0Uk0UspeguSK8gpgAAAAAAAAAAAAASa0ktAAAAAAAAAAAAR7EcsSK8gpgAAAAAAAAAAAAASa0ktAAPJxSxm5HfnNxKiXTPQAAAAAI9iOWJFeQUwAADhMt8XaWmncAAAAAAc+GzA8ejydSnF70Hnssw7fOUe0RO8q+HNxbOg6cpNYAAAAAR7EcsSK8gpgAAAn9TMzAAAAAAAAAk1pJaBjO3+nJS4fTHu2cxtcQ7pnViY9mnSUQAAAAI9iOWJFeQUwAAAAAAAAAAAAAJNaSWgcGzPUY+a+828XbxHIBo78Dk11/DjWBzdIAAAI9iOWJFeQUwADWbHPuMgAAAADSe7OLM63noAAk1pJaAk1uM0d3LoKzh7T15xnTO86DRT4u8AAAAAR7EcsSK8gpgAeejTuAAAAAB56Ofd76AAGOBtk1pJaABw6qes087E96Ob0c9bafPXueKfSubWdoAAAEexHLEivIKYAAAAAAAAAAAAMMNwSa0ktAAAAAAato+U5ezjKf0HxnWfVNG8AAR7EQtyMRVAAAAAAAAAAAAAAkV+EpI3pYRxYRxYRxYRxYRxYRxV+f6xCdnIbPofmvT7N871FhHFiO5C+kislCq4ewyShVStx3gAAAAAAAAAAAAAAAAAAcPcPk9f1ME0fVcvYAAAAAAAeegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT6AAAAAAAAAAA5+jkPOnTkbwAAAAAAAAAAAAAAa5tX0+dpaawAAAAAAAAAA89GvP0AAAAAAAAAAAAAAAAc3SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//EACoQAAEEAQMDAwUBAQEAAAAAAAMAAQIEFBESEzA0QBAgMyEiIzFQcIAy/9oACAEBAAEFAv8At530/tSf6M/06RJaLhZDk7/y9NU7aNtZaadIkdW5foOLs38t/wBf5fzDZc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJc4lziXOJRnGX8C3J4ijTHtwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKwwrDCsMKKPGJ526KuOzwacdN8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8Vvit8VvitdfS951qbsmoxWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjWCNYI1gjTM9awr3nWvl8mz3Sveda+XybPdK951r5ffuZluj4Nnule6NibjFB9w/DtfL7P0pWdZcJiLCGsIa4CwUbLwdn1bq2e6V7oGNMcjGmQcLBYwHJ5w6sjDg+SJZIlkiWSJHJGZfV30Z3lal+MEOYpVwGkuAzLlOJM4zw+6rKMmk3Us90r3RufAL4etII5PjiWOJY4ljiVgcYE9Tu5SSlCuIYnNL6RaMmk3oUDxcZInGLUBupZ7pXuiQbFhFtsfDtfL6SfbGq2qf89qUmhGMHOtYQXJBckE04yUm4LNqOoxy3j6dnule8618vpafQA/sr02/Ef7yooIGWEJYQkOtAUrbagb769N9QdOz3Sveda+X0t9v+61Pt371GFMixCrFKsUqLXJAca5HGAEyQxCrEKgjkOPQs90r3nWvl9Dx3Bry316v2SeDPJGLMayjLKMhHJOdt/oR+OvWjtB07PdK97pPozx0Zvq3UnLa3QtfL6i/DYsReMhzYkfZKTQiFnKU78hW6lnule9z/VbOrLcp79G5E3691r5fU4uSADcjSFMMh2oTWvpOzCC452JFLEMK4trdSz3SveKX/y3699r5fYYG942Xg7jEZYbLDZ1EIgqdnV5VJyiGzITxk0m6dnule8t30Zpelr5fbKEZs9TRcdllx2nTVNVEcYehQRKzOSrMZoki1oTz6Nnule8uTato7urXy9WcIziWPERV7TwUZNJvfZ7pXvOtfL1jikOfoI8hOMsSx91zXn3W1EJSE8218vWlFpMeq4/WE3g4LMS+6z3Pn2BcjMeyzZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhZFhc9hTGScv16fpRukZsiwsiwsiwsiwpc8i89hc9hc9hc9hCIWUn/XNYXPYXPYQiFlP+OauxFODwkhwck2bRv6xBxJGdacZADxR/wA0nN2fQkVCW6P8ARZTP40/tm5Y6CbbDzpvthlFQyyiUZyTn42yLfwq/df2YCaE/wDoP//EABQRAQAAAAAAAAAAAAAAAAAAAJD/2gAIAQMBAT8BPL//xAAUEQEAAAAAAAAAAAAAAAAAAACQ/9oACAECAQE/ATy//8QAMxAAAgAEAQsDBAICAwAAAAAAAAECAxEyMRASITAzQEFRcZGhICJhEyNQgUJwgrFigJD/2gAIAQEABj8C/wDCRJYsxdeY08V+YTWKLHUbeL/ty9F6L0XovRei9F6L0XovRei9F6L0XovRei9F6L0XovRei9Gh1/AaOIq1bMH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3MH3IYoOO/4oho+Ivci5FyLkXIuRci5FyLkXIuRci5FyLkXIuRci5FyLkXLLL679DAtGcaYoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoi6IuiLoiGFOsMWSX136VvUnJL679K3qTkl9d+lajEx3GTkl9dTWEhfNbpK9WbKhzme+ZT4RpqcT7cz9MzZ0NPkqtdJyS+uopDLqUil0QkpXAq1TXUcWkuLi4uJea8PRVlFolo5H2oKLmz3TqHtnH3Iarmjmc5ZVa2Tkl9dT+yDpr6uHSWFhYWEvNWL9Ckw/wCR8I+pN/SOSKrL9SVofI/2hyna8NbJyS+upzWJct0lZWyKa8Yin8YBt4Iz5lvCEpVIvh7l8PcookxRK2Iz1jCKLnrJOSX136VliF0HFzZBL4YvIs6p/Lufy7mdDWo/jSdVrZOSX136VlZ/iIXTIs2PNNszbM2zHE5tRP6tEVhmUNszbMpFFnamTkl9d+lZYkLsRynwYouKyLNgzjYmxKRS6LmQy1jEx/CIdZJyS+vrrx3eV6Ipbwi0oU6HhiVXpqxzosOBDJX71snJL6+vHRrfae7UyvRouWBmxXGfKw4wmn2v5y41fwVmaIORRY8EZ8V0Wtk5JfXdlqJXpzoHmxmbOVHzK6H8o9scSPdHEyv+zNlLOZnOL3mZHgVWGsk5JfXfMMkr1e5HsjcJomJm0R9yY4j2qmT55mnAqjNrqpOSX13zTkla6kSHDDFkzY9KKrUSckvrv0rXuuHPLow5FYfXLzceBghRTuG/StfRmdDphy1hZR6IvVK/AJw3Ip9Kv6Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4Nj4K/Sa6L0UombHwbHwbHwbHwKY5b0fBsTYmxNiUjl0RoNj4Nj4Nj4KRy6L8RXCIo1kzUJfl6MolU/5P+tVDDiyudUr+BmQvBbuo+BodfwDaVTYsjiUFW+BRy6Ld8PwU381FGuP/AGE//8QALBAAAgEACAYDAAIDAAAAAAAAAAERECExQaGx8PEwQFFhccEgUJGB0XCA4f/aAAgBAQABPyH/AHegSKtcSV1+slIQEQrJ4TltTCZ/cQorbY+rasLkQmJMVxwnWxpQnqemWyNL+sWYCqSX+L21Dl8m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5m5lg/h9AsprUMqt6ieZIQhCEIQhCEIQhCEIQhCEma0ms5+L+4WyH5HaT1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1N1Elhp0Zr1zypmTWjKtxqUahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGoRqEahGpQ7rcnRmvXPY/2uaxSzozXPY/2uaxSzozXPY/2uA7UiE6xf3kcUs6M1wZ5Q5SHsbUPlMf7XxbSS3CK+3UuLdEYK9N/I7mH8ltewkof8CJhNdVxsUs6M1wJIF6ksk1sMYZaSJOHWLk/041WcOzOzOzOzH7Kmr/ROaUOZCQytnVvqTc0X6ydAEskEW1jfdF0zLvL0dpE5S/AQ3ynxcUs6M1wbXwMJ48DT6jtv07b9O2/Ttv0R8KrBKKXnVWwJDFRCXUt5/ih22EEhZXWhpNVlg9raXjhK7A7BvX4uKWdGa4MwXE3CUNiRymP9qnsipHraCrwJXf+5VFIG9YiQUyd0uDbhtgYSLsztU2RNoTJ2acTFLOjNc9j/ap8uqP4KZWG1zZK8zBKFAwuHR05n6UmSq+oIrkYxdG6Z4OKWdGa57H+18K7gNPnZVlvq0PZMDRM1zNUxptFdWLazFMVjo4s9zTM0THJluvBxSzozXPY/wBqnwERG9Vhr2SLwP8ALouh7Lkd7+M738ZM75hL/UARXrhEc618TFLOjNfKySpbYeF8V06FWk+Bj/apalDWQcFrzY9hNfV8Xx8JC8KlSnejJRJJJVLiYpZ0Zr5JCGdE+wiKlxFeJCWioqVDqJQm354/2vhXFSsYklwlTTvGetcKifshI1KZK6lVeAFW8qzrP4xQY6srn24uKWdGa5Wx8mG4GP8Aa+NiQvMoSMWSQELoHKgqJdxWn6tyHKe1xB1wd9whvTbiYpZ0Zrm0TMlcOHSjH+18owhiGl0Z4C8I8EiexWCuE0K8qLoj8nhZNryuhWinrcTPBxSzozXN/wANWhLnVijH+1xmqYmS8R2ogfI9BDbKfAxSzozHPY/2uO6JNnVSvmvCYHldPnC//qk1iGYKLnPY/wBrjt6ZTHD/AKSmo8YgXgOvyx6z+gbbhqEJpFfI0mNJjSY0mNJjSY0mNJjSY0mNJjSY0mNJhvVa/oZE7Vg02aahqhNtKcNXinO9WazGsxrMazDPEdhDSTNJM0EzQTPLxQM07SXFSNZjSY0mPLhR9QraeQZozoQA7SKPt4U+GVXF2NC5Wup/jVQEk0oeEQpPoXBVtX7y9fq4Q+wrORckPSna6+fbIhXGiZf4B0Cg+6/lmJiUs+BfQ4l5/dS8Tb/2E//aAAwDAQACAAMAAAAQCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC2CCCCCeKCCCCCCCCCCCCCCCCCCCCCiiCCCCWOCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGKCCCCCCCCCCCSCCCCCCCCCCCCCCCCoAAAAAAAAAAEoCCCCCCCCCCCCCCCG88888888888cMCCCCCCCCCCCCCCC884Aoc88888888CCCC+CCCCCCCCCW0oa+sCU8888888CCCCuCCCCCCCCCS8GeiE6+w088888CCCCiCCCCCCCCCC8yGGCWiMc88888CCCKCCCCCGGCCCC8cGY8yc8888888CCCiCCCCCS6CCGC88MMEq24088888CCCCCCCCCCCCCSu8888884Cq0888qCCCCCCCCCCCCCCWc88888se+y4wiOGCCGCCCCCCCCCCCCCCCCCCCSOiCCCCCCCiCCCCCCCCCCCCCCCCCCSCCCCCCCCCCCCCCCCCCCCCCKCCCCCCCCCCWuqCCCCCCCCCCCCCCKGCCCCCCCCCCSyiCCCCCCCCCCCCCCCuqCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC//xAAUEQEAAAAAAAAAAAAAAAAAAACQ/9oACAEDAQE/EDy//8QAFBEBAAAAAAAAAAAAAAAAAAAAkP/aAAgBAgEBPxA8v//EACwQAQACAAQEBAcBAQEAAAAAAAEAESExQfFRYdHwMEBxkRAgUIGhscHhYID/2gAIAQEAAT8Q/wDb1jS+UVDx8TEql+v0xZSg+sRURb0ZkZdGsA5YnhPbXKCLi/2EbDEDxPpdwbuY8LvWY5MSEKyeFxIEaxdoPCqxPrKUPsj6Y9Q1h5IeISvpl+Ncv/prCOBxmPmT3ve973ve973ve973ve/4SnHFf0B8gYdnUvjAFtPxNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DNwzcM3DATiC3PLP388oFrRFlN3ojSa90GsIEnAGmbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBmwZsGbBhVkcRv4ZfPAqugTnWX9gdTrpM/ab10Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30Te+ib30R/wBroj3dAXK2v38Mvnw0CiHl2KJCiZexl578/wCcJcnYy89+f+csNY978xmkvKBEwblnkZcnYy8FrnGVeEa0smGqeU/P/KORBmrQRHA8E5PvLCvXf70hDE9VpEmN+NmOHMauEOPbQTF7QIlliWPkJcnYy8ATSYpF/UaVEbhjwxIIjwtQM8COzdS/i6RQIsyptTNqZtTNqYe7GVZYIBsy4/E4ALV0jbqjVkGFy6CiLtcJiSclx/Ij5FVH9gk0U6MRGIMcpEtU6RzcCyKxPHlydjLwe9c53/h46p6zSzcHWbg6zcHWbg6wYmEBW8TjAFGBVB8aYdrNBw74ygAUFmoIvDjlhFjn2gIGG+QcH4IACOjHF/Bl9sobtLWjFaK3tOXjy5Oxl4LwhhvNhMhcC+AeXkBbJoEW02eCYI3jI5I/2L3iDCSWc7M4so8ZgAVO9v7O/v7HvBg1jYIwUyGcMujhDC0V9fGlydjLwbn3fLyIs0H5Q8v+RjL/AOhhUqN90hpCMFAUBHLGwmFDjex0nM9jpDiICZx+oNXinqXX9jpFlP4iIt1vzLJZxlPDlydjL6DIVQ0RYEzE1MPSZwy/Yx3ciluPwdz84WX7Tduub11zfOuApstuLHmzl88o4ZyxmxQ4ueDN66pvnVFvpsV4H3h4UuTsZfPZdX5qTia3Ptj/ACBYWKPB2SOqRVusZ2e5VwhUaLUFr2nb/wDJ2/8AyYWeuwNOZGx4IQ7coQ00TVlyYJ/PHxpcnYy+Zlcy1fCA1MLu84qeaW+KZz1pjVNQfDkBBxGLm8HS2A/blGur8S38jE4MqHxrl+1lCLGXDj3xj41C0ad/2VsAoOHjS5Oxl8wrlMHdkHBAAyDLxGqZxGpT1N8KrOB1pTDLKZhumPr4cnLtj9QhQdP9zL3sZme0Awrg4WPKHgI8GJFoD1l+TlCW3BhqWeD6oKEsVoI42aHRwhh40uTsZeV/G/pg9p4slJpCcL9ZceGFSGOgmYX7kWkR0G5YwTgyuXGt/WAiG1QhmAJbKuAxG/QoY/5h4UwR8aXJ2MvKoJSCc5l8rj7RxiC5vu8CRMV5k1hlWZMiMa4Zdw/vwiHxjkQiI5GcrCNsowNJQRDiaHJlfZRaZwzBWq5ifW4ACIjqeHLk7GXm8LvFHqSo7RqVWHj6Fi98ekvjUpVT6MFMpahyTV1kCLlk8KFHc4ecPIaJhBjXOg/AwhZVuY4MPFX7i+dAAkEOuRMTP784ARlFG/sYTLDz2g34rAa54YeCuhn8Z9B8Mn1lDBmNsFy+a+HDqw889FXL6ygCKXiezOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ec5Pt5zk+3nOT7ecOD7ecQCB0epLRri0H5ilkUjp8DqmWDBJTJMKG32YMCXHsznb6k7fUnb6kdzeeogHr7s4d2/s7fWnb60yMe8Yx+8q8KU1ZU5OznOz1Z2epMrHvGMfv9Hq5TiJhpfWLiL2eYzSHbiuLwOMe8ur2SpUqVKleDX0YiYxwVdDMlkKv9Eq6QtunKGH1U+Jhp/wB4SDJXkHGNSIxWVhBeodOH0E4VgNGFU8vcw4iD3SmhDULBppGnC/PvqPYdZsHREqraRcTehM9zFXD3PLAREEeMqk8RGDz9fHky+sqY3WzgW3D6zpK/8k//2Q==",i=e=>((0,n.pushScopeId)("data-v-160fcaec"),e=e(),(0,n.popScopeId)(),e),u={class:"myClass"},l=i((()=>(0,n.createElementVNode)("img",{src:s,style:{width:"150px",height:"150px","border-radius":"50%"}},null,-1))),d=i((()=>(0,n.createElementVNode)("h4",{style:{color:"darkgray","margin-top":"0px"}},"暂无数据",-1))),c=[l,d];function m(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",u,c)}var h=r(3744);const f={},_=(0,h.Z)(f,[["render",m],["__scopeId","data-v-160fcaec"]]),p=_,y={key:0,class:"mainTitle"},g=["onClick"],M={key:0,class:"leftArea"},v=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],L=["onClick"],w={key:1,class:"rightArea"},k=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],Y=["onClick"],b={key:0,class:"leftArea"},D=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],T=["onClick"],S={key:1,class:"rightArea"},A=["src","onClick","onMousedown","onMouseup","onTouchstart","onTouchend"],x=(0,n.defineComponent)({__name:"ermList",props:{data:[],maxHeight:{type:String,default:"auto"},initSvc:{type:String,require:!0},formName:{type:String,require:!0},functionId:{type:String,require:!0},showLeft:{type:Boolean,default:!1},showRight:{type:Boolean,default:!1},mainTitle:{type:String,default:!1},leftIconUrl:{type:String,default:"lg.png"},rightIconUrl:{type:String,default:"xiangyou.png"},leftIconSize:{type:Array,default:["35px","35px"]},rightIconSize:{type:Array,default:["35px","35px"]},showSelect:{type:Boolean,default:!1},selectMode:{type:String,default:"multiRow"},pullDisabled:{type:Boolean,default:!1},pullDownDisabled:{type:Boolean,default:!1},leftSwiperSelect:{type:Boolean,default:!1},rightSwiperDelete:{type:Boolean,default:!1},viewType:{type:String,default:"list"}},emits:["leftIconClick","mainClick","rightIconClick","leftIconHold","rightIconHold","pullRefresh","pullUpdate"],setup(e,{expose:t,emit:r}){const a=(0,n.ref)(["1"]),s=e,i=r;t({endLoad:P,selectAll:W,selectNone:V,getSelectedRows:z,getTableName:X});s.maxHeight&&s.maxHeight;var u=(0,n.ref)("0%"),l=(0,n.ref)("100%"),d=(0,n.ref)("0%");function c(){s.showLeft&&s.showRight?(u.value="15%",d.value="15%",l.value="70%"):s.showLeft?(u.value="15%",l.value="85%"):s.showRight&&(d.value="15%",l.value="85%"),console.log(u,d,l)}(0,n.watch)((()=>[s.showLeft,s.showRight]),(([e,t],[n,r])=>{c()}));const m=(0,n.ref)([]);var h={},f=[];async function _(){console.log("erm初始化---formName ",s.formName),console.log("erm初始化---functionId ",s.functionId),console.log("erm初始化---initSvc ",s.initSvc),h={};const e=new o.EI.EIInfo,t=e.addBlock(new o.EI.EiBlock,"");t.pushData({DEFAULT_COMPANY_CODE:"",FORM_NAME:s.formName,TYPE_CODE:"Web",FUNCTION_IDS:s.functionId,DATASET_NAME:"#",TABLE_NAMES:""},!0),console.log("eiblk",t),await o.EIManager.callService("",s.initSvc,e).then((e=>{if(0!==e.sys.status)return void console.log(e.sys.msg);h=e.blocks,console.log("ret",h);var t=h["TSI00GRIDCOLUMN"].data;const n=h["TSI00GRIDVIEW"].data,r=h["TSI00DATATABLE"].data,a=n[0].DATASET_NAME,o=n[0].TABLE_NAME;t.forEach((e=>{if(""!==e.HEAD_TEXTCOLOR.trim()||"16777215"!==e.HEAD_TEXTCOLOR.trim()){var t=e.HEAD_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.HEAD_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000";if(""!==e.CELL_TEXTCOLOR.trim()||"16777215"!==e.CELL_TEXTCOLOR.trim()){t=e.CELL_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.CELL_TEXTCOLOR=t}else e.CELL_TEXTCOLOR="#000000";e.DATASET_NAME=a,e.TABLE_NAME=o,e.DATA_TYPE="",r.forEach((t=>{e.FIELD_NAME===t.COL_NAME&&(e.DATA_TYPE=t.DATA_TYPE)}))})),m.value=t,f=n[0].MERGE_COLUMN.split(",").filter((e=>" "!=e&&""!=e)),console.log("mergeCols",f),console.log("yon",f.includes("AGEa"))}))}var x=null;function C(e){x=setTimeout((()=>{x=null,i("leftIconHold",e)}),1e3)}function E(e){clearTimeout(x),x=null}function j(e){x=setTimeout((()=>{x=null,i("rightIconHold",e)}),1e3)}function O(e){clearTimeout(x),x=null}const H=(0,n.ref)(!1),N=(0,n.ref)(!1);function P(){H.value=!1,N.value=!1}var I=(0,n.ref)(!1);function R(e,t){I.value&&(B.value.indexOf(e)<0?("singleRow"===s.selectMode&&(B.value=[]),B.value.push(e)):B.value.splice(B.value.indexOf(e),1))}(0,n.watch)((()=>s.showSelect),(()=>{I.value=s.showSelect}),{immediate:!0});const F=(0,n.ref)(null),B=(0,n.ref)([]);function W(){"multiRow"===s.selectMode&&F.value.toggleAll(!0)}function V(){F.value.toggleAll(!1)}function z(){for(let e=B.value.length-1;e>=0;e--){const t=B.value[e];s.data.includes(t)||B.value.splice(e,1)}return(0,n.toRaw)(B.value)}(0,n.watch)((()=>s.showSelect),(()=>{s.data.forEach((e=>{B.value.splice(B.value.indexOf(e),1)}))}));var U=(0,n.ref)(!0);function q(){I.value=!0}function J(){V(),I.value=!1}(0,n.watch)((()=>s.leftSwiperSelect),(()=>{s.leftSwiperSelect?U.value=!0:U.value=!1}),{deep:!0,immediate:!0});var G=(0,n.ref)(!0);function $(e){s.data.splice(e,1)}function K(){var e=document.getElementsByClassName("colDesc");for(let t=0;t<e.length;t++){const n=e[t];n.innerHTML=n.innerHTML.replaceAll("<br>","<br>")}}function Z(e){return new URL(`/src/assets/img/${e}`,"file:///C:/Users/Raymo/Desktop/%E5%B7%A5%E4%BD%9C%E6%96%87%E6%A1%A3/%E9%A1%B9%E7%9B%AE/%E7%A7%BB%E5%8A%A8%E5%BA%94%E7%94%A8/%E7%A7%BB%E5%8A%A8%E5%BA%94%E7%94%A8%E4%BA%A7%E5%93%81%E5%8C%96/GIT/erm/packages/ermList/ermList.vue%3Fvue&type=script&lang=ts&setup=true").href}function X(){return h["TSI00GRIDVIEW"].data[0].TABLE_NAME}return(0,n.watch)((()=>s.rightSwiperDelete),(()=>{s.rightSwiperDelete?G.value=!0:G.value=!1}),{deep:!0,immediate:!0}),(0,n.watch)((()=>s.data),(()=>{(0,n.nextTick)((()=>{K()}))}),{immediate:!0,deep:!0}),(0,n.watch)((()=>m.value),(()=>{(0,n.nextTick)((()=>{K()}))}),{immediate:!0,deep:!0}),(0,n.watch)((()=>s.pullDownDisabled),(()=>{!0===s.pullDownDisabled&&(N.value=!1)}),{immediate:!0}),(0,n.onMounted)((()=>{c(),_()})),(t,r)=>{const o=(0,n.resolveComponent)("van-button"),i=(0,n.resolveComponent)("van-checkbox"),u=(0,n.resolveComponent)("van-col"),l=(0,n.resolveComponent)("van-row"),d=(0,n.resolveComponent)("van-swipe-cell"),c=(0,n.resolveComponent)("van-checkbox-group"),h=(0,n.resolveComponent)("van-list"),_=(0,n.resolveComponent)("van-collapse-item"),x=(0,n.resolveComponent)("van-collapse"),P=(0,n.resolveComponent)("van-pull-refresh");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[e.mainTitle&&""!==e.mainTitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",y,(0,n.toDisplayString)(e.mainTitle),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(P,{class:"pullRefresh",modelValue:H.value,"onUpdate:modelValue":r[7]||(r[7]=e=>H.value=e),disabled:e.pullDisabled,onRefresh:r[8]||(r[8]=e=>t.$emit("pullRefresh"))},{default:(0,n.withCtx)((()=>[m.value.length>0&&e.data.length>0&&0===(0,n.unref)(f).length?((0,n.openBlock)(),(0,n.createBlock)(h,{key:0,loading:N.value,"onUpdate:loading":r[1]||(r[1]=e=>N.value=e),style:{"min-height":"200px"},onLoad:r[2]||(r[2]=e=>t.$emit("pullUpdate")),"immediate-check":!0,finished:e.pullDownDisabled},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(c,{modelValue:B.value,"onUpdate:modelValue":r[0]||(r[0]=e=>B.value=e),ref_key:"checkBoxGroup",ref:F},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.data,((r,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)({selected:B.value.indexOf(r)>=0}),onClick:e=>R(r,a)},[(0,n.createVNode)(d,null,{left:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"leftButton",{data:{item:r,index:a}},(()=>[(0,n.unref)(U)&&!(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,square:"",type:"primary",text:"开启多选",class:"swiperButton",onClick:q})):(0,n.createCommentVNode)("",!0),(0,n.unref)(U)&&(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:1,square:"",type:"primary",text:"取消多选",class:"swiperButton",onClick:J})):(0,n.createCommentVNode)("",!0)]))])),right:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"rightButton",{data:{item:r,index:a}},(()=>[(0,n.unref)(G)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,square:"",type:"danger",text:"删除",class:"swiperButton",onClick:e=>$(a)},null,8,["onClick"])):(0,n.createCommentVNode)("",!0)]))])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)({rowContent:"list"===s.viewType,rowContentCard:"card"===s.viewType})},[e.showLeft||(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createElementBlock)("div",M,[(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(i,{key:1,onClick:e=>R(r,a),name:r},null,8,["onClick","name"])):(0,n.renderSlot)(t.$slots,"leftArea",{key:0,data:{item:r,index:a}},(()=>[(0,n.createElementVNode)("img",{src:Z(e.leftIconUrl),style:(0,n.normalizeStyle)("height:"+e.leftIconSize[1]+";width:"+e.leftIconSize[0]),onClick:e=>t.$emit("leftIconClick",r),onMousedown:e=>C(r),onMouseup:e=>E(r),onTouchstart:e=>C(r),onTouchend:e=>E(r)},null,44,v)]))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:"mainContent",onClick:e=>t.$emit("mainClick",r)},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,((t,r)=>((0,n.openBlock)(),(0,n.createBlock)(l,null,{default:(0,n.withCtx)((()=>[(0,n.createVNode)(u,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+t.HEAD_TEXTCOLOR),span:"8"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(t.COL_CAPTION)+":",1)])),_:2},1032,["style"]),(0,n.createVNode)(u,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+t.CELL_TEXTCOLOR),offset:"0",span:"16"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.data[a][t.ITEM_CODE]),1)])),_:2},1032,["style"])])),_:2},1024)))),256))],8,L),e.showRight?((0,n.openBlock)(),(0,n.createElementBlock)("div",w,[(0,n.renderSlot)(t.$slots,"rightArea",{data:{item:r,index:a}},(()=>[(0,n.createElementVNode)("img",{class:"rightIcon",src:Z(e.rightIconUrl),style:(0,n.normalizeStyle)("height:"+e.rightIconSize[1]+";width:"+e.rightIconSize[0]),onClick:e=>t.$emit("rightIconClick",r),onMousedown:e=>j(r),onMouseup:e=>O(r),onTouchstart:e=>j(r),onTouchend:e=>O(r)},null,44,k)]))])):(0,n.createCommentVNode)("",!0)],2)])),_:2},1024)],10,g)))),256))])),_:3},8,["modelValue"])])),_:3},8,["loading","finished"])):(0,n.createCommentVNode)("",!0),m.value.length>0&&e.data.length>0&&(0,n.unref)(f).length>0?((0,n.openBlock)(),(0,n.createBlock)(h,{key:1,loading:N.value,"onUpdate:loading":r[5]||(r[5]=e=>N.value=e),style:{"min-height":"200px"},onLoad:r[6]||(r[6]=e=>t.$emit("pullUpdate")),"immediate-check":!0,finished:e.pullDownDisabled},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(c,{modelValue:B.value,"onUpdate:modelValue":r[4]||(r[4]=e=>B.value=e),ref_key:"checkBoxGroup",ref:F},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(x,{modelValue:a.value,"onUpdate:modelValue":r[3]||(r[3]=e=>a.value=e),"lazy-render":"false"},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.data,((r,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)({selected:B.value.indexOf(r)>=0}),onClick:e=>R(r,a)},[(0,n.createVNode)(d,null,{left:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"leftButton",{data:{item:r,index:a}},(()=>[(0,n.unref)(U)&&!(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,square:"",type:"primary",text:"开启多选",class:"swiperButton",onClick:q})):(0,n.createCommentVNode)("",!0),(0,n.unref)(U)&&(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:1,square:"",type:"primary",text:"取消多选",class:"swiperButton",onClick:J})):(0,n.createCommentVNode)("",!0)]))])),right:(0,n.withCtx)((()=>[(0,n.renderSlot)(t.$slots,"rightButton",{data:{item:r,index:a}},(()=>[(0,n.unref)(G)?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,square:"",type:"danger",text:"删除",class:"swiperButton",onClick:e=>$(a)},null,8,["onClick"])):(0,n.createCommentVNode)("",!0)]))])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:"列表",class:(0,n.normalizeClass)({rowContent:"list"===s.viewType,rowContentCard:"card"===s.viewType})},[e.showLeft||(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createElementBlock)("div",b,[(0,n.unref)(I)?((0,n.openBlock)(),(0,n.createBlock)(i,{key:1,onClick:e=>R(r,a),name:r},null,8,["onClick","name"])):(0,n.renderSlot)(t.$slots,"leftArea",{key:0,data:{item:r,index:a}},(()=>[(0,n.createElementVNode)("img",{src:Z(e.leftIconUrl),style:(0,n.normalizeStyle)("height:"+e.leftIconSize[1]+";width:"+e.leftIconSize[0]),onClick:e=>t.$emit("leftIconClick",r),onMousedown:e=>C(r),onMouseup:e=>E(r),onTouchstart:e=>C(r),onTouchend:e=>E(r)},null,44,D)]))])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(_,{name:a,style:{width:"100%"},onClick:e=>{console.log("van-collapse-itemccc"),R(r,a)}},{title:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,((t,r)=>((0,n.openBlock)(),(0,n.createBlock)(l,null,{default:(0,n.withCtx)((()=>[(0,n.unref)(f).includes(t.ITEM_CODE)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createVNode)(u,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+t.HEAD_TEXTCOLOR),span:"8"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(t.COL_CAPTION)+":",1)])),_:2},1032,["style"]),(0,n.createVNode)(u,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+t.CELL_TEXTCOLOR),offset:"0",span:"16"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.data[a][t.ITEM_CODE]),1)])),_:2},1032,["style"])],64)):(0,n.createCommentVNode)("",!0)])),_:2},1024)))),256))])])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{class:"mainContent",onClick:e=>{t.$emit("mainClick",r),R(r,a)}},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,((t,r)=>((0,n.openBlock)(),(0,n.createBlock)(l,null,{default:(0,n.withCtx)((()=>[(0,n.unref)(f).includes(t.ITEM_CODE)?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createVNode)(u,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+t.HEAD_TEXTCOLOR),span:"8"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(t.COL_CAPTION)+":",1)])),_:2},1032,["style"]),(0,n.createVNode)(u,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+t.CELL_TEXTCOLOR),offset:"0",span:"16"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.data[a][t.ITEM_CODE]),1)])),_:2},1032,["style"])],64))])),_:2},1024)))),256))],8,T)])),_:2},1032,["name","onClick"]),e.showRight?((0,n.openBlock)(),(0,n.createElementBlock)("div",S,[(0,n.renderSlot)(t.$slots,"rightArea",{data:{item:r,index:a}},(()=>[(0,n.createElementVNode)("img",{class:"rightIcon",src:Z(e.rightIconUrl),style:(0,n.normalizeStyle)("height:"+e.rightIconSize[1]+";width:"+e.rightIconSize[0]),onClick:e=>t.$emit("rightIconClick",r),onMousedown:e=>j(r),onMouseup:e=>O(r),onTouchstart:e=>j(r),onTouchend:e=>O(r)},null,44,A)]))])):(0,n.createCommentVNode)("",!0)],2)])),_:2},1024)],10,Y)))),256))])),_:3},8,["modelValue"])])),_:3},8,["modelValue"])])),_:3},8,["loading","finished"])):(0,n.createCommentVNode)("",!0),0===m.value.length||0===e.data.length?((0,n.openBlock)(),(0,n.createBlock)(p,{key:2})):(0,n.createCommentVNode)("",!0)])),_:3},8,["modelValue","disabled"])],64)}}}),C=(0,h.Z)(x,[["__scopeId","data-v-8f90c770"]]),E=C,j=e=>(e.install=t=>{const n=e.name||e.__name;t.component(n,e)},e),O=j(E),H=O;var N=r(381),P=r.n(N);const I=(0,n.defineComponent)({__name:"MobileLookUp",props:{data:{type:String},value:{type:String},title:{type:String,default:""},codeSet:{type:o.EI.EiBlock},valueCol:{type:String},displayCol:{type:String},showSearch:{type:Boolean,default:!0},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input","cancel"],setup(e,{expose:t,emit:r}){const a=e,o=r;t({}),(0,n.watch)((()=>a.data),(()=>{if(a.codeSet){for(let e=0;e<a.codeSet.data.length;e++)if(a.codeSet.data[e][l.value]===a.data)return s.value=Object.assign({},a.codeSet.data[e]),void(u.value=e);s.value[l.text]="",s.value[l.value]=""}o("input",s.value[l.value])}));const s=(0,n.ref)({}),i=(0,n.ref)(!1),u=(0,n.ref)(0);var l={text:"CODE_DESC_1_CONTENT",value:"CODE"};const d=(0,n.ref)([]),c=(0,n.ref)([]);(0,n.watch)((()=>a.valueCol),(()=>{""!==a.displayCol.trim()&&""!==a.valueCol.trim()&&(l.text=a.displayCol,l.value=a.valueCol)}),{immediate:!0,deep:!0}),(0,n.watch)((()=>a.codeSet),(()=>{if(d.value=[],a.codeSet)for(let e=0;e<a.codeSet.data.length;e++){const t=a.codeSet.data[e];!1!==t.showFlag&&d.value.push(t)}c.value=d.value}),{immediate:!0,deep:!0});const m=e=>{e&&(s.value=e,o("input",s.value[l.value])),i.value=!1,y()},h=e=>{},f=()=>{s.value[l.text]="",s.value[l.value]="",console.log(s.value),i.value=!1,o("input",s.value[l.value]),y()},_=(0,n.ref)(""),p=e=>{console.log("keyword",e),console.log("handleSearch1",d);const t=[];c.value.forEach((n=>{n[l.text].indexOf(e)>-1&&t.push(n)})),d.value=t},y=()=>{_.value="",d.value=c.value};return(0,n.onMounted)((()=>{})),(t,r)=>{const a=(0,n.resolveComponent)("van-field"),o=(0,n.resolveComponent)("van-picker"),c=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(a,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:s.value[(0,n.unref)(l).text],"onUpdate:modelValue":r[0]||(r[0]=e=>s.value[(0,n.unref)(l).text]=e),"is-link":!e.readOnly,placeholder:"点击选择",onClick:r[1]||(r[1]=()=>{e.readOnly||(i.value=!0)}),readonly:!0},null,8,["class","modelValue","is-link"]),(0,n.createVNode)(c,{show:i.value,"onUpdate:show":r[4]||(r[4]=e=>i.value=e),round:"",position:"bottom"},{default:(0,n.withCtx)((()=>[e.showSearch?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,placeholder:"查询选项",modelValue:_.value,"onUpdate:modelValue":[r[2]||(r[2]=e=>_.value=e),r[3]||(r[3]=e=>p(_.value))],"left-icon":"search",autocomplete:"off",clearable:!0},null,8,["modelValue"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(o,{columns:d.value,onCancel:f,onConfirm:m,onChange:h,"default-index":u.value,"cancel-button-text":"清空","columns-field-names":(0,n.unref)(l)},null,8,["columns","default-index","columns-field-names"])])),_:1},8,["show"])],64)}}}),R=I,F=R,B=(0,n.defineComponent)({__name:"MobileSpin",props:{data:{type:Number},scale:{type:String},checkFlag:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,o=r;var s;function i(e){var t;"-1"===a.scale?"."===e.data&&(e.target.value=e.target.value.replace(".","")):t=a.scale;let r=new RegExp(`^(\\-)*(\\d+)\\.(\\d{0,${t}}).*$`),i="$1$2.$3";e.target.value=e.target.value.replace(r,i),"-"===e.data&&(isNaN(e.target.value)||(e.target.value=-e.target.value)),(0,n.nextTick)((()=>{s=Number(e.target.value),o("input",s)}))}return t({}),(0,n.watch)((()=>a.data),(()=>{s=a.data})),(0,n.onMounted)((()=>{s=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createBlock)(a,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(s),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(s)?s.value=e:s=e),type:"number",onInput:i,placeholder:"请输入",autocomplete:"off",readonly:e.readOnly},null,8,["class","modelValue","readonly"])}}}),W=B,V=W,z=(0,n.defineComponent)({__name:"MobileText",props:{data:{type:String},height:{type:Number,default:1},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,o=r;t({});var s=(0,n.ref)("");function i(){o("input",s.value)}return(0,n.watch)((()=>a.data),(()=>{s.value=a.data})),(0,n.onMounted)((()=>{s.value=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return e.height>1?((0,n.openBlock)(),(0,n.createBlock)(a,{key:0,class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(s),"onUpdate:modelValue":[r[0]||(r[0]=e=>(0,n.isRef)(s)?s.value=e:s=e),i],type:"textarea",autocomplete:"off",placeholder:"请输入",rows:e.height,clearable:!0,spellcheck:"false",readonly:e.readOnly},null,8,["class","modelValue","rows","readonly"])):((0,n.openBlock)(),(0,n.createBlock)(a,{key:1,class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(s),"onUpdate:modelValue":[r[1]||(r[1]=e=>(0,n.isRef)(s)?s.value=e:s=e),i],placeholder:"请输入",autocomplete:"off",readonly:e.readOnly,clearable:!0,spellcheck:"false"},null,8,["class","modelValue","readonly"]))}}}),U=z,q=U,J=(0,n.defineComponent)({__name:"DateTimePicker",props:{showPicker:{type:Boolean},type:{type:String,default:"yyyy-MM-dd HH:mm:ss"},title:{type:String,default:" "}},emits:["confirm","cancel","changeValue"],setup(e,{emit:t}){const r=(0,n.reactive)({isPicker:!1,columns:[],Mdays:"",Dindex:null,selectedValues:[]}),a=(0,n.ref)();var o="";const s=e,i=t;function u(){r.columns=[];let e=new Date,t=e.getFullYear(),n=e.getMonth(),a=e.getDate(),i=e.getHours(),u=e.getMinutes(),l=e.getSeconds(),c=[],m=(new Date).getFullYear();for(let r=m-20;r<m+20;r++)c.push(r.toString());t.toString();const h=n+1<10?`0${n+1}`:(n+1).toString(),f=a<10?`0${a}`:a.toString(),_=i<10?`0${i}`:i.toString(),p=u<10?`0${u}`:u.toString(),y=l<10?`0${l}`:l.toString();let g,M=[];M=Object.keys(Array.apply(null,{length:13})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),M.splice(0,1),g=o.length>=6?d(o.substring(0,4),o.substring(4,6)):d(t.toString(),n.toString());let v=[];v=Object.keys(Array.apply(null,{length:g+1})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),v.splice(0,1);let L=[];L=Object.keys(Array.apply(null,{length:24})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()}));let w=[];w=Object.keys(Array.apply(null,{length:60})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()}));let k=[];k=Object.keys(Array.apply(null,{length:60})).map((function(e){return+e+1<=10?"0"+e:+e+1==11?(+e).toString():(+e+0).toString()})),r.columns.push({values:c,defaultIndex:c.indexOf(t.toString())}),r.columns.push({values:M,defaultIndex:M.indexOf(h)}),r.columns.push({values:v,defaultIndex:v.indexOf(f)}),r.columns.push({values:L,defaultIndex:L.indexOf(_)}),r.columns.push({values:w,defaultIndex:w.indexOf(p)}),r.columns.push({values:k,defaultIndex:k.indexOf(y)}),"yyyy-mm-dd"===s.type.trim().toLowerCase()&&r.columns.splice(3,3),console.log("columns",r.columns)}function l(){const e=a.value.getValues();o="",e.forEach((e=>{o+=e})),u()}function d(e,t){let n=new Date(e,t,0);return n.getDate()}function c(){i("changeValue")}function m(){r.isPicker=!1,i("cancel")}function h(){const e=a.value.getValues();var t="";e.forEach((e=>{t+=e})),i("confirm",t)}return(0,n.watch)((()=>r.isPicker),(e=>{r.columns=[],u()})),(0,n.watch)((()=>s.showPicker),(e=>{r.isPicker=e})),(e,t)=>{const o=(0,n.resolveComponent)("van-picker"),i=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createBlock)(i,{show:r.isPicker,"onUpdate:show":t[1]||(t[1]=e=>r.isPicker=e),position:"bottom",round:"",onClose:c},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(o,{ref_key:"picker",ref:a,columns:r.columns,onChange:l,onCancel:m,onConfirm:h,modelValue:r.selectedValues,"onUpdate:modelValue":t[0]||(t[0]=e=>r.selectedValues=e),"cancel-button-text":"清空",title:s.title},null,8,["columns","modelValue","title"])])),_:1},8,["show"])}}}),G=J,$=G,K=(0,n.defineComponent)({__name:"MobileDate",props:{data:{type:String},type:{type:String},title:{type:String},checkFlag:{default:!1},readOnly:{type:Boolean,default:!1}},emits:["input"],setup(e,{expose:t,emit:r}){const a=e,o=r;t({});var s="";const i=(0,n.ref)(!1);function u(e){return 14===e.length?P()(e,"YYYYMMDDHHmmss").format("YYYY-MM-DD HH:mm:ss"):8===e.length?P()(e,"YYYYMMDD").format("YYYY-MM-DD"):e}const l=e=>{i.value=!1,s=e,o("input",s)},d=e=>{i.value=!1,s="",o("input",s)};return(0,n.watch)((()=>a.data),(()=>{s=a.data})),(0,n.onMounted)((()=>{})),(t,r)=>{const o=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(o,{class:(0,n.normalizeClass)({vanField:!0,checkError:e.checkFlag}),modelValue:(0,n.unref)(s),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(s)?s.value=e:s=e),"is-link":!e.readOnly,name:"datetimePicker",formatter:u,placeholder:"点击选择时间",onClick:r[1]||(r[1]=()=>{e.readOnly||(i.value=!0)}),readonly:!0,autocomplete:"off"},null,8,["class","modelValue","is-link"]),(0,n.createVNode)($,{onChangeValue:r[2]||(r[2]=e=>i.value=!1),showPicker:i.value,type:a.type,onConfirm:l,title:a.title,onCancel:d},null,8,["showPicker","type","title"])],64)}}}),Z=K,X=Z,Q=(0,n.defineComponent)({__name:"MobileButtonEdit",props:{data:{type:String},readOnly:{type:Boolean,default:!1}},emits:["input","btnClick"],setup(e,{expose:t,emit:r}){const a=e,o=r;var s;function i(){o("input",s)}function u(){a.readOnly||o("btnClick")}return t({}),(0,n.watch)((()=>a.data),(()=>{s=a.data})),(0,n.onMounted)((()=>{s=a.data})),(t,r)=>{const a=(0,n.resolveComponent)("van-field");return(0,n.openBlock)(),(0,n.createBlock)(a,{class:"vanField",modelValue:(0,n.unref)(s),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(s)?s.value=e:s=e),"is-link":!e.readOnly,placeholder:"点击选择",onClick:u,readonly:!0,onInput:i,autocomplete:"false"},null,8,["modelValue","is-link"])}}}),ee=Q,te=ee,ne={key:0,class:"mainTitle"},re={key:1},ae={class:"rowContent"},oe={class:"mainContent"},se={key:0,class:"required"},ie=(0,n.defineComponent)({__name:"ermForm",props:{maxHeight:{type:String,default:"auto"},initSvc:{type:String,require:!0},formName:{type:String,require:!0},functionId:{type:String,require:!0},mainTitle:{type:String,default:!1}},emits:["dataChange","cellValueChange","btnClick"],setup(e,{expose:t,emit:r}){const a=e,s=r;t({getGridData:f,setGridData:_,addRow:h,checkRequireInput:w,resetData:k,getGridCellData:p,mergeDataRow:Y,getTableName:b});a.maxHeight&&a.maxHeight;const i=(0,n.ref)([]);var u=(0,n.reactive)([]);const l=(0,n.ref)({}),d=(0,n.computed)((()=>JSON.parse(JSON.stringify(u))));(0,n.watch)((()=>d.value),((e,t)=>{if(0!==Object.keys(e[0]).length&&s("dataChange",e),null!==l.value&&void 0!==l.value&&0!==Object.keys(l.value).length&&(v(),e.length===t.length))for(let n=0;n<u.length;n++)for(let r=0;r<i.value.length;r++){const a=i.value[r].ITEM_CODE;e[n][a]!==t[n][a]&&void 0!==t[n][a]&&(L.length>0&&(L[n][a]=!1),s("cellValueChange",{ITEM_CODE:a,ROW_NO:n,OLD_VALUE:t[n][a],NEW_VALUE:e[n][a]}))}}),{deep:!0});var c={};async function m(){console.log("erm初始化---formName ",a.formName),console.log("erm初始化---functionId ",a.functionId),console.log("erm初始化---initSvc ",a.initSvc),c={};const e=new o.EI.EIInfo,t=e.addBlock(new o.EI.EiBlock,"");t.pushData({DEFAULT_COMPANY_CODE:"",FORM_NAME:a.formName,TYPE_CODE:"Web",FUNCTION_IDS:a.functionId,DATASET_NAME:"#",TABLE_NAMES:""},!0),console.log("eiblk",t),await o.EIManager.callService("",a.initSvc,e).then((e=>{if(0!==e.sys.status)return void console.log(e.sys.msg);c=e.blocks,console.log("ret",c),l.value=c;var t=c["TSI00GRIDCOLUMN"].data;const n=c["TSI00GRIDVIEW"].data,r=c["TSI00DATATABLE"].data,a=n[0].DATASET_NAME,o=n[0].TABLE_NAME;t.forEach((e=>{if(""!==e.HEAD_TEXTCOLOR.trim()||"16777215"!==e.HEAD_TEXTCOLOR.trim()){var t=e.HEAD_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.HEAD_TEXTCOLOR=t}else e.HEAD_TEXTCOLOR="#000000";if(""!==e.CELL_TEXTCOLOR.trim()||"16777215"!==e.CELL_TEXTCOLOR.trim()){t=e.CELL_TEXTCOLOR.trim();t="#"+(Number(t)+16777216).toString(16).padStart(6,"0"),e.CELL_TEXTCOLOR=t}else e.CELL_TEXTCOLOR="#000000";e.DATASET_NAME=a,e.TABLE_NAME=o,e.DATA_TYPE="",r.forEach((t=>{e.FIELD_NAME===t.COL_NAME&&(e.DATA_TYPE=t.DATA_TYPE)})),"7"===e.COLUMN_EDIT&&(e.CODE_TABLE_NAME=e.SVC_NAME,"5"===e.ORIGIN_CODE&&(e.CODE_TABLE_NAME="SI->"+e.CODE_TABLE_NAME),"6"===e.ORIGIN_CODE&&(e.CODE_TABLE_NAME="EP->"+e.CODE_TABLE_NAME),"4"===e.ORIGIN_CODE&&(e.CODE_TABLE_NAME=e.FORM_NAME+e.CODE_TABLE_NAME),""!==e.DISPLAY_MEMBER.trim()&&""!==e.VALUE_MEMBER.trim()||(e.VALUE_MEMBER=l.value[e.CODE_TABLE_NAME].columns[0].name,e.DISPLAY_MEMBER=l.value[e.CODE_TABLE_NAME].columns[1].name)),console.log("DISPLAY_MEMBER",e.DISPLAY_MEMBER),console.log("VALUE_MEMBER",e.VALUE_MEMBER)})),i.value=t}))}function h(){u.push({}),(0,n.nextTick)((()=>{setTimeout((()=>{y(u[u.length-1]),M()}),500)}))}function f(){return u}function _(e,t,n){u[e][t]=n}function p(e,t){return u[e][t]}function y(e){i.value.forEach((t=>{e[t.ITEM_CODE]=g(t.DEFAULT_VALUE.trim(),t.DATA_TYPE)}))}function g(e,t){var n=e.trim();e.trim().indexOf("yyyy")>0&&(n=e.trim().replace("yyyy","YYYY")),e.trim().indexOf("MMdd")>0&&(n=e.trim().replace("dd","DD"));var r=new Date;if("$USER_ID$"===n)return(0,o.getCurrentUser)().userId;if("$COMPANY_CODE$"===n)return(0,o.getCurrentEnvironment)().companyCode;if("$USER_NAME$"===n)return(0,o.getCurrentUser)().userName;if(n.toUpperCase().indexOf("YYYY")>=0&&n.toUpperCase().indexOf(",ADD")<0){var a=P()(r).format(n);return a}if(n.toUpperCase().indexOf(",ADDDAYS")>0){var s=n.toUpperCase().indexOf(",ADDDAYS"),i=n.substring(0,s),u=n.substring(n.indexOf("(")+1,n.indexOf(")")),l=g(i),d="YYYYMMDDHHmmss";return 14===l.length?d="YYYYMMDDHHmmss":8===l.length&&(d="YYYYMMdd"),P()(l,d).add(Number(u),"days").format("YYYYMMDDHHmmss")}if(n.toUpperCase().indexOf(",ADDMONTHS")>0){s=n.toUpperCase().indexOf(",ADDMONTHS"),i=n.substring(0,s),u=n.substring(n.indexOf("(")+1,n.indexOf(")")),l=g(i),d="YYYYMMDDHHmmss";return 14===l.length?d="YYYYMMDDHHmmss":8===l.length&&(d="YYYYMMdd"),P()(l,d).add(Number(u),"M").format("YYYYMMDDHHmmss")}return"2"===t?Number(e):e}function M(){var e=document.getElementsByClassName("colDesc");for(let t=0;t<e.length;t++){const n=e[t];n.innerHTML=n.innerHTML.replaceAll("<br>","<br>")}}function v(){i.value.forEach((e=>{if(""!==e.FORM_FILTER.trim()&&""!==e.FATHER_FIELD.trim()){var t=e.FORM_FILTER.substring(0,e.FORM_FILTER.indexOf("=")).trim();console.log(t);for(let n=0;n<l.value[e.CODE_TABLE_NAME].data.length;n++){const r=l.value[e.CODE_TABLE_NAME].data[n];l.value[e.CODE_TABLE_NAME].data[n].showFlag=!0,""!==u[0][e.FATHER_FIELD]&&" "!==u[0][e.FATHER_FIELD]&&r[t]!==u[0][e.FATHER_FIELD]?r.showFlag=!1:r.showFlag=!0}}}))}const L=(0,n.reactive)([]);function w(){L.splice(0,L.length),setTimeout((()=>{for(let e=0;e<u.length;e++){L.push({});for(let t=0;t<i.value.length;t++)L[e][i.value[t].ITEM_CODE]=!1}u.forEach(((e,t)=>{i.value.forEach((n=>{"1"===n.ITEM_MUST_FLAG&&("2"===n.DATA_TYPE?0===Number(e[n.ITEM_CODE])&&(L[t][n.ITEM_CODE]=!0):""!==e[n.ITEM_CODE]&&" "!==e[n.ITEM_CODE]||(L[t][n.ITEM_CODE]=!0))}))}))}),300);let e=!1;return u.forEach(((t,n)=>{i.value.forEach((n=>{"1"===n.ITEM_MUST_FLAG&&("2"===n.DATA_TYPE?0===Number(t[n.ITEM_CODE])&&(e=!0):""!==t[n.ITEM_CODE]&&" "!==t[n.ITEM_CODE]||(e=!0))}))})),!e}function k(){u.forEach((e=>{y(e)}))}function Y(e,t){if(u.length<=e)console.log("data中不存在第"+e+"行数据");else for(const n in t)t.hasOwnProperty(n)&&(console.log(`属性名: ${n}, 属性值: ${t[n]}`),u[e].hasOwnProperty(n)&&(u[e][n]=t[n]))}function b(){return c["TSI00GRIDVIEW"].data[0].TABLE_NAME}return(0,n.onMounted)((()=>{m(),h()})),(0,n.watch)((()=>i.value),(()=>{(0,n.nextTick)((()=>{M(),setTimeout((()=>{console.log("codesets--------",l.value)}),1e3)}))}),{deep:!0}),(t,r)=>{const a=(0,n.resolveComponent)("van-col"),o=(0,n.resolveComponent)("van-row"),d=(0,n.resolveComponent)("NoData");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[e.mainTitle&&""!==e.mainTitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",ne,(0,n.toDisplayString)(e.mainTitle),1)):(0,n.createCommentVNode)("",!0),i.value.length>0&&(0,n.unref)(u).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",re,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)((0,n.unref)(u),((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",ae,[(0,n.createElementVNode)("div",oe,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,((e,r)=>((0,n.openBlock)(),(0,n.createBlock)(o,{justify:"center"},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(a,{class:"singleRow colDesc",style:(0,n.normalizeStyle)("color:"+e.HEAD_TEXTCOLOR),span:"6"},{default:(0,n.withCtx)((()=>["1"===e.ITEM_MUST_FLAG?((0,n.openBlock)(),(0,n.createElementBlock)("div",se,"*")):(0,n.createCommentVNode)("",!0),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(e.COL_CAPTION)+": ",1)])),_:2},1032,["style"]),(0,n.createVNode)(a,{class:"singleRow colData",style:(0,n.normalizeStyle)("color:"+e.CELL_TEXTCOLOR),span:"16"},{default:(0,n.withCtx)((()=>["0"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(q,{key:0,height:e.ROWHIGH,data:(0,n.unref)(u)[t][e.ITEM_CODE],onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},checkFlag:L.length>0&&L[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["height","data","onInput","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"1"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(te,{key:1,data:(0,n.unref)(u)[t][e.ITEM_CODE],onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},onBtnClick:n=>s("btnClick",{ITEM_CODE:e.ITEM_CODE,INDEX:t}),checkFlag:L.length>0&&L[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","onInput","onBtnClick","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"9"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(V,{key:2,data:(0,n.unref)(u)[t][e.ITEM_CODE],scale:e.DATA_ACCU,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},checkFlag:L.length>0&&L[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","scale","onInput","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"5"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(X,{key:3,data:(0,n.unref)(u)[t][e.ITEM_CODE],type:e.FORMAT_STRING,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},title:e.COL_CAPTION,checkFlag:L.length>0&&L[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","type","onInput","title","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0),"7"===e.COLUMN_EDIT?((0,n.openBlock)(),(0,n.createBlock)(F,{key:4,data:(0,n.unref)(u)[t][e.ITEM_CODE],"code-set":l.value[e.CODE_TABLE_NAME],type:e.FORMAT_STRING,onInput:r=>{(0,n.unref)(u)[t][e.ITEM_CODE]=r},title:e.COL_CAPTION,"value-col":e.VALUE_MEMBER,"display-col":e.DISPLAY_MEMBER,"show-search":!0,checkFlag:L.length>0&&L[t][e.ITEM_CODE],readOnly:"0"!==e.READ_ONLY},null,8,["data","code-set","type","onInput","title","value-col","display-col","checkFlag","readOnly"])):(0,n.createCommentVNode)("",!0)])),_:2},1032,["style"])])),_:2},1024)))),256))])])))),256))])):(0,n.createCommentVNode)("",!0),0===i.value.length||0===(0,n.unref)(u).length?((0,n.openBlock)(),(0,n.createBlock)(d,{key:2})):(0,n.createCommentVNode)("",!0)],64)}}}),ue=(0,h.Z)(ie,[["__scopeId","data-v-36f92798"]]),le=ue,de=j(le),ce=de;Object.assign;const me=()=>{},he=Array.isArray;function fe(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _e(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!pe(e[n],t[n]))return!1;return!0}function pe(e,t){return he(e)?ye(e,t):he(t)?ye(t,e):e===t}function ye(e,t){return he(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var ge,Me;(function(e){e["pop"]="pop",e["push"]="push"})(ge||(ge={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(Me||(Me={}));new Map;Symbol("");var ve;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(ve||(ve={}));Symbol(""),Symbol("");const Le=Symbol(""),we=Symbol("");Symbol("");function ke(e){const t=(0,n.inject)(Le),r=(0,n.inject)(we),a=(0,n.computed)((()=>t.resolve((0,n.unref)(e.to)))),o=(0,n.computed)((()=>{const{matched:e}=a.value,{length:t}=e,n=e[t-1],o=r.matched;if(!n||!o.length)return-1;const s=o.findIndex(fe.bind(null,n));if(s>-1)return s;const i=De(e[t-2]);return t>1&&De(n)===i&&o[o.length-1].path!==i?o.findIndex(fe.bind(null,e[t-2])):s})),s=(0,n.computed)((()=>o.value>-1&&be(r.params,a.value.params))),i=(0,n.computed)((()=>o.value>-1&&o.value===r.matched.length-1&&_e(r.params,a.value.params)));function u(r={}){return Ye(r)?t[(0,n.unref)(e.replace)?"replace":"push"]((0,n.unref)(e.to)).catch(me):Promise.resolve()}return{route:a,href:(0,n.computed)((()=>a.value.href)),isActive:s,isExactActive:i,navigate:u}}Boolean,Boolean;function Ye(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function be(e,t){for(const n in t){const r=t[n],a=e[n];if("string"===typeof r){if(r!==a)return!1}else if(!he(a)||a.length!==r.length||r.some(((e,t)=>e!==a[t])))return!1}return!0}function De(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Te=(e,t,n)=>null!=e?e:null!=t?t:n;function Se(){return(0,n.inject)(Le)}const Ae=e=>void 0!==e&&null!==e,xe=e=>"function"===typeof e,Ce=e=>null!==e&&"object"===typeof e,Ee=e=>Ce(e)&&xe(e.then)&&xe(e.catch);const je=e=>"number"===typeof e||/^\d+(\.\d+)?$/.test(e),Oe=()=>!!Pe&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function He(){}const Ne=Object.assign,Pe="undefined"!==typeof window;function Ie(e,t){const n=t.split(".");let r=e;return n.forEach((e=>{var t;r=Ce(r)&&null!=(t=r[e])?t:""})),r}function Re(e,t,n){return t.reduce(((t,r)=>(n&&void 0===e[r]||(t[r]=e[r]),t)),{})}function Fe(e){if(Ae(e))return je(e)?`${e}px`:String(e)}function Be(e){if(Ae(e)){if(Array.isArray(e))return{width:Fe(e[0]),height:Fe(e[1])};const t=Fe(e);return{width:t,height:t}}}function We(e){const t={};return void 0!==e&&(t.zIndex=+e),t}const Ve=/-(\w)/g,ze=e=>e.replace(Ve,((e,t)=>t.toUpperCase())),Ue=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"");const qe=(e,t,n)=>Math.min(Math.max(e,t),n);function Je(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(ze(`-${n}`),e))},e}function Ge(e){const t=(0,n.getCurrentInstance)();t&&Ne(t.proxy,e)}function $e(){const e=(0,n.reactive)({show:!1}),t=t=>{e.show=t},r=n=>{Ne(e,n,{transitionAppear:!0}),t(!0)},a=()=>t(!1);return Ge({open:r,close:a,toggle:t}),{open:r,close:a,state:e,toggle:t}}function Ke(e){const t=(0,n.createApp)(e),r=document.createElement("div");return document.body.appendChild(r),{instance:t.mount(r),unmount(){t.unmount(),document.body.removeChild(r)}}}const{hasOwnProperty:Ze}=Object.prototype;function Xe(e,t,n){const r=t[n];Ae(r)&&(Ze.call(e,n)&&Ce(r)?e[n]=Qe(Object(e[n]),r):e[n]=r)}function Qe(e,t){return Object.keys(t).forEach((n=>{Xe(e,t,n)})),e}var et={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const tt=(0,n.ref)("zh-CN"),nt=(0,n.reactive)({"zh-CN":et}),rt={messages(){return nt[tt.value]},use(e,t){tt.value=e,this.add({[e]:t})},add(e={}){Qe(nt,e)}};var at=rt;function ot(e){const t=ze(e)+".";return(e,...n)=>{const r=at.messages(),a=Ie(r,t+e)||Ie(r,e);return xe(a)?a(...n):a}}function st(e,t){return t?"string"===typeof t?` ${e}--${t}`:Array.isArray(t)?t.reduce(((t,n)=>t+st(e,n)),""):Object.keys(t).reduce(((n,r)=>n+(t[r]?st(e,r):"")),""):""}function it(e){return(t,n)=>(t&&"string"!==typeof t&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${st(t,n)}`)}function ut(e){const t=`van-${e}`;return[t,it(t),ot(t)]}const lt=null,dt=[Number,String],ct={type:Boolean,default:!0},mt=e=>({type:e,required:!0}),ht=()=>({type:Array,default:()=>[]}),ft=e=>({type:Number,default:e}),_t=e=>({type:dt,default:e}),pt=e=>({type:String,default:e});let yt=0;function gt(e){e?(yt||document.body.classList.add("van-toast--unclickable"),yt++):yt&&(yt--,yt||document.body.classList.remove("van-toast--unclickable"))}const[Mt,vt]=ut("badge"),Lt={dot:Boolean,max:dt,tag:pt("div"),color:String,offset:Array,content:dt,showZero:ct,position:pt("top-right")};var wt=(0,n.defineComponent)({name:Mt,props:Lt,setup(e,{slots:t}){const r=()=>{if(t.content)return!0;const{content:n,showZero:r}=e;return Ae(n)&&""!==n&&(r||0!==n&&"0"!==n)},a=()=>{const{dot:n,max:a,content:o}=e;if(!n&&r())return t.content?t.content():Ae(a)&&je(o)&&+o>a?`${a}+`:o},o=(0,n.computed)((()=>{const n={background:e.color};if(e.offset){const[r,a]=e.offset;t.default?(n.top=Fe(a),n.right="number"===typeof r?Fe(-r):r.startsWith("-")?r.replace("-",""):`-${r}`):(n.marginTop=Fe(a),n.marginLeft=Fe(r))}return n})),s=()=>{if(r()||e.dot)return(0,n.createVNode)("div",{class:vt([e.position,{dot:e.dot,fixed:!!t.default}]),style:o.value},[a()])};return()=>{if(t.default){const{tag:r}=e;return(0,n.createVNode)(r,{class:vt("wrapper")},{default:()=>[t.default(),s()]})}return s()}}});const kt=Je(wt);let Yt=2e3;const bt=()=>++Yt,Dt=e=>{Yt=e},[Tt,St]=ut("config-provider"),At=Symbol(Tt),xt={tag:pt("div"),zIndex:Number,themeVars:Object,iconPrefix:String};function Ct(e){const t={};return Object.keys(e).forEach((n=>{t[`--van-${Ue(n)}`]=e[n]})),t}(0,n.defineComponent)({name:Tt,props:xt,setup(e,{slots:t}){const r=(0,n.computed)((()=>{if(e.themeVars)return Ct(e.themeVars)}));return(0,n.provide)(At,e),(0,n.watchEffect)((()=>{void 0!==e.zIndex&&Dt(e.zIndex)})),()=>(0,n.createVNode)(e.tag,{class:St(),style:r.value},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}});const[Et,jt]=ut("icon"),Ot=e=>null==e?void 0:e.includes("/"),Ht={dot:Boolean,tag:pt("i"),name:String,size:dt,badge:dt,color:String,badgeProps:Object,classPrefix:String};var Nt=(0,n.defineComponent)({name:Et,props:Ht,setup(e,{slots:t}){const r=(0,n.inject)(At,null),a=(0,n.computed)((()=>e.classPrefix||(null==r?void 0:r.iconPrefix)||jt()));return()=>{const{tag:r,dot:o,name:s,size:i,badge:u,color:l}=e,d=Ot(s);return(0,n.createVNode)(kt,(0,n.mergeProps)({dot:o,tag:r,class:[a.value,d?"":`${a.value}-${s}`],style:{color:l,fontSize:Fe(i)},content:u},e.badgeProps),{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t),d&&(0,n.createVNode)("img",{class:jt("image"),src:s},null)]}})}}});const Pt=Je(Nt);const It={show:Boolean,zIndex:dt,overlay:ct,duration:dt,teleport:[String,Object],lockScroll:ct,lazyRender:ct,beforeClose:Function,overlayStyle:Object,overlayClass:lt,transitionAppear:Boolean,closeOnClickOverlay:ct};Object.keys(It);function Rt(e,{args:t=[],done:n,canceled:r}){if(e){const a=e.apply(null,t);Ee(a)?a.then((e=>{e?n():r&&r()})).catch(He):a?n():r&&r()}else n()}const Ft="van-hairline",Bt=`${Ft}--bottom`,Wt=`${Ft}--surround`,Vt="van-haptics-feedback";Symbol("van-form");var zt="undefined"!==typeof window;function Ut(e){return zt?requestAnimationFrame(e):-1}function qt(e){Ut((()=>Ut(e)))}var Jt=e=>e===window,Gt=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),$t=e=>{const t=(0,n.unref)(e);if(Jt(t)){const e=t.innerWidth,n=t.innerHeight;return Gt(e,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():Gt(0,0)};function Kt(e){const t=(0,n.inject)(e,null);if(t){const e=(0,n.getCurrentInstance)(),{link:r,unlink:a,internalChildren:o}=t;r(e),(0,n.onUnmounted)((()=>a(e)));const s=(0,n.computed)((()=>o.indexOf(e)));return{parent:t,index:s}}return{parent:null,index:(0,n.ref)(-1)}}function Zt(e){const t=[],r=e=>{Array.isArray(e)&&e.forEach((e=>{var a;(0,n.isVNode)(e)&&(t.push(e),(null==(a=e.component)?void 0:a.subTree)&&(t.push(e.component.subTree),r(e.component.subTree.children)),e.children&&r(e.children))}))};return r(e),t}var Xt=(e,t)=>{const n=e.indexOf(t);return-1===n?e.findIndex((e=>void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key)):n};function Qt(e,t,n){const r=Zt(e.subTree.children);n.sort(((e,t)=>Xt(r,e.vnode)-Xt(r,t.vnode)));const a=n.map((e=>e.proxy));t.sort(((e,t)=>{const n=a.indexOf(e),r=a.indexOf(t);return n-r}))}function en(e){const t=(0,n.reactive)([]),r=(0,n.reactive)([]),a=(0,n.getCurrentInstance)(),o=o=>{const s=e=>{e.proxy&&(r.push(e),t.push(e.proxy),Qt(a,t,r))},i=e=>{const n=r.indexOf(e);t.splice(n,1),r.splice(n,1)};(0,n.provide)(e,Object.assign({link:s,unlink:i,children:t,internalChildren:r},o))};return{children:t,linkChildren:o}}var tn,nn;function rn(e){let t;(0,n.onMounted)((()=>{e(),(0,n.nextTick)((()=>{t=!0}))})),(0,n.onActivated)((()=>{t&&e()}))}function an(e,t,r={}){if(!zt)return;const{target:a=window,passive:o=!1,capture:s=!1}=r;let i,u=!1;const l=r=>{if(u)return;const a=(0,n.unref)(r);a&&!i&&(a.addEventListener(e,t,{capture:s,passive:o}),i=!0)},d=r=>{if(u)return;const a=(0,n.unref)(r);a&&i&&(a.removeEventListener(e,t,s),i=!1)};let c;return(0,n.onUnmounted)((()=>d(a))),(0,n.onDeactivated)((()=>d(a))),rn((()=>l(a))),(0,n.isRef)(a)&&(c=(0,n.watch)(a,((e,t)=>{d(t),l(e)}))),()=>{null==c||c(),d(a),u=!0}}function on(){if(!tn&&(tn=(0,n.ref)(0),nn=(0,n.ref)(0),zt)){const e=()=>{tn.value=window.innerWidth,nn.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:tn,height:nn}}var sn,un=/scroll|auto|overlay/i,ln=zt?window:void 0;function dn(e){const t=1;return"HTML"!==e.tagName&&"BODY"!==e.tagName&&e.nodeType===t}function cn(e,t=ln){let n=e;while(n&&n!==t&&dn(n)){const{overflowY:e}=window.getComputedStyle(n);if(un.test(e))return n;n=n.parentNode}return t}function mn(){if(!sn&&(sn=(0,n.ref)("visible"),zt)){const e=()=>{sn.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return sn}Symbol("van-field");function hn(e,t){return e>t?"horizontal":t>e?"vertical":""}function fn(){const e=(0,n.ref)(0),t=(0,n.ref)(0),r=(0,n.ref)(0),a=(0,n.ref)(0),o=(0,n.ref)(0),s=(0,n.ref)(0),i=(0,n.ref)(""),u=()=>"vertical"===i.value,l=()=>"horizontal"===i.value,d=()=>{r.value=0,a.value=0,o.value=0,s.value=0,i.value=""},c=n=>{d(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},m=n=>{const u=n.touches[0];r.value=(u.clientX<0?0:u.clientX)-e.value,a.value=u.clientY-t.value,o.value=Math.abs(r.value),s.value=Math.abs(a.value);const l=10;(!i.value||o.value<l&&s.value<l)&&(i.value=hn(o.value,s.value))};return{move:m,start:c,reset:d,startX:e,startY:t,deltaX:r,deltaY:a,offsetX:o,offsetY:s,direction:i,isVertical:u,isHorizontal:l}}Oe();const _n=e=>e.stopPropagation();function pn(e,t){("boolean"!==typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&_n(e)}function yn(e){const t=(0,n.unref)(e);if(!t)return!1;const r=window.getComputedStyle(t),a="none"===r.display,o=null===t.offsetParent&&"fixed"!==r.position;return a||o}const{width:gn,height:Mn}=on();let vn=0;const Ln="van-overflow-hidden";function wn(e,t){const r=fn(),a="01",o="10",s=t=>{r.move(t);const n=r.deltaY.value>0?o:a,s=cn(t.target,e.value),{scrollHeight:i,offsetHeight:u,scrollTop:l}=s;let d="11";0===l?d=u>=i?"00":"01":l+u>=i&&(d="10"),"11"===d||!r.isVertical()||parseInt(d,2)&parseInt(n,2)||pn(t,!0)},i=()=>{document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",s,{passive:!1}),vn||document.body.classList.add(Ln),vn++},u=()=>{vn&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",s),vn--,vn||document.body.classList.remove(Ln))},l=()=>t()&&i(),d=()=>t()&&u();rn(l),(0,n.onDeactivated)(d),(0,n.onBeforeUnmount)(d),(0,n.watch)(t,(e=>{e?i():u()}))}function kn(e){const t=(0,n.ref)(!1);return(0,n.watch)(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const Yn=Symbol();function bn(e){const t=(0,n.inject)(Yn,null);t&&(0,n.watch)(t,(t=>{t&&e()}))}const[Dn,Tn]=ut("overlay"),Sn={show:Boolean,zIndex:dt,duration:dt,className:lt,lockScroll:ct,lazyRender:ct,customStyle:Object};var An=(0,n.defineComponent)({name:Dn,props:Sn,setup(e,{slots:t}){const r=(0,n.ref)(),a=kn((()=>e.show||!e.lazyRender)),o=t=>{e.lockScroll&&pn(t,!0)},s=a((()=>{var a;const o=Ne(We(e.zIndex),e.customStyle);return Ae(e.duration)&&(o.animationDuration=`${e.duration}s`),(0,n.withDirectives)((0,n.createVNode)("div",{ref:r,style:o,class:[Tn(),e.className]},[null==(a=t.default)?void 0:a.call(t)]),[[n.vShow,e.show]])}));return an("touchmove",o,{target:r}),()=>(0,n.createVNode)(n.Transition,{name:"van-fade",appear:!0},{default:s})}});const xn=Je(An);const Cn=Ne({},It,{round:Boolean,position:pt("center"),closeIcon:pt("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:pt("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[En,jn]=ut("popup");var On=(0,n.defineComponent)({name:En,inheritAttrs:!1,props:Cn,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:r,slots:a}){let o,s;const i=(0,n.ref)(),u=(0,n.ref)(),l=kn((()=>e.show||!e.lazyRender)),d=(0,n.computed)((()=>{const t={zIndex:i.value};if(Ae(e.duration)){const n="center"===e.position?"animationDuration":"transitionDuration";t[n]=`${e.duration}s`}return t})),c=()=>{o||(o=!0,i.value=void 0!==e.zIndex?+e.zIndex:bt(),t("open"))},m=()=>{o&&Rt(e.beforeClose,{done(){o=!1,t("close"),t("update:show",!1)}})},h=n=>{t("click-overlay",n),e.closeOnClickOverlay&&m()},f=()=>{if(e.overlay)return(0,n.createVNode)(xn,{show:e.show,class:e.overlayClass,zIndex:i.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:h},{default:a["overlay-content"]})},_=e=>{t("click-close-icon",e),m()},p=()=>{if(e.closeable)return(0,n.createVNode)(Pt,{role:"button",tabindex:0,name:e.closeIcon,class:[jn("close-icon",e.closeIconPosition),Vt],classPrefix:e.iconPrefix,onClick:_},null)},y=()=>t("opened"),g=()=>t("closed"),M=e=>t("keydown",e),v=l((()=>{var t;const{round:o,position:s,safeAreaInsetTop:i,safeAreaInsetBottom:l}=e;return(0,n.withDirectives)((0,n.createVNode)("div",(0,n.mergeProps)({ref:u,style:d.value,role:"dialog",tabindex:0,class:[jn({round:o,[s]:s}),{"van-safe-area-top":i,"van-safe-area-bottom":l}],onKeydown:M},r),[null==(t=a.default)?void 0:t.call(a),p()]),[[n.vShow,e.show]])})),L=()=>{const{position:t,transition:r,transitionAppear:a}=e,o="center"===t?"van-fade":`van-popup-slide-${t}`;return(0,n.createVNode)(n.Transition,{name:r||o,appear:a,onAfterEnter:y,onAfterLeave:g},{default:v})};return(0,n.watch)((()=>e.show),(e=>{e&&!o&&(c(),0===r.tabindex&&(0,n.nextTick)((()=>{var e;null==(e=u.value)||e.focus()}))),!e&&o&&(o=!1,t("close"))})),Ge({popupRef:u}),wn(u,(()=>e.show&&e.lockScroll)),an("popstate",(()=>{e.closeOnPopstate&&(m(),s=!1)})),(0,n.onMounted)((()=>{e.show&&c()})),(0,n.onActivated)((()=>{s&&(t("update:show",!0),s=!1)})),(0,n.onDeactivated)((()=>{e.show&&e.teleport&&(m(),s=!0)})),(0,n.provide)(Yn,(()=>e.show)),()=>e.teleport?(0,n.createVNode)(n.Teleport,{to:e.teleport},{default:()=>[f(),L()]}):(0,n.createVNode)(n.Fragment,null,[f(),L()])}});const Hn=Je(On);const[Nn,Pn]=ut("loading"),In=Array(12).fill(null).map(((e,t)=>(0,n.createVNode)("i",{class:Pn("line",String(t+1))},null))),Rn=(0,n.createVNode)("svg",{class:Pn("circular"),viewBox:"25 25 50 50"},[(0,n.createVNode)("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),Fn={size:dt,type:pt("circular"),color:String,vertical:Boolean,textSize:dt,textColor:String};var Bn=(0,n.defineComponent)({name:Nn,props:Fn,setup(e,{slots:t}){const r=(0,n.computed)((()=>Ne({color:e.color},Be(e.size)))),a=()=>{var r;if(t.default)return(0,n.createVNode)("span",{class:Pn("text"),style:{fontSize:Fe(e.textSize),color:null!=(r=e.textColor)?r:e.color}},[t.default()])};return()=>{const{type:t,vertical:o}=e;return(0,n.createVNode)("div",{class:Pn([t,{vertical:o}]),"aria-live":"polite","aria-busy":!0},[(0,n.createVNode)("span",{class:Pn("spinner",t),style:r.value},["spinner"===t?In:Rn]),a()])}}});const Wn=Je(Bn);const[Vn,zn]=ut("toast"),Un=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],qn={icon:String,show:Boolean,type:pt("text"),overlay:Boolean,message:dt,iconSize:dt,duration:ft(2e3),position:pt("middle"),teleport:[String,Object],className:lt,iconPrefix:String,transition:pt("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:lt,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean};var Jn=(0,n.defineComponent)({name:Vn,props:qn,emits:["update:show"],setup(e,{emit:t}){let r,a=!1;const o=()=>{const t=e.show&&e.forbidClick;a!==t&&(a=t,gt(a))},s=e=>t("update:show",e),i=()=>{e.closeOnClick&&s(!1)},u=()=>clearTimeout(r),l=()=>{const{icon:t,type:r,iconSize:a,iconPrefix:o,loadingType:s}=e,i=t||"success"===r||"fail"===r;return i?(0,n.createVNode)(Pt,{name:t||r,size:a,class:zn("icon"),classPrefix:o},null):"loading"===r?(0,n.createVNode)(Wn,{class:zn("loading"),size:a,type:s},null):void 0},d=()=>{const{type:t,message:r}=e;if(Ae(r)&&""!==r)return"html"===t?(0,n.createVNode)("div",{key:0,class:zn("text"),innerHTML:String(r)},null):(0,n.createVNode)("div",{class:zn("text")},[r])};return(0,n.watch)((()=>[e.show,e.forbidClick]),o),(0,n.watch)((()=>[e.show,e.type,e.message,e.duration]),(()=>{u(),e.show&&e.duration>0&&(r=setTimeout((()=>{s(!1)}),e.duration))})),(0,n.onMounted)(o),(0,n.onUnmounted)(o),()=>(0,n.createVNode)(Hn,(0,n.mergeProps)({class:[zn([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:i,onClosed:u,"onUpdate:show":s},Re(e,Un)),{default:()=>[l(),d()]})}});const Gn={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let $n=[],Kn=!1,Zn=Ne({},Gn);const Xn=new Map;function Qn(e){return Ce(e)?e:{message:e}}function er(){const{instance:e,unmount:t}=Ke({setup(){const r=(0,n.ref)(""),{open:a,state:o,close:s,toggle:i}=$e(),u=()=>{Kn&&($n=$n.filter((t=>t!==e)),t())},l=()=>{const e={onClosed:u,"onUpdate:show":i};return(0,n.createVNode)(Jn,(0,n.mergeProps)(o,e),null)};return(0,n.watch)(r,(e=>{o.message=e})),(0,n.getCurrentInstance)().render=l,{open:a,clear:s,message:r}}});return e}function tr(){if(!$n.length||Kn){const e=er();$n.push(e)}return $n[$n.length-1]}function nr(e={}){if(!Pe)return{};const t=tr(),n=Qn(e);return t.open(Ne({},Zn,Xn.get(n.type||Zn.type),n)),t}const rr=e=>t=>nr(Ne({type:e},Qn(t)));function ar(e,t){"string"===typeof e?Xn.set(e,t):Ne(Zn,e)}nr.loading=rr("loading"),nr.success=rr("success"),nr.fail=rr("fail"),nr.clear=e=>{var t;$n.length&&(e?($n.forEach((e=>{e.clear()})),$n=[]):Kn?null==(t=$n.shift())||t.clear():$n[0].clear())},nr.setDefaultOptions=ar,nr.resetDefaultOptions=e=>{"string"===typeof e?Xn.delete(e):(Zn=Ne({},Gn),Xn.clear())},nr.allowMultiple=(e=!0)=>{Kn=e},nr.install=e=>{e.use(Je(Jn)),e.config.globalProperties.$toast=nr};const or={to:[String,Object],url:String,replace:Boolean};function sr({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function ir(){const e=(0,n.getCurrentInstance)().proxy;return()=>sr(e)}const[ur,lr]=ut("button"),dr=Ne({},or,{tag:pt("button"),text:String,icon:String,type:pt("default"),size:pt("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:pt("button"),loadingSize:dt,loadingText:String,loadingType:String,iconPosition:pt("left")});var cr=(0,n.defineComponent)({name:ur,props:dr,emits:["click"],setup(e,{emit:t,slots:r}){const a=ir(),o=()=>r.loading?r.loading():(0,n.createVNode)(Wn,{size:e.loadingSize,type:e.loadingType,class:lr("loading")},null),s=()=>e.loading?o():r.icon?(0,n.createVNode)("div",{class:lr("icon")},[r.icon()]):e.icon?(0,n.createVNode)(Pt,{name:e.icon,class:lr("icon"),classPrefix:e.iconPrefix},null):void 0,i=()=>{let t;if(t=e.loading?e.loadingText:r.default?r.default():e.text,t)return(0,n.createVNode)("span",{class:lr("text")},[t])},u=()=>{const{color:t,plain:n}=e;if(t){const e={color:n?t:"white"};return n||(e.background=t),t.includes("gradient")?e.border=0:e.borderColor=t,e}},l=n=>{e.loading?pn(n):e.disabled||(t("click",n),a())};return()=>{const{tag:t,type:r,size:a,block:o,round:d,plain:c,square:m,loading:h,disabled:f,hairline:_,nativeType:p,iconPosition:y}=e,g=[lr([r,a,{plain:c,block:o,round:d,square:m,loading:h,disabled:f,hairline:_}]),{[Wt]:_}];return(0,n.createVNode)(t,{type:p,class:g,style:u(),disabled:f,onClick:l},{default:()=>[(0,n.createVNode)("div",{class:lr("content")},["left"===y&&s(),i(),"right"===y&&s()])]})}}});const mr=Je(cr);let hr=0;function fr(){const e=(0,n.getCurrentInstance)(),{name:t="unknown"}=(null==e?void 0:e.type)||{};return`${t}-${++hr}`}const[_r,pr]=ut("empty"),yr={image:pt("default"),imageSize:[Number,String,Array],description:String};var gr=(0,n.defineComponent)({name:_r,props:yr,setup(e,{slots:t}){const r=()=>{const r=t.description?t.description():e.description;if(r)return(0,n.createVNode)("p",{class:pr("description")},[r])},a=()=>{if(t.default)return(0,n.createVNode)("div",{class:pr("bottom")},[t.default()])},o=fr(),s=e=>`${o}-${e}`,i=e=>`url(#${s(e)})`,u=(e,t,r)=>(0,n.createVNode)("stop",{"stop-color":e,offset:`${t}%`,"stop-opacity":r},null),l=(e,t)=>[u(e,0),u(t,100)],d=e=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("radialGradient",{id:s(e),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[u("#EBEDF0",0),u("#F2F3F5",100,.3)])]),(0,n.createVNode)("ellipse",{fill:i(e),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:s("a"),x1:"64%",y1:"100%",x2:"64%"},[u("#FFF",0,.5),u("#F2F3F5",100)])]),(0,n.createVNode)("g",{opacity:".8"},[(0,n.createVNode)("path",{d:"M36 131V53H16v20H2v58h34z",fill:i("a")},null),(0,n.createVNode)("path",{d:"M123 15h22v14h9v77h-31V15z",fill:i("a")},null)])],m=()=>[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:s("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[u("#F2F3F5",0,.3),u("#F2F3F5",100)])]),(0,n.createVNode)("g",{opacity:".8"},[(0,n.createVNode)("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:i("b")},null),(0,n.createVNode)("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:i("b")},null)])],h=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{id:s(1),x1:"64%",y1:"100%",x2:"64%"},[u("#FFF",0,.5),u("#F2F3F5",100)]),(0,n.createVNode)("linearGradient",{id:s(2),x1:"50%",x2:"50%",y2:"84%"},[u("#EBEDF0",0),u("#DCDEE0",100,0)]),(0,n.createVNode)("linearGradient",{id:s(3),x1:"100%",x2:"100%",y2:"100%"},[l("#EAEDF0","#DCDEE0")]),(0,n.createVNode)("radialGradient",{id:s(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[u("#EBEDF0",0),u("#FFF",100,0)])]),(0,n.createVNode)("g",{fill:"none"},[c(),(0,n.createVNode)("path",{fill:i(4),d:"M0 139h160v21H0z"},null),(0,n.createVNode)("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:i(2)},null),(0,n.createVNode)("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[(0,n.createVNode)("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:i(3)},null),(0,n.createVNode)("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:i(3)},null),(0,n.createVNode)("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:i(3)},null),(0,n.createVNode)("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:i(3)},null)]),(0,n.createVNode)("g",{transform:"translate(31 105)"},[(0,n.createVNode)("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),(0,n.createVNode)("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),(0,n.createVNode)("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),f=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:s(5)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:s(6)},[l("#EAEDF1","#DCDEE0")]),(0,n.createVNode)("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:s(7)},[l("#EAEDF1","#DCDEE0")])]),c(),m(),(0,n.createVNode)("g",{transform:"translate(36 50)",fill:"none"},[(0,n.createVNode)("g",{transform:"translate(8)"},[(0,n.createVNode)("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),(0,n.createVNode)("rect",{fill:i(5),width:"64",height:"66",rx:"2"},null),(0,n.createVNode)("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),(0,n.createVNode)("g",{transform:"translate(15 17)",fill:i(6)},[(0,n.createVNode)("rect",{width:"34",height:"6",rx:"1"},null),(0,n.createVNode)("path",{d:"M0 14h34v6H0z"},null),(0,n.createVNode)("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),(0,n.createVNode)("rect",{fill:i(7),y:"61",width:"88",height:"28",rx:"1"},null),(0,n.createVNode)("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),_=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:s(8)},[l("#EAEDF1","#DCDEE0")])]),c(),m(),d("c"),(0,n.createVNode)("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:i(8)},null)]),p=()=>(0,n.createVNode)("svg",{viewBox:"0 0 160 160"},[(0,n.createVNode)("defs",null,[(0,n.createVNode)("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:s(9)},[l("#EEE","#D8D8D8")]),(0,n.createVNode)("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:s(10)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:s(11)},[l("#F2F3F5","#DCDEE0")]),(0,n.createVNode)("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:s(12)},[l("#FFF","#F7F8FA")])]),c(),m(),d("d"),(0,n.createVNode)("g",{transform:"rotate(-45 113 -4)",fill:"none"},[(0,n.createVNode)("rect",{fill:i(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),(0,n.createVNode)("rect",{fill:i(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),(0,n.createVNode)("circle",{stroke:i(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),(0,n.createVNode)("circle",{fill:i(12),cx:"27",cy:"27",r:"16"},null),(0,n.createVNode)("path",{d:"M37 7c-8 0-15 5-16 12",stroke:i(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),y=()=>{var r;if(t.image)return t.image();const a={error:_,search:p,network:h,default:f};return(null==(r=a[e.image])?void 0:r.call(a))||(0,n.createVNode)("img",{src:e.image},null)};return()=>(0,n.createVNode)("div",{class:pr()},[(0,n.createVNode)("div",{class:pr("image"),style:Be(e.imageSize)},[y()]),r(),a()])}});const Mr=Je(gr);const vr=(e,t)=>{const r=(0,n.ref)(),a=()=>{r.value=$t(e).height};return(0,n.onMounted)((()=>{if((0,n.nextTick)(a),t)for(let e=1;e<=3;e++)setTimeout(a,100*e)})),bn((()=>(0,n.nextTick)(a))),r};function Lr(e,t){const r=vr(e,!0);return e=>(0,n.createVNode)("div",{class:t("placeholder"),style:{height:r.value?`${r.value}px`:void 0}},[e()])}const[wr,kr]=ut("nav-bar"),Yr={title:String,fixed:Boolean,zIndex:dt,border:ct,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean};var br=(0,n.defineComponent)({name:wr,props:Yr,emits:["click-left","click-right"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),o=Lr(a,kr),s=e=>t("click-left",e),i=e=>t("click-right",e),u=()=>r.left?r.left():[e.leftArrow&&(0,n.createVNode)(Pt,{class:kr("arrow"),name:"arrow-left"},null),e.leftText&&(0,n.createVNode)("span",{class:kr("text")},[e.leftText])],l=()=>r.right?r.right():(0,n.createVNode)("span",{class:kr("text")},[e.rightText]),d=()=>{const{title:t,fixed:o,border:d,zIndex:c}=e,m=We(c),h=e.leftArrow||e.leftText||r.left,f=e.rightText||r.right;return(0,n.createVNode)("div",{ref:a,style:m,class:[kr({fixed:o}),{[Bt]:d,"van-safe-area-top":e.safeAreaInsetTop}]},[(0,n.createVNode)("div",{class:kr("content")},[h&&(0,n.createVNode)("div",{class:[kr("left"),Vt],onClick:s},[u()]),(0,n.createVNode)("div",{class:[kr("title"),"van-ellipsis"]},[r.title?r.title():t]),f&&(0,n.createVNode)("div",{class:[kr("right"),Vt],onClick:i},[l()])])])};return()=>e.fixed&&e.placeholder?o(d):d()}});const Dr=Je(br);var Tr="0123456789abcdefghijklmnopqrstuvwxyz";function Sr(e){return Tr.charAt(e)}function Ar(e,t){return e&t}function xr(e,t){return e|t}function Cr(e,t){return e^t}function Er(e,t){return e&~t}function jr(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Or(e){var t=0;while(0!=e)e&=e-1,++t;return t}var Hr,Nr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pr="=";function Ir(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=Nr.charAt(n>>6)+Nr.charAt(63&n);t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=Nr.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=Nr.charAt(n>>2)+Nr.charAt((3&n)<<4));while((3&r.length)>0)r+=Pr;return r}function Rr(e){var t,n="",r=0,a=0;for(t=0;t<e.length;++t){if(e.charAt(t)==Pr)break;var o=Nr.indexOf(e.charAt(t));o<0||(0==r?(n+=Sr(o>>2),a=3&o,r=1):1==r?(n+=Sr(a<<2|o>>4),a=15&o,r=2):2==r?(n+=Sr(a),n+=Sr(o>>2),a=3&o,r=3):(n+=Sr(a<<2|o>>4),n+=Sr(15&o),r=0))}return 1==r&&(n+=Sr(a<<2)),n}var Fr,Br={decode:function(e){var t;if(void 0===Hr){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(Hr={},t=0;t<16;++t)Hr[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)Hr[n.charAt(t)]=t;for(t=0;t<r.length;++t)Hr[r.charAt(t)]=-1}var a=[],o=0,s=0;for(t=0;t<e.length;++t){var i=e.charAt(t);if("="==i)break;if(i=Hr[i],-1!=i){if(void 0===i)throw new Error("Illegal character at offset "+t);o|=i,++s>=2?(a[a.length]=o,o=0,s=0):o<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return a}},Wr={decode:function(e){var t;if(void 0===Fr){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="= \f\n\r\t \u2028\u2029";for(Fr=Object.create(null),t=0;t<64;++t)Fr[n.charAt(t)]=t;for(Fr["-"]=62,Fr["_"]=63,t=0;t<r.length;++t)Fr[r.charAt(t)]=-1}var a=[],o=0,s=0;for(t=0;t<e.length;++t){var i=e.charAt(t);if("="==i)break;if(i=Fr[i],-1!=i){if(void 0===i)throw new Error("Illegal character at offset "+t);o|=i,++s>=4?(a[a.length]=o>>16,a[a.length]=o>>8&255,a[a.length]=255&o,o=0,s=0):o<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:a[a.length]=o>>10;break;case 3:a[a.length]=o>>16,a[a.length]=o>>8&255;break}return a},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=Wr.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return Wr.decode(e)}},Vr=1e13,zr=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,r,a=this.buf,o=a.length;for(n=0;n<o;++n)r=a[n]*e+t,r<Vr?t=0:(t=0|r/Vr,r-=t*Vr),a[n]=r;t>0&&(a[n]=t)},e.prototype.sub=function(e){var t,n,r=this.buf,a=r.length;for(t=0;t<a;++t)n=r[t]-e,n<0?(n+=Vr,e=1):e=0,r[t]=n;while(0===r[r.length-1])r.pop()},e.prototype.toString=function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),r=t.length-2;r>=0;--r)n+=(Vr+t[r]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*Vr+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),Ur="…",qr=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,Jr=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Gr(e,t){return e.length>t&&(e=e.substring(0,t)+Ur),e}var $r,Kr=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return"string"===typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var r="",a=e;a<t;++a)if(r+=this.hexByte(this.get(a)),!0!==n)switch(15&a){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},e.prototype.isASCII=function(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n},e.prototype.parseStringUTF=function(e,t){for(var n="",r=e;r<t;){var a=this.get(r++);n+=a<128?String.fromCharCode(a):a>191&&a<224?String.fromCharCode((31&a)<<6|63&this.get(r++)):String.fromCharCode((15&a)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,r,a="",o=e;o<t;)n=this.get(o++),r=this.get(o++),a+=String.fromCharCode(n<<8|r);return a},e.prototype.parseTime=function(e,t,n){var r=this.parseStringISO(e,t),a=(n?qr:Jr).exec(r);return a?(n&&(a[1]=+a[1],a[1]+=+a[1]<70?2e3:1900),r=a[1]+"-"+a[2]+"-"+a[3]+" "+a[4],a[5]&&(r+=":"+a[5],a[6]&&(r+=":"+a[6],a[7]&&(r+="."+a[7]))),a[8]&&(r+=" UTC","Z"!=a[8]&&(r+=a[8],a[9]&&(r+=":"+a[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(e,t){var n,r=this.get(e),a=r>127,o=a?255:0,s="";while(r==o&&++e<t)r=this.get(e);if(n=t-e,0===n)return a?-1:0;if(n>4){s=r,n<<=3;while(0==(128&(+s^o)))s=+s<<1,--n;s="("+n+" bit)\n"}a&&(r-=256);for(var i=new zr(r),u=e+1;u<t;++u)i.mulAdd(256,this.get(u));return s+i.toString()},e.prototype.parseBitString=function(e,t,n){for(var r=this.get(e),a=(t-e-1<<3)-r,o="("+a+" bit)\n",s="",i=e+1;i<t;++i){for(var u=this.get(i),l=i==t-1?r:0,d=7;d>=l;--d)s+=u>>d&1?"1":"0";if(s.length>n)return o+Gr(s,n)}return o+s},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return Gr(this.parseStringISO(e,t),n);var r=t-e,a="("+r+" byte)\n";n/=2,r>n&&(t=e+n);for(var o=e;o<t;++o)a+=this.hexByte(this.get(o));return r>n&&(a+=Ur),a},e.prototype.parseOID=function(e,t,n){for(var r="",a=new zr,o=0,s=e;s<t;++s){var i=this.get(s);if(a.mulAdd(128,127&i),o+=7,!(128&i)){if(""===r)if(a=a.simplify(),a instanceof zr)a.sub(80),r="2."+a.toString();else{var u=a<80?a<40?0:1:2;r=u+"."+(a-40*u)}else r+="."+a.toString();if(r.length>n)return Gr(r,n);a=new zr,o=0}}return o>0&&(r+=".incomplete"),r},e}(),Zr=function(){function e(e,t,n,r,a){if(!(r instanceof Xr))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=a}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return Gr(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Gr(this.stream.parseStringISO(t,t+n),e);case 30:return Gr(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n<r;++n)t+=this.sub[n].toPrettyString(e)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r<n;++r)t=256*t+e.get();return t},e.prototype.getHexStringValue=function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)},e.decode=function(t){var n;n=t instanceof Kr?t:new Kr(t,0);var r=new Kr(n),a=new Xr(n),o=e.decodeLength(n),s=n.pos,i=s-r.pos,u=null,l=function(){var t=[];if(null!==o){var r=s+o;while(n.pos<r)t[t.length]=e.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var a=e.decode(n);if(a.tag.isEOC())break;t[t.length]=a}o=s-n.pos}catch(i){throw new Error("Exception while decoding undefined length content: "+i)}return t};if(a.tagConstructed)u=l();else if(a.isUniversal()&&(3==a.tagNumber||4==a.tagNumber))try{if(3==a.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=l();for(var d=0;d<u.length;++d)if(u[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(c){u=null}if(null===u){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);n.pos=s+Math.abs(o)}return new e(r,i,o,a,u)},e}(),Xr=function(){function e(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=0!==(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new zr;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),Qr=0xdeadbeefcafe,ea=15715070==(16777215&Qr),ta=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],na=(1<<26)/ta[ta.length-1],ra=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,a=!1,o="",s=this.t,i=this.DB-s*this.DB%t;if(s-- >0){i<this.DB&&(n=this[s]>>i)>0&&(a=!0,o=Sr(n));while(s>=0)i<t?(n=(this[s]&(1<<i)-1)<<t-i,n|=this[--s]>>(i+=this.DB-t)):(n=this[s]>>(i-=t)&r,i<=0&&(i+=this.DB,--s)),n>0&&(a=!0),a&&(o+=Sr(n))}return a?o:"0"},e.prototype.negate=function(){var t=ua();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;while(--n>=0)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+ya(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=ua();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new oa(t):new sa(t),this.exp(e,n)},e.prototype.clone=function(){var e=ua();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,a=0;if(e-- >0){r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[a++]=n|this.s<<this.DB-r);while(e>=0)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==a&&(128&this.s)!=(128&n)&&++a,(a>0||n!=this.s)&&(t[a++]=n)}return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=ua();return this.bitwiseTo(e,Ar,t),t},e.prototype.or=function(e){var t=ua();return this.bitwiseTo(e,xr,t),t},e.prototype.xor=function(e){var t=ua();return this.bitwiseTo(e,Cr,t),t},e.prototype.andNot=function(e){var t=ua();return this.bitwiseTo(e,Er,t),t},e.prototype.not=function(){for(var e=ua(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=ua();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=ua();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+jr(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=Or(this[n]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,xr)},e.prototype.clearBit=function(e){return this.changeBit(e,Er)},e.prototype.flipBit=function(e){return this.changeBit(e,Cr)},e.prototype.add=function(e){var t=ua();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=ua();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=ua();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=ua();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=ua();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=ua(),n=ua();return this.divRemTo(e,t,n),[t,n]},e.prototype.modPow=function(e,t){var n,r,a=e.bitLength(),o=pa(1);if(a<=0)return o;n=a<18?1:a<48?3:a<144?4:a<768?5:6,r=a<8?new oa(t):t.isEven()?new ia(t):new sa(t);var s=[],i=3,u=n-1,l=(1<<n)-1;if(s[1]=r.convert(this),n>1){var d=ua();r.sqrTo(s[1],d);while(i<=l)s[i]=ua(),r.mulTo(d,s[i-2],s[i]),i+=2}var c,m,h=e.t-1,f=!0,_=ua();a=ya(e[h])-1;while(h>=0){a>=u?c=e[h]>>a-u&l:(c=(e[h]&(1<<a+1)-1)<<u-a,h>0&&(c|=e[h-1]>>this.DB+a-u)),i=n;while(0==(1&c))c>>=1,--i;if((a-=i)<0&&(a+=this.DB,--h),f)s[c].copyTo(o),f=!1;else{while(i>1)r.sqrTo(o,_),r.sqrTo(_,o),i-=2;i>0?r.sqrTo(o,_):(m=o,o=_,_=m),r.mulTo(_,s[c],o)}while(h>=0&&0==(e[h]&1<<a))r.sqrTo(o,_),m=o,o=_,_=m,--a<0&&(a=this.DB-1,--h)}return r.revert(o)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;var r=t.clone(),a=this.clone(),o=pa(1),s=pa(0),i=pa(0),u=pa(1);while(0!=r.signum()){while(r.isEven())r.rShiftTo(1,r),n?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(t,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);while(a.isEven())a.rShiftTo(1,a),n?(i.isEven()&&u.isEven()||(i.addTo(this,i),u.subTo(t,u)),i.rShiftTo(1,i)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);r.compareTo(a)>=0?(r.subTo(a,r),n&&o.subTo(i,o),s.subTo(u,s)):(a.subTo(r,a),n&&i.subTo(o,i),u.subTo(s,u))}return 0!=a.compareTo(e.ONE)?e.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u},e.prototype.pow=function(e){return this.exp(e,new aa)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var a=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;a<o&&(o=a),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));while(t.signum()>0)(a=t.getLowestSetBit())>0&&t.rShiftTo(a,t),(a=n.getLowestSetBit())>0&&n.rShiftTo(a,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=ta[ta.length-1]){for(t=0;t<ta.length;++t)if(n[0]==ta[t])return!0;return!1}if(n.isEven())return!1;t=1;while(t<ta.length){var r=ta[t],a=t+1;while(a<ta.length&&r<na)r*=ta[a++];r=n.modInt(r);while(t<a)if(r%ta[t++]==0)return!1}return n.millerRabin(e)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;var a=t.length,o=!1,s=0;while(--a>=0){var i=8==r?255&+t[a]:_a(t,a);i<0?"-"==t.charAt(a)&&(o=!0):(o=!1,0==s?this[this.t++]=i:s+r>this.DB?(this[this.t-1]|=(i&(1<<this.DB-s)-1)<<s,this[this.t++]=i>>this.DB-s):this[this.t-1]|=i<<s,s+=r,s>=this.DB&&(s-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){var e=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,r=this.DB-n,a=(1<<r)-1,o=Math.floor(e/this.DB),s=this.s<<n&this.DM,i=this.t-1;i>=0;--i)t[i+o+1]=this[i]>>r|s,s=(this[i]&a)<<n;for(i=o-1;i>=0;--i)t[i]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,a=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var s=n+1;s<this.t;++s)t[s-n-1]|=(this[s]&o)<<a,t[s-n]=this[s]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<a),t.t=this.t-n,t.clamp()}},e.prototype.subTo=function(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r-=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),a=t.abs(),o=r.t;n.t=o+a.t;while(--o>=0)n[o]=0;for(o=0;o<a.t;++o)n[o+r.t]=r.am(0,a[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(e){var t=this.abs(),n=e.t=2*t.t;while(--n>=0)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,r){var a=t.abs();if(!(a.t<=0)){var o=this.abs();if(o.t<a.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=ua());var s=ua(),i=this.s,u=t.s,l=this.DB-ya(a[a.t-1]);l>0?(a.lShiftTo(l,s),o.lShiftTo(l,r)):(a.copyTo(s),o.copyTo(r));var d=s.t,c=s[d-1];if(0!=c){var m=c*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),h=this.FV/m,f=(1<<this.F1)/m,_=1<<this.F2,p=r.t,y=p-d,g=null==n?ua():n;s.dlShiftTo(y,g),r.compareTo(g)>=0&&(r[r.t++]=1,r.subTo(g,r)),e.ONE.dlShiftTo(d,g),g.subTo(s,s);while(s.t<d)s[s.t++]=0;while(--y>=0){var M=r[--p]==c?this.DM:Math.floor(r[p]*h+(r[p-1]+_)*f);if((r[p]+=s.am(0,M,r,y,0,d))<M){s.dlShiftTo(y,g),r.subTo(g,r);while(r[p]<--M)r.subTo(g,r)}}null!=n&&(r.drShiftTo(d,n),i!=u&&e.ZERO.subTo(n,n)),r.t=d,r.clamp(),l>0&&r.rShiftTo(l,r),i<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=ua(),a=ua(),o=n.convert(this),s=ya(t)-1;o.copyTo(r);while(--s>=0)if(n.sqrTo(r,a),(t&1<<s)>0)n.mulTo(a,o,r);else{var i=r;r=a,a=i}return n.revert(r)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=pa(n),a=ua(),o=ua(),s="";this.divRemTo(r,a,o);while(a.signum()>0)s=(n+o.intValue()).toString(e).substr(1)+s,a.divRemTo(r,a,o);return o.intValue().toString(e)+s},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),a=Math.pow(n,r),o=!1,s=0,i=0,u=0;u<t.length;++u){var l=_a(t,u);l<0?"-"==t.charAt(u)&&0==this.signum()&&(o=!0):(i=n*i+l,++s>=r&&(this.dMultiply(a),this.dAddOffset(i,0),s=0,i=0))}s>0&&(this.dMultiply(Math.pow(n,s)),this.dAddOffset(i,0)),o&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),xr,this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(n))this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this)}else{var a=[],o=7&t;a.length=1+(t>>3),n.nextBytes(a),o>0?a[0]&=(1<<o)-1:a[0]=0,this.fromString(a,256)}},e.prototype.bitwiseTo=function(e,t,n){var r,a,o=Math.min(e.t,this.t);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(a=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],a);n.t=this.t}else{for(a=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(a,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},e.prototype.changeBit=function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r},e.prototype.addTo=function(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r+=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var r=Math.min(this.t+e.t,t);n.s=0,n.t=r;while(r>0)n[--r]=0;for(var a=n.t-this.t;r<a;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(a=Math.min(e.t,t);r<a;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()},e.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;n.s=0;while(--r>=0)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var a=n.shiftRight(r);t=t+1>>1,t>ta.length&&(t=ta.length);for(var o=ua(),s=0;s<t;++s){o.fromInt(ta[Math.floor(Math.random()*ta.length)]);var i=o.modPow(a,this);if(0!=i.compareTo(e.ONE)&&0!=i.compareTo(n)){var u=1;while(u++<r&&0!=i.compareTo(n))if(i=i.modPowInt(2,this),0==i.compareTo(e.ONE))return!1;if(0!=i.compareTo(n))return!1}}return!0},e.prototype.square=function(){var e=ua();return this.squareTo(e),e},e.prototype.gcda=function(e,t){var n=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(n.compareTo(r)<0){var a=n;n=r,r=a}var o=n.getLowestSetBit(),s=r.getLowestSetBit();if(s<0)t(n);else{o<s&&(s=o),s>0&&(n.rShiftTo(s,n),r.rShiftTo(s,r));var i=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(i,0):(s>0&&r.lShiftTo(s,r),setTimeout((function(){t(r)}),0))};setTimeout(i,10)}},e.prototype.fromNumberAsync=function(t,n,r,a){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),xr,this),this.isEven()&&this.dAddOffset(1,0);var o=this,s=function(){o.dAddOffset(2,0),o.bitLength()>t&&o.subTo(e.ONE.shiftLeft(t-1),o),o.isProbablePrime(n)?setTimeout((function(){a()}),0):setTimeout(s,0)};setTimeout(s,0)}else{var i=[],u=7&t;i.length=1+(t>>3),n.nextBytes(i),u>0?i[0]&=(1<<u)-1:i[0]=0,this.fromString(i,256)}},e}(),aa=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),oa=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),sa=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=ua();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(ra.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=ua();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);while(e[n]>=e.DV)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),ia=function(){function e(e){this.m=e,this.r2=ua(),this.q3=ua(),ra.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=ua();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.dAddOffset(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function ua(){return new ra(null)}function la(e,t){return new ra(e,t)}var da="undefined"!==typeof navigator;da&&ea&&"Microsoft Internet Explorer"==navigator.appName?(ra.prototype.am=function(e,t,n,r,a,o){var s=32767&t,i=t>>15;while(--o>=0){var u=32767&this[e],l=this[e++]>>15,d=i*u+l*s;u=s*u+((32767&d)<<15)+n[r]+(1073741823&a),a=(u>>>30)+(d>>>15)+i*l+(a>>>30),n[r++]=1073741823&u}return a},$r=30):da&&ea&&"Netscape"!=navigator.appName?(ra.prototype.am=function(e,t,n,r,a,o){while(--o>=0){var s=t*this[e++]+n[r]+a;a=Math.floor(s/67108864),n[r++]=67108863&s}return a},$r=26):(ra.prototype.am=function(e,t,n,r,a,o){var s=16383&t,i=t>>14;while(--o>=0){var u=16383&this[e],l=this[e++]>>14,d=i*u+l*s;u=s*u+((16383&d)<<14)+n[r]+a,a=(u>>28)+(d>>14)+i*l,n[r++]=268435455&u}return a},$r=28),ra.prototype.DB=$r,ra.prototype.DM=(1<<$r)-1,ra.prototype.DV=1<<$r;var ca=52;ra.prototype.FV=Math.pow(2,ca),ra.prototype.F1=ca-$r,ra.prototype.F2=2*$r-ca;var ma,ha,fa=[];for(ma="0".charCodeAt(0),ha=0;ha<=9;++ha)fa[ma++]=ha;for(ma="a".charCodeAt(0),ha=10;ha<36;++ha)fa[ma++]=ha;for(ma="A".charCodeAt(0),ha=10;ha<36;++ha)fa[ma++]=ha;function _a(e,t){var n=fa[e.charCodeAt(t)];return null==n?-1:n}function pa(e){var t=ua();return t.fromInt(e),t}function ya(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}ra.ZERO=pa(0),ra.ONE=pa(1);var ga=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}();function Ma(){return new ga}var va,La,wa=256,ka=null;if(null==ka){ka=[],La=0;var Ya=void 0;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues){var ba=new Uint32Array(256);for(window.crypto.getRandomValues(ba),Ya=0;Ya<ba.length;++Ya)ka[La++]=255&ba[Ya]}var Da=0,Ta=function(e){if(Da=Da||0,Da>=256||La>=wa)window.removeEventListener?window.removeEventListener("mousemove",Ta,!1):window.detachEvent&&window.detachEvent("onmousemove",Ta);else try{var t=e.x+e.y;ka[La++]=255&t,Da+=1}catch(n){}};"undefined"!==typeof window&&(window.addEventListener?window.addEventListener("mousemove",Ta,!1):window.attachEvent&&window.attachEvent("onmousemove",Ta))}function Sa(){if(null==va){va=Ma();while(La<wa){var e=Math.floor(65536*Math.random());ka[La++]=255&e}for(va.init(ka),La=0;La<ka.length;++La)ka[La]=0;La=0}return va.next()}var Aa=function(){function e(){}return e.prototype.nextBytes=function(e){for(var t=0;t<e.length;++t)e[t]=Sa()},e}();function xa(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,r="",a=0;a<n;a+=2)r+="ff";var o="0001"+r+"00"+e;return la(o,16)}function Ca(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;var n=[],r=e.length-1;while(r>=0&&t>0){var a=e.charCodeAt(r--);a<128?n[--t]=a:a>127&&a<2048?(n[--t]=63&a|128,n[--t]=a>>6|192):(n[--t]=63&a|128,n[--t]=a>>6&63|128,n[--t]=a>>12|224)}n[--t]=0;var o=new Aa,s=[];while(t>2){s[0]=0;while(0==s[0])o.nextBytes(s);n[--t]=s[0]}return n[--t]=2,n[--t]=0,new ra(n)}var Ea=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(n)<0)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=la(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=this.n.bitLength()+7>>3,n=Ca(e,t);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var a=r.toString(16),o=a.length,s=0;s<2*t-o;s++)a="0"+a;return a},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=la(e,16),this.e=parseInt(t,16),this.d=la(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,r,a,o,s,i){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=la(e,16),this.e=parseInt(t,16),this.d=la(n,16),this.p=la(r,16),this.q=la(a,16),this.dmp1=la(o,16),this.dmq1=la(s,16),this.coeff=la(i,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new Aa,r=e>>1;this.e=parseInt(t,16);for(var a=new ra(t,16);;){for(;;)if(this.p=new ra(e-r,1,n),0==this.p.subtract(ra.ONE).gcd(a).compareTo(ra.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new ra(r,1,n),0==this.q.subtract(ra.ONE).gcd(a).compareTo(ra.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var s=this.p.subtract(ra.ONE),i=this.q.subtract(ra.ONE),u=s.multiply(i);if(0==u.gcd(a).compareTo(ra.ONE)){this.n=this.p.multiply(this.q),this.d=a.modInverse(u),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(i),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=la(e,16),n=this.doPrivate(t);return null==n?null:ja(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var r=new Aa,a=e>>1;this.e=parseInt(t,16);var o=new ra(t,16),s=this,i=function(){var t=function(){if(s.p.compareTo(s.q)<=0){var e=s.p;s.p=s.q,s.q=e}var t=s.p.subtract(ra.ONE),r=s.q.subtract(ra.ONE),a=t.multiply(r);0==a.gcd(o).compareTo(ra.ONE)?(s.n=s.p.multiply(s.q),s.d=o.modInverse(a),s.dmp1=s.d.mod(t),s.dmq1=s.d.mod(r),s.coeff=s.q.modInverse(s.p),setTimeout((function(){n()}),0)):setTimeout(i,0)},u=function(){s.q=ua(),s.q.fromNumberAsync(a,1,r,(function(){s.q.subtract(ra.ONE).gcda(o,(function(e){0==e.compareTo(ra.ONE)&&s.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(u,0)}))}))},l=function(){s.p=ua(),s.p.fromNumberAsync(e-a,1,r,(function(){s.p.subtract(ra.ONE).gcda(o,(function(e){0==e.compareTo(ra.ONE)&&s.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(l,0)}))}))};setTimeout(l,0)};setTimeout(i,0)},e.prototype.sign=function(e,t,n){var r=Ha(n),a=r+t(e).toString(),o=xa(a,this.n.bitLength()/4);if(null==o)return null;var s=this.doPrivate(o);if(null==s)return null;var i=s.toString(16);return 0==(1&i.length)?i:"0"+i},e.prototype.verify=function(e,t,n){var r=la(t,16),a=this.doPublic(r);if(null==a)return null;var o=a.toString(16).replace(/^1f+00/,""),s=Na(o);return s==n(e).toString()},e}();function ja(e,t){var n=e.toByteArray(),r=0;while(r<n.length&&0==n[r])++r;if(n.length-r!=t-1||2!=n[r])return null;++r;while(0!=n[r])if(++r>=n.length)return null;var a="";while(++r<n.length){var o=255&n[r];o<128?a+=String.fromCharCode(o):o>191&&o<224?(a+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(a+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return a}var Oa={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Ha(e){return Oa[e]||""}function Na(e){for(var t in Oa)if(Oa.hasOwnProperty(t)){var n=Oa[t],r=n.length;if(e.substr(0,r)==n)return e.substr(r)}return e}
|
|
298
298
|
/*!
|
|
299
299
|
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
|
|
300
300
|
Code licensed under the BSD License:
|
|
301
301
|
http://developer.yahoo.com/yui/license.html
|
|
302
302
|
version: 2.9.0
|
|
303
303
|
*/
|
|
304
|
-
var
|
|
304
|
+
var Pa={};Pa.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var a;for(a in n)e.prototype[a]=n[a];var o=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(e,t){for(a=0;a<s.length;a+=1){var n=s[a],r=t[n];"function"===typeof r&&r!=Object.prototype[n]&&(e[n]=r)}})}catch(i){}o(e.prototype,n)}}};
|
|
305
305
|
/**
|
|
306
306
|
* @fileOverview
|
|
307
307
|
* @name asn1-1.0.js
|
|
@@ -310,11 +310,11 @@ var Ea={};Ea.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.
|
|
|
310
310
|
* @since jsrsasign 2.1
|
|
311
311
|
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
|
|
312
312
|
*/
|
|
313
|
-
var ja={};"undefined"!=typeof ja.asn1&&ja.asn1||(ja.asn1={}),ja.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),r=n.length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var a="",s=0;s<r;s++)a+="f";var i=new Xr(a,16),o=i.xor(e).add(Xr.ONE);t=o.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=ja,n=t.asn1,r=n.DERBoolean,a=n.DERInteger,s=n.DERBitString,i=n.DEROctetString,o=n.DERNull,u=n.DERObjectIdentifier,l=n.DEREnumerated,d=n.DERUTF8String,c=n.DERNumericString,m=n.DERPrintableString,h=n.DERTeletexString,f=n.DERIA5String,_=n.DERUTCTime,p=n.DERGeneralizedTime,y=n.DERSequence,g=n.DERSet,M=n.DERTaggedObject,v=n.ASN1Util.newObject,L=Object.keys(e);if(1!=L.length)throw"key of param shall be only one.";var w=L[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+w+":"))throw"undefined key: "+w;if("bool"==w)return new r(e[w]);if("int"==w)return new a(e[w]);if("bitstr"==w)return new s(e[w]);if("octstr"==w)return new i(e[w]);if("null"==w)return new o(e[w]);if("oid"==w)return new u(e[w]);if("enum"==w)return new l(e[w]);if("utf8str"==w)return new d(e[w]);if("numstr"==w)return new c(e[w]);if("prnstr"==w)return new m(e[w]);if("telstr"==w)return new h(e[w]);if("ia5str"==w)return new f(e[w]);if("utctime"==w)return new _(e[w]);if("gentime"==w)return new p(e[w]);if("seq"==w){for(var Y=e[w],b=[],k=0;k<Y.length;k++){var D=v(Y[k]);b.push(D)}return new y({array:b})}if("set"==w){for(Y=e[w],b=[],k=0;k<Y.length;k++){D=v(Y[k]);b.push(D)}return new g({array:b})}if("tag"==w){var T=e[w];if("[object Array]"===Object.prototype.toString.call(T)&&3==T.length){var S=v(T[2]);return new M({tag:T[0],explicit:T[1],obj:S})}var A={};if(void 0!==T.explicit&&(A.explicit=T.explicit),void 0!==T.tag&&(A.tag=T.tag),void 0===T.obj)throw"obj shall be specified for 'tag'.";return A.obj=v(T.obj),new M(A)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},ja.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=Math.floor(n/40),a=n%40,s=(t=r+"."+a,""),i=2;i<e.length;i+=2){var o=parseInt(e.substr(i,2),16),u=("00000000"+o.toString(2)).slice(-8);if(s+=u.substr(1,7),"0"==u.substr(0,1)){var l=new Xr(s,2);t=t+"."+l.toString(10),s=""}}return t},ja.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new Xr(e,10),a=r.toString(2),s=7-a.length%7;7==s&&(s=0);for(var i="",o=0;o<s;o++)i+="0";a=i+a;for(o=0;o<a.length-1;o+=7){var u=a.substr(o,7);o!=a.length-7&&(u="1"+u),n+=t(parseInt(u,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",a=e.split("."),s=40*parseInt(a[0])+parseInt(a[1]);r+=t(s),a.splice(0,2);for(var i=0;i<a.length;i++)r+=n(a[i]);return r},ja.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var r=n.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var a=128+r;return a.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ja.asn1.DERAbstractString=function(e){ja.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e["str"]?this.setString(e["str"]):"undefined"!=typeof e["hex"]&&this.setStringHex(e["hex"]))},Ea.lang.extend(ja.asn1.DERAbstractString,ja.asn1.ASN1Object),ja.asn1.DERAbstractTime=function(e){ja.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(e){utc=e.getTime()+6e4*e.getTimezoneOffset();var t=new Date(utc);return t},this.formatDate=function(e,t,n){var r=this.zeroPadding,a=this.localDateToUTC(e),s=String(a.getFullYear());"utc"==t&&(s=s.substr(2,2));var i=r(String(a.getMonth()+1),2),o=r(String(a.getDate()),2),u=r(String(a.getHours()),2),l=r(String(a.getMinutes()),2),d=r(String(a.getSeconds()),2),c=s+i+o+u+l+d;if(!0===n){var m=a.getMilliseconds();if(0!=m){var h=r(String(m),3);h=h.replace(/[0]+$/,""),c=c+"."+h}}return c+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,r,a,s){var i=new Date(Date.UTC(e,t-1,n,r,a,s,0));this.setByDate(i)},this.getFreshValueHex=function(){return this.hV}},Ea.lang.extend(ja.asn1.DERAbstractTime,ja.asn1.ASN1Object),ja.asn1.DERAbstractStructured=function(e){ja.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e["array"]&&(this.asn1Array=e["array"])},Ea.lang.extend(ja.asn1.DERAbstractStructured,ja.asn1.ASN1Object),ja.asn1.DERBoolean=function(){ja.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Ea.lang.extend(ja.asn1.DERBoolean,ja.asn1.ASN1Object),ja.asn1.DERInteger=function(e){ja.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ja.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Xr(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["bigint"]?this.setByBigInteger(e["bigint"]):"undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},Ea.lang.extend(ja.asn1.DERInteger,ja.asn1.ASN1Object),ja.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=ja.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}ja.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){e=e.replace(/0+$/,"");var t=8-e.length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var r="";for(n=0;n<e.length-1;n+=8){var a=e.substr(n,8),s=parseInt(a,2).toString(16);1==s.length&&(s="0"+s),r+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+t+r},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e["hex"]?this.setHexValueIncludingUnusedBits(e["hex"]):"undefined"!=typeof e["bin"]?this.setByBinaryString(e["bin"]):"undefined"!=typeof e["array"]&&this.setByBooleanArray(e["array"]))},Ea.lang.extend(ja.asn1.DERBitString,ja.asn1.ASN1Object),ja.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=ja.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}ja.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},Ea.lang.extend(ja.asn1.DEROctetString,ja.asn1.DERAbstractString),ja.asn1.DERNull=function(){ja.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Ea.lang.extend(ja.asn1.DERNull,ja.asn1.ASN1Object),ja.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new Xr(e,10),a=r.toString(2),s=7-a.length%7;7==s&&(s=0);for(var i="",o=0;o<s;o++)i+="0";a=i+a;for(o=0;o<a.length-1;o+=7){var u=a.substr(o,7);o!=a.length-7&&(u="1"+u),n+=t(parseInt(u,2))}return n};ja.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",a=e.split("."),s=40*parseInt(a[0])+parseInt(a[1]);r+=t(s),a.splice(0,2);for(var i=0;i<a.length;i++)r+=n(a[i]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(e){var t=ja.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"===typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},Ea.lang.extend(ja.asn1.DERObjectIdentifier,ja.asn1.ASN1Object),ja.asn1.DEREnumerated=function(e){ja.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ja.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new Xr(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},Ea.lang.extend(ja.asn1.DEREnumerated,ja.asn1.ASN1Object),ja.asn1.DERUTF8String=function(e){ja.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},Ea.lang.extend(ja.asn1.DERUTF8String,ja.asn1.DERAbstractString),ja.asn1.DERNumericString=function(e){ja.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},Ea.lang.extend(ja.asn1.DERNumericString,ja.asn1.DERAbstractString),ja.asn1.DERPrintableString=function(e){ja.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},Ea.lang.extend(ja.asn1.DERPrintableString,ja.asn1.DERAbstractString),ja.asn1.DERTeletexString=function(e){ja.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},Ea.lang.extend(ja.asn1.DERTeletexString,ja.asn1.DERAbstractString),ja.asn1.DERIA5String=function(e){ja.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},Ea.lang.extend(ja.asn1.DERIA5String,ja.asn1.DERAbstractString),ja.asn1.DERUTCTime=function(e){ja.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},Ea.lang.extend(ja.asn1.DERUTCTime,ja.asn1.DERAbstractTime),ja.asn1.DERGeneralizedTime=function(e){ja.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},Ea.lang.extend(ja.asn1.DERGeneralizedTime,ja.asn1.DERAbstractTime),ja.asn1.DERSequence=function(e){ja.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e+=n.getEncodedHex()}return this.hV=e,this.hV}},Ea.lang.extend(ja.asn1.DERSequence,ja.asn1.DERAbstractStructured),ja.asn1.DERSet=function(e){ja.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},Ea.lang.extend(ja.asn1.DERSet,ja.asn1.DERAbstractStructured),ja.asn1.DERTaggedObject=function(e){ja.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["tag"]&&(this.hT=e["tag"]),"undefined"!=typeof e["explicit"]&&(this.isExplicit=e["explicit"]),"undefined"!=typeof e["obj"]&&(this.asn1Object=e["obj"],this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},Ea.lang.extend(ja.asn1.DERTaggedObject,ja.asn1.ASN1Object);var Ha,Oa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Na=function(e){function t(n){var r=e.call(this)||this;return n&&("string"===typeof n?r.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Oa(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,a=r.test(e)?Nr.decode(e):Pr.unarmor(e),s=qr.decode(a);if(3===s.sub.length&&(s=s.sub[2].sub[0]),9===s.sub.length){t=s.sub[1].getHexStringValue(),this.n=aa(t,16),n=s.sub[2].getHexStringValue(),this.e=parseInt(n,16);var i=s.sub[3].getHexStringValue();this.d=aa(i,16);var o=s.sub[4].getHexStringValue();this.p=aa(o,16);var u=s.sub[5].getHexStringValue();this.q=aa(u,16);var l=s.sub[6].getHexStringValue();this.dmp1=aa(l,16);var d=s.sub[7].getHexStringValue();this.dmq1=aa(d,16);var c=s.sub[8].getHexStringValue();this.coeff=aa(c,16)}else{if(2!==s.sub.length)return!1;if(s.sub[0].sub){var m=s.sub[1],h=m.sub[0];t=h.sub[0].getHexStringValue(),this.n=aa(t,16),n=h.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else t=s.sub[0].getHexStringValue(),this.n=aa(t,16),n=s.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new ja.asn1.DERInteger({int:0}),new ja.asn1.DERInteger({bigint:this.n}),new ja.asn1.DERInteger({int:this.e}),new ja.asn1.DERInteger({bigint:this.d}),new ja.asn1.DERInteger({bigint:this.p}),new ja.asn1.DERInteger({bigint:this.q}),new ja.asn1.DERInteger({bigint:this.dmp1}),new ja.asn1.DERInteger({bigint:this.dmq1}),new ja.asn1.DERInteger({bigint:this.coeff})]},t=new ja.asn1.DERSequence(e);return t.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return jr(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new ja.asn1.DERSequence({array:[new ja.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new ja.asn1.DERNull]}),t=new ja.asn1.DERSequence({array:[new ja.asn1.DERInteger({bigint:this.n}),new ja.asn1.DERInteger({int:this.e})]}),n=new ja.asn1.DERBitString({hex:"00"+t.getEncodedHex()}),r=new ja.asn1.DERSequence({array:[e,n]});return r.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return jr(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(t=t||64,!e)return e;var n="(.{1,"+t+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n",e+="-----END RSA PRIVATE KEY-----",e},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n",e+="-----END PUBLIC KEY-----",e},t.hasPublicKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(Ta),Pa="undefined"!==typeof process?null===(Ha={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"})||void 0===Ha?void 0:Ha.npm_package_version:void 0,Ia=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Na(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(Hr(e))}catch(t){return!1}},e.prototype.encrypt=function(e){try{return jr(this.getKey().encrypt(e))}catch(t){return!1}},e.prototype.sign=function(e,t,n){try{return jr(this.getKey().sign(e,t,n))}catch(r){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,Hr(t),n)}catch(r){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new Na,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=Pa,e}();var Ra=!1;function Fa(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}
|
|
313
|
+
var Ia={};"undefined"!=typeof Ia.asn1&&Ia.asn1||(Ia.asn1={}),Ia.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),r=n.length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var a="",o=0;o<r;o++)a+="f";var s=new ra(a,16),i=s.xor(e).add(ra.ONE);t=i.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=Ia,n=t.asn1,r=n.DERBoolean,a=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,i=n.DERNull,u=n.DERObjectIdentifier,l=n.DEREnumerated,d=n.DERUTF8String,c=n.DERNumericString,m=n.DERPrintableString,h=n.DERTeletexString,f=n.DERIA5String,_=n.DERUTCTime,p=n.DERGeneralizedTime,y=n.DERSequence,g=n.DERSet,M=n.DERTaggedObject,v=n.ASN1Util.newObject,L=Object.keys(e);if(1!=L.length)throw"key of param shall be only one.";var w=L[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+w+":"))throw"undefined key: "+w;if("bool"==w)return new r(e[w]);if("int"==w)return new a(e[w]);if("bitstr"==w)return new o(e[w]);if("octstr"==w)return new s(e[w]);if("null"==w)return new i(e[w]);if("oid"==w)return new u(e[w]);if("enum"==w)return new l(e[w]);if("utf8str"==w)return new d(e[w]);if("numstr"==w)return new c(e[w]);if("prnstr"==w)return new m(e[w]);if("telstr"==w)return new h(e[w]);if("ia5str"==w)return new f(e[w]);if("utctime"==w)return new _(e[w]);if("gentime"==w)return new p(e[w]);if("seq"==w){for(var k=e[w],Y=[],b=0;b<k.length;b++){var D=v(k[b]);Y.push(D)}return new y({array:Y})}if("set"==w){for(k=e[w],Y=[],b=0;b<k.length;b++){D=v(k[b]);Y.push(D)}return new g({array:Y})}if("tag"==w){var T=e[w];if("[object Array]"===Object.prototype.toString.call(T)&&3==T.length){var S=v(T[2]);return new M({tag:T[0],explicit:T[1],obj:S})}var A={};if(void 0!==T.explicit&&(A.explicit=T.explicit),void 0!==T.tag&&(A.tag=T.tag),void 0===T.obj)throw"obj shall be specified for 'tag'.";return A.obj=v(T.obj),new M(A)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},Ia.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=Math.floor(n/40),a=n%40,o=(t=r+"."+a,""),s=2;s<e.length;s+=2){var i=parseInt(e.substr(s,2),16),u=("00000000"+i.toString(2)).slice(-8);if(o+=u.substr(1,7),"0"==u.substr(0,1)){var l=new ra(o,2);t=t+"."+l.toString(10),o=""}}return t},Ia.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new ra(e,10),a=r.toString(2),o=7-a.length%7;7==o&&(o=0);for(var s="",i=0;i<o;i++)s+="0";a=s+a;for(i=0;i<a.length-1;i+=7){var u=a.substr(i,7);i!=a.length-7&&(u="1"+u),n+=t(parseInt(u,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",a=e.split("."),o=40*parseInt(a[0])+parseInt(a[1]);r+=t(o),a.splice(0,2);for(var s=0;s<a.length;s++)r+=n(a[s]);return r},Ia.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var r=n.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var a=128+r;return a.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},Ia.asn1.DERAbstractString=function(e){Ia.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e["str"]?this.setString(e["str"]):"undefined"!=typeof e["hex"]&&this.setStringHex(e["hex"]))},Pa.lang.extend(Ia.asn1.DERAbstractString,Ia.asn1.ASN1Object),Ia.asn1.DERAbstractTime=function(e){Ia.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(e){utc=e.getTime()+6e4*e.getTimezoneOffset();var t=new Date(utc);return t},this.formatDate=function(e,t,n){var r=this.zeroPadding,a=this.localDateToUTC(e),o=String(a.getFullYear());"utc"==t&&(o=o.substr(2,2));var s=r(String(a.getMonth()+1),2),i=r(String(a.getDate()),2),u=r(String(a.getHours()),2),l=r(String(a.getMinutes()),2),d=r(String(a.getSeconds()),2),c=o+s+i+u+l+d;if(!0===n){var m=a.getMilliseconds();if(0!=m){var h=r(String(m),3);h=h.replace(/[0]+$/,""),c=c+"."+h}}return c+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,r,a,o){var s=new Date(Date.UTC(e,t-1,n,r,a,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},Pa.lang.extend(Ia.asn1.DERAbstractTime,Ia.asn1.ASN1Object),Ia.asn1.DERAbstractStructured=function(e){Ia.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e["array"]&&(this.asn1Array=e["array"])},Pa.lang.extend(Ia.asn1.DERAbstractStructured,Ia.asn1.ASN1Object),Ia.asn1.DERBoolean=function(){Ia.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Pa.lang.extend(Ia.asn1.DERBoolean,Ia.asn1.ASN1Object),Ia.asn1.DERInteger=function(e){Ia.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Ia.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new ra(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["bigint"]?this.setByBigInteger(e["bigint"]):"undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},Pa.lang.extend(Ia.asn1.DERInteger,Ia.asn1.ASN1Object),Ia.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=Ia.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}Ia.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){e=e.replace(/0+$/,"");var t=8-e.length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var r="";for(n=0;n<e.length-1;n+=8){var a=e.substr(n,8),o=parseInt(a,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+r},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e["hex"]?this.setHexValueIncludingUnusedBits(e["hex"]):"undefined"!=typeof e["bin"]?this.setByBinaryString(e["bin"]):"undefined"!=typeof e["array"]&&this.setByBooleanArray(e["array"]))},Pa.lang.extend(Ia.asn1.DERBitString,Ia.asn1.ASN1Object),Ia.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=Ia.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}Ia.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},Pa.lang.extend(Ia.asn1.DEROctetString,Ia.asn1.DERAbstractString),Ia.asn1.DERNull=function(){Ia.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Pa.lang.extend(Ia.asn1.DERNull,Ia.asn1.ASN1Object),Ia.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new ra(e,10),a=r.toString(2),o=7-a.length%7;7==o&&(o=0);for(var s="",i=0;i<o;i++)s+="0";a=s+a;for(i=0;i<a.length-1;i+=7){var u=a.substr(i,7);i!=a.length-7&&(u="1"+u),n+=t(parseInt(u,2))}return n};Ia.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",a=e.split("."),o=40*parseInt(a[0])+parseInt(a[1]);r+=t(o),a.splice(0,2);for(var s=0;s<a.length;s++)r+=n(a[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(e){var t=Ia.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"===typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},Pa.lang.extend(Ia.asn1.DERObjectIdentifier,Ia.asn1.ASN1Object),Ia.asn1.DEREnumerated=function(e){Ia.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Ia.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new ra(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["int"]?this.setByInteger(e["int"]):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e["hex"]&&this.setValueHex(e["hex"]))},Pa.lang.extend(Ia.asn1.DEREnumerated,Ia.asn1.ASN1Object),Ia.asn1.DERUTF8String=function(e){Ia.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},Pa.lang.extend(Ia.asn1.DERUTF8String,Ia.asn1.DERAbstractString),Ia.asn1.DERNumericString=function(e){Ia.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},Pa.lang.extend(Ia.asn1.DERNumericString,Ia.asn1.DERAbstractString),Ia.asn1.DERPrintableString=function(e){Ia.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},Pa.lang.extend(Ia.asn1.DERPrintableString,Ia.asn1.DERAbstractString),Ia.asn1.DERTeletexString=function(e){Ia.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},Pa.lang.extend(Ia.asn1.DERTeletexString,Ia.asn1.DERAbstractString),Ia.asn1.DERIA5String=function(e){Ia.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},Pa.lang.extend(Ia.asn1.DERIA5String,Ia.asn1.DERAbstractString),Ia.asn1.DERUTCTime=function(e){Ia.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},Pa.lang.extend(Ia.asn1.DERUTCTime,Ia.asn1.DERAbstractTime),Ia.asn1.DERGeneralizedTime=function(e){Ia.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},Pa.lang.extend(Ia.asn1.DERGeneralizedTime,Ia.asn1.DERAbstractTime),Ia.asn1.DERSequence=function(e){Ia.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e+=n.getEncodedHex()}return this.hV=e,this.hV}},Pa.lang.extend(Ia.asn1.DERSequence,Ia.asn1.DERAbstractStructured),Ia.asn1.DERSet=function(e){Ia.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},Pa.lang.extend(Ia.asn1.DERSet,Ia.asn1.DERAbstractStructured),Ia.asn1.DERTaggedObject=function(e){Ia.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e["tag"]&&(this.hT=e["tag"]),"undefined"!=typeof e["explicit"]&&(this.isExplicit=e["explicit"]),"undefined"!=typeof e["obj"]&&(this.asn1Object=e["obj"],this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},Pa.lang.extend(Ia.asn1.DERTaggedObject,Ia.asn1.ASN1Object);var Ra,Fa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ba=function(e){function t(n){var r=e.call(this)||this;return n&&("string"===typeof n?r.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Fa(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,a=r.test(e)?Br.decode(e):Wr.unarmor(e),o=Zr.decode(a);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=la(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var s=o.sub[3].getHexStringValue();this.d=la(s,16);var i=o.sub[4].getHexStringValue();this.p=la(i,16);var u=o.sub[5].getHexStringValue();this.q=la(u,16);var l=o.sub[6].getHexStringValue();this.dmp1=la(l,16);var d=o.sub[7].getHexStringValue();this.dmq1=la(d,16);var c=o.sub[8].getHexStringValue();this.coeff=la(c,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var m=o.sub[1],h=m.sub[0];t=h.sub[0].getHexStringValue(),this.n=la(t,16),n=h.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else t=o.sub[0].getHexStringValue(),this.n=la(t,16),n=o.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new Ia.asn1.DERInteger({int:0}),new Ia.asn1.DERInteger({bigint:this.n}),new Ia.asn1.DERInteger({int:this.e}),new Ia.asn1.DERInteger({bigint:this.d}),new Ia.asn1.DERInteger({bigint:this.p}),new Ia.asn1.DERInteger({bigint:this.q}),new Ia.asn1.DERInteger({bigint:this.dmp1}),new Ia.asn1.DERInteger({bigint:this.dmq1}),new Ia.asn1.DERInteger({bigint:this.coeff})]},t=new Ia.asn1.DERSequence(e);return t.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return Ir(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new Ia.asn1.DERSequence({array:[new Ia.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new Ia.asn1.DERNull]}),t=new Ia.asn1.DERSequence({array:[new Ia.asn1.DERInteger({bigint:this.n}),new Ia.asn1.DERInteger({int:this.e})]}),n=new Ia.asn1.DERBitString({hex:"00"+t.getEncodedHex()}),r=new Ia.asn1.DERSequence({array:[e,n]});return r.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return Ir(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(t=t||64,!e)return e;var n="(.{1,"+t+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n",e+="-----END RSA PRIVATE KEY-----",e},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n",e+="-----END PUBLIC KEY-----",e},t.hasPublicKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return e=e||{},e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(Ea),Wa="undefined"!==typeof process?null===(Ra={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"})||void 0===Ra?void 0:Ra.npm_package_version:void 0,Va=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Ba(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(Rr(e))}catch(t){return!1}},e.prototype.encrypt=function(e){try{return Ir(this.getKey().encrypt(e))}catch(t){return!1}},e.prototype.sign=function(e,t,n){try{return Ir(this.getKey().sign(e,t,n))}catch(r){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,Rr(t),n)}catch(r){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new Ba,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=Wa,e}();var za=!1;function Ua(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}
|
|
314
314
|
/*!
|
|
315
315
|
* pinia v2.1.7
|
|
316
316
|
* (c) 2023 Eduardo San Martin Morote
|
|
317
317
|
* @license MIT
|
|
318
318
|
*/
|
|
319
|
-
let Ba;const Wa=e=>Ba=e,Va=Symbol();function za(e){return e&&"object"===typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!==typeof e.toJSON}var Ua;(function(e){e["direct"]="direct",e["patchObject"]="patch object",e["patchFunction"]="patch function"})(Ua||(Ua={}));const qa="undefined"!==typeof window,Ja=!1,Ga=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof global&&global.global===global?global:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function $a(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function Ka(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){ts(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function Za(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function Xa(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const Qa="object"===typeof navigator?navigator:{userAgent:""},es=(()=>/Macintosh/.test(Qa.userAgent)&&/AppleWebKit/.test(Qa.userAgent)&&!/Safari/.test(Qa.userAgent))(),ts=qa?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!es?ns:"msSaveOrOpenBlob"in Qa?rs:as:()=>{};function ns(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener","string"===typeof e?(r.href=e,r.origin!==location.origin?Za(r.href)?Ka(e,t,n):(r.target="_blank",Xa(r)):Xa(r)):(r.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){Xa(r)}),0))}function rs(e,t="download",n){if("string"===typeof e)if(Za(e))Ka(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){Xa(t)}))}else navigator.msSaveOrOpenBlob($a(e,n),t)}function as(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"===typeof e)return Ka(e,t,n);const a="application/octet-stream"===e.type,s=/constructor/i.test(String(Ga.HTMLElement))||"safari"in Ga,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||a&&s||es)&&"undefined"!==typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!==typeof e)throw r=null,new Error("Wrong reader.result type");e=i?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}const{assign:ss}=Object;const is=()=>{};function os(e,t,r,a=is){e.push(t);const s=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),a())};return!r&&(0,n.getCurrentScope)()&&(0,n.onScopeDispose)(s),s}function us(e,...t){e.slice().forEach((e=>{e(...t)}))}const ls=e=>e();function ds(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const a=t[r],s=e[r];za(s)&&za(a)&&e.hasOwnProperty(r)&&!(0,n.isRef)(a)&&!(0,n.isReactive)(a)?e[r]=ds(s,a):e[r]=a}return e}const cs=Symbol(),ms=new WeakMap;function hs(e){return Ra?!ms.has(e):!za(e)||!e.hasOwnProperty(cs)}const{assign:fs}=Object;function _s(e){return!(!(0,n.isRef)(e)||!e.effect)}function ps(e,t,r,a){const{state:s,actions:i,getters:o}=t,u=r.state.value[e];let l;function d(){u||(Ra?Fa(r.state.value,e,s?s():{}):r.state.value[e]=s?s():{});const t=(0,n.toRefs)(r.state.value[e]);return fs(t,i,Object.keys(o||{}).reduce(((t,a)=>(t[a]=(0,n.markRaw)((0,n.computed)((()=>{Wa(r);const t=r._s.get(e);if(!Ra||t._r)return o[a].call(t,t)}))),t)),{}))}return l=ys(e,d,t,r,a,!0),l}function ys(e,t,r={},a,s,i){let o;const u=fs({actions:{}},r);const l={deep:!0};let d,c;let m,h=[],f=[];const _=a.state.value[e];i||_||(Ra?Fa(a.state.value,e,{}):a.state.value[e]={});const p=(0,n.ref)({});let y;function g(t){let r;d=c=!1,"function"===typeof t?(t(a.state.value[e]),r={type:Ua.patchFunction,storeId:e,events:m}):(ds(a.state.value[e],t),r={type:Ua.patchObject,payload:t,storeId:e,events:m});const s=y=Symbol();(0,n.nextTick)().then((()=>{y===s&&(d=!0)})),c=!0,us(h,r,a.state.value[e])}const M=i?function(){const{state:e}=r,t=e?e():{};this.$patch((e=>{fs(e,t)}))}:is;function v(){o.stop(),h=[],f=[],a._s.delete(e)}function L(t,n){return function(){Wa(a);const r=Array.from(arguments),s=[],i=[];function o(e){s.push(e)}function u(e){i.push(e)}let l;us(f,{args:r,name:t,store:b,after:o,onError:u});try{l=n.apply(this&&this.$id===e?this:b,r)}catch(d){throw us(i,d),d}return l instanceof Promise?l.then((e=>(us(s,e),e))).catch((e=>(us(i,e),Promise.reject(e)))):(us(s,l),l)}}const w=(0,n.markRaw)({actions:{},getters:{},state:[],hotState:p}),Y={_p:a,$id:e,$onAction:os.bind(null,f),$patch:g,$reset:M,$subscribe(t,r={}){const s=os(h,t,r.detached,(()=>i())),i=o.run((()=>(0,n.watch)((()=>a.state.value[e]),(n=>{("sync"===r.flush?c:d)&&t({storeId:e,type:Ua.direct,events:m},n)}),fs({},l,r))));return s},$dispose:v};Ra&&(Y._r=!1);const b=(0,n.reactive)(Ja?fs({_hmrPayload:w,_customProperties:(0,n.markRaw)(new Set)},Y):Y);a._s.set(e,b);const k=a._a&&a._a.runWithContext||ls,D=k((()=>a._e.run((()=>(o=(0,n.effectScope)()).run(t)))));for(const T in D){const t=D[T];if((0,n.isRef)(t)&&!_s(t)||(0,n.isReactive)(t))i||(_&&hs(t)&&((0,n.isRef)(t)?t.value=_[T]:ds(t,_[T])),Ra?Fa(a.state.value[e],T,t):a.state.value[e][T]=t);else if("function"===typeof t){const e=L(T,t);Ra?Fa(D,T,e):D[T]=e,u.actions[T]=t}else 0}if(Ra?Object.keys(D).forEach((e=>{Fa(b,e,D[e])})):(fs(b,D),fs((0,n.toRaw)(b),D)),Object.defineProperty(b,"$state",{get:()=>a.state.value[e],set:e=>{g((t=>{fs(t,e)}))}}),Ja){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((t=>{Object.defineProperty(b,t,fs({value:b[t]},e))}))}return Ra&&(b._r=!0),a._p.forEach((e=>{if(Ja){const t=o.run((()=>e({store:b,app:a._a,pinia:a,options:u})));Object.keys(t||{}).forEach((e=>b._customProperties.add(e))),fs(b,t)}else fs(b,o.run((()=>e({store:b,app:a._a,pinia:a,options:u}))))})),_&&i&&r.hydrate&&r.hydrate(b.$state,_),d=!0,c=!0,b}function gs(e,t,r){let a,s;const i="function"===typeof t;function o(e,r){const o=(0,n.hasInjectionContext)();e=e||(o?(0,n.inject)(Va,null):null),e&&Wa(e),e=Ba,e._s.has(a)||(i?ys(a,t,s,e):ps(a,s,e));const u=e._s.get(a);return u}return"string"===typeof e?(a=e,s=i?r:t):(s=e,a=e.id),o.$id=a,o}var Ms=r(9755),vs=r.n(Ms),Ls=r(9669),ws=r.n(Ls);const Ys={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VUE_LOGIN_CONFIG,bs={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VITE_APP_COMPANY_CODE,ks={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VITE_APP_APPLICATION_NAME;class Ds{static apps=[];static companies=[];static currentEnvironment=(0,s.getCurrentEnvironment)()||{skinName:"",culture:"",companyCode:"",companyName:"",appName:""};static loginStatus="";static formState={authButtons:void 0,formInfo:void 0,formParamInfo:void 0,formData:void 0,buttonData:void 0,buttonLoaded:!1,hasAuthority:!1};static setLoginStatus(e){this.loginStatus=e,localStorage.setItem("login_status",e)}static getCurLoginStatus(){return this.loginStatus=(0,s.getRememberMe)()?localStorage.getItem("login_status"):this.loginStatus,this.loginStatus}static changeLoginStatus(e){this.loginStatus=e,localStorage.setItem("login_status",e)}static LOGIN(e){const t=Ys.ENABLE_ENCRYPTED?"EX/encryptLogin":"EX/Login";if(e={...e,RememberMeTime:24*(e.RememberMeTime||1)},Ys.ENABLE_ENCRYPTED){const t=new Ia({});t.setPublicKey(Ys.PUBLIC_KEY);const n=t.encrypt(e.Password),r=t.encrypt(e.UserName);e.UserName=r,e.Password=n}return s.EIManager.handlePost(t,e).then((t=>{let n,r,a=!0,i=!1;const o=t.headers,u=o.signature,l=o.refresh_token,d=t.data,{status:c,msg:m}=d;if(0===c||20003===c){const e=d.getBlock("UserInfo");e||Zn({message:"获取用户信息失败",duration:1e3});const t=e.data.length?e.data[0]:{};r={id:t.ID,userId:t.ENAME,userName:t.CNAME,deptId:t.DEPTID,deptEName:t.DEPT_ENAME,deptCName:t.DEPT_CNAME},a=!1,i=20003===c}return n={code:c,token:u,refreshToken:l,userInfo:r,msg:m,isError:a,pwdOut:i},e.RememberMe&&(0,s.setRememberMe)(!0),u&&(this.setLoginStatus("LOGIN"),(0,s.setToken)(u)),l&&(0,s.setRefreshToken)(l),n})).catch((e=>Promise.reject(e)))}static GET_USER(e){return s.EIManager.handlePost("EX/api/GetUserInfo",e).then((e=>{let t;const n=e.data,{status:r,msg:a}=n;if(0===r){const e=n.getBlock("UserInfo");e||Zn({message:"获取用户信息失败",duration:1e3});const r=e.data.length?e.data[0]:{};return t={id:r.ID,userId:r.ENAME,userName:r.CNAME,deptId:r.DEPTID,deptEName:r.DEPT_ENAME,deptCName:r.DEPT_CNAME},(0,s.setCurrentUser)(t),!0}return Zn({message:`${a}`,duration:1e3}),!1})).catch((e=>Promise.reject(e)))}static GET_MENUS(e){const t=(0,s.buildEIInfo)(e);return s.EIManager.callEPService("epesloadinit_vue",t).then((e=>{let t=[];try{const{msg:n,status:r}=e;return 0===r?(t=e.blocks.MENUTREE.data,t):(Zn({message:`调用菜单服务失败,错误信息:${n}.`,duration:1e3}),t)}catch(e){return Zn({message:`调用菜单服务失败,错误信息:${e}.`,duration:1e3}),e}}))}static GET_COMPANIES(){return s.EIManager.handleGet("EX/GetCompanies").then((e=>{const t=e.blocks.COMPANYINFO.data;return this.companies=t,t})).catch((e=>Promise.reject(e)))}static GET_APPS(){return s.EIManager.handleGet("EX/GetApps").then((e=>{const t=e.blocks.APPINFO.data;return this.apps=t,t})).catch((e=>Promise.reject(e)))}static INITAPP_CONFIG(){let e={COMPANYCODE:"",COMPANYNAME:""},t="";Promise.all([this.GET_COMPANIES(),this.GET_APPS()]).then((([n,r])=>{if(n.length){const t=this.companies;let n=t.length>0?t[0]:{COMPANYID:"",COMPANYCODE:"",COMPANYNAME:""};if(bs){const e=t.filter((e=>e.COMPANYCODE===bs));n=e.length?e[0]:t[0]}e={...n}}if(r.length){const e=this.apps;let n=e.length>0?e[0].ENAME:"";if(ks){const t=e.filter((e=>e.ENAME===ks));n=t.length>0?t[0].ENAME:e.length>0?e[0].ENAME:""}t=n}if(t&&e){let n=(0,s.getCurrentEnvironment)();n={...n,culture:"zh_Hans",companyCode:e.COMPANYCODE,companyName:e.COMPANYNAME,appName:t,skinName:"default"},(0,s.setRememberMe)(!0),(0,s.setCurrentEnvironment)(n,!0),this.currentEnvironment=n}})).catch((e=>{const{message:t,status:n}=e;t&&Zn({message:`获取账套或子系统失败,错误信息:${t}.`,duration:1e3})}))}static LOGOUT(){return new Promise(((e,t)=>{this.changeLoginStatus("LOGOUT"),(0,s.removeToken)(),(0,s.removeRefreshToken)(),(0,s.removeCurrentUser)(),e(!0)}))}static exchangeSignature(e){return s.EIManager.handlePost("/proxyEx/exchangeSignature_BW",e).then((e=>{const t=e.data,{flag:n,signature:r}=t;if(0!==n)return Promise.reject({message:"宝武交换token出错啦"});(0,s.setRememberMe)(!0),(0,s.setToken)(r)})).catch((e=>Promise.reject(e)))}static CHECK_AUTH(e){return new Promise((async(t,n)=>{e.formname.toLowerCase();const r=new s.EI.EIInfo;r.addBlock(new s.EI.EiBlock,"Table1").pushData(e,!0),s.EIManager.callEPService("epescheckdll",r).then((e=>{const{status:n,msg:r}=e;let a=!1;if(0!==n){const e=new Error(`${r}`);throw e.status=100401,e}{const n=e.blocks.AUTH_INFO,r=e.blocks.BUTTON_INFO,s=e.blocks.FORMPARA_INFO,i=e.blocks.FORMDLL_INFO.data,o=i.length?i[0]:void 0;if(o){const e={formName:o.NAME,formCaption:o.DESCRIPTION,formPartition:o.ABBREV,appName:o.APPNAME,formPath:o.DLLPATH,dllName:o.DLLNAME,formCallMode:o.FORM_CALL_MODE};let t=r.data.map((e=>({name:e.NAME.trim(),desc:e.DESCRIPTION,opType:e.OPTYPE})));t=[...new Map(t.map((e=>[e.name,e]))).values()];const[{DLLMARK:i}]=n.data;a=Number(i?.toString().trim())>=1;const u=s.data.length&&s.data[0];let l;if(u&&u.FORM_NAME&&""!==u.FORM_NAME.trim()){l={params:{},baseFormName:u.FORM_BASE_NAME};for(let e=1;e<=10;e++){const t=u[`PK${e}_NAME`];null!==t&&""!==t.trim()&&(l.params[u[`PK${e}_NAME`]+""]=u[`PK${e}`])}}this.formState.formInfo=e,this.formState.authButtons=t,this.formState.hasAuthority=a,this.formState.formParamInfo=l,this.formState.buttonLoaded=!0}t(this.formState)}})).catch((e=>{n(e)}))}))}static LOGIN_CHECK(e){const t=(0,s.buildEIInfo)(e);return s.EIManager.handlePost("/MASTER/api/CallService/epeslogincheck",t).then((e=>{const t=e.data;console.log(t);const{status:n,sys:r}=t;return console.log(n),0===n?Promise.resolve(t):Promise.reject(r)})).catch((e=>Promise.reject(e)))}}var Ts=(0,n.defineComponent)({name:"CPage",components:{"van-button":or,"van-empty":fr,"van-nav-bar":Lr},props:{title:{type:String,default:""},hideBack:{type:Boolean,default:!1},rightText:{type:String,default:""},hideHeader:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},backClick:{type:Function,default:()=>!0}},emits:["click-right","ready"],setup(e,{attrs:t,emit:r}){let a=(0,n.ref)("");(0,n.watch)((()=>a),(e=>{document.title=e}));let i=(0,n.ref)("");const o=Ye();let u=(0,n.ref)(!1),l=o.currentRoute.value,d=o.currentRoute.value.path;const c=(0,n.ref)({appName:"",formName:"",formPath:"",dllName:"",formCallMode:"",formCaption:"",formPartition:"",formParams:{},baseFormName:"",buttonInfo:[]});let m="";m=l.query?.formName?l.query?.formName:d.substring(d.lastIndexOf("/")+1);let h=(0,n.ref)(null);(0,n.provide)("buttons",h);const f=Ds.formState;f.authButtons=[],async function(){const e=(0,s.getCurrentUser)();await Ds.CHECK_AUTH({formname:m,appname:(0,s.getCurrentEnvironment)().appName,path:d,loginName:e.userId}).then((e=>{u.value=!1,a.value=f.formInfo.formCaption,h.value=f.authButtons,c.value.appName=e.formInfo.appName,c.value.formName=e.formInfo.formName,c.value.formPath=e.formInfo.formPath,c.value.dllName=e.formInfo.dllName,c.value.formCallMode=e.formInfo.formCallMode,c.value.formCaption=e.formInfo.formCaption,c.value.formPartition=e.formInfo.formPartition,c.value.baseFormName=e.formParamInfo?e.formParamInfo.baseFormName:void 0,c.value.formParams=e.formParamInfo?e.formParamInfo.params:void 0,c.value.buttonInfo=h.value,r("ready",{formInfo:c.value})})).catch((e=>{u.value=!0,a.value="404";const{message:t,status:n}=e;401===n||403===n?i.value="凭据过期,请重新认证登录信息":void 0!==t&&(i.value=`${t}`)}))}();const _=(0,n.useAttrs)(),p={};Object.entries(_).forEach((([e,t])=>{"class"!==e&&(p[e]=t)}));const y=(0,n.ref)(!1),g=(0,n.useSlots)();g&&g.default&&g.default().forEach((e=>{const t=e.type;t.name&&"x-navigation"===t.name&&(y.value=!0)}));const M=(0,n.computed)((()=>({height:"calc(100vh - 46)px"})));return{title:a,clickLeft:()=>{e.backClick?e.backClick()&&o.back():(console.log("no back"),o.back())},newAttr:p,onClickRight:()=>{r("click-right")},noAuthDesc:i,show404Panel:u,containerStyle:M}}});const Ss={key:1,style:{"text-align":"center","margin-top":"20%"}},As=(e=>((0,n.pushScopeId)("data-v-7700e381"),e=e(),(0,n.popScopeId)(),e))((()=>(0,n.createElementVNode)("img",{src:"/src/assets/img/404.png",style:{width:"100%"}},null,-1)));Ts.render=function(e,t,r,a,s,i){const o=(0,n.resolveComponent)("van-nav-bar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.show404Panel?"not-found":"c-page")},[(0,n.renderSlot)(e.$slots,"header",{},(()=>[e.hideHeader?(0,n.createCommentVNode)("v-if",!0):((0,n.openBlock)(),(0,n.createBlock)(o,(0,n.mergeProps)({key:0,class:"xm-title",title:e.title,onClickLeft:e.clickLeft},e.newAttr,{"left-arrow":!e.hideBack,"right-text":e.rightText,onClickRight:e.onClickRight,"safe-area-inset-top":""}),null,16,["title","onClickLeft","left-arrow","right-text","onClickRight"]))])),e.show404Panel?(0,n.createCommentVNode)("v-if",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["page-container",{"safe-area-bottom":e.safeAreaInsetBottom}])},[(0,n.renderSlot)(e.$slots,"default")],2)),e.show404Panel?((0,n.openBlock)(),(0,n.createElementBlock)("div",Ss,[As,(0,n.createElementVNode)("h3",null,(0,n.toDisplayString)(e.noAuthDesc),1)])):(0,n.createCommentVNode)("v-if",!0)],2)},Ts.__scopeId="data-v-7700e381",Ts.__file="packages/CPage/CPage.vue";const xs=e=>(e.install=t=>{const n=e.name||e.__name;t.component(n,e)},e);xs(Ts);var Cs=(0,n.defineComponent)({name:"CButton",components:{"van-button":or},props:{name:{required:!0,type:String},disabled:{type:Boolean,default:!1,required:!1},size:{type:String,default:"small",required:!1}},setup(e,{attrs:t,emit:r}){let a=(0,n.inject)("buttons",[]);console.log(a.value);let s=(0,n.ref)(!1);const i=(0,n.ref)("");return(0,n.watch)(a,(t=>{const n=t?.find((t=>t.name.trim()===e.name.trim()));n&&(i.value=n.desc,s.value=!0)})),{visible:s,clickHandle:()=>{r("c-click")},buttonDesc:i}}});Cs.render=function(e,t,r,a,s,i){const o=(0,n.resolveComponent)("van-button");return e.visible?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,type:"primary",disabled:e.disabled,size:e.size,onClick:e.clickHandle},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.buttonDesc),1)])),_:1},8,["disabled","size","onClick"])):(0,n.createCommentVNode)("v-if",!0)},Cs.__file="packages/CButton/CButton.vue";xs(Cs);var Es=(0,n.defineComponent)({name:"CButtonAuth",props:{name:{required:!0,type:String}},setup(e){let t=(0,n.inject)("buttons",[]);console.log(t.value);let r=(0,n.ref)(!1);return(0,n.watch)(t,(t=>{const n=t?.find((t=>t.name.trim()===e.name.trim()));n&&(console.log(n),r.value=!0)})),{visible:r}}});const js={key:0};Es.render=function(e,t,r,a,s,i){return e.visible?((0,n.openBlock)(),(0,n.createElementBlock)("div",js,[(0,n.renderSlot)(e.$slots,"default")])):(0,n.createCommentVNode)("v-if",!0)},Es.__file="packages/CButtonAuth/CButtonAuth.vue";xs(Es);const Hs={authButtons:void 0,formInfo:void 0,formParamInfo:void 0,formData:void 0,buttonData:void 0,buttonLoaded:!1,hasAuthority:!1},Os=(gs("form",{state:()=>Hs,actions:{async checkAuth(e){return new Promise((async(t,n)=>{e.formname.toLowerCase();const r=new s.EI.EIInfo;r.addBlock(new s.EI.EiBlock,"Table1").pushData(e,!0),s.EIManager.callEPService("epescheckdll",r).then((e=>{const{status:n,msg:r}=e;let a=!1;if(0!==n){const e=new Error(`${r}`);throw e.status=100401,e}{const n=e.blocks.AUTH_INFO,r=e.blocks.BUTTON_INFO,s=e.blocks.FORMPARA_INFO,i=e.blocks.FORMDLL_INFO.data,o=i.length?i[0]:void 0;if(o){const e={formName:o.NAME,formCaption:o.DESCRIPTION,formPartition:o.ABBREV,appName:o.APPNAME,formPath:o.DLLPATH,dllName:o.DLLNAME,formCallMode:o.FORM_CALL_MODE};let t=r.data.map((e=>({name:e.NAME,desc:e.DESCRIPTION,opType:e.OPTYPE})));t=[...new Map(t.map((e=>[e.name,e]))).values()];const[{DLLMARK:i}]=n.data;a=Number(i?.toString().trim())>=1;const u=s.data.length&&s.data[0];let l;if(u&&u.FORM_NAME&&""!==u.FORM_NAME.trim()){l={params:{},baseFormName:u.FORM_BASE_NAME};for(let e=1;e<=10;e++){const t=u[`PK${e}_NAME`];null!==t&&""!==t.trim()&&(l.params[u[`PK${e}_NAME`]+""]=u[`PK${e}`])}}this.$patch((n=>{n.formInfo=e,n.authButtons=t,n.hasPermission=a,n.formParamInfo=l,n.buttonLoaded=!0}))}t(a)}})).catch((e=>{n(e)}))}))},checkDll:async e=>new Promise(((t,n)=>{let r="";r=e.query?.formName?e.query?.formName:e.path.substring(e.path.lastIndexOf("/")+1);const a={formname:r&&r.toString().toUpperCase()||"",appname:(0,s.getCurrentEnvironment)().appName},i=new s.EI.EIInfo;i.addBlock(new s.EI.EiBlock,"Table1").pushData(a,!0),s.EIManager.callEPService("epescheckdll",i).then((e=>{const{status:r,msg:a}=e;0===r?t(e):n(`调用校验权限服务出现错误,${a}`)})).catch((e=>n(e)))}))}}),2e5);let Ns=0,Ps=Ns+Os,Is="",Rs="",Fs="";class Bs{static getServerInfo(e){return new Promise(((t,n)=>{const r=new s.EI.EIInfo;r.addBlock(new s.EI.EiBlock,"Table0").pushData({CODE_CLASS:"EPTF"},!0),s.EIManager.callMasterEPService("epep01_inq3",r).then((r=>{r.blocks.EPTF.data.forEach((async r=>{if(e){if(r.CODE===e){Is=r.CODE_DESC_1_CONTENT,Rs=r.CODE_DESC_3_CONTENT;const e={serverUrl:r.CODE_DESC_1_CONTENT,rootPath:r.CODE_DESC_3_CONTENT};t(e)}}else n("数据中没有匹配到传入的小代码号")}))})).catch((()=>{n("小代码请求失败")}))}))}static cutFile=e=>{const t=e.slice(Ns,Ps);return Ns=Ps,Ps=Ns+Os,t};static callServerUpd=e=>{const t=(0,s.buildEIInfo)(e,"INS");s.EIManager.callMasterEPService("eptf01_ins",t).then((e=>{}))};static fileUpload=async(e,t,n,r,a,s)=>{const i=2e5;a||(a=Is),s||(s=Rs);const o=a+"file-manager";if(r>i){const a=e.type,u=((e,t,n)=>new File([e],t,{type:n}))(e,n.substring(0,n.lastIndexOf(".")),a),l=Math.ceil(r/i),d=[];let c=!1;const m={errorCode:null,errorText:"",result:null,success:!0};for(let h=0;h<l;h++){const a=h,c=h*i,m=Math.min((h+1)*i,r);""===Fs&&(Fs=(new Date).valueOf());const f={destinationPathInfo:[{key:t,name:t}],chunkMetadata:{UploadId:Fs,FileName:n,Index:a,TotalCount:l,FileSize:u.size}},_=u.slice(c,m),p=new FormData;p.append("command","UploadChunk"),p.append("arguments",JSON.stringify(f)),p.append("chunk",_),p.append("rootDirectory",s);try{const e=await ws().post(o,p,{headers:{"Content-Type":"multipart/form-data"}});d.push(e.data)}catch(e){return console.error("error",e),e}}for(let e=0;e<d.length;e++){if(1!=d[e].success)return c=!1,d[e];c=!0}if(1==c)return m}else{const a={destinationPathInfo:[{key:t,name:t}],chunkMetadata:{UploadId:(new Date).valueOf(),FileName:n,Index:0,TotalCount:1,FileSize:r}},i=new FormData;i.append("command","UploadChunk"),i.append("arguments",JSON.stringify(a)),i.append("chunk",e),i.append("rootDirectory",s);try{return(await ws().post(o,i,{headers:{"Content-Type":"multipart/form-data"}})).data}catch(e){return console.error("error",e),e}}};static fileDownload(e,t,n,r,a){return new Promise(((s,i)=>{n||(n=Is),r||(r=Rs);let o="",u=0;const l={pathInfoList:[]},d={pathInfo:[{name:t,key:t}]},c=JSON.stringify(d),m=(new Date).valueOf(),h=`${n}file-manager?command=GetDirContents&arguments=${c}&_=${m}&rootDirectory=${r}`;vs().ajax({url:h,async:!1}).then((d=>{e.forEach(((e,n)=>{let r=!1;if(d.result.forEach(((t,n)=>{e===t.name&&(r=!0)})),r){const n=(t+"/"+e).split("/"),r=[];n.forEach(((e,t)=>{const a={key:n.slice(0,t+1).join("/"),name:e};""!==a.key&&""!==a.name&&r.push(a)})),0===u?(o=e,u+=1):1===u&&(o+="等.zip",u+=1),l.pathInfoList.push(r)}else i(e+"文件不存在")}));const c=new URLSearchParams;c.append("command","Download"),c.append("arguments",JSON.stringify(l)),c.append("rootDirectory",r),vs().ajax({url:n+"file-manager",type:"POST",data:c,contentType:"application/x-www-form-urlencoded",processData:!1,xhrFields:{responseType:"blob"},success:function(e){s(e)},error:function(e){i(e)}}).done((e=>{if(a){const t=document.createElement("a");t.style.display="none",t.href=URL.createObjectURL(e),t.setAttribute("download",decodeURI(o)),document.body.appendChild(t),t.click(),document.body.removeChild(t)}}))}))}))}static fileDelete(e,t,n,r){return new Promise(((a,s)=>{n||(n=Is),r||(r=Rs);const i=(t+"/"+e).split("/"),o=[];i.forEach(((t,n)=>{const r={key:i.slice(0,n+1).join("/"),name:t};""!==e&&o.push(r)}));const u={pathInfo:o,isDirectory:!1},l={_:(new Date).valueOf()};vs().ajax({url:`${n}file-manager?command=Remove&arguments=${encodeURI(JSON.stringify(u))}&rootDirectory=${r}`,type:"POST",data:JSON.stringify(l),dataType:"json",contentType:"text/plain;charset=UTF-8",processData:!1,success:function(e){e.success,a(e)},error:function(){}})}))}static filePreview(e,t,n){return new Promise(((r,a)=>{t||(t=Is),n||(n=Rs);const s=`${t}FilePriview?rootDirectory=${n}&filePath=${e}`;r(vs().ajax({url:s,async:!1}))}))}static getFilesInfo(e,t,n){return new Promise(((r,a)=>{t||(t=Is),n||(n=Rs);const s={pathInfo:[{name:e,key:e}]},i=JSON.stringify(s),o=(new Date).valueOf(),u=`${t}file-manager?command=GetDirContents&arguments=${i}&_=${o}&rootDirectory=${n}`,l=vs().ajax({url:u,async:!1}),d=l.responseJSON.result,c=n.split("/"),m=c[c.length-2],h=t.replace(/(^|\/)api\/?/,"/");d.forEach((async e=>{if(0==e.isDirectory){let t=e.name.substring(e.name.lastIndexOf(".")+1,e.length).toLowerCase();if("png"==t||"jpg"==t||"jpeg"==t||"jif"==t||"svg"==t||"pdf"==t||"bmp"==t||"psd"==t){let t=h+m+"/"+e.key;e["previewUrl"]=t}}})),r(l)}))}}const[Ws,Vs]=rt("swipe"),zs={loop:it,width:st,height:st,vertical:Boolean,autoplay:dt(0),duration:dt(500),touchable:it,lazyRender:Boolean,initialSwipe:dt(0),indicatorColor:String,showIndicators:it,stopPropagation:it},Us=Symbol(Ws);var qs=(0,n.defineComponent)({name:Ws,props:zs,emits:["change"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),s=(0,n.ref)(),i=(0,n.reactive)({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),o=ln(),{children:u,linkChildren:l}=$t(Us),d=(0,n.computed)((()=>u.length)),c=(0,n.computed)((()=>i[e.vertical?"height":"width"])),m=(0,n.computed)((()=>e.vertical?o.deltaY.value:o.deltaX.value)),h=(0,n.computed)((()=>{if(i.rect){const t=e.vertical?i.rect.height:i.rect.width;return t-c.value*d.value}return 0})),f=(0,n.computed)((()=>Math.ceil(Math.abs(h.value)/c.value))),_=(0,n.computed)((()=>d.value*c.value)),p=(0,n.computed)((()=>(i.active+d.value)%d.value)),y=(0,n.computed)((()=>{const t=e.vertical?"vertical":"horizontal";return o.direction.value===t})),g=(0,n.computed)((()=>{const t={transitionDuration:`${i.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${i.offset}px)`};if(c.value){const n=e.vertical?"height":"width",r=e.vertical?"width":"height";t[n]=`${_.value}px`,t[r]=e[r]?`${e[r]}px`:""}return t})),M=t=>{const{active:n}=i;return t?e.loop?Be(n+t,-1,d.value):Be(n+t,0,f.value):n},v=(t,n=0)=>{let r=t*c.value;e.loop||(r=Math.min(r,-h.value));let a=n-r;return e.loop||(a=Be(a,h.value,0)),a},L=({pace:n=0,offset:r=0,emitChange:a})=>{if(d.value<=1)return;const{active:s}=i,o=M(n),l=v(o,r);if(e.loop){if(u[0]&&l!==h.value){const e=l<h.value;u[0].setOffset(e?_.value:0)}if(u[d.value-1]&&0!==l){const e=l>0;u[d.value-1].setOffset(e?-_.value:0)}}i.active=o,i.offset=l,a&&o!==s&&t("change",p.value)},w=()=>{i.swiping=!0,i.active<=-1?L({pace:d.value}):i.active>=d.value&&L({pace:-d.value})},Y=()=>{w(),o.reset(),Bt((()=>{i.swiping=!1,L({pace:-1,emitChange:!0})}))},b=()=>{w(),o.reset(),Bt((()=>{i.swiping=!1,L({pace:1,emitChange:!0})}))};let k;const D=()=>clearTimeout(k),T=()=>{D(),e.autoplay>0&&d.value>1&&(k=setTimeout((()=>{b(),T()}),+e.autoplay))},S=(t=+e.initialSwipe)=>{if(!a.value)return;const r=()=>{var n,r;if(!mn(a)){const t={width:a.value.offsetWidth,height:a.value.offsetHeight};i.rect=t,i.width=+(null!=(n=e.width)?n:t.width),i.height=+(null!=(r=e.height)?r:t.height)}d.value&&(t=Math.min(d.value-1,t)),i.active=t,i.swiping=!0,i.offset=v(t),u.forEach((e=>{e.setOffset(0)})),T()};mn(a)?(0,n.nextTick)().then(r):r()},A=()=>S(i.active);let x;const C=t=>{e.touchable&&(o.start(t),x=Date.now(),D(),w())},E=t=>{if(e.touchable&&i.swiping&&(o.move(t),y.value)){const n=!e.loop&&(0===i.active&&m.value>0||i.active===d.value-1&&m.value<0);n||(cn(t,e.stopPropagation),L({offset:m.value}))}},j=()=>{if(!e.touchable||!i.swiping)return;const t=Date.now()-x,n=m.value/t,r=Math.abs(n)>.25||Math.abs(m.value)>c.value/2;if(r&&y.value){const t=e.vertical?o.offsetY.value:o.offsetX.value;let n=0;n=e.loop?t>0?m.value>0?-1:1:0:-Math[m.value>0?"ceil":"floor"](m.value/c.value),L({pace:n,emitChange:!0})}else m.value&&L({pace:0});i.swiping=!1,T()},H=(t,n={})=>{w(),o.reset(),Bt((()=>{let r;r=e.loop&&t===d.value?0===i.active?0:t:t%d.value,n.immediate?Bt((()=>{i.swiping=!1})):i.swiping=!1,L({pace:r-i.active,emitChange:!0})}))},O=(t,r)=>{const a=r===p.value,s=a?{backgroundColor:e.indicatorColor}:void 0;return(0,n.createVNode)("i",{style:s,class:Vs("indicator",{active:a})},null)},N=()=>r.indicator?r.indicator({active:p.value,total:d.value}):e.showIndicators&&d.value>1?(0,n.createVNode)("div",{class:Vs("indicators",{vertical:e.vertical})},[Array(d.value).fill("").map(O)]):void 0;return Ve({prev:Y,next:b,state:i,resize:A,swipeTo:H}),l({size:c,props:e,count:d,activeIndicator:p}),(0,n.watch)((()=>e.initialSwipe),(e=>S(+e))),(0,n.watch)(d,(()=>S(i.active))),(0,n.watch)((()=>e.autoplay),T),(0,n.watch)([hn,fn],A),(0,n.watch)(on(),(e=>{"visible"===e?T():D()})),(0,n.onMounted)(S),(0,n.onActivated)((()=>S(i.active))),vn((()=>S(i.active))),(0,n.onDeactivated)(D),(0,n.onBeforeUnmount)(D),Qt("touchmove",E,{target:s}),()=>{var t;return(0,n.createVNode)("div",{ref:a,class:Vs()},[(0,n.createVNode)("div",{ref:s,style:g.value,class:Vs("track",{vertical:e.vertical}),onTouchstartPassive:C,onTouchend:j,onTouchcancel:j},[null==(t=r.default)?void 0:t.call(r)]),N()])}}});const Js=We(qs);const[Gs,$s]=rt("image"),Ks={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:st,height:st,radius:st,lazyLoad:Boolean,iconSize:st,showError:it,errorIcon:ct("photo-fail"),iconPrefix:String,showLoading:it,loadingIcon:ct("photo")};var Zs=(0,n.defineComponent)({name:Gs,props:Ks,emits:["load","error"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(!1),s=(0,n.ref)(!0),i=(0,n.ref)(),{$Lazyload:o}=(0,n.getCurrentInstance)().proxy,u=(0,n.computed)((()=>{const t={width:Oe(e.width),height:Oe(e.height)};return be(e.radius)&&(t.overflow="hidden",t.borderRadius=Oe(e.radius)),t}));(0,n.watch)((()=>e.src),(()=>{a.value=!1,s.value=!0}));const l=e=>{s.value=!1,t("load",e)},d=e=>{a.value=!0,s.value=!1,t("error",e)},c=(t,r,a)=>a?a():(0,n.createVNode)(Et,{name:t,size:e.iconSize,class:r,classPrefix:e.iconPrefix},null),m=()=>s.value&&e.showLoading?(0,n.createVNode)("div",{class:$s("loading")},[c(e.loadingIcon,$s("loading-icon"),r.loading)]):a.value&&e.showError?(0,n.createVNode)("div",{class:$s("error")},[c(e.errorIcon,$s("error-icon"),r.error)]):void 0,h=()=>{if(a.value||!e.src)return;const t={alt:e.alt,class:$s("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?(0,n.withDirectives)((0,n.createVNode)("img",(0,n.mergeProps)({ref:i},t),null),[[(0,n.resolveDirective)("lazy"),e.src]]):(0,n.createVNode)("img",(0,n.mergeProps)({src:e.src,onLoad:l,onError:d},t),null)},f=({el:e})=>{const t=()=>{e===i.value&&s.value&&l()};i.value?t():(0,n.nextTick)(t)},_=({el:e})=>{e!==i.value||a.value||d()};return o&&Ee&&(o.$on("loaded",f),o.$on("error",_),(0,n.onBeforeUnmount)((()=>{o.$off("loaded",f),o.$off("error",_)}))),()=>{var t;return(0,n.createVNode)("div",{class:$s({round:e.round,block:e.block}),style:u.value},[h(),m(),null==(t=r.default)?void 0:t.call(r)])}}});const Xs=We(Zs);const[Qs,ei]=rt("swipe-item");var ti=(0,n.defineComponent)({name:Qs,setup(e,{slots:t}){let r;const a=(0,n.reactive)({offset:0,inited:!1,mounted:!1}),{parent:s,index:i}=Ut(Us);if(!s)return void 0;const o=(0,n.computed)((()=>{const e={},{vertical:t}=s.props;return s.size.value&&(e[t?"height":"width"]=`${s.size.value}px`),a.offset&&(e.transform=`translate${t?"Y":"X"}(${a.offset}px)`),e})),u=(0,n.computed)((()=>{const{loop:e,lazyRender:t}=s.props;if(!t||r)return!0;if(!a.mounted)return!1;const n=s.activeIndicator.value,o=s.count.value-1,u=0===n&&e?o:n-1,l=n===o&&e?0:n+1;return r=i.value===n||i.value===u||i.value===l,r})),l=e=>{a.offset=e};return(0,n.onMounted)((()=>{(0,n.nextTick)((()=>{a.mounted=!0}))})),Ve({setOffset:l}),()=>{var e;return(0,n.createVNode)("div",{class:ei(),style:o.value},[u.value?null==(e=t.default)?void 0:e.call(t):null])}}});const ni=We(ti);const ri=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),ai=rt("image-preview")[1];var si=(0,n.defineComponent)({props:{src:String,show:Boolean,active:Number,minZoom:ot(st),maxZoom:ot(st),rootWidth:ot(Number),rootHeight:ot(Number)},emits:["scale","close"],setup(e,{emit:t,slots:r}){const a=(0,n.reactive)({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),s=ln(),i=(0,n.ref)(),o=(0,n.computed)((()=>{const{rootWidth:t,rootHeight:n}=e,r=n/t;return a.imageRatio>r})),u=(0,n.computed)((()=>{const{scale:e,moveX:t,moveY:n,moving:r,zooming:s}=a,i={transitionDuration:s||r?"0s":".3s"};if(1!==e){const r=t/e,a=n/e;i.transform=`scale(${e}, ${e}) translate(${r}px, ${a}px)`}return i})),l=(0,n.computed)((()=>{if(a.imageRatio){const{rootWidth:t,rootHeight:n}=e,r=o.value?n/a.imageRatio:t;return Math.max(0,(a.scale*r-t)/2)}return 0})),d=(0,n.computed)((()=>{if(a.imageRatio){const{rootWidth:t,rootHeight:n}=e,r=o.value?n:t*a.imageRatio;return Math.max(0,(a.scale*r-n)/2)}return 0})),c=n=>{n=Be(n,+e.minZoom,+e.maxZoom+1),n!==a.scale&&(a.scale=n,t("scale",{scale:n,index:e.active}))},m=()=>{c(1),a.moveX=0,a.moveY=0},h=()=>{const e=a.scale>1?1:2;c(e),a.moveX=0,a.moveY=0};let f,_,p,y,g,M,v;const L=e=>{const{touches:t}=e,{offsetX:n}=s;s.start(e),f=t.length,_=a.moveX,p=a.moveY,v=Date.now(),a.moving=1===f&&1!==a.scale,a.zooming=2===f&&!n.value,a.zooming&&(y=a.scale,g=ri(e.touches))},w=e=>{const{touches:t}=e;if(s.move(e),(a.moving||a.zooming)&&cn(e,!0),a.moving){const{deltaX:e,deltaY:t}=s,n=e.value+_,r=t.value+p;a.moveX=Be(n,-l.value,l.value),a.moveY=Be(r,-d.value,d.value)}if(a.zooming&&2===t.length){const e=ri(t),n=y*e/g;c(n)}},Y=()=>{if(f>1)return;const{offsetX:e,offsetY:n}=s,r=Date.now()-v,a=250,i=5;e.value<i&&n.value<i&&r<a&&(M?(clearTimeout(M),M=null,h()):M=setTimeout((()=>{t("close"),M=null}),a))},b=t=>{let n=!1;(a.moving||a.zooming)&&(n=!0,a.moving&&_===a.moveX&&p===a.moveY&&(n=!1),t.touches.length||(a.zooming&&(a.moveX=Be(a.moveX,-l.value,l.value),a.moveY=Be(a.moveY,-d.value,d.value),a.zooming=!1),a.moving=!1,_=0,p=0,y=1,a.scale<1&&m(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),cn(t,n),Y(),s.reset()},k=e=>{const{naturalWidth:t,naturalHeight:n}=e.target;a.imageRatio=n/t};return(0,n.watch)((()=>e.active),m),(0,n.watch)((()=>e.show),(e=>{e||m()})),Qt("touchmove",w,{target:(0,n.computed)((()=>{var e;return null==(e=i.value)?void 0:e.$el}))}),()=>{const t={loading:()=>(0,n.createVNode)(Pn,{type:"spinner"},null)};return(0,n.createVNode)(ni,{ref:i,class:ai("swipe-item"),onTouchstartPassive:L,onTouchend:b,onTouchcancel:b},{default:()=>[r.image?(0,n.createVNode)("div",{class:ai("image-wrap")},[r.image({src:e.src})]):(0,n.createVNode)(Xs,{src:e.src,fit:"contain",class:ai("image",{vertical:o.value}),style:u.value,onLoad:k},t)]})}}});const[ii,oi]=rt("image-preview"),ui=["show","transition","overlayStyle","closeOnPopstate"],li={show:Boolean,loop:it,images:ut(),minZoom:dt(1/3),maxZoom:dt(3),overlay:it,closeable:Boolean,showIndex:it,className:at,closeIcon:ct("clear"),transition:String,beforeClose:Function,overlayClass:at,overlayStyle:Object,swipeDuration:dt(300),startPosition:dt(0),showIndicators:Boolean,closeOnPopstate:it,closeIconPosition:ct("top-right")};var di=(0,n.defineComponent)({name:ii,props:li,emits:["scale","close","closed","change","update:show"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),s=(0,n.reactive)({active:0,rootWidth:0,rootHeight:0}),i=()=>{if(a.value){const e=zt(a.value.$el);s.rootWidth=e.width,s.rootHeight=e.height,a.value.resize()}},o=e=>t("scale",e),u=e=>t("update:show",e),l=()=>{Ht(e.beforeClose,{args:[s.active],done:()=>u(!1)})},d=e=>{e!==s.active&&(s.active=e,t("change",e))},c=()=>{if(e.showIndex)return(0,n.createVNode)("div",{class:oi("index")},[r.index?r.index({index:s.active}):`${s.active+1} / ${e.images.length}`])},m=()=>{if(r.cover)return(0,n.createVNode)("div",{class:oi("cover")},[r.cover()])},h=()=>(0,n.createVNode)(Js,{ref:a,lazyRender:!0,loop:e.loop,class:oi("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:d},{default:()=>[e.images.map((t=>(0,n.createVNode)(si,{src:t,show:e.show,active:s.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:s.rootWidth,rootHeight:s.rootHeight,onScale:o,onClose:l},{image:r.image})))]}),f=()=>{if(e.closeable)return(0,n.createVNode)(Et,{role:"button",name:e.closeIcon,class:[oi("close-icon",e.closeIconPosition),It],onClick:l},null)},_=()=>t("closed"),p=(e,t)=>{var n;return null==(n=a.value)?void 0:n.swipeTo(e,t)};return Ve({swipeTo:p}),(0,n.onMounted)(i),(0,n.watch)([hn,fn],i),(0,n.watch)((()=>e.startPosition),(e=>d(+e))),(0,n.watch)((()=>e.show),(r=>{const{images:a,startPosition:o}=e;r?(d(+o),(0,n.nextTick)((()=>{i(),p(+o,{immediate:!0})}))):t("close",{index:s.active,url:a[s.active]})})),()=>(0,n.createVNode)(xn,(0,n.mergeProps)({class:[oi(),e.className],overlayClass:[oi("overlay"),e.overlayClass],onClosed:_,"onUpdate:show":u},He(e,ui)),{default:()=>[f(),h(),c(),m()]})}});let ci;const mi={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"};function hi(){({instance:ci}=Ue({setup(){const{state:e,toggle:t}=ze(),r=()=>{e.images=[]};return()=>(0,n.createVNode)(di,(0,n.mergeProps)(e,{onClosed:r,"onUpdate:show":t}),null)}}))}const fi=(e,t=0)=>{if(Ee)return ci||hi(),e=Array.isArray(e)?{images:e,startPosition:t}:e,ci.open(Ce({},mi,e)),ci};fi.Component=We(di),fi.install=e=>{e.use(fi.Component)};const _i={class:"container"},pi={key:0,class:"button-area"},yi={class:"box",style:{width:"100%",height:"100%"}},gi=["src"],Mi=5242880,vi=(0,n.defineComponent)({__name:"ermAttach",props:{recId:{type:String,require:!0},code:{type:String,require:!0},isSort:{type:Boolean,require:!1,default:!1},isOnlyPreview:{type:Boolean,require:!1,default:!1}},setup(e){let t="",r="";const a=(0,n.ref)(),s=(0,n.ref)([]);let i="";const o=(0,n.ref)(!1),u=(0,n.ref)([]),l=(0,n.ref)([]),d=(0,n.ref)([]),c=(0,n.ref)(),m=(0,n.ref)(!1),h=(0,n.ref)(!1);let f=[];(0,n.onBeforeUpdate)((()=>{d.value=[]})),(0,n.onMounted)((()=>{setTimeout((()=>{_()}),1e3)}));const _=()=>{Bs.getServerInfo(S.code).then((e=>{console.log("服务器信息:",e),console.log("isOnlyPreview",S.isOnlyPreview),Zn({message:"服务信息初始化成功",duration:2e3}),t=e.serverUrl,r=e.rootPath,p()})).catch((e=>{console.error("error",e),Zn({message:e,duration:2e3})}))},p=()=>{Bs.getFilesInfo(S.recId,t,r).then((e=>{console.log("获取文件:",e),!0===e.success?(s.value=e.result,console.log("fileInfo",s.value),S.isSort&&(console.log("排序前",s.value),s.value.reverse(),console.log("排序后",s.value)),f=[],s.value.forEach((e=>{const t=e.name.lastIndexOf("."),n=e.name.substring(t+1);"jpg"!==n&&"jpeg"!==n&&"png"!==n||(console.log("item",e),f.push(e.previewUrl))})),console.log("imgsUrl",f)):Zn({message:e.result,duration:0,closeOnClick:!0})}))},y=(e,n)=>{console.log("e",e),console.log("index",n);const s=L(e);if(e.previewUrl===s){const e=f.findIndex((e=>e===s));console.log("indexOfImg",e),fi(f,e)}else a.value="",Bs.filePreview(e.key,t,r).then((e=>{console.log("预览后台返回:",e),o.value=!0,a.value=e})).catch((e=>{console.error("error",e),Zn({message:e,closeOnClick:!0})}))},g=e=>{if(console.log("file",e),0!==e?.length&&e)if(Array.isArray(e)){const n=Array.from(e);console.log("fileArray",n),n.forEach(((e,n)=>{console.log("file",e);const a=e.file;console.log("blobData",a);const s=e.file.name,i=e.file.size;Bs.fileUpload(a,S.recId,s,i,t,r).then((e=>{console.log("文件上传:",e),!0===e.success?(Zn.success({message:"上传成功",duration:2e3}),p()):Zn.fail({message:e[0].result,closeOnClick:!0,duration:0})}))}))}else{console.log("file",e);const n=e.file;console.log("blobData",n);const a=e.file.name,s=e.file.size;Bs.fileUpload(n,S.recId,a,s,t,r).then((e=>{console.log("文件上传:",e),!0===e.success?(Zn.success({message:"上传成功",duration:2e3}),p()):Zn.fail({message:e[0].result,closeOnClick:!0,duration:0})}))}else Zn({message:"请选择文件",duration:2e3})},M=e=>{console.log("e",e);const n=e.name;Bs.fileDelete(n,S.recId,t,r).then((e=>{console.log("删除文件:",e),!0===e.success?(Zn({message:"删除成功",duration:2e3}),p()):Zn.fail({message:e.result,closeOnClick:!0,duration:0})}))},v=()=>{console.log("批量删除"),console.log("checkboxRefs",d),d.value.forEach(((e,t)=>{e&&e.checked.value&&(console.log("index",t),console.log(s.value[t]),M(s.value[t]))})),Y()},L=e=>{console.log("item",e),console.log("item.name",e.name);const t=e.name.lastIndexOf("."),n=e.name.substring(t+1);return i="jpg"===n||"jpeg"===n||"png"===n?e.previewUrl:"doc"===n||"docx"===n?"src/assets/img/BM2A_ATTACH/docx.png":"xls"===n||"xlsx"===n?"src/assets/img/BM2A_ATTACH/xlsx.png":"ppt"===n||"pptx"===n?"src/assets/img/BM2A_ATTACH/ppt.png":"pdf"===n?"src/assets/img/BM2A_ATTACH/pdf.png":"txt"===n?"src/assets/img/BM2A_ATTACH/txt.png":"zip"===n||"rar"===n?"src/assets/img/BM2A_ATTACH/zip.png":"src/assets/img/BM2A_ATTACH/未知类型.png",i},w=e=>{const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1<10?`0${t.getMonth()+1}`:t.getMonth()+1,a=t.getDate()<10?`0${t.getDate()}`:t.getDate();return`${n}-${r}-${a}`},Y=()=>{m.value?(m.value=!1,(0,n.nextTick)((()=>{u.value.forEach((e=>{e.close("left")}))}))):(m.value=!0,(0,n.nextTick)((()=>{u.value.forEach((e=>{e.open("left")}))})))},b=()=>{console.log("checkboxGroupRef",c),console.log("isSelectAll",h.value),h.value?(c?.value.toggleAll(!1),h.value=!1):(c?.value.toggleAll(!0),h.value=!0)},k=({position:e})=>{switch(e){case"left":return!m.value;case"right":return!0;case"cell":return!1;case"outside":return!m.value}},D=async e=>{console.log(e),Zn.fail({message:"文件大小不能超过 "+Mi/1024+"kb",closeOnClick:!0,duration:0})},T=e=>{console.log("index",e),d.value[e].toggle()};(0,n.onBeforeUpdate)((()=>{d.value=[]}));const S=e;return(e,t)=>{const r=(0,n.resolveComponent)("van-button"),i=(0,n.resolveComponent)("van-uploader"),h=(0,n.resolveComponent)("van-cell"),f=(0,n.resolveComponent)("van-card"),_=(0,n.resolveComponent)("van-checkbox"),p=(0,n.resolveComponent)("van-swipe-cell"),A=(0,n.resolveComponent)("van-checkbox-group"),x=(0,n.resolveComponent)("van-list"),C=(0,n.resolveComponent)("van-image"),E=(0,n.resolveComponent)("van-grid-item"),j=(0,n.resolveComponent)("van-grid"),H=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createElementBlock)("div",_i,[S.isOnlyPreview?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",pi,[(0,n.createVNode)(i,{disabled:m.value,"preview-image":!1,"after-read":g,multiple:!0,"max-size":Mi,onOversize:D,accept:".jpg,.png,.jpeg,.doc,.docx,.pdf,.ppt,.pptx,.xlsx,.xls"},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{icon:"plus",type:"primary",size:"small",class:"button-type"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("上传")])),_:1})])),_:1},8,["disabled"]),m.value?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,icon:"success",type:"success",size:"small",class:"button-type",onClick:b},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("全选")])),_:1})):(0,n.createCommentVNode)("",!0),m.value?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,icon:"minus",type:"danger",size:"small",class:"button-type",onClick:v},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("删除")])),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,{plain:"",type:"success",size:"small",class:"button-type",onClick:Y},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("批量管理")])),_:1})])),S.isOnlyPreview?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(x,{key:1},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(A,{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),ref_key:"checkboxGroupRef",ref:c},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,((e,a)=>((0,n.openBlock)(),(0,n.createBlock)(p,{key:a,ref_for:!0,ref_key:"swipeCell",ref:u,"before-close":k},(0,n.createSlots)({default:(0,n.withCtx)((()=>[(0,n.createVNode)(f,{desc:e.dateModified,class:"goods-card",clickable:"",onClick:e=>T(a),thumb:L(e),onClickThumb:t=>y(e,a)},{title:(0,n.withCtx)((()=>[(0,n.createVNode)(h,{class:"card-desc"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("文件名称: "+(0,n.toDisplayString)(e.name),1)])),_:2},1024)])),desc:(0,n.withCtx)((()=>[(0,n.createVNode)(h,{class:"card-desc"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("上传时间: "+(0,n.toDisplayString)(w(e.dateModified)),1)])),_:2},1024)])),_:2},1032,["desc","onClick","thumb","onClickThumb"])])),_:2},[m.value?{name:"left",fn:(0,n.withCtx)((()=>[(0,n.createVNode)(_,{name:e,ref_for:!0,ref:e=>d.value[a]=e,class:"slot-left",onClick:t[0]||(t[0]=(0,n.withModifiers)((()=>{}),["stop"]))},null,8,["name"])])),key:"0"}:void 0,m.value?void 0:{name:"right",fn:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{text:"删除",type:"danger",class:"slot-right",onClick:t=>M(e)},null,8,["onClick"])])),key:"1"}]),1024)))),128))])),_:1},8,["modelValue"])])),_:1})),S.isOnlyPreview?((0,n.openBlock)(),(0,n.createBlock)(x,{key:2},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(j,{gutter:10,border:!1,"column-num":2},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,((e,t)=>((0,n.openBlock)(),(0,n.createBlock)(E,{key:t},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(C,{fit:"fill",src:L(e),onClick:n=>y(e,t)},null,8,["src","onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",yi,[(0,n.createVNode)(H,{"v-model:show":o.value,position:"bottom",style:{height:"92%"}},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("iframe",{src:a.value,width:"100%",height:"800",scrolling:"no",frameborder:"0"},null,8,gi)])),_:1},8,["v-model:show"])])])}}}),Li=(0,h.Z)(vi,[["__scopeId","data-v-0a9b23b3"]]),wi=Li,Yi=S(wi),bi=Yi,ki=[x,ie,bi],Di=e=>{ki.map((t=>{const n=t.name||t.__name;return e.component(n,t)}))},Ti={install:Di},Si=Ti})(),a})()));
|
|
319
|
+
let qa;const Ja=e=>qa=e,Ga=Symbol();function $a(e){return e&&"object"===typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!==typeof e.toJSON}var Ka;(function(e){e["direct"]="direct",e["patchObject"]="patch object",e["patchFunction"]="patch function"})(Ka||(Ka={}));const Za="undefined"!==typeof window,Xa=!1,Qa=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof global&&global.global===global?global:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function eo(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function to(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){so(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function no(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function ro(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const ao="object"===typeof navigator?navigator:{userAgent:""},oo=(()=>/Macintosh/.test(ao.userAgent)&&/AppleWebKit/.test(ao.userAgent)&&!/Safari/.test(ao.userAgent))(),so=Za?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!oo?io:"msSaveOrOpenBlob"in ao?uo:lo:()=>{};function io(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener","string"===typeof e?(r.href=e,r.origin!==location.origin?no(r.href)?to(e,t,n):(r.target="_blank",ro(r)):ro(r)):(r.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){ro(r)}),0))}function uo(e,t="download",n){if("string"===typeof e)if(no(e))to(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){ro(t)}))}else navigator.msSaveOrOpenBlob(eo(e,n),t)}function lo(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"===typeof e)return to(e,t,n);const a="application/octet-stream"===e.type,o=/constructor/i.test(String(Qa.HTMLElement))||"safari"in Qa,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&o||oo)&&"undefined"!==typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!==typeof e)throw r=null,new Error("Wrong reader.result type");e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}const{assign:co}=Object;const mo=()=>{};function ho(e,t,r,a=mo){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),a())};return!r&&(0,n.getCurrentScope)()&&(0,n.onScopeDispose)(o),o}function fo(e,...t){e.slice().forEach((e=>{e(...t)}))}const _o=e=>e();function po(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const a=t[r],o=e[r];$a(o)&&$a(a)&&e.hasOwnProperty(r)&&!(0,n.isRef)(a)&&!(0,n.isReactive)(a)?e[r]=po(o,a):e[r]=a}return e}const yo=Symbol(),go=new WeakMap;function Mo(e){return za?!go.has(e):!$a(e)||!e.hasOwnProperty(yo)}const{assign:vo}=Object;function Lo(e){return!(!(0,n.isRef)(e)||!e.effect)}function wo(e,t,r,a){const{state:o,actions:s,getters:i}=t,u=r.state.value[e];let l;function d(){u||(za?Ua(r.state.value,e,o?o():{}):r.state.value[e]=o?o():{});const t=(0,n.toRefs)(r.state.value[e]);return vo(t,s,Object.keys(i||{}).reduce(((t,a)=>(t[a]=(0,n.markRaw)((0,n.computed)((()=>{Ja(r);const t=r._s.get(e);if(!za||t._r)return i[a].call(t,t)}))),t)),{}))}return l=ko(e,d,t,r,a,!0),l}function ko(e,t,r={},a,o,s){let i;const u=vo({actions:{}},r);const l={deep:!0};let d,c;let m,h=[],f=[];const _=a.state.value[e];s||_||(za?Ua(a.state.value,e,{}):a.state.value[e]={});const p=(0,n.ref)({});let y;function g(t){let r;d=c=!1,"function"===typeof t?(t(a.state.value[e]),r={type:Ka.patchFunction,storeId:e,events:m}):(po(a.state.value[e],t),r={type:Ka.patchObject,payload:t,storeId:e,events:m});const o=y=Symbol();(0,n.nextTick)().then((()=>{y===o&&(d=!0)})),c=!0,fo(h,r,a.state.value[e])}const M=s?function(){const{state:e}=r,t=e?e():{};this.$patch((e=>{vo(e,t)}))}:mo;function v(){i.stop(),h=[],f=[],a._s.delete(e)}function L(t,n){return function(){Ja(a);const r=Array.from(arguments),o=[],s=[];function i(e){o.push(e)}function u(e){s.push(e)}let l;fo(f,{args:r,name:t,store:Y,after:i,onError:u});try{l=n.apply(this&&this.$id===e?this:Y,r)}catch(d){throw fo(s,d),d}return l instanceof Promise?l.then((e=>(fo(o,e),e))).catch((e=>(fo(s,e),Promise.reject(e)))):(fo(o,l),l)}}const w=(0,n.markRaw)({actions:{},getters:{},state:[],hotState:p}),k={_p:a,$id:e,$onAction:ho.bind(null,f),$patch:g,$reset:M,$subscribe(t,r={}){const o=ho(h,t,r.detached,(()=>s())),s=i.run((()=>(0,n.watch)((()=>a.state.value[e]),(n=>{("sync"===r.flush?c:d)&&t({storeId:e,type:Ka.direct,events:m},n)}),vo({},l,r))));return o},$dispose:v};za&&(k._r=!1);const Y=(0,n.reactive)(Xa?vo({_hmrPayload:w,_customProperties:(0,n.markRaw)(new Set)},k):k);a._s.set(e,Y);const b=a._a&&a._a.runWithContext||_o,D=b((()=>a._e.run((()=>(i=(0,n.effectScope)()).run(t)))));for(const T in D){const t=D[T];if((0,n.isRef)(t)&&!Lo(t)||(0,n.isReactive)(t))s||(_&&Mo(t)&&((0,n.isRef)(t)?t.value=_[T]:po(t,_[T])),za?Ua(a.state.value[e],T,t):a.state.value[e][T]=t);else if("function"===typeof t){const e=L(T,t);za?Ua(D,T,e):D[T]=e,u.actions[T]=t}else 0}if(za?Object.keys(D).forEach((e=>{Ua(Y,e,D[e])})):(vo(Y,D),vo((0,n.toRaw)(Y),D)),Object.defineProperty(Y,"$state",{get:()=>a.state.value[e],set:e=>{g((t=>{vo(t,e)}))}}),Xa){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((t=>{Object.defineProperty(Y,t,vo({value:Y[t]},e))}))}return za&&(Y._r=!0),a._p.forEach((e=>{if(Xa){const t=i.run((()=>e({store:Y,app:a._a,pinia:a,options:u})));Object.keys(t||{}).forEach((e=>Y._customProperties.add(e))),vo(Y,t)}else vo(Y,i.run((()=>e({store:Y,app:a._a,pinia:a,options:u}))))})),_&&s&&r.hydrate&&r.hydrate(Y.$state,_),d=!0,c=!0,Y}function Yo(e,t,r){let a,o;const s="function"===typeof t;function i(e,r){const i=(0,n.hasInjectionContext)();e=e||(i?(0,n.inject)(Ga,null):null),e&&Ja(e),e=qa,e._s.has(a)||(s?ko(a,t,o,e):wo(a,o,e));const u=e._s.get(a);return u}return"string"===typeof e?(a=e,o=s?r:t):(o=e,a=e.id),i.$id=a,i}var bo=r(9755),Do=r.n(bo),To=r(9669),So=r.n(To);const Ao={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VUE_LOGIN_CONFIG,xo={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VITE_APP_COMPANY_CODE,Co={NODE_ENV:"production",VUE_APP_APPLICATION_NAME:"BM2A",VUE_APP_COMPANY_CODE:"BS",BASE_URL:"/"}.VITE_APP_APPLICATION_NAME;class Eo{static apps=[];static companies=[];static currentEnvironment=(0,o.getCurrentEnvironment)()||{skinName:"",culture:"",companyCode:"",companyName:"",appName:""};static loginStatus="";static formState={authButtons:void 0,formInfo:void 0,formParamInfo:void 0,formData:void 0,buttonData:void 0,buttonLoaded:!1,hasAuthority:!1};static setLoginStatus(e){this.loginStatus=e,localStorage.setItem("login_status",e)}static getCurLoginStatus(){return this.loginStatus=(0,o.getRememberMe)()?localStorage.getItem("login_status"):this.loginStatus,this.loginStatus}static changeLoginStatus(e){this.loginStatus=e,localStorage.setItem("login_status",e)}static LOGIN(e){const t=Ao.ENABLE_ENCRYPTED?"EX/encryptLogin":"EX/Login";if(e={...e,RememberMeTime:24*(e.RememberMeTime||1)},Ao.ENABLE_ENCRYPTED){const t=new Va({});t.setPublicKey(Ao.PUBLIC_KEY);const n=t.encrypt(e.Password),r=t.encrypt(e.UserName);e.UserName=r,e.Password=n}return o.EIManager.handlePost(t,e).then((t=>{let n,r,a=!0,s=!1;const i=t.headers,u=i.signature,l=i.refresh_token,d=t.data,{status:c,msg:m}=d;if(0===c||20003===c){const e=d.getBlock("UserInfo");e||nr({message:"获取用户信息失败",duration:1e3});const t=e.data.length?e.data[0]:{};r={id:t.ID,userId:t.ENAME,userName:t.CNAME,deptId:t.DEPTID,deptEName:t.DEPT_ENAME,deptCName:t.DEPT_CNAME},a=!1,s=20003===c}return n={code:c,token:u,refreshToken:l,userInfo:r,msg:m,isError:a,pwdOut:s},e.RememberMe&&(0,o.setRememberMe)(!0),u&&(this.setLoginStatus("LOGIN"),(0,o.setToken)(u)),l&&(0,o.setRefreshToken)(l),n})).catch((e=>Promise.reject(e)))}static GET_USER(e){return o.EIManager.handlePost("EX/api/GetUserInfo",e).then((e=>{let t;const n=e.data,{status:r,msg:a}=n;if(0===r){const e=n.getBlock("UserInfo");e||nr({message:"获取用户信息失败",duration:1e3});const r=e.data.length?e.data[0]:{};return t={id:r.ID,userId:r.ENAME,userName:r.CNAME,deptId:r.DEPTID,deptEName:r.DEPT_ENAME,deptCName:r.DEPT_CNAME},(0,o.setCurrentUser)(t),!0}return nr({message:`${a}`,duration:1e3}),!1})).catch((e=>Promise.reject(e)))}static GET_MENUS(e){const t=(0,o.buildEIInfo)(e);return o.EIManager.callEPService("epesloadinit_vue",t).then((e=>{let t=[];try{const{msg:n,status:r}=e;return 0===r?(t=e.blocks.MENUTREE.data,t):(nr({message:`调用菜单服务失败,错误信息:${n}.`,duration:1e3}),t)}catch(e){return nr({message:`调用菜单服务失败,错误信息:${e}.`,duration:1e3}),e}}))}static GET_COMPANIES(){return o.EIManager.handleGet("EX/GetCompanies").then((e=>{const t=e.blocks.COMPANYINFO.data;return this.companies=t,t})).catch((e=>Promise.reject(e)))}static GET_APPS(){return o.EIManager.handleGet("EX/GetApps").then((e=>{const t=e.blocks.APPINFO.data;return this.apps=t,t})).catch((e=>Promise.reject(e)))}static INITAPP_CONFIG(){let e={COMPANYCODE:"",COMPANYNAME:""},t="";Promise.all([this.GET_COMPANIES(),this.GET_APPS()]).then((([n,r])=>{if(n.length){const t=this.companies;let n=t.length>0?t[0]:{COMPANYID:"",COMPANYCODE:"",COMPANYNAME:""};if(xo){const e=t.filter((e=>e.COMPANYCODE===xo));n=e.length?e[0]:t[0]}e={...n}}if(r.length){const e=this.apps;let n=e.length>0?e[0].ENAME:"";if(Co){const t=e.filter((e=>e.ENAME===Co));n=t.length>0?t[0].ENAME:e.length>0?e[0].ENAME:""}t=n}if(t&&e){let n=(0,o.getCurrentEnvironment)();n={...n,culture:"zh_Hans",companyCode:e.COMPANYCODE,companyName:e.COMPANYNAME,appName:t,skinName:"default"},(0,o.setRememberMe)(!0),(0,o.setCurrentEnvironment)(n,!0),this.currentEnvironment=n}})).catch((e=>{const{message:t,status:n}=e;t&&nr({message:`获取账套或子系统失败,错误信息:${t}.`,duration:1e3})}))}static LOGOUT(){return new Promise(((e,t)=>{this.changeLoginStatus("LOGOUT"),(0,o.removeToken)(),(0,o.removeRefreshToken)(),(0,o.removeCurrentUser)(),e(!0)}))}static exchangeSignature(e){return o.EIManager.handlePost("/proxyEx/exchangeSignature_BW",e).then((e=>{const t=e.data,{flag:n,signature:r}=t;if(0!==n)return Promise.reject({message:"宝武交换token出错啦"});(0,o.setRememberMe)(!0),(0,o.setToken)(r)})).catch((e=>Promise.reject(e)))}static CHECK_AUTH(e){return new Promise((async(t,n)=>{e.formname.toLowerCase();const r=new o.EI.EIInfo;r.addBlock(new o.EI.EiBlock,"Table1").pushData(e,!0),o.EIManager.callEPService("epescheckdll",r).then((e=>{const{status:n,msg:r}=e;let a=!1;if(0!==n){const e=new Error(`${r}`);throw e.status=100401,e}{const n=e.blocks.AUTH_INFO,r=e.blocks.BUTTON_INFO,o=e.blocks.FORMPARA_INFO,s=e.blocks.FORMDLL_INFO.data,i=s.length?s[0]:void 0;if(i){const e={formName:i.NAME,formCaption:i.DESCRIPTION,formPartition:i.ABBREV,appName:i.APPNAME,formPath:i.DLLPATH,dllName:i.DLLNAME,formCallMode:i.FORM_CALL_MODE};let t=r.data.map((e=>({name:e.NAME.trim(),desc:e.DESCRIPTION,opType:e.OPTYPE})));t=[...new Map(t.map((e=>[e.name,e]))).values()];const[{DLLMARK:s}]=n.data;a=Number(s?.toString().trim())>=1;const u=o.data.length&&o.data[0];let l;if(u&&u.FORM_NAME&&""!==u.FORM_NAME.trim()){l={params:{},baseFormName:u.FORM_BASE_NAME};for(let e=1;e<=10;e++){const t=u[`PK${e}_NAME`];null!==t&&""!==t.trim()&&(l.params[u[`PK${e}_NAME`]+""]=u[`PK${e}`])}}this.formState.formInfo=e,this.formState.authButtons=t,this.formState.hasAuthority=a,this.formState.formParamInfo=l,this.formState.buttonLoaded=!0}t(this.formState)}})).catch((e=>{n(e)}))}))}static LOGIN_CHECK(e){const t=(0,o.buildEIInfo)(e);return o.EIManager.handlePost("/MASTER/api/CallService/epeslogincheck",t).then((e=>{const t=e.data;console.log(t);const{status:n,sys:r}=t;return console.log(n),0===n?Promise.resolve(t):Promise.reject(r)})).catch((e=>Promise.reject(e)))}}var jo=(0,n.defineComponent)({name:"CPage",components:{"van-button":mr,"van-empty":Mr,"van-nav-bar":Dr},props:{title:{type:String,default:""},hideBack:{type:Boolean,default:!1},rightText:{type:String,default:""},hideHeader:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},backClick:{type:Function,default:()=>!0}},emits:["click-right","ready"],setup(e,{attrs:t,emit:r}){let a=(0,n.ref)("");(0,n.watch)((()=>a),(e=>{document.title=e}));let s=(0,n.ref)("");const i=Se();let u=(0,n.ref)(!1),l=i.currentRoute.value,d=i.currentRoute.value.path;const c=(0,n.ref)({appName:"",formName:"",formPath:"",dllName:"",formCallMode:"",formCaption:"",formPartition:"",formParams:{},baseFormName:"",buttonInfo:[]});let m="";m=l.query?.formName?l.query?.formName:d.substring(d.lastIndexOf("/")+1);let h=(0,n.ref)(null);(0,n.provide)("buttons",h);const f=Eo.formState;f.authButtons=[],async function(){const e=(0,o.getCurrentUser)();await Eo.CHECK_AUTH({formname:m,appname:(0,o.getCurrentEnvironment)().appName,path:d,loginName:e.userId}).then((e=>{u.value=!1,a.value=f.formInfo.formCaption,h.value=f.authButtons,c.value.appName=e.formInfo.appName,c.value.formName=e.formInfo.formName,c.value.formPath=e.formInfo.formPath,c.value.dllName=e.formInfo.dllName,c.value.formCallMode=e.formInfo.formCallMode,c.value.formCaption=e.formInfo.formCaption,c.value.formPartition=e.formInfo.formPartition,c.value.baseFormName=e.formParamInfo?e.formParamInfo.baseFormName:void 0,c.value.formParams=e.formParamInfo?e.formParamInfo.params:void 0,c.value.buttonInfo=h.value,r("ready",{formInfo:c.value})})).catch((e=>{u.value=!0,a.value="404";const{message:t,status:n}=e;401===n||403===n?s.value="凭据过期,请重新认证登录信息":void 0!==t&&(s.value=`${t}`)}))}();const _=(0,n.useAttrs)(),p={};Object.entries(_).forEach((([e,t])=>{"class"!==e&&(p[e]=t)}));const y=(0,n.ref)(!1),g=(0,n.useSlots)();g&&g.default&&g.default().forEach((e=>{const t=e.type;t.name&&"x-navigation"===t.name&&(y.value=!0)}));const M=(0,n.computed)((()=>({height:"calc(100vh - 46)px"})));return{title:a,clickLeft:()=>{e.backClick?e.backClick()&&i.back():(console.log("no back"),i.back())},newAttr:p,onClickRight:()=>{r("click-right")},noAuthDesc:s,show404Panel:u,containerStyle:M}}});const Oo={key:1,style:{"text-align":"center","margin-top":"20%"}},Ho=(e=>((0,n.pushScopeId)("data-v-7700e381"),e=e(),(0,n.popScopeId)(),e))((()=>(0,n.createElementVNode)("img",{src:"/src/assets/img/404.png",style:{width:"100%"}},null,-1)));jo.render=function(e,t,r,a,o,s){const i=(0,n.resolveComponent)("van-nav-bar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.show404Panel?"not-found":"c-page")},[(0,n.renderSlot)(e.$slots,"header",{},(()=>[e.hideHeader?(0,n.createCommentVNode)("v-if",!0):((0,n.openBlock)(),(0,n.createBlock)(i,(0,n.mergeProps)({key:0,class:"xm-title",title:e.title,onClickLeft:e.clickLeft},e.newAttr,{"left-arrow":!e.hideBack,"right-text":e.rightText,onClickRight:e.onClickRight,"safe-area-inset-top":""}),null,16,["title","onClickLeft","left-arrow","right-text","onClickRight"]))])),e.show404Panel?(0,n.createCommentVNode)("v-if",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["page-container",{"safe-area-bottom":e.safeAreaInsetBottom}])},[(0,n.renderSlot)(e.$slots,"default")],2)),e.show404Panel?((0,n.openBlock)(),(0,n.createElementBlock)("div",Oo,[Ho,(0,n.createElementVNode)("h3",null,(0,n.toDisplayString)(e.noAuthDesc),1)])):(0,n.createCommentVNode)("v-if",!0)],2)},jo.__scopeId="data-v-7700e381",jo.__file="packages/CPage/CPage.vue";const No=e=>(e.install=t=>{const n=e.name||e.__name;t.component(n,e)},e);No(jo);var Po=(0,n.defineComponent)({name:"CButton",components:{"van-button":mr},props:{name:{required:!0,type:String},disabled:{type:Boolean,default:!1,required:!1},size:{type:String,default:"small",required:!1}},setup(e,{attrs:t,emit:r}){let a=(0,n.inject)("buttons",[]);console.log(a.value);let o=(0,n.ref)(!1);const s=(0,n.ref)("");return(0,n.watch)(a,(t=>{const n=t?.find((t=>t.name.trim()===e.name.trim()));n&&(s.value=n.desc,o.value=!0)})),{visible:o,clickHandle:()=>{r("c-click")},buttonDesc:s}}});Po.render=function(e,t,r,a,o,s){const i=(0,n.resolveComponent)("van-button");return e.visible?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,type:"primary",disabled:e.disabled,size:e.size,onClick:e.clickHandle},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.buttonDesc),1)])),_:1},8,["disabled","size","onClick"])):(0,n.createCommentVNode)("v-if",!0)},Po.__file="packages/CButton/CButton.vue";No(Po);var Io=(0,n.defineComponent)({name:"CButtonAuth",props:{name:{required:!0,type:String}},setup(e){let t=(0,n.inject)("buttons",[]);console.log(t.value);let r=(0,n.ref)(!1);return(0,n.watch)(t,(t=>{const n=t?.find((t=>t.name.trim()===e.name.trim()));n&&(console.log(n),r.value=!0)})),{visible:r}}});const Ro={key:0};Io.render=function(e,t,r,a,o,s){return e.visible?((0,n.openBlock)(),(0,n.createElementBlock)("div",Ro,[(0,n.renderSlot)(e.$slots,"default")])):(0,n.createCommentVNode)("v-if",!0)},Io.__file="packages/CButtonAuth/CButtonAuth.vue";No(Io);const Fo={authButtons:void 0,formInfo:void 0,formParamInfo:void 0,formData:void 0,buttonData:void 0,buttonLoaded:!1,hasAuthority:!1},Bo=(Yo("form",{state:()=>Fo,actions:{async checkAuth(e){return new Promise((async(t,n)=>{e.formname.toLowerCase();const r=new o.EI.EIInfo;r.addBlock(new o.EI.EiBlock,"Table1").pushData(e,!0),o.EIManager.callEPService("epescheckdll",r).then((e=>{const{status:n,msg:r}=e;let a=!1;if(0!==n){const e=new Error(`${r}`);throw e.status=100401,e}{const n=e.blocks.AUTH_INFO,r=e.blocks.BUTTON_INFO,o=e.blocks.FORMPARA_INFO,s=e.blocks.FORMDLL_INFO.data,i=s.length?s[0]:void 0;if(i){const e={formName:i.NAME,formCaption:i.DESCRIPTION,formPartition:i.ABBREV,appName:i.APPNAME,formPath:i.DLLPATH,dllName:i.DLLNAME,formCallMode:i.FORM_CALL_MODE};let t=r.data.map((e=>({name:e.NAME,desc:e.DESCRIPTION,opType:e.OPTYPE})));t=[...new Map(t.map((e=>[e.name,e]))).values()];const[{DLLMARK:s}]=n.data;a=Number(s?.toString().trim())>=1;const u=o.data.length&&o.data[0];let l;if(u&&u.FORM_NAME&&""!==u.FORM_NAME.trim()){l={params:{},baseFormName:u.FORM_BASE_NAME};for(let e=1;e<=10;e++){const t=u[`PK${e}_NAME`];null!==t&&""!==t.trim()&&(l.params[u[`PK${e}_NAME`]+""]=u[`PK${e}`])}}this.$patch((n=>{n.formInfo=e,n.authButtons=t,n.hasPermission=a,n.formParamInfo=l,n.buttonLoaded=!0}))}t(a)}})).catch((e=>{n(e)}))}))},checkDll:async e=>new Promise(((t,n)=>{let r="";r=e.query?.formName?e.query?.formName:e.path.substring(e.path.lastIndexOf("/")+1);const a={formname:r&&r.toString().toUpperCase()||"",appname:(0,o.getCurrentEnvironment)().appName},s=new o.EI.EIInfo;s.addBlock(new o.EI.EiBlock,"Table1").pushData(a,!0),o.EIManager.callEPService("epescheckdll",s).then((e=>{const{status:r,msg:a}=e;0===r?t(e):n(`调用校验权限服务出现错误,${a}`)})).catch((e=>n(e)))}))}}),2e5);let Wo=0,Vo=Wo+Bo,zo="",Uo="",qo="";class Jo{static getServerInfo(e){return new Promise(((t,n)=>{const r=new o.EI.EIInfo;r.addBlock(new o.EI.EiBlock,"Table0").pushData({CODE_CLASS:"EPTF"},!0),o.EIManager.callMasterEPService("epep01_inq3",r).then((r=>{r.blocks.EPTF.data.forEach((async r=>{if(e){if(r.CODE===e){zo=r.CODE_DESC_1_CONTENT,Uo=r.CODE_DESC_3_CONTENT;const e={serverUrl:r.CODE_DESC_1_CONTENT,rootPath:r.CODE_DESC_3_CONTENT};t(e)}}else n("数据中没有匹配到传入的小代码号")}))})).catch((()=>{n("小代码请求失败")}))}))}static cutFile=e=>{const t=e.slice(Wo,Vo);return Wo=Vo,Vo=Wo+Bo,t};static callServerUpd=e=>{const t=(0,o.buildEIInfo)(e,"INS");o.EIManager.callMasterEPService("eptf01_ins",t).then((e=>{}))};static fileUpload=async(e,t,n,r,a,o)=>{const s=2e5;a||(a=zo),o||(o=Uo);const i=a+"file-manager";if(r>s){const a=e.type,u=((e,t,n)=>new File([e],t,{type:n}))(e,n.substring(0,n.lastIndexOf(".")),a),l=Math.ceil(r/s),d=[];let c=!1;const m={errorCode:null,errorText:"",result:null,success:!0};for(let h=0;h<l;h++){const a=h,c=h*s,m=Math.min((h+1)*s,r);""===qo&&(qo=(new Date).valueOf());const f={destinationPathInfo:[{key:t,name:t}],chunkMetadata:{UploadId:qo,FileName:n,Index:a,TotalCount:l,FileSize:u.size}},_=u.slice(c,m),p=new FormData;p.append("command","UploadChunk"),p.append("arguments",JSON.stringify(f)),p.append("chunk",_),p.append("rootDirectory",o);try{const e=await So().post(i,p,{headers:{"Content-Type":"multipart/form-data"}});d.push(e.data)}catch(e){return console.error("error",e),e}}for(let e=0;e<d.length;e++){if(1!=d[e].success)return c=!1,d[e];c=!0}if(1==c)return m}else{const a={destinationPathInfo:[{key:t,name:t}],chunkMetadata:{UploadId:(new Date).valueOf(),FileName:n,Index:0,TotalCount:1,FileSize:r}},s=new FormData;s.append("command","UploadChunk"),s.append("arguments",JSON.stringify(a)),s.append("chunk",e),s.append("rootDirectory",o);try{return(await So().post(i,s,{headers:{"Content-Type":"multipart/form-data"}})).data}catch(e){return console.error("error",e),e}}};static fileDownload(e,t,n,r,a){return new Promise(((o,s)=>{n||(n=zo),r||(r=Uo);let i="",u=0;const l={pathInfoList:[]},d={pathInfo:[{name:t,key:t}]},c=JSON.stringify(d),m=(new Date).valueOf(),h=`${n}file-manager?command=GetDirContents&arguments=${c}&_=${m}&rootDirectory=${r}`;Do().ajax({url:h,async:!1}).then((d=>{e.forEach(((e,n)=>{let r=!1;if(d.result.forEach(((t,n)=>{e===t.name&&(r=!0)})),r){const n=(t+"/"+e).split("/"),r=[];n.forEach(((e,t)=>{const a={key:n.slice(0,t+1).join("/"),name:e};""!==a.key&&""!==a.name&&r.push(a)})),0===u?(i=e,u+=1):1===u&&(i+="等.zip",u+=1),l.pathInfoList.push(r)}else s(e+"文件不存在")}));const c=new URLSearchParams;c.append("command","Download"),c.append("arguments",JSON.stringify(l)),c.append("rootDirectory",r),Do().ajax({url:n+"file-manager",type:"POST",data:c,contentType:"application/x-www-form-urlencoded",processData:!1,xhrFields:{responseType:"blob"},success:function(e){o(e)},error:function(e){s(e)}}).done((e=>{if(a){const t=document.createElement("a");t.style.display="none",t.href=URL.createObjectURL(e),t.setAttribute("download",decodeURI(i)),document.body.appendChild(t),t.click(),document.body.removeChild(t)}}))}))}))}static fileDelete(e,t,n,r){return new Promise(((a,o)=>{n||(n=zo),r||(r=Uo);const s=(t+"/"+e).split("/"),i=[];s.forEach(((t,n)=>{const r={key:s.slice(0,n+1).join("/"),name:t};""!==e&&i.push(r)}));const u={pathInfo:i,isDirectory:!1},l={_:(new Date).valueOf()};Do().ajax({url:`${n}file-manager?command=Remove&arguments=${encodeURI(JSON.stringify(u))}&rootDirectory=${r}`,type:"POST",data:JSON.stringify(l),dataType:"json",contentType:"text/plain;charset=UTF-8",processData:!1,success:function(e){e.success,a(e)},error:function(){}})}))}static filePreview(e,t,n){return new Promise(((r,a)=>{t||(t=zo),n||(n=Uo);const o=`${t}FilePriview?rootDirectory=${n}&filePath=${e}`;r(Do().ajax({url:o,async:!1}))}))}static getFilesInfo(e,t,n){return new Promise(((r,a)=>{t||(t=zo),n||(n=Uo);const o={pathInfo:[{name:e,key:e}]},s=JSON.stringify(o),i=(new Date).valueOf(),u=`${t}file-manager?command=GetDirContents&arguments=${s}&_=${i}&rootDirectory=${n}`,l=Do().ajax({url:u,async:!1}),d=l.responseJSON.result,c=n.split("/"),m=c[c.length-2],h=t.replace(/(^|\/)api\/?/,"/");d.forEach((async e=>{if(0==e.isDirectory){let t=e.name.substring(e.name.lastIndexOf(".")+1,e.length).toLowerCase();if("png"==t||"jpg"==t||"jpeg"==t||"jif"==t||"svg"==t||"pdf"==t||"bmp"==t||"psd"==t){let t=h+m+"/"+e.key;e["previewUrl"]=t}}})),r(l)}))}}const[Go,$o]=ut("swipe"),Ko={loop:ct,width:dt,height:dt,vertical:Boolean,autoplay:_t(0),duration:_t(500),touchable:ct,lazyRender:Boolean,initialSwipe:_t(0),indicatorColor:String,showIndicators:ct,stopPropagation:ct},Zo=Symbol(Go);var Xo=(0,n.defineComponent)({name:Go,props:Ko,emits:["change"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),o=(0,n.ref)(),s=(0,n.reactive)({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),i=fn(),{children:u,linkChildren:l}=en(Zo),d=(0,n.computed)((()=>u.length)),c=(0,n.computed)((()=>s[e.vertical?"height":"width"])),m=(0,n.computed)((()=>e.vertical?i.deltaY.value:i.deltaX.value)),h=(0,n.computed)((()=>{if(s.rect){const t=e.vertical?s.rect.height:s.rect.width;return t-c.value*d.value}return 0})),f=(0,n.computed)((()=>Math.ceil(Math.abs(h.value)/c.value))),_=(0,n.computed)((()=>d.value*c.value)),p=(0,n.computed)((()=>(s.active+d.value)%d.value)),y=(0,n.computed)((()=>{const t=e.vertical?"vertical":"horizontal";return i.direction.value===t})),g=(0,n.computed)((()=>{const t={transitionDuration:`${s.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${s.offset}px)`};if(c.value){const n=e.vertical?"height":"width",r=e.vertical?"width":"height";t[n]=`${_.value}px`,t[r]=e[r]?`${e[r]}px`:""}return t})),M=t=>{const{active:n}=s;return t?e.loop?qe(n+t,-1,d.value):qe(n+t,0,f.value):n},v=(t,n=0)=>{let r=t*c.value;e.loop||(r=Math.min(r,-h.value));let a=n-r;return e.loop||(a=qe(a,h.value,0)),a},L=({pace:n=0,offset:r=0,emitChange:a})=>{if(d.value<=1)return;const{active:o}=s,i=M(n),l=v(i,r);if(e.loop){if(u[0]&&l!==h.value){const e=l<h.value;u[0].setOffset(e?_.value:0)}if(u[d.value-1]&&0!==l){const e=l>0;u[d.value-1].setOffset(e?-_.value:0)}}s.active=i,s.offset=l,a&&i!==o&&t("change",p.value)},w=()=>{s.swiping=!0,s.active<=-1?L({pace:d.value}):s.active>=d.value&&L({pace:-d.value})},k=()=>{w(),i.reset(),qt((()=>{s.swiping=!1,L({pace:-1,emitChange:!0})}))},Y=()=>{w(),i.reset(),qt((()=>{s.swiping=!1,L({pace:1,emitChange:!0})}))};let b;const D=()=>clearTimeout(b),T=()=>{D(),e.autoplay>0&&d.value>1&&(b=setTimeout((()=>{Y(),T()}),+e.autoplay))},S=(t=+e.initialSwipe)=>{if(!a.value)return;const r=()=>{var n,r;if(!yn(a)){const t={width:a.value.offsetWidth,height:a.value.offsetHeight};s.rect=t,s.width=+(null!=(n=e.width)?n:t.width),s.height=+(null!=(r=e.height)?r:t.height)}d.value&&(t=Math.min(d.value-1,t)),s.active=t,s.swiping=!0,s.offset=v(t),u.forEach((e=>{e.setOffset(0)})),T()};yn(a)?(0,n.nextTick)().then(r):r()},A=()=>S(s.active);let x;const C=t=>{e.touchable&&(i.start(t),x=Date.now(),D(),w())},E=t=>{if(e.touchable&&s.swiping&&(i.move(t),y.value)){const n=!e.loop&&(0===s.active&&m.value>0||s.active===d.value-1&&m.value<0);n||(pn(t,e.stopPropagation),L({offset:m.value}))}},j=()=>{if(!e.touchable||!s.swiping)return;const t=Date.now()-x,n=m.value/t,r=Math.abs(n)>.25||Math.abs(m.value)>c.value/2;if(r&&y.value){const t=e.vertical?i.offsetY.value:i.offsetX.value;let n=0;n=e.loop?t>0?m.value>0?-1:1:0:-Math[m.value>0?"ceil":"floor"](m.value/c.value),L({pace:n,emitChange:!0})}else m.value&&L({pace:0});s.swiping=!1,T()},O=(t,n={})=>{w(),i.reset(),qt((()=>{let r;r=e.loop&&t===d.value?0===s.active?0:t:t%d.value,n.immediate?qt((()=>{s.swiping=!1})):s.swiping=!1,L({pace:r-s.active,emitChange:!0})}))},H=(t,r)=>{const a=r===p.value,o=a?{backgroundColor:e.indicatorColor}:void 0;return(0,n.createVNode)("i",{style:o,class:$o("indicator",{active:a})},null)},N=()=>r.indicator?r.indicator({active:p.value,total:d.value}):e.showIndicators&&d.value>1?(0,n.createVNode)("div",{class:$o("indicators",{vertical:e.vertical})},[Array(d.value).fill("").map(H)]):void 0;return Ge({prev:k,next:Y,state:s,resize:A,swipeTo:O}),l({size:c,props:e,count:d,activeIndicator:p}),(0,n.watch)((()=>e.initialSwipe),(e=>S(+e))),(0,n.watch)(d,(()=>S(s.active))),(0,n.watch)((()=>e.autoplay),T),(0,n.watch)([gn,Mn],A),(0,n.watch)(mn(),(e=>{"visible"===e?T():D()})),(0,n.onMounted)(S),(0,n.onActivated)((()=>S(s.active))),bn((()=>S(s.active))),(0,n.onDeactivated)(D),(0,n.onBeforeUnmount)(D),an("touchmove",E,{target:o}),()=>{var t;return(0,n.createVNode)("div",{ref:a,class:$o()},[(0,n.createVNode)("div",{ref:o,style:g.value,class:$o("track",{vertical:e.vertical}),onTouchstartPassive:C,onTouchend:j,onTouchcancel:j},[null==(t=r.default)?void 0:t.call(r)]),N()])}}});const Qo=Je(Xo);const[es,ts]=ut("image"),ns={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:dt,height:dt,radius:dt,lazyLoad:Boolean,iconSize:dt,showError:ct,errorIcon:pt("photo-fail"),iconPrefix:String,showLoading:ct,loadingIcon:pt("photo")};var rs=(0,n.defineComponent)({name:es,props:ns,emits:["load","error"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(!1),o=(0,n.ref)(!0),s=(0,n.ref)(),{$Lazyload:i}=(0,n.getCurrentInstance)().proxy,u=(0,n.computed)((()=>{const t={width:Fe(e.width),height:Fe(e.height)};return Ae(e.radius)&&(t.overflow="hidden",t.borderRadius=Fe(e.radius)),t}));(0,n.watch)((()=>e.src),(()=>{a.value=!1,o.value=!0}));const l=e=>{o.value=!1,t("load",e)},d=e=>{a.value=!0,o.value=!1,t("error",e)},c=(t,r,a)=>a?a():(0,n.createVNode)(Pt,{name:t,size:e.iconSize,class:r,classPrefix:e.iconPrefix},null),m=()=>o.value&&e.showLoading?(0,n.createVNode)("div",{class:ts("loading")},[c(e.loadingIcon,ts("loading-icon"),r.loading)]):a.value&&e.showError?(0,n.createVNode)("div",{class:ts("error")},[c(e.errorIcon,ts("error-icon"),r.error)]):void 0,h=()=>{if(a.value||!e.src)return;const t={alt:e.alt,class:ts("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?(0,n.withDirectives)((0,n.createVNode)("img",(0,n.mergeProps)({ref:s},t),null),[[(0,n.resolveDirective)("lazy"),e.src]]):(0,n.createVNode)("img",(0,n.mergeProps)({src:e.src,onLoad:l,onError:d},t),null)},f=({el:e})=>{const t=()=>{e===s.value&&o.value&&l()};s.value?t():(0,n.nextTick)(t)},_=({el:e})=>{e!==s.value||a.value||d()};return i&&Pe&&(i.$on("loaded",f),i.$on("error",_),(0,n.onBeforeUnmount)((()=>{i.$off("loaded",f),i.$off("error",_)}))),()=>{var t;return(0,n.createVNode)("div",{class:ts({round:e.round,block:e.block}),style:u.value},[h(),m(),null==(t=r.default)?void 0:t.call(r)])}}});const as=Je(rs);const[os,ss]=ut("swipe-item");var is=(0,n.defineComponent)({name:os,setup(e,{slots:t}){let r;const a=(0,n.reactive)({offset:0,inited:!1,mounted:!1}),{parent:o,index:s}=Kt(Zo);if(!o)return void 0;const i=(0,n.computed)((()=>{const e={},{vertical:t}=o.props;return o.size.value&&(e[t?"height":"width"]=`${o.size.value}px`),a.offset&&(e.transform=`translate${t?"Y":"X"}(${a.offset}px)`),e})),u=(0,n.computed)((()=>{const{loop:e,lazyRender:t}=o.props;if(!t||r)return!0;if(!a.mounted)return!1;const n=o.activeIndicator.value,i=o.count.value-1,u=0===n&&e?i:n-1,l=n===i&&e?0:n+1;return r=s.value===n||s.value===u||s.value===l,r})),l=e=>{a.offset=e};return(0,n.onMounted)((()=>{(0,n.nextTick)((()=>{a.mounted=!0}))})),Ge({setOffset:l}),()=>{var e;return(0,n.createVNode)("div",{class:ss(),style:i.value},[u.value?null==(e=t.default)?void 0:e.call(t):null])}}});const us=Je(is);const ls=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),ds=ut("image-preview")[1];var cs=(0,n.defineComponent)({props:{src:String,show:Boolean,active:Number,minZoom:mt(dt),maxZoom:mt(dt),rootWidth:mt(Number),rootHeight:mt(Number)},emits:["scale","close"],setup(e,{emit:t,slots:r}){const a=(0,n.reactive)({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),o=fn(),s=(0,n.ref)(),i=(0,n.computed)((()=>{const{rootWidth:t,rootHeight:n}=e,r=n/t;return a.imageRatio>r})),u=(0,n.computed)((()=>{const{scale:e,moveX:t,moveY:n,moving:r,zooming:o}=a,s={transitionDuration:o||r?"0s":".3s"};if(1!==e){const r=t/e,a=n/e;s.transform=`scale(${e}, ${e}) translate(${r}px, ${a}px)`}return s})),l=(0,n.computed)((()=>{if(a.imageRatio){const{rootWidth:t,rootHeight:n}=e,r=i.value?n/a.imageRatio:t;return Math.max(0,(a.scale*r-t)/2)}return 0})),d=(0,n.computed)((()=>{if(a.imageRatio){const{rootWidth:t,rootHeight:n}=e,r=i.value?n:t*a.imageRatio;return Math.max(0,(a.scale*r-n)/2)}return 0})),c=n=>{n=qe(n,+e.minZoom,+e.maxZoom+1),n!==a.scale&&(a.scale=n,t("scale",{scale:n,index:e.active}))},m=()=>{c(1),a.moveX=0,a.moveY=0},h=()=>{const e=a.scale>1?1:2;c(e),a.moveX=0,a.moveY=0};let f,_,p,y,g,M,v;const L=e=>{const{touches:t}=e,{offsetX:n}=o;o.start(e),f=t.length,_=a.moveX,p=a.moveY,v=Date.now(),a.moving=1===f&&1!==a.scale,a.zooming=2===f&&!n.value,a.zooming&&(y=a.scale,g=ls(e.touches))},w=e=>{const{touches:t}=e;if(o.move(e),(a.moving||a.zooming)&&pn(e,!0),a.moving){const{deltaX:e,deltaY:t}=o,n=e.value+_,r=t.value+p;a.moveX=qe(n,-l.value,l.value),a.moveY=qe(r,-d.value,d.value)}if(a.zooming&&2===t.length){const e=ls(t),n=y*e/g;c(n)}},k=()=>{if(f>1)return;const{offsetX:e,offsetY:n}=o,r=Date.now()-v,a=250,s=5;e.value<s&&n.value<s&&r<a&&(M?(clearTimeout(M),M=null,h()):M=setTimeout((()=>{t("close"),M=null}),a))},Y=t=>{let n=!1;(a.moving||a.zooming)&&(n=!0,a.moving&&_===a.moveX&&p===a.moveY&&(n=!1),t.touches.length||(a.zooming&&(a.moveX=qe(a.moveX,-l.value,l.value),a.moveY=qe(a.moveY,-d.value,d.value),a.zooming=!1),a.moving=!1,_=0,p=0,y=1,a.scale<1&&m(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),pn(t,n),k(),o.reset()},b=e=>{const{naturalWidth:t,naturalHeight:n}=e.target;a.imageRatio=n/t};return(0,n.watch)((()=>e.active),m),(0,n.watch)((()=>e.show),(e=>{e||m()})),an("touchmove",w,{target:(0,n.computed)((()=>{var e;return null==(e=s.value)?void 0:e.$el}))}),()=>{const t={loading:()=>(0,n.createVNode)(Wn,{type:"spinner"},null)};return(0,n.createVNode)(us,{ref:s,class:ds("swipe-item"),onTouchstartPassive:L,onTouchend:Y,onTouchcancel:Y},{default:()=>[r.image?(0,n.createVNode)("div",{class:ds("image-wrap")},[r.image({src:e.src})]):(0,n.createVNode)(as,{src:e.src,fit:"contain",class:ds("image",{vertical:i.value}),style:u.value,onLoad:b},t)]})}}});const[ms,hs]=ut("image-preview"),fs=["show","transition","overlayStyle","closeOnPopstate"],_s={show:Boolean,loop:ct,images:ht(),minZoom:_t(1/3),maxZoom:_t(3),overlay:ct,closeable:Boolean,showIndex:ct,className:lt,closeIcon:pt("clear"),transition:String,beforeClose:Function,overlayClass:lt,overlayStyle:Object,swipeDuration:_t(300),startPosition:_t(0),showIndicators:Boolean,closeOnPopstate:ct,closeIconPosition:pt("top-right")};var ps=(0,n.defineComponent)({name:ms,props:_s,emits:["scale","close","closed","change","update:show"],setup(e,{emit:t,slots:r}){const a=(0,n.ref)(),o=(0,n.reactive)({active:0,rootWidth:0,rootHeight:0}),s=()=>{if(a.value){const e=$t(a.value.$el);o.rootWidth=e.width,o.rootHeight=e.height,a.value.resize()}},i=e=>t("scale",e),u=e=>t("update:show",e),l=()=>{Rt(e.beforeClose,{args:[o.active],done:()=>u(!1)})},d=e=>{e!==o.active&&(o.active=e,t("change",e))},c=()=>{if(e.showIndex)return(0,n.createVNode)("div",{class:hs("index")},[r.index?r.index({index:o.active}):`${o.active+1} / ${e.images.length}`])},m=()=>{if(r.cover)return(0,n.createVNode)("div",{class:hs("cover")},[r.cover()])},h=()=>(0,n.createVNode)(Qo,{ref:a,lazyRender:!0,loop:e.loop,class:hs("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:d},{default:()=>[e.images.map((t=>(0,n.createVNode)(cs,{src:t,show:e.show,active:o.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:o.rootWidth,rootHeight:o.rootHeight,onScale:i,onClose:l},{image:r.image})))]}),f=()=>{if(e.closeable)return(0,n.createVNode)(Pt,{role:"button",name:e.closeIcon,class:[hs("close-icon",e.closeIconPosition),Vt],onClick:l},null)},_=()=>t("closed"),p=(e,t)=>{var n;return null==(n=a.value)?void 0:n.swipeTo(e,t)};return Ge({swipeTo:p}),(0,n.onMounted)(s),(0,n.watch)([gn,Mn],s),(0,n.watch)((()=>e.startPosition),(e=>d(+e))),(0,n.watch)((()=>e.show),(r=>{const{images:a,startPosition:i}=e;r?(d(+i),(0,n.nextTick)((()=>{s(),p(+i,{immediate:!0})}))):t("close",{index:o.active,url:a[o.active]})})),()=>(0,n.createVNode)(Hn,(0,n.mergeProps)({class:[hs(),e.className],overlayClass:[hs("overlay"),e.overlayClass],onClosed:_,"onUpdate:show":u},Re(e,fs)),{default:()=>[f(),h(),c(),m()]})}});let ys;const gs={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"};function Ms(){({instance:ys}=Ke({setup(){const{state:e,toggle:t}=$e(),r=()=>{e.images=[]};return()=>(0,n.createVNode)(ps,(0,n.mergeProps)(e,{onClosed:r,"onUpdate:show":t}),null)}}))}const vs=(e,t=0)=>{if(Pe)return ys||Ms(),e=Array.isArray(e)?{images:e,startPosition:t}:e,ys.open(Ne({},gs,e)),ys};vs.Component=Je(ps),vs.install=e=>{e.use(vs.Component)};const Ls={class:"container"},ws={key:0,class:"button-area"},ks={class:"box",style:{width:"100%",height:"100%"}},Ys=["src"],bs=5242880,Ds=(0,n.defineComponent)({__name:"ermAttach",props:{recId:{type:String,require:!0},code:{type:String,require:!0},isSort:{type:Boolean,require:!1,default:!1},isOnlyPreview:{type:Boolean,require:!1,default:!1}},setup(e){let t="",r="";const a=(0,n.ref)(),o=(0,n.ref)([]);let s="";const i=(0,n.ref)(!1),u=(0,n.ref)([]),l=(0,n.ref)([]),d=(0,n.ref)([]),c=(0,n.ref)(),m=(0,n.ref)(!1),h=(0,n.ref)(!1);let f=[];(0,n.onBeforeUpdate)((()=>{d.value=[]})),(0,n.onMounted)((()=>{setTimeout((()=>{_()}),1e3)}));const _=()=>{Jo.getServerInfo(S.code).then((e=>{console.log("服务器信息:",e),console.log("isOnlyPreview",S.isOnlyPreview),nr({message:"服务信息初始化成功",duration:2e3}),t=e.serverUrl,r=e.rootPath,p()})).catch((e=>{console.error("error",e),nr({message:e,duration:2e3})}))},p=()=>{Jo.getFilesInfo(S.recId,t,r).then((e=>{console.log("获取文件:",e),!0===e.success?(o.value=e.result,console.log("fileInfo",o.value),S.isSort&&(console.log("排序前",o.value),o.value.reverse(),console.log("排序后",o.value)),f=[],o.value.forEach((e=>{const t=e.name.lastIndexOf("."),n=e.name.substring(t+1);"jpg"!==n&&"jpeg"!==n&&"png"!==n||(console.log("item",e),f.push(e.previewUrl))})),console.log("imgsUrl",f)):nr({message:e.result,duration:0,closeOnClick:!0})}))},y=(e,n)=>{console.log("e",e),console.log("index",n);const o=L(e);if(e.previewUrl===o){const e=f.findIndex((e=>e===o));console.log("indexOfImg",e),vs(f,e)}else a.value="",Jo.filePreview(e.key,t,r).then((e=>{console.log("预览后台返回:",e),i.value=!0,a.value=e})).catch((e=>{console.error("error",e),nr({message:e,closeOnClick:!0})}))},g=e=>{if(console.log("file",e),0!==e?.length&&e)if(Array.isArray(e)){const n=Array.from(e);console.log("fileArray",n),n.forEach(((e,n)=>{console.log("file",e);const a=e.file;console.log("blobData",a);const o=e.file.name,s=e.file.size;Jo.fileUpload(a,S.recId,o,s,t,r).then((e=>{console.log("文件上传:",e),!0===e.success?(nr.success({message:"上传成功",duration:2e3}),p()):nr.fail({message:e[0].result,closeOnClick:!0,duration:0})}))}))}else{console.log("file",e);const n=e.file;console.log("blobData",n);const a=e.file.name,o=e.file.size;Jo.fileUpload(n,S.recId,a,o,t,r).then((e=>{console.log("文件上传:",e),!0===e.success?(nr.success({message:"上传成功",duration:2e3}),p()):nr.fail({message:e[0].result,closeOnClick:!0,duration:0})}))}else nr({message:"请选择文件",duration:2e3})},M=e=>{console.log("e",e);const n=e.name;Jo.fileDelete(n,S.recId,t,r).then((e=>{console.log("删除文件:",e),!0===e.success?(nr({message:"删除成功",duration:2e3}),p()):nr.fail({message:e.result,closeOnClick:!0,duration:0})}))},v=()=>{console.log("批量删除"),console.log("checkboxRefs",d),d.value.forEach(((e,t)=>{e&&e.checked.value&&(console.log("index",t),console.log(o.value[t]),M(o.value[t]))})),k()},L=e=>{console.log("item",e),console.log("item.name",e.name);const t=e.name.lastIndexOf("."),n=e.name.substring(t+1);return s="jpg"===n||"jpeg"===n||"png"===n?e.previewUrl:"doc"===n||"docx"===n?"src/assets/img/BM2A_ATTACH/docx.png":"xls"===n||"xlsx"===n?"src/assets/img/BM2A_ATTACH/xlsx.png":"ppt"===n||"pptx"===n?"src/assets/img/BM2A_ATTACH/ppt.png":"pdf"===n?"src/assets/img/BM2A_ATTACH/pdf.png":"txt"===n?"src/assets/img/BM2A_ATTACH/txt.png":"zip"===n||"rar"===n?"src/assets/img/BM2A_ATTACH/zip.png":"src/assets/img/BM2A_ATTACH/未知类型.png",s},w=e=>{const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1<10?`0${t.getMonth()+1}`:t.getMonth()+1,a=t.getDate()<10?`0${t.getDate()}`:t.getDate();return`${n}-${r}-${a}`},k=()=>{m.value?(m.value=!1,(0,n.nextTick)((()=>{u.value.forEach((e=>{e.close("left")}))}))):(m.value=!0,(0,n.nextTick)((()=>{u.value.forEach((e=>{e.open("left")}))})))},Y=()=>{console.log("checkboxGroupRef",c),console.log("isSelectAll",h.value),h.value?(c?.value.toggleAll(!1),h.value=!1):(c?.value.toggleAll(!0),h.value=!0)},b=({position:e})=>{switch(e){case"left":return!m.value;case"right":return!0;case"cell":return!1;case"outside":return!m.value}},D=async e=>{console.log(e),nr.fail({message:"文件大小不能超过 "+bs/1024+"kb",closeOnClick:!0,duration:0})},T=e=>{console.log("index",e),d.value[e].toggle()};(0,n.onBeforeUpdate)((()=>{d.value=[]}));const S=e;return(e,t)=>{const r=(0,n.resolveComponent)("van-button"),s=(0,n.resolveComponent)("van-uploader"),h=(0,n.resolveComponent)("van-cell"),f=(0,n.resolveComponent)("van-card"),_=(0,n.resolveComponent)("van-checkbox"),p=(0,n.resolveComponent)("van-swipe-cell"),A=(0,n.resolveComponent)("van-checkbox-group"),x=(0,n.resolveComponent)("van-list"),C=(0,n.resolveComponent)("van-image"),E=(0,n.resolveComponent)("van-grid-item"),j=(0,n.resolveComponent)("van-grid"),O=(0,n.resolveComponent)("van-popup");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ls,[S.isOnlyPreview?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",ws,[(0,n.createVNode)(s,{disabled:m.value,"preview-image":!1,"after-read":g,multiple:!0,"max-size":bs,onOversize:D,accept:".jpg,.png,.jpeg,.doc,.docx,.pdf,.ppt,.pptx,.xlsx,.xls"},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{icon:"plus",type:"primary",size:"small",class:"button-type"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("上传")])),_:1})])),_:1},8,["disabled"]),m.value?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,icon:"success",type:"success",size:"small",class:"button-type",onClick:Y},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("全选")])),_:1})):(0,n.createCommentVNode)("",!0),m.value?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,icon:"minus",type:"danger",size:"small",class:"button-type",onClick:v},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("删除")])),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,{plain:"",type:"success",size:"small",class:"button-type",onClick:k},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("批量管理")])),_:1})])),S.isOnlyPreview?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(x,{key:1},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(A,{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),ref_key:"checkboxGroupRef",ref:c},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,((e,a)=>((0,n.openBlock)(),(0,n.createBlock)(p,{key:a,ref_for:!0,ref_key:"swipeCell",ref:u,"before-close":b},(0,n.createSlots)({default:(0,n.withCtx)((()=>[(0,n.createVNode)(f,{desc:e.dateModified,class:"goods-card",clickable:"",onClick:e=>T(a),thumb:L(e),onClickThumb:t=>y(e,a)},{title:(0,n.withCtx)((()=>[(0,n.createVNode)(h,{class:"card-desc"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("文件名称: "+(0,n.toDisplayString)(e.name),1)])),_:2},1024)])),desc:(0,n.withCtx)((()=>[(0,n.createVNode)(h,{class:"card-desc"},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)("上传时间: "+(0,n.toDisplayString)(w(e.dateModified)),1)])),_:2},1024)])),_:2},1032,["desc","onClick","thumb","onClickThumb"])])),_:2},[m.value?{name:"left",fn:(0,n.withCtx)((()=>[(0,n.createVNode)(_,{name:e,ref_for:!0,ref:e=>d.value[a]=e,class:"slot-left",onClick:t[0]||(t[0]=(0,n.withModifiers)((()=>{}),["stop"]))},null,8,["name"])])),key:"0"}:void 0,m.value?void 0:{name:"right",fn:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{text:"删除",type:"danger",class:"slot-right",onClick:t=>M(e)},null,8,["onClick"])])),key:"1"}]),1024)))),128))])),_:1},8,["modelValue"])])),_:1})),S.isOnlyPreview?((0,n.openBlock)(),(0,n.createBlock)(x,{key:2},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(j,{gutter:10,border:!1,"column-num":2},{default:(0,n.withCtx)((()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,((e,t)=>((0,n.openBlock)(),(0,n.createBlock)(E,{key:t},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(C,{fit:"fill",src:L(e),onClick:n=>y(e,t)},null,8,["src","onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",ks,[(0,n.createVNode)(O,{"v-model:show":i.value,position:"bottom",style:{height:"92%"}},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("iframe",{src:a.value,width:"100%",height:"800",scrolling:"no",frameborder:"0"},null,8,Ys)])),_:1},8,["v-model:show"])])])}}}),Ts=(0,h.Z)(Ds,[["__scopeId","data-v-0a9b23b3"]]),Ss=Ts,As=j(Ss),xs=As,Cs=[H,ce,xs],Es=e=>{Cs.map((t=>{const n=t.name||t.__name;return e.component(n,t)}))},js={install:Es},Os=js})(),a})()));
|
|
320
320
|
//# sourceMappingURL=index.umd.min.js.map
|